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
Wizzup?
260eaf5f57
Fix for DTMConsistent where it returned random garbage. (Did not init result)
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@261 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-02 00:25:13 +00:00
Wizzup?
c0132294be
Added new DTM Finding. Not done yet, but getting there.
...
Needs a few obvious optimizations, and rotated isn't implemented yet.
Needs a stress-test script.
Added a script to test the difference between FindColorsTolerance and FindColorsToleranceOptimisation.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@260 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-01 23:41:43 +00:00
Wizzup?
17cb6596cc
If the current window bitmap is beeing freed, don't raise an exception, but default to desktop and print a warning.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@259 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-01 13:11:14 +00:00
Wizzup?
d0572ddc18
Several bugfixes.
...
For the record:
- One in wait. Integer -> DWord.
- ActivateClient did not call XFlush(), and wasn't exported either.
- Bug in SendKeys where it did not release the VK_SHIFT key.
- Overloaded + and - operators for TPoints
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@253 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-30 19:57:26 +00:00