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

60 Commits

Author SHA1 Message Date
Raymond
9e398674ae Cleanup (deleted unneeded variables etc).
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@574 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-03-02 21:27:49 +00:00
Raymond
a2df7c159b FindRotatedDTM now has Alternating or Start-End search routines.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@570 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-28 19:21:15 +00:00
Raymond
f336a20625 Small mistake in use of vars ;-).
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@569 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-28 18:08:25 +00:00
Raymond
cae8fe3527 small bug
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@568 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-28 13:49:45 +00:00
Wizzup?
5bd1828240 inline -> on
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@567 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-28 13:21:30 +00:00
Wizzup?
b6d3c56055 Fixes
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@566 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-28 13:03:16 +00:00
Raymond
462126a6bd Fixed DTMs
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@565 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-28 02:01:18 +00:00
Raymond
ae7fee7ed3 Tried to fix it, but I failed (@ multiple monitor support).
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@561 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-27 13:10:08 +00:00
Raymond
84f0424e46 Now saves form position + recent files.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@560 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-27 01:36:33 +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
Wizzup?
e6027ce05c Cleanup + IsMouseButtonHeld
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@557 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-26 14:24:40 +00:00
Raymond
479ced7f01 Added DrawBitmap (which draws on a Canvas) and IsMouseButtonDown.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@554 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-25 23:59:51 +00:00
Wizzup?
a8eea538c7 FindDTMRotated
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@553 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-25 23:53:31 +00:00
Wizzup?
e5854f3eab Needs less sleep coding
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@552 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-25 15:23:41 +00:00
Wizzup?
d2d41920d0 DTM fuckups and fixes
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@551 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-25 14:54:14 +00:00
Wizzup?
8a63cc43ac This one should work.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@550 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-25 01:40:05 +00:00
Wizzup?
816961da9e Small API change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@549 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-24 18:00:25 +00:00
Wizzup?
5bba118c09 Adding X Error Handling per THREAD.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@546 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-23 17:17:50 +00:00
Raymond
db241061dd Made the "Forgot to free" message universal. Delete the newinternets.pas.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@539 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-14 14:31:54 +00:00
Raymond
87c496ca85 Fixed issue with settings file being saved in the wrong directory.
Simba now has some parameters (-o/--open to open a file and -r/--run to run that file at startup).
Simba now opens a file correctly if you double click an associated .simb file.
Initalized several TPA-functions-results.. (BoxFromTPA could return random values when sending an empty TPA).
Opening/Creating a 'script' will now happen in a new tab (unless the current tab is the same as the default script)
Restructured the internets unit (+ implemented all of the HTTP-client stuff).
And updated the Synapse units.


git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@538 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-13 16:56:46 +00:00
Raymond
79cdefecdd Fixed lots of TPA.pas bugs :-).
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@535 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-08 22:42:46 +00:00
Raymond
d4fbc414ea Now auto creates dirs + settings on first run. Clicking on a function in the functionlist will point you to the function in your script.
Fixed small bug with having 2 plugin folders.

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@532 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-07 15:59:03 +00:00
Raymond
54137b8b83 The executable is now created in the "trunk", rather than Projects/SAMufasaGUI/.
Maybe fixed the colourpicker-black-screen bug.. not sure.

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@530 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-07 00:55:52 +00:00
Raymond
354ab2aab9 SRL is working (correctly) now.. Added shitload of Wrappers for any function that returns an Array.. (PS fails on these kind of functions).
Fixed bug in FindDTM(s). Might want to optimze the function though. Replaced all the fSqrt with Sqrt..

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@529 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-06 21:01:35 +00:00
Raymond
108bf37d6f Fixed some bugs in the OCR and TPA.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@528 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-06 18:18:42 +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
4570a4738d TEIOS_Exported -> TTarget_Exported
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@524 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-05 19:20:35 +00:00
Raymond
ed96400df1 Made a start with getting plugins to work correctly, therefore added TEIOS_Exported...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@512 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-03 23:13:09 +00:00
Wizzup?
3a004127f2 Init FStopping
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@508 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-01 19:08:10 +00:00
Wizzup?
8c09614190 Resolve 83
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@505 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-01 08:21:52 +00:00
Raymond
d0c1180d97 Added compile-only action;
Added GetTextAt to the wrappers, made implemenetation for IsKeyHeld on windows and added a link to the handbook.

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@501 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-31 12:29:33 +00:00
BenLand100
92ff79e17c Fixed #83 relating to bitmap targets. Created a new TTarget extension
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@500 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-30 17:01:28 +00:00
Wizzup?
78a354ecea GetTextAt initial implementation.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@499 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-30 02:58:03 +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
BenLand100
e4aa31d3bd CPascal is now able to dynamically link in. TestUnit.pas 536 ish has the line to switch out CPascal and PascalScript
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@488 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-27 05:44:43 +00:00
BenLand100
30f9ae6e1c CPascal is broked, still. See line 536-538 in TestUnit.pas
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@486 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-27 01:50:17 +00:00
Wizzup?
cc74811fe7 OCRData -> max_width, max_height.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@485 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-27 00:37:48 +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
BenLand100
a0a89be1f2 Added various Set/Get target methods and a system where freeing targets is optional, but avaliable to those that might set lots of targets. All of a script's targets will be freed when the TIOManager is freed.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@476 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-26 06:12:49 +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
Wizzup?
b1d07ff6d4 Merge previous revision + added GetNativeWindow and GetImageTarget.
Also fixed OCRBench.

Also committing the .lpi's as svn sucks ass. :-) 
EXCEPT FOR THE SAMUFASAGUI .lpi AS IT HAS BEEN LOCKED, lmfao




git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@468 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-25 21:21:18 +00:00
Raymond
8addf78a8a Flail -> Make HoldMouse actually HoldMouse
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@467 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-25 20:36:46 +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
73a9e15650 Added CreateBitmapString which turns a bitmap into a mufasa-bitmapstring ;-). And made the Bufferstring global rather than in DTM only...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@460 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-24 17:09:55 +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
Raymond
691bddcde6 Fixed a lil bug in the FontCopy function, and added new method to the bitmap manager -> GetNewIndex.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@458 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-24 12:26:36 +00:00
Wizzup?
d20f973f61 Wrappers for PS.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@457 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-24 11:45:02 +00:00
Wizzup?
778b81a9ae Adding TextToFontBitmap and TextToFontTPA.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@456 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-24 00:19:27 +00:00
BenLand100
6cf5e3e1d8 Adding an index for reversing data out of the TocrData record
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@455 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-23 23:50:05 +00:00