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

254 Commits

Author SHA1 Message Date
Merlijn Wajer
e2712ad9a7 Add LoadFont and FreeFont 2010-04-30 23:25:15 +02:00
Raymond
325493c8e2 Fixed small bug. 2010-04-29 11:33:04 +02:00
Raymond
b082c75daa Hex-conversion functions added. 2010-04-27 20:30:51 +02:00
Raymond
b0f960cd34 Added regex support for Simba :). 2010-04-22 00:01:19 +02:00
Raymond
e1a11367f4 Fixed #170, fixed bug in debug image popping up everytime you call DisplayDebugImgWindow, updated rev number added 2 new functions to the OCR (GetTextATPA and GetTextAtEx). Added a new way of determing the max height/width of a font-set. 2010-04-21 17:10:40 +02:00
Raymond
77420fa172 Small typo + some var -> out params. 2010-04-18 23:26:21 +02:00
Raymond
850620d946 Added s0me log st00f + new vers number. 2010-04-18 18:08:30 +02:00
Raymond
a7eccb53d2 Mem leak fix 2010-04-18 17:14:19 +02:00
Raymond
1a8e3977b7 No more leaks in TestUnit 2010-04-16 20:50:10 +02:00
Raymond
9c21ec3ae9 Added SRL-update extension. Made a decompress/untar thread, so that this is no long thread-blocking :). 2010-04-16 16:03:26 +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
2d58a145fc So.. Did the TPA stuff.. PS should now work correctly (?) 2010-04-07 23:32:17 +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
Raymond
2c425d107f Added colourconv.inc 2010-04-07 23:03:39 +02:00
Niels
dfe3b23319 Merge ssh://villavu.com:54367/simba 2010-04-07 18:23:20 +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
8038ebe39a Made the functionlist parse on a timer + in a different thread. 2010-04-07 16:23:48 +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
Raymond
5503164d91 Added bzip decompression + untarring support for extensions + updated the test extension to be a font updater. 2010-04-05 13:56:20 +02:00
Merlijn Wajer
f5c48a6b43 Small cleanup in mmlpsthread. Bugfix in OCR. 2010-04-05 11:27:16 +02:00
Merlijn Wajer
0cd5099196 Fixes for Settings form. Had some duplicated code. 2010-04-05 11:00:53 +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
Merlijn Wajer
7007f28939 Rename Setting, Create Setting and Delete Setting.
** Untested due to Lazarus crashes with InputQuery & InputBox **
2010-04-03 23:27:10 +02:00
Raymond
c918d95b1c Exported the 'whole' TMufasaBitmap class to PascalScript. Changed rev to 605. 2010-04-03 15:10:13 +02:00
Raymond
5ce90afbd6 Cleaned up a bit, re-arranged some DTM stuff. Speeded FindDTMsRotated up a lil bit.. (Nanosec). Added some 'const' parameters. Fixed a small bug in File saving/opening. 2010-04-03 14:05:15 +02:00
Raymond
61f3c1ce98 Added {$H+} to units where it was missing.. Should solve some string-issues! Started with cleaning up the units a bit.. Adding 'const' where needed (all of those big record structures like DTMs should require to be passed as a const.. Saves some (unneeded) memory copying).
Settings in extensions should work now, see test extension.
2010-04-02 17:55:54 +02:00
Raymond
001a593789 Added settings to the extensions.. Should work allright, however there is some bug in Pascalscript that makes it fail, for now..
Renamed all the setting methods..
2010-04-01 00:22:46 +02:00
Raymond
492821587d Font downloading works =). 2010-03-29 23:01:54 +02:00
Raymond
f85f24e6dd Added BZip2 decompressing, + lil fix with freeing Frame Function List items. 2010-03-29 18:24:21 +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
Niels
e1d5f0788f Didn't compile for me? 2010-03-26 17:36:55 +01:00
Merlijn Wajer
d73592eb23 Merge branch 'master' of ssh://villavu.com:54367/simba 2010-03-26 01:36:57 +01:00
Merlijn Wajer
fa173a3332 DeleteKey + DeleteSubKeys + Less verbose + Test script. 2010-03-25 22:57:18 +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
2d456f8aab Remove debug lines ;) 2010-03-25 13:39:11 +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
Raymond
a8c0ac8cf8 Kinda completed extension support.. 2010-03-22 22:21:08 +01:00
Raymond
51b3c3cf94 Uhm ScriptSetProp and ScriptGetProp now work with an Enum, ctrl + alt + s is a global shorcut (on windows). f2 is a non-local shortcut to stop the script. Console now hides without losing the information, changed compiler setting for windows, added define mDebug for if you want a more extensive debug. 2010-03-22 15:58:30 +01:00
Merlijn Wajer
11406043f1 Move scriptprop 2010-03-20 01:46:29 +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
unknown
5f49c2129c Nothing's changed? First git commit =D 2010-03-13 16:33:04 +01:00
Merlijn Wajer
69899f58fa Compilation fix for Linux 2010-03-12 18:13:09 +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
8e617c9f35 Fixed #63 (and #64).
Changed the updateform a bit.. Made Cancel button behave more noob-friendly, and added a speed label -> "Downloading at x kB/s".

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@425 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-18 11:52:02 +00:00
Nava2
1839f12c24 Exported Color Conversions, also added a few conversions.
Nothing was changed in finder, was just using code hints :|



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@424 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-18 02:47:56 +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
ad14b80b30 donno what I changed, but it's probably important!
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@413 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-14 18:34:17 +00:00
Wizzup?
e9579234d8 Resolve 56.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@412 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-14 17:58:01 +00:00
Nava2
d1757e8512 added the .lrs, my bad.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@408 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 19:11:42 +00:00
Nava2
bedc0fa2a5 More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.

