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

22 Commits

Author SHA1 Message Date
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?
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?
2381c4814b Uptext test script
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@183 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-03 14:31:36 +00:00
Raymond
abef02fd38 I herd u like test scripts?
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@150 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-22 18:24: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
85bb6c6e1d Added FindDeformedBitmapToleranceIn..
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@136 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-17 22:25:40 +00:00
Wizzup?
8648fbb120 More fixes for FindDTM and FindDTMs.
The rotated variant do not function correctly, yet.
I think the entire idea they are based on should be slightly different.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@111 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-06 18:08:41 +00:00
Wizzup?
fa648c717d Forgot to commit the test.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@110 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-06 06:53:45 +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?
1ff3e33a5e More DTM tests.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@106 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-06 03:10:43 +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
Raymond
9f5fb3b1c0 git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@103 3f818213-9676-44b0-a9b4-5e4c4e03d09d 2009-10-03 22:29:54 +00:00
Raymond
e9292ee853 git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@101 3f818213-9676-44b0-a9b4-5e4c4e03d09d 2009-10-03 22:22:28 +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
Wizzup?
2a00089fc6 Fixed test script.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@86 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-23 04:29:22 +00:00
Wizzup?
b5a8426f1e Gui changes:
- Added the TToolBar with the old Buttons.
	- Removed the bug Run button. The Green Run button is now functional.

Window changes:
	- Removed the Client: TObject parameter in TMWindow.Create,
	  the point of TMWindow was to be client independant, so it could
	  be used in the GUI too. This doesn't effect it's functionality in any way.

Client changes:
	Removed the Self variable passed to TMWindow.Create.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@77 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-22 20:55:15 +00:00
Raymond
0c380b49ec Some changes :-)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@62 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-14 00:12:25 +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
Wizzup?
5ca4ac75e1 Cleanu
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@47 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 04:46:01 +00:00
Raymond
150ad9fcf1 Added Bitmaps
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@46 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 02:18:35 +00:00