1
0
mirror of https://github.com/moparisthebest/Simba synced 2024-11-11 03:45:06 -05:00
Commit Graph

53 Commits

Author SHA1 Message Date
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
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
6b73686cd0 Methods are now in an Array, instead of directly added into the PS-Script engine.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@271 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-06 23:05:08 +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?
a09b1d0043 DWord -> LongWord... :>
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@255 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-30 21:56:55 +00:00
Wizzup?
446c5a5ef2 Integer -> DWord
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@254 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-30 21:50:17 +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
c5d968160f Added DebugImageForm, see debugimageform.mufa for example.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@251 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-29 19:23:25 +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
Raymond
0a46930651 Added some functions.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@249 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-29 11:40:10 +00:00
Wizzup?
cc3b9d401f Added file writing, reading, etc.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@233 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-17 09:30:09 +00:00
Raymond
1f1cdda543 Fixed a lil shortcuts bug, added exit to File menu, added Exit Icon, added Help menu, added About form.
Changed the exported mouse functions to use Integers & consts, rather than the current Enum (because PascalScript is worthless when it comes to Enums).


git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@229 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-12 21:20:29 +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
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
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?
270394a397 Added ColorToHSL, so I can run my old neopets script. ^_^
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@217 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-08 17:39:28 +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?
7b1e8d6f6a Changes.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@175 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-02 10:18:35 +00:00
Raymond
c0a090c01c Some fixes for linux
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@168 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-01 15:04:03 +00:00
Wizzup?
8a101c65f5 First OCR Function - GetTextAtEx. Currently only for UpText - still much of a stub.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@166 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-01 11:07:46 +00:00
Raymond
7e06e85bee Been messing around a bit, haven't changed much.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@162 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-30 20:21:44 +00:00
Wizzup?
4157568bde Please use svn:eol-style native for every new file.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@160 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-27 01:03:37 +00:00
Raymond
3b603917a0 FindDeformedBitmapToleranceIn has been improved! Is zeh win now. (beats scar, imo).
Oh and we can now type more than 80 chars a line (in synedit).


git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@147 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-22 14:25:20 +00:00
Raymond
dd3d202b44 Bitmap masks added. Little mistake in the RowCalcs, fixed it. RetData now also has a RowLen property.
Added Paths (ScriptPath / AppPath);

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@143 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-20 19:48:18 +00:00
Raymond
ffb90926b6 Added SetTargetBitmap, and made CallThreadSafe work, hell yeah!
OnDestroy event for bitmaps..
Added PosterizeBitmap
Added window.inc
Added FormTest.mufa

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@141 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-18 20:11:47 +00:00
Raymond
50adef2299 Added few functions + made psWriteln use Critical Sections (Not sure wether it w0rks on linux).
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@135 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-17 18:53:08 +00:00
Raymond
030aac3748 Added several bitmap functions (Contrast, Brightness, Invert, Desaturate)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@133 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-17 14:14:47 +00:00
Raymond
4a65a1ffb1 Kind-of got RotateBitmap working.. (failed to make it work for different middlepoints /emo).
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@132 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-17 11:59:33 +00:00
Raymond
d69697a0d7 Added StretchResize
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@131 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-15 21:36:47 +00:00
Wizzup?
c59ea10a2c Zo dan.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@127 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-12 17:47:46 +00:00
Wizzup?
6c1938cc7f Tell me if I missed anything.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@125 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-12 15:04:52 +00:00
Raymond
b744a350a9 Added some Finder functions (Spiral stuff + bitmap st00f).
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@121 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-11 18:50:18 +00:00
Raymond
50218e9320 Bmp stuff + normal font size in GUI.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@120 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-09 22:17:35 +00:00
Wizzup?
e9d2c0a614 CopyClientToBitmap.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@118 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-08 03:54:14 +00:00
Wizzup?
a063b83081 Well - DTM needs some more work. It doesn't fully detect what areas it should search in - yet.
Basically:
	x1 = x1 - max(areasize * (negative) distance to main point) <-- Max of all points. Same for the rest.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@109 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-06 06:52:38 +00:00
Wizzup?
b970995a3d Woot.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@107 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-06 03:40:44 +00:00
Wizzup?
df029c2fd7 More DTM.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@104 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-04 06:37:34 +00:00
Wizzup?
490c3e1871 Fixed some warnings + added FindDTM and AreaShape.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@100 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-03 22:11:30 +00:00
Raymond
33b416a939 Fixed.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@99 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-03 19:38:40 +00:00
Wizzup?
88710ef066 Some DTM functions.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@97 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-03 19:17:54 +00:00
Wizzup?
950bf6cfa9 Added freeze() to colour test.
Fixed a bug in cts 0, made cst 1 20% faster. Only cts 2 left to optimise.
(Can be optimised a lot!)



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@94 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-29 02:12:29 +00:00
Raymond
beb307f24b Added FindColorsTolerance.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@73 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-20 02:19:44 +00:00
Raymond
d24c929443 Added some math functions to PascalScript, changed the GUI a bit (You can now run scripts with F9).
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@72 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-20 02:08:02 +00:00
Raymond
abe7c1f8a2 Added CountColorTolerance + SimilarColors.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@71 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-18 22:41:05 +00:00
Raymond
68c49e0774 Added GetColor
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@70 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-18 20:08:15 +00:00
Raymond
fafda03ad0 Updated + Added plugins
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@59 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 23:22:23 +00:00
Wizzup?
3b6aadcf88 FindColors
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@55 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 18:56:02 +00:00
Raymond
ade23dff0d Fixed Finder
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@54 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 18:19:33 +00:00
Wizzup?
5d1ffa2c7d I removed the cts case from the loop (meta-unrolled), as it *really* eats speed.
Feel free to test, though.

Current results are fast enough for now, but I'm sure we can improve the speed a bit more. 
I set the optimalisations to -O2 instead of -01, it makes a difference of about 1.5x with CTS 2.   

Results:
    W, H = 826, 597
    
    FindColorTolerance, with no hit:
        CTS0: 11.316831683168 ms
        CTS1: 25.396039603960 ms
        CTS2: 37.613861386139 ms 




git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@50 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 08:46:25 +00:00
Raymond
1797201d2a Updated Bitmaps!
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@49 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 07:25:40 +00:00