1
0
mirror of https://github.com/moparisthebest/Simba synced 2024-12-01 13:22:16 -05:00
Commit Graph

63 Commits

Author SHA1 Message Date
Raymond
1468258483 Fixed issue with position storage of the mainform (when it was maximized it would store the size as huge). Now stores the state as well.
Added the shortcut ctrl + b, which reverts the width/height of the mainform back to default. (<3)

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@571 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-28 19:48:26 +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
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
6c58941bc5 Fixed the FloatToStr bug. + Updated the PascalScript st00f.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@559 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-26 18:25:42 +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
18c43a2aa6 Added explode + implode (explode is tres dirty!)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@555 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-26 01:02:41 +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?
5107b530e6 Forgot ResetError. Doesn't matter in this case, but it is still more neat.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@547 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-23 17:48:55 +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
98a669575e Version for the new update-url/link. (545)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@545 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-21 19:43:47 +00:00
Raymond
1b53ece9c6 Last version for the old update system. + small getpage fix.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@544 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-21 19:36:35 +00:00
Wizzup?
f3deb2e79b New URLs
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@543 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-21 17:13:30 +00:00
Wizzup?
8b811fb080 News.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@542 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-21 17:13:29 +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
1865e848e2 exported 3 more TPA functions.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@537 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-12 00:15:48 +00:00
Raymond
7f150e1204 Fixed issue with function list.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@534 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-07 23:40:59 +00:00
Raymond
ff42373876 Fixed bug where compiling a script wouldn't work when using includes. (#95)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@533 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-07 22:57:08 +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
BenLand100
3864347683 Working on importing types and shit to CPascal... ATM it complains like hell about unknown types but runs
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@525 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-02-05 19:24:27 +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
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
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
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
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
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
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
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