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

195 Commits

Author SHA1 Message Date
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
Merlijn Wajer
ea931dec9c Merge branch 'master' of ssh://villavu.com:54367/simba 2010-04-05 11:01:39 +02:00
Merlijn Wajer
f9733bd3fb Commented os_linux (a bit) 2010-04-05 11:01:18 +02:00
Raymond
2141e1d016 Minor changes + added todo list. 2010-04-05 01:36:21 +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
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
492821587d Font downloading works =). 2010-03-29 23:01:54 +02:00
Niels
c12064bcb1 OnFindInclude will also look in the script dir now. 2010-03-27 21:17:00 +01: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
43c859f317 Fixed some constrcutors (forgot to Inherit Create) 2010-03-25 16:21:21 +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
4697f46d39 Make FreeBitmap less verbose 2010-03-22 12:20:47 +01:00
Merlijn Wajer
d6c16560d5 Fix OCR Bug. How could I have possibly overlooked it with the FIXME in there? 2010-03-22 12:20:00 +01:00
Merlijn Wajer
85419926a3 Remove dependancy 2010-03-22 11:39:17 +01:00
unknown
5f49c2129c Nothing's changed? First git commit =D 2010-03-13 16:33:04 +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
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
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
Wizzup?
b14262ebaf Compilation fix... ;)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@422 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-17 13:23:04 +00:00
Wizzup?
7f16b864f7 Few changes.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@421 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-17 12:40:18 +00:00
Wizzup?
c347db5964 Add some documentation.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@414 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-14 19:16:12 +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?
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
Wizzup?
f7ff95ea38 Several compilation fixes.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@372 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-04 19:56:53 +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
Raymond
332e568042 Lil updates!
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@369 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-04 16:52:43 +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?
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?
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
Wizzup?
8be08ea497 Memory leak fix
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@351 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-28 19:34:07 +00:00
Wizzup?
e9db9383e3 Comments for OCR.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@349 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-26 21:53:02 +00:00
Raymond
fed81fb976 Fixed a memory leak.
BrigthnessAdjust -> BrightnessAdjust

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@345 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-26 15:45:05 +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?
6e0136acfc Two small fixes.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@339 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-25 23:06:13 +00:00
Wizzup?
19c927036e LoadFromRawImage + LoadFromTBitmap
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@338 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-25 20:42:14 +00:00
Wizzup?
8b13311539 Revert of 336.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@337 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-25 15:40:14 +00:00
Nava2
a176b953e1 I thought I would contribute..
Just some small optimizations, is Ray's CTS2 comparison being fully implemented? If so, there are several procedures in finder.pas that need to be updated.
Also, the FindColorsArea, should it be done like the other finders?

I think several functions are not yet passed to PS, FindColors?

Unless the function list is not complete in its actually list.

Anyways, merry christmas to those who celebrate, and happy holidays to everyone else :)


git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@336 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-25 14:08:27 +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
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
Wizzup?
00d53d8aed Memleak fix. ;-)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@324 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-23 12:21:24 +00:00
Wizzup?
a4779d8520 More fixes for Windows...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@321 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-22 23:29:36 +00:00
Wizzup?
be478d0ba1 Changes + Fixes for OCRBench, I forgot to remove -WG.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@320 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-22 23:24:43 +00:00