1
0
mirror of https://github.com/moparisthebest/Simba synced 2024-11-04 08:25:12 -05:00
Commit Graph

92 Commits

Author SHA1 Message Date
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?
8f7966e002 Colour picker change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@88 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-23 21:53:52 +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?
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?
cdb1b97465 Compilation fix.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@85 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-23 04:16:05 +00:00
Wizzup?
79505f7c4d Changes.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@84 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-23 04:09:52 +00:00
Wizzup?
301e4370ad Forgot to upload it.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@83 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-23 00:31:14 +00:00
Wizzup?
f49f0ed870 Few changes.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@82 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-23 00:10:40 +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
Wizzup?
f1a223473d DTM shell with some comments.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@75 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-22 08:14:43 +00:00
Wizzup?
4a6987a777 Fixed compiling errors on linux. :)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@74 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-20 17:37:00 +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
a8c09d2149 Added CopyClientToBitmap in MBitmaps.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@69 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-18 05:14:09 +00:00
Raymond
60cb8a6d8b Made MWindow.Free/Unfreeze
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@68 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-18 02:58:23 +00:00
Raymond
5d58b428ea Removed wrong exceptions.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@67 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-16 21:55:04 +00:00
Wizzup?
13c2103030 Added the first initial code of Freeze/Unfreeze.
Added more comments in window.pas.
Added several exception-raises where required.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@66 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-16 07:34:06 +00:00
Raymond
ae5d0e9d5b Fixt uPSRuntime
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@65 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-14 23:13:24 +00:00
Wizzup?
809c69bafd PS rev 174. Your patch, Raymond. :)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@64 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-14 20:16:29 +00:00
Wizzup?
c14ee4987d PS update
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@63 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-14 19:50:19 +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
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?
a8671f1518 SMART plugins. ;-)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@60 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 23:24:02 +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?
9d6c4ee850 eol-style: native
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@58 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 19:47:09 +00:00
Raymond
497c55de60 Fixed some stuff in PS.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@57 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 19:41:03 +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
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?
c2c6f2e09a Colour_conv
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@53 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 17:14:09 +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
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
dee2b98fd9 FIXED YO ERRORS!
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@48 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 05:00:13 +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