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

100 Commits

Author SHA1 Message Date
Raymond
62bfea8be2 Added TPicture, and made this a property at the TImage. 2010-05-14 22:03:18 +02:00
Raymond
9686a4cd86 Shortcut boolean evaluation + fix for non-exported canvas stuff. 2010-05-13 16:42:51 +02:00
Niels
6799faca66 Forgot something. 2010-05-13 12:26:38 +02:00
Niels
7f7d95a497 Added define IS_INCLUDE to included files (may be useful for SRL). 2010-05-13 12:14:33 +02:00
Raymond
84f9ee6587 Fixed bug in Arctan2, added new function ChangeDistPT and ChangeDistTPA. 2010-05-12 23:51:18 +02:00
Raymond
495c652e9c Added DebugLn 2010-05-11 16:22:25 +02:00
Raymond
450c60abd6 Small bug that would cause simba to AV. 2010-05-07 14:45:17 +02:00
Raymond
a8091d58b9 So... SRL Player form now compiles and sort-off runs.. Doesn't work though.
Added InputQuery (which is a sort of ReadLn) and did a lot of shit in PS to make it work with SRL playerform.

And new version number, now @ 650! Yay.
2010-05-02 00:44:30 +02:00
Raymond
b0f960cd34 Added regex support for Simba :). 2010-04-22 00:01:19 +02:00
Raymond
dd44f6f007 Fixed small (but nasty) bug in DTM, added two functions to MufasaBitmap (rectangle + FloodFill). 2010-04-13 20:10:30 +02:00
Raymond
2759ad3a03 Made some changes; Fixed some bitmap issues; Added some functions to extensions; fixed bug in PS 2010-04-11 21:42:42 +02:00
Raymond
6183f771c9 Added script property SP_OnTerminate.. This way you can add functions to a OnTerminate event list, these functions will be called at the end of the script. 2010-04-10 14:34:24 +02:00
Raymond
e8c0e53f68 Fixed some issues with TTarget_Exported (hope so) 2010-04-10 13:36:09 +02:00
Raymond
deef894757 I think I've fixed PS for the array-result bug.. :) 2010-04-08 00:40:28 +02:00
Raymond
2a3868e8c7 Fixed wrappers (made them have ps_ prefix and made sure they have the 'extdecl' macro).
Todo is the TPA-unit.. Create wrappers :(
2010-04-07 23:04:25 +02:00
Niels
6f757f3a78 Changed calling convention to safecall, can anyone confirm that arrays in results work now? 2010-04-07 18:23:02 +02:00
Raymond
0d5f9b7b89 Added event-hooks for extensions! Extensions now have 5 events that they listen to, see virtualextension.pas for which. Fixed bug in codehints and a small one in padl/padr/padz. 2010-04-07 14:01:26 +02:00
Merlijn Wajer
f5c48a6b43 Small cleanup in mmlpsthread. Bugfix in OCR. 2010-04-05 11:27:16 +02:00
Raymond
72539efffd Added 'LoadSystemFont' which allows you to load a font based on one of your system fonts (just like LoadChars2 in scar). 2010-04-05 00:35:49 +02:00
Raymond
c918d95b1c Exported the 'whole' TMufasaBitmap class to PascalScript. Changed rev to 605. 2010-04-03 15:10:13 +02:00
Raymond
980e801f50 Added a basic OnFindInclude for the codecompletion, it can now parse (the latest) SRL succesfully ;-). 2010-03-27 14:10:16 +01:00
Raymond
f5669af1d9 Filling the core now actually works :-).. Still needs someway to do this after the formcreate, kinda slows down the program :(. 2010-03-27 13:12:06 +01:00
Raymond
43c859f317 Fixed some constrcutors (forgot to Inherit Create) 2010-03-25 16:21:21 +01:00
Merlijn
eaeb1669c8 Fix small memory leak 2010-03-25 14:41:01 +01:00
Merlijn
f6a5a18c25 Fix #142. 2010-03-25 13:37:52 +01:00
Raymond
edf0d61fb8 Made SaveToXML more dynamic, can now mare more root-elements.. (Like Settings/Scripts/Extensions/LastConfig) 2010-03-25 11:57:55 +01:00
Merlijn Wajer
0d10835959 Fix memory leak: Free Properties 2010-03-20 00:16:04 +01:00
Merlijn Wajer
30093069c5 Add TimeStampFunctionality 2010-03-20 00:12:43 +01:00
Merlijn Wajer
33afa26782 No need for trunk/ anymore 2010-03-12 18:10:10 +01: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
Raymond
5995ac8bde Made smart work again, and make the mouse move outside target (on windows).
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@429 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-18 22:30:29 +00:00
Wizzup?
d6014fe316 String -> lowercase.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@428 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-18 21:04:36 +00:00
Raymond
1e1c08e5a4 Fixed the color conversions (RGB-values should be Bytes, not integers.. IMO), oh and it was taking the wrong methods (from graphics.pas instead of colour_conv.pas)
Added testscript for colour conversions, but I cbf to finnish it.
Changed the export limit! We are already exporting more than 200 methods, win!

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@427 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-18 13:38:45 +00:00
Raymond
212e41ecd1 Writeln now writeln's *EVERY* data type...
Made a ToStr that accepts *ANY* data type.

See stringtest.mufa

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@426 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-18 13:24:41 +00:00
Raymond
076f12e2c8 Added some comments to ColourPicker,
Edited the way Errors are shown (thread-safe now),
When error occurs in an include Simba will open the tab(if not yet open) and go to the error,
Added Writeln that accepts chars,strings and all kind of integers.. (not sure whether to keep it)
Added format!

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@423 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-18 01:25:02 +00:00
Raymond
ef735ea947 Made it so that hints get the "at line x" text aswell.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@402 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-12 15:38:08 +00:00
Raymond
99e355328a Fixed #45
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@401 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-12 15:32:59 +00:00
Raymond
9be1743a7f Added IncludePaths etc
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@394 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-10 22:01:33 +00:00
Wizzup?
c5faba2cb5 Settings added.
Lots of TODO's, but it should be functional for programming uses.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@379 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-06 20:43:16 +00:00
Wizzup?
48242e8cb1 Fix in plugins. Small export change for SetTargetArray.
Added Pointer as Integer to PS.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@360 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-02 22:32:46 +00:00
Wizzup?
568484d2e0 Small updates + added core for updater
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@353 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-31 18:17:49 +00:00
Raymond
49b18d677a GetDebugImage now ported to PS, thanks to Wizzups leet Bitmap.FromRawImage :D
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@340 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-25 23:56:25 +00:00
Raymond
8f88d8a0ab Made the function list functional! :-)
Extra -> Fill Function List

And the dragging w0rks.

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@331 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-24 16:21:31 +00:00
Wizzup?
80ce9744c6 More OCR changes, but mainly OCRBench changes.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@314 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-22 01:19:29 +00:00
Raymond
f80a36be1b git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@304 3f818213-9676-44b0-a9b4-5e4c4e03d09d 2009-12-20 23:23:16 +00:00
Raymond
4c33f0798a Exported TMufasaBitmap with LoadFromFile and SaveToFile
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@303 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-20 20:53:54 +00:00
Raymond
2a864cac75 Added some functions to Bitmaps, made a start with exporting TMufasaBitmap..
Oh and added some TPA functions, not yet exported to PS.

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@288 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-18 16:16:47 +00:00
Raymond
7179add741 Added tpa.pas, (just holds 1 function.. Not sure what to do)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@275 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-10 22:21:21 +00:00
Wizzup?
d3c03f808b Fix
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@273 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-08 15:37:59 +00:00
Raymond
6b73686cd0 Methods are now in an Array, instead of directly added into the PS-Script engine.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@271 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-06 23:05:08 +00:00