Raymond
486e22d0db
Fixed bug with open parameter. Added new TPA function. Fixed bug with interpreter where it wouldn't return right in case of a class as result.
2010-05-09 14:34:40 +02:00
Raymond
12fca93826
Silly mistake :$
2010-05-09 01:12:42 +02:00
Raymond
1cd909537d
New TPA function
2010-05-08 23:36:46 +02:00
Raymond
1575c1ec11
Added few TPA functions (OffsetTPA,OffsetATPA,FloodFillTPA,CopyTPA,CopyATPA).. Changed most of the Array parameters to be Consts (this saves the need of copying the whole array just to pass it to the method). Changed the debug image borders back to toolwin.. Added constants MaxInt/MaxLongInt
2010-05-08 03:20:26 +02:00
Raymond
450c60abd6
Small bug that would cause simba to AV.
2010-05-07 14:45:17 +02:00
Raymond
2baf3670df
Donno, need to commit somehow.
2010-05-01 15:00:23 +02:00
Raymond
46262acec6
DTMs are now stored as pointers internally.
2010-04-30 14:37:01 +02:00
Merlijn Wajer
204ae425c0
Resolve #154
2010-04-29 19:21:56 +02:00
Raymond
bd97c9162c
Merge branch 'master' of ssh://villavu.com:54367/simba
2010-04-25 18:53:49 +02:00
Raymond
15024f16d7
Fixed small, but rather serious bug.
2010-04-25 18:53:33 +02:00
Niels
b1d38fff4a
Narrowed down the black-screen-colourpicker problem to the bitblt in ReturnData (I think). Removed an unneeded unit from os_windows and didn't get the black screen anymore, so I'm committing anyway =D
2010-04-24 21:04:39 +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
544294fbe6
Merge branch 'master' of ssh://villavu.com:54367/simba
2010-04-18 23:31:30 +02:00
Raymond
77420fa172
Small typo + some var -> out params.
2010-04-18 23:26:21 +02:00
Merlijn Wajer
a6da52fbb3
Merge branch 'master' of ssh://villavu.com:54367/simba
2010-04-18 18:09:25 +02:00
Merlijn Wajer
b8a0d6b0a5
Comment
2010-04-18 18:09:23 +02:00
Raymond
a7eccb53d2
Mem leak fix
2010-04-18 17:14:19 +02:00
Merlijn Wajer
48ad089549
Merge branch 'master' of ssh://villavu.com:54367/simba
2010-04-14 00:24:09 +02:00
Merlijn Wajer
66e07cb5ae
Comment fix
2010-04-14 00:24:01 +02:00
Raymond
0b416fa05f
Left a unneeded writeln in there.
2010-04-13 20:15:59 +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
Merlijn Wajer
28b12851e0
Changed Handbook URL again + DTM cleanup.
2010-04-12 11:00:43 +02:00
Raymond
c7f5ce6b31
if the target window doesn't exist, retarget!
2010-04-12 00:02:28 +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
e8c0e53f68
Fixed some issues with TTarget_Exported (hope so)
2010-04-10 13:36:09 +02:00
Raymond
44c4322d0f
Fixed the len-parameter.. :-)
2010-04-09 23:12:55 +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
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
Wizzup?
20a66b3854
Big OCR update. Also added redundant ConvTPAArr to mufasatypesutil,
...
added Copy() to TMufasaBitmap, and added GetDirectories to files.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@318 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-22 22:52:02 +00:00
Wizzup?
41587968ef
Small changes.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@315 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-22 01:55:58 +00:00
Wizzup?
80ce9744c6
More OCR changes, but mainly OCRBench changes.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@314 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-22 01:19:29 +00:00
Wizzup?
64ba5b72ec
OCR inner api changes. Added ``suppport'' for shadows.
...
Changed OCRBench a bit more.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@308 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-21 19:48:57 +00:00
Wizzup?
f4c25beb0e
Small OCR change.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@307 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-21 16:38:20 +00:00
Wizzup?
9bc999fcad
Added OCRBench.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@306 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-21 16:36:30 +00:00
Wizzup?
c3f91d9199
Very sad bug... TImageList.Delete actually sorts the list of the images left,
...
so all the images of other nodes are invalid. So if an node is deleted, we have
to Clear; the ImageList, en reassign all...
Also made a few changes to OCR.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@305 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-21 15:13:41 +00:00
Raymond
f80a36be1b
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@304 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-20 23:23:16 +00:00
Wizzup?
a74bd810c0
New CH
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@296 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-19 23:34:38 +00:00
Wizzup?
446c7a7318
OCR Filter changes, fix in TMWindow
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@293 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-19 18:09:04 +00:00
Raymond
1d85a03a11
w0rks now.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@292 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-19 16:29:23 +00:00
Raymond
9afed68b7e
CopyClientToBitmap with a specific x,y.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@291 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-19 16:18:16 +00:00
Raymond
2a864cac75
Added some functions to Bitmaps, made a start with exporting TMufasaBitmap..
...
Oh and added some TPA functions, not yet exported to PS.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@288 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-18 16:16:47 +00:00
Wizzup?
28f5c30785
New OCR Filter.
...
OCR still needs work. Also needs newer fonts.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@286 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-17 23:13:02 +00:00
Cazax
025aceb591
Added FindColoredArea and FindColoredAreaTolerance.
...
--Esta línea y las que están debajo serán ignoradas--
M Units/MMLAddon/PSInc/Wrappers/colour.inc
M Units/MMLAddon/PSInc/psexportedmethods.inc
M Units/MMLCore/finder.pas
M Projects/SAMufasaGUI/testunit.lfm
M Projects/SAMufasaGUI/project1.lpi
M Projects/SAMufasaGUI/testunit.lrs
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@285 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-17 17:49:44 +00:00
Wizzup?
1c025af420
Check out MufasaTests for ocr filter v1
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@282 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-17 14:54:21 +00:00
Wizzup?
6e3606466b
Fix for bitmaps, Posterize. Given a high enough (Po) value, the function would
...
throw away data and deliver incorrect results.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@280 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-16 14:57:51 +00:00
Wizzup?
35d64fecc4
New (Larger) Icon + Title for Colour Picker Form + Change in DTM.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@272 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-07 20:12:51 +00:00
Raymond
13be2661cf
Added some 'basic' functions
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@270 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-06 22:25:28 +00:00
Wizzup?
b4d56fa979
Changes in doc and code.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@267 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-04 20:57:00 +00:00
Wizzup?
8b6081f1d2
Split up the `core' of the OCR (ocrutil.pas) and the unfinished usability layer, (ocr.pas)
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@265 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-03 00:40:27 +00:00
Wizzup?
d2e3e278f1
DTM uses CTS 1. FindDTM/FindDTMs are `done' for now. Unless you guys/girls really want AreaShape, then I can add those too.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@264 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-02 20:18:38 +00:00
Wizzup?
481d3e3cd3
More optimisations. Removed areashape for now.
...
One thing still needs to optimized - and that is the colour/tolerance matching.
Not too hard, but LOTS of extra code.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@263 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-02 19:04:29 +00:00
Wizzup?
e5fd4f2702
Minor fix. var -> out so it won't throw a warning.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@262 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-02 00:30:05 +00:00