1
0
mirror of https://github.com/moparisthebest/Simba synced 2024-11-14 13:25:14 -05:00
Commit Graph

17 Commits

Author SHA1 Message Date
Raymond
865779c59a So yeah.. Some user information is now actually printed to Simba (like Your bitmap has not been freed etc).
Windows users now have the option to use a console or not (it's the little CMD-image-button).
Non-important information will still be written to the console (so you must open it if you want some lil extra information).

Now default compiles *without* the -WG switch, otherwise you LCL will raise exceptions when the Console is closed

Added some exceptions to the Files unit, rather than returning -1.

Use mDebug to write something to the terminal (it's inside the MufasaBase unit).

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@581 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-03-07 15:57:10 +00:00
Raymond
4b05177910 Fixed some bugs: Ghost file, tab indent, cleardebug etc.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@579 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-03-06 14:23:24 +00:00
Wizzup?
4a349c69a8 So much for testing compilation
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@564 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-27 22:01:13 +00:00
Raymond
4bd62c7237 Added PlaySound for Windows, fixed the way errordata is displayed (PascalScript mucks up at returning the right coordinates..)
Added Include_once, made it look for includes in more dirs (scriptpath, includepath and the current-file-path, fixed bug in Bitmaps where it would not set the bitmap to 'nil' in the actual BMP array. Fixed bug in ScriptPath (it would not include a trailing delimiter)

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@558 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-26 16:59:05 +00:00
Raymond
82e54e5b07 Added some methods to complete SRL compatibility.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@527 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-06 02:21:27 +00:00
Raymond
2cee56c20e Made wrapper for Random().
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@523 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-05 16:30:42 +00:00
Raymond
1dafb7c86d Added more functions to make SRL compile..
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@497 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-28 23:34:03 +00:00
Raymond
81c123fd41 Added few wrappers for directly imported FPC functions.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@495 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-28 17:58:23 +00:00
Raymond
7bece8ede2 Added GetKeyCode to the manager.. Not sure if it needs a default implementation?
Added some functions needed for compiling SRL.

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@483 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-26 19:38:27 +00:00
Raymond
b2a6b0e15c PascalScript worked like shit with StdCall, so for now I've made a macro to define the calling convention:
Define PS_StdCall to use StdCall.

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@479 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-26 16:51:36 +00:00
BenLand100
44eaf71038 Made exported methods stdcall because everything supports that (better) than other calls...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@477 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-26 14:09:09 +00:00
BenLand100
3fef7ac7ed Moving branch into trunk with all of trunk's and branch's changes
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@475 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-26 04:47:07 +00:00
BenLand100
d5148ee812 Removing trunk
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@474 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-26 04:45:41 +00:00
Raymond
562fe21116 Added some exported functions to port SRL.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@461 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-24 20:22:47 +00:00
Raymond
1fb4a6d44a Added the loaded char names as constants to the Scripting engine (dynamically).
Also replaced all the Bitmaps.Bmp[index] with bitmaps[index].
Creaded MaskFromText, named the others BitmapFromText and TPAFromText.
Added a GetFontByIndex to the FontLoader.

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@459 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-24 15:04:07 +00:00
BenLand100
3832f01616 merging back into the trunk... branches are being a bitch.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@445 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-21 21:22:55 +00:00
BenLand100
8d9a439d49 Moving Simba main development into trunk... to checkout main dev: http://www.villavu.com/repositories/merlijn/mufasa/trunk [folder-here]
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@434 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-20 20:14:50 +00:00