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

129 Commits

Author SHA1 Message Date
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
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
Wizzup?
842858ce6e Added mouse coords. Resolves #79.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@522 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-05 14:50:49 +00:00
Raymond
e358ab9a2a Added a way for plugins to expot functions non-stdcall (Might want to delete later, need it now because PS doesn't *fucking* work with StdCall).
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@521 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-04 23:32:24 +00:00
Wizzup?
3c571474a2 Fix..
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@520 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-04 18:10:34 +00:00
BenLand100
afe756343f CPascal now gives proper location error messages, also added some in CPascal to eventually use a callback method to load include files (The $include directive does nothing but debug output atm)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@519 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-04 06:10:43 +00:00
Nava2
352979fbf8 More manual stuff, just updated the rest of them using the new functions, also I think that having a pvtotal command would be nice.
Anyways, sorry if some are messed up, I did my best.


git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@518 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-04 05:50:51 +00:00
Wizzup?
5b2c6d8305 Less coding when sleepy pl0x
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@517 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-03 23:46:55 +00:00
Wizzup?
7fb428ffa3 Hopefully this is better
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@516 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-03 23:45:23 +00:00
Wizzup?
1aee1fb8ee Oops
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@515 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-03 23:32:58 +00:00
Wizzup?
8c848bc843 Merge
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@514 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-03 23:30:28 +00:00
Nava2
cf39457756 Fixes 92, added stuff for FindDTMRotated and FindDTMsRotated.. nothing big.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@513 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-03 23:15:30 +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?
62996e54cf More handbook changes
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@511 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-03 11:00:14 +00:00
BenLand100
f3347c9530 Fixed string returning methods with CPascal. Other "reference" returning methods will need to be delt with on a need-to-deal-with basis.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@510 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-03 06:09:36 +00:00
Wizzup?
f85a7839b9 blackchat example
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@509 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-01 19:18:10 +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?
5342a061f3 Macros and functions for method definitions. Will cause less fuckups
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@507 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-01 09:21:14 +00:00
Wizzup?
b7d63d1aae New icon for Tray and Main App
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@506 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-01 08:39:23 +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
Wizzup?
2bd8708be0 More handbook stubs
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@504 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-01 02:29:01 +00:00
Wizzup?
5fc1677442 Less images pl0x
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@503 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-31 17:34:42 +00:00
Wizzup?
f181f866e3 mufasa handbook typo + small addition
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@502 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-31 16:58:51 +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
Wizzup?
6d839ec43a Fixes for OCRBench on Windows.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@498 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-29 22:21:50 +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
Wizzup?
276620c8d4 Catch the exception thrown if the Interpreters fail to initialise
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@496 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-28 18:22:45 +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
BenLand100
cf07848307 Forgot to copy over the new libs... There is definately a bug that is oddly similar to PS's...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@494 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-28 06:08:19 +00:00
BenLand100
89916c30a5 Made CPascal dynamically link from the Plugins folder... STILL an error from running inside Simba, need to do more research. Its fairly stable though
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@493 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-28 06:01:07 +00:00
BenLand100
12804e9d4a The maze solver still segfaults... its something to do with linking
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@492 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-27 21:06:25 +00:00
BenLand100
2b1c5f2e2c Bugs in CPascal: Error in passing by reference, error somewhere in maze.simb
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@491 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-27 15:52:58 +00:00
Wizzup?
2df8dbe3df Setting for CPascal or PascalScript.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@490 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-27 13:48:56 +00:00
Wizzup?
c4f57298d5 Commit so I can add setting for interpreter ;ater.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@489 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-27 13:01:37 +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
5d859fd445 lol lpi
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@487 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-27 01:51:07 +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
BenLand100
86221bbe93 Committing major additions related to interpreter but no major changes to the program flow, yet. Added cpascal binaries for linux and windows.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@484 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-26 22:58:41 +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
Wizzup?
478ce1c71f Session -> IDE Config
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@482 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-26 18:01:18 +00:00
Wizzup?
6cf186d18b lpi
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@481 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-26 18:01:17 +00:00
Wizzup?
47934ca351 Project.lpi
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@480 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-26 18:01:16 +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
Raymond
ce03a57713 Made it compile on windows..
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@478 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-26 15:01:18 +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
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?
ca98fefac9 Adding icon to the project file again.
Uhm... I'm not so sure if I need to upload the .res as well, but I'll
just do it in this case. Delete if they are not required.

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@471 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-26 01:19:51 +00:00
Raymond
6c894b4e4c Commit++
I unlocked the .lpi, just stop fucking committing it!

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@470 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-25 22:24:22 +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
771602e451 added new PS file
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@464 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-24 22:57:57 +00:00
Raymond
bedeeb8931 Added Array test.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@463 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-24 22:17:06 +00:00
Raymond
d5ffb3396b Small bug, you don't want to create a IOManager an '' dir.. Just take the constructor without a plugin_dir specified.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@462 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-24 20:33:34 +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
Raymond
8e69439614 (18:01:16) @BenLand100: but having the boolean variable, like i say, is borderline
(18:01:45) @BenLand100: its cool and all. but it you should probably implement another constructor that is false by default
(18:01:51) @BenLand100: just saying

Here you go ;-).

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@454 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-23 17:51:04 +00:00
BenLand100
af6d0e398c Fixed ActivateClient not getting called
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@453 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-23 16:03:40 +00:00
Raymond
2b8721e6b0 Ben, either get rid of those run parameters in your compiler options or stop commiting project1.lpi please ^_^.
Added a copydata parameter to TRawTarget.create. (This now fixes a memory leak in Unfreeze). Also please get rid of those two extra spaces in front of everything, so anti-pascal-syntax ^^. Also fixed the bug in IsTargetValid.

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@452 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-23 13:17:56 +00:00
BenLand100
3d4131af95 Fixing #71 & #70
Note that the old repos version of TargetValid for Linux doesn't seem to work, and wasn't exported to PascalScript, so I added that as well...


