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

150 Commits

Author SHA1 Message Date
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
Raymond
432b9b5f1c Added FindColorsToleranceOptimised and FindColorToleranceOptimised, both optimised for CTS 2.. Test it outz!
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@250 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-29 14:12:01 +00:00
Wizzup?
2682acc57f Added licenses. Removed a few comments.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@234 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-17 11:08:09 +00:00
Wizzup?
f52f2986c4 Some more changes, exceptions and comments.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@232 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-14 02:45:00 +00:00
Wizzup?
46aec15209 Mufasa v2 -> Simba!
Did some documentation work, added some comments to some files.
Also added another check in Window.pas to help further debugging.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@231 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-14 01:22:06 +00:00
Raymond
8f220c8796 Cleanup
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@228 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-12 18:22:09 +00:00
Raymond
fce233838d Little clean-up; We need to initalize every record!!!!
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@227 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-11 22:35:26 +00:00
Wizzup?
99e6decced Compiling fix.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@226 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-11 19:53:58 +00:00
Raymond
7ecefaaa9b FUCKING ANNOYING BUG FIXED
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@225 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-10 22:07:42 +00:00
Wizzup?
f8fc7069d3 Added mouse test + some changes
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@224 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-10 20:39:20 +00:00
Raymond
bfa8b3eb39 Exported vk_codes.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@223 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-10 19:25:45 +00:00
Wizzup?
afca6a0e10 Added ClickMouse, HoldMouse and ReleaseMouse.
Also added TClickType and TMousePress.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@222 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-10 00:46:34 +00:00
Wizzup?
4fb4d6426e Alright, added support for windows, just cause I'm a nice guy.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@215 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-08 17:04:35 +00:00
Wizzup?
571ea97bd7 Some more changes.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@214 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-08 16:55:00 +00:00
Wizzup?
13fe985504 Several changes. Removed support for windows, as KeyInput on Windows tries to synchronize after sending a key. This is not a good idea when not on the main thread; and causes crashes. Either Inherit from TKeyInput on windows, and change the calls so that it doesn't call ProcessMessages, or create your own.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@213 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-08 16:45:45 +00:00
Wizzup?
a68d70d456 Added KeyUp/KeyDown/KeyPress and SendText. Should work on Windows as well on Linux.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@211 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-08 16:23:04 +00:00
Wizzup?
00755e9fdd Mouse is now non-silent by default on Linux. This ensures all events are send. Silent wasn't 100% accurate when the client wasn't "activated".
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@198 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-07 01:57:38 +00:00
Raymond
cf8e0f18f8 Fixed lil' bugs in tabs, & changed the way Writeln works @ windows.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@195 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-05 17:03:44 +00:00