Wizzup, could you please post on the new thread about how to post to Mantis if you know? 

I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?) 
Its good, just needs some crucial things like physically openning the connections and closing them.

I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!

Oh, and I added some more icons to the MainMenu from famfam.

Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.


git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 05:11:11 +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
6b55f916c1 Component creating now seems to work fine in PascalScript!
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@400 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-12 15:26:14 +00:00
Wizzup?
fdbce3ec51 Resolves bug #33.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@397 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-11 17:22:55 +00:00
Wizzup?
6f9335edb1 Fixes mantis #39.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@395 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-11 16:47:19 +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
Raymond
c2957dd275 Free the settingsdata (no leaks allowed!)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@390 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-10 15:38:38 +00:00
Wizzup?
c387bbde93 Changes for settings.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@389 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-10 14:34:23 +00:00
Raymond
baf574c414 There u go.. Latest WizzyPlugin ported.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@388 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-10 13:07:08 +00:00
Wizzup?
6aaa97b0ee GetSetLoadSaveDefaultKeyValue -> private.
Use GetSetLoadSaveDefaultKeyValueIfNotExists. (w0t)
Also fixes a few minor things.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@386 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-08 00:34:58 +00:00
Wizzup?
699432aab6 Comments + changes
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@385 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-08 00:09:15 +00:00
Wizzup?
2cfdce101b Fix
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@384 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-07 23:22:50 +00:00
Wizzup?
de92bc6604 Moar settings
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@383 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-07 23:14:48 +00:00
Wizzup?
4a0e4dde3b Fix bug #21.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@380 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-07 18:58:00 +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?
868c1c5d32 Removed BadPoints from TDTM because PascalScript cannot handle it.
Changed GoodPoints -> BadPoints.




git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@374 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-04 20:56:47 +00:00
Raymond
f1c1b01cd9 Uncommented something <3
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@373 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-04 19:58:12 +00:00
Wizzup?
b2f5a9f77a Added DTM NOT points, made DTM algorithm more dynamic.
Added CTS support for DTM. (May remove later if it becomes slow)



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@371 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-04 19:08:06 +00:00
Raymond
c5d4624df2 Updated a lil' bit
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@370 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-04 18:40:10 +00:00
Wizzup?
803cd75a59 Reworked input.pas to use TMWindow directly rather than TClient.
Added TargetValid to TMWindow. Appropriate changes in TClient.

Colourpicker now returns coordinates relative to the set Window.
If the window doesn't exist, it will default to desktop.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@364 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-03 03:45:02 +00:00
Wizzup?
5d9fc3b088 Now checks for an update 10 seconds after startup.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@363 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-03 01:36:54 +00:00
Raymond
bbc243e221 lol-a-bike subsection for 'web'.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@362 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-02 22:51:06 +00:00
Wizzup?
ecbfc0d9e0 Compile fix for windows.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@361 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-02 22:44:07 +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?
2dc2725364 Memory leak fix in ToTBitmap. If you use .SetSize and then .LoadFromRawImage,
the previously allocated data is not freed.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@359 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-02 13:02:57 +00:00
Wizzup?
bcf2817ba4 Internets
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@357 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-01 16:57:27 +00:00
Wizzup?
1e62434a2e Changes in the updater.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@356 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-01 15:32:23 +00:00
Wizzup?
4eba136b9c Few changes
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@354 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-31 20:38:40 +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
9a7803d3f7 randomrange shit
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@348 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-26 16:49:02 +00:00
Wizzup?
ffcb20146b Mainly warning fixes.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@344 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-26 15:01:19 +00:00
Wizzup?
6e5fc0cd1d Fix in WindowSelector
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@342 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-26 00:12:16 +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
f0dd60011b Wizzup forgot to update his PS-exports for DTMs, no problem son!
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@333 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-24 18:04:11 +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?
d5ee9fdbc5 Added a new font loader.
Fonts are loaded at the first script start.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@330 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-24 11:04:53 +00:00
Wizzup?
a9f52ec1c7 Removed TMWindow.CopyClientToBitmap - please use
TMufasaBitmap.CopyClientToBitmap.
Added a "Set Client" feature to OCRBench, so you can test on runescape.
Also added TMufasaBitmap.ToTBitmap.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@325 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-23 18:45:03 +00:00