git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@451 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-22 21:30:20 +00:00
Raymond
798444e4fd Added compiler directives for Ansi-string, fixed use of PChar to behave accordingly.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@450 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-22 19:11:17 +00:00
BenLand100
bbd9f73942 Committing a new smart... it has some bug fixes, plus its open source. Experimenting with ps bugs too...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@449 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-22 03:11:37 +00:00
BenLand100
c0a68352af Fixing some plugin stuff. Should be done, streamlined, and persistent globally. Why would you want a seperate load for each script anyway? If you load the same plugin twice in the same app, it doesn't make another copy...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@448 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-22 01:13:41 +00:00
Wizzup?
0d67409787 Default OS, Arch -> Default.
Ben, don't pass -WG to the project. We NEED that terminal on Windows for any writeln. If you add -WG to the project, all the writeln's will fail, because they aren't bound to any terminal, and they will tell us they have no file to write to.
Small "fix" in settings.

Cheers :-) 




git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@447 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-21 22:43:48 +00:00
BenLand100
482f9fef66 Finished fixing #68 moved TPA into core. Also made the eios plugin loader global, and changed the oop of the plugin loader to be more oop.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@446 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-21 22:01:49 +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
ac40880d4f Resolving #68 in both branches...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@444 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-21 20:51:55 +00:00
BenLand100
325c61374d Fixed dependancies and hopefully merged them into the iomanager branch...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@443 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-21 20:27:51 +00:00
BenLand100
104b410220 Merged oop changes to plugin loading into trunk. Also removed some missing paths from the project file and set laz to build in a build/$(TargetOS) folder instead of building where the sorces are... its cleaner imo. In the IOManager branch I coded for passing the plugin path down to the mufasa library so it can load components (e.g. eios and a system i'm planning for multiple script components). I'll probably be quite for a while as I work on SMART.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@441 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-21 16:45:58 +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