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

66 Commits

Author SHA1 Message Date
Raymond
7c2fd48297 Updated the GUI a bit :-). Now has Loading/Saving + some elementary stuff.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@134 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-17 17:57:09 +00:00
Wizzup?
c73e4df23d Empty ocr.pas :)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@130 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-12 21:46:29 +00:00
Wizzup?
c8cb3a1d19 Changes.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@129 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-12 20:56:29 +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?
5f8b9009d1 Fix for time. ;-)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@126 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-12 17:35:50 +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
Wizzup?
bd5f01d4c0 GPL v3. (Not aGPL after all.)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@124 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-12 14:37:31 +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?
2cb6eac33c Small fix for window.pas, removed some comments from dtm.pas, and added
more documentation.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@117 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-07 08:22:28 +00:00
Wizzup?
4857d037c1 Wups, placed the form on my second monitor again. ;-)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@112 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-06 18:09:05 +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?
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?
b3442cc043 Played a bit with the SAMufasaGUI Size, and it's font sizes.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@105 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-04 08:55:12 +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?
6cb7800002 Few fixes.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@102 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-03 22:28:29 +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
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?
3561203791 Probably moved the form out of your window, fixed. :p
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@96 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-29 21:46:18 +00:00
Wizzup?
b852563368 Fix + comments
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@95 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-29 21:44:38 +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?
8ae45b0237 Added a TrayIcon.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@93 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-25 19:29:03 +00:00
Wizzup?
5085ba40c8 Two makefiles
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@92 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-25 00:05:00 +00:00
Wizzup?
47bd23951b Few changes, and added a Makefile.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@91 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-24 07:40:13 +00:00
Raymond
02dc6d6cef git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@90 3f818213-9676-44b0-a9b4-5e4c4e03d09d 2009-09-23 22:01:19 +00:00
Raymond
f279ee1489 git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@89 3f818213-9676-44b0-a9b4-5e4c4e03d09d 2009-09-23 21:56:51 +00:00
Wizzup?
7806e9ceac Added a Window Selector for Linux.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@87 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-23 20:18:33 +00:00
Wizzup?
efc8843623 Note needs a bit of fixing. (Colour Picker)
Added a comment on the history.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@81 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-23 00:00:51 +00:00
Wizzup?
55736bdaaf Enabled the colour picker button. (The Colour Picker is now functional)
The only thing left to do for the colour picker is to add an easy way to access the picker history. :) 



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@80 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-22 23:58:14 +00:00
Wizzup?
9ffbcc2234 Added TMWindow.SetWindow to pass the GUI's set client data.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@79 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-22 22:28:10 +00:00
Wizzup?
0299c4e641 Few changes, disabled some more buttons. Enable them once their function
is implemented.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@78 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-22 21:04:11 +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
Wizzup?
c49b1d84e9 Some more files for #75.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@76 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-22 08:16:52 +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
c477793560 Made plugins global, :-(
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@61 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 23:56:15 +00:00
Wizzup?
f8e5ca80fd Small fix
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@56 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 19:14:15 +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
Wizzup?
644802c5f3 Forgot to set -O1 to -O2.
Also, newer benchmarks:

765, 503 (RS)
CTS 0  8.782178217822 ms each.
CTS 1 19.019801980198 ms each.
CTS 2 64.970297029703 ms each.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@52 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 09:01:10 +00:00
Wizzup?
9ba14f16d5 Ah. ;)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@51 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 08:48:00 +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
Wizzup?
ccc206e234 Removed a line in testunit that probably doesn't compile on windows. ;-)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@45 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-12 19:00:58 +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
Raymond
02e82f93c3 Wot
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@43 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-12 18:50:10 +00:00
Wizzup?
1c9e64cb0c A few more changes. Bedtime. :)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@42 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-12 08:24:30 +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
Wizzup?
2abd1feb48 Watch the case sensitivity please. ;)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@40 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-12 06:47:21 +00:00
Raymond
9a55b3711f Oops?
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@39 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-12 06:28:22 +00:00