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

20 Commits

Author SHA1 Message Date
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
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
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
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
Wizzup?
2b0cb40b79 Writeln to GUI -> writeln to console.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@44 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-12 19:00:21 +00:00
Wizzup?
b5e0bbf5ff Added a few include files, pscompile.inc should probably be split up in more include files.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@41 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-12 08:15:52 +00:00