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

469 Commits

Author SHA1 Message Date
Merlijn Wajer
d6c16560d5 Fix OCR Bug. How could I have possibly overlooked it with the FIXME in there? 2010-03-22 12:20:00 +01:00
Merlijn Wajer
85419926a3 Remove dependancy 2010-03-22 11:39:17 +01:00
Merlijn Wajer
11406043f1 Move scriptprop 2010-03-20 01:46:29 +01:00
Merlijn Wajer
0d10835959 Fix memory leak: Free Properties 2010-03-20 00:16:04 +01:00
Merlijn Wajer
30093069c5 Add TimeStampFunctionality 2010-03-20 00:12:43 +01:00
unknown
5f49c2129c Nothing's changed? First git commit =D 2010-03-13 16:33:04 +01:00
Merlijn Wajer
69899f58fa Compilation fix for Linux 2010-03-12 18:13:09 +01:00
Merlijn Wajer
33afa26782 No need for trunk/ anymore 2010-03-12 18:10:10 +01:00
BenLand100
8d9a439d49 Moving Simba main development into trunk... to checkout main dev: http://www.villavu.com/repositories/merlijn/mufasa/trunk [folder-here]
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@434 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-20 20:14:50 +00:00
Raymond
5995ac8bde Made smart work again, and make the mouse move outside target (on windows).
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@429 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-18 22:30:29 +00:00
Wizzup?
d6014fe316 String -> lowercase.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@428 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-18 21:04:36 +00:00
Raymond
1e1c08e5a4 Fixed the color conversions (RGB-values should be Bytes, not integers.. IMO), oh and it was taking the wrong methods (from graphics.pas instead of colour_conv.pas)
Added testscript for colour conversions, but I cbf to finnish it.
Changed the export limit! We are already exporting more than 200 methods, win!

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@427 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-18 13:38:45 +00:00
Raymond
212e41ecd1 Writeln now writeln's *EVERY* data type...
Made a ToStr that accepts *ANY* data type.

See stringtest.mufa

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@426 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-18 13:24:41 +00:00
Raymond
8e617c9f35 Fixed #63 (and #64).
Changed the updateform a bit.. Made Cancel button behave more noob-friendly, and added a speed label -> "Downloading at x kB/s".

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@425 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-18 11:52:02 +00:00
Nava2
1839f12c24 Exported Color Conversions, also added a few conversions.
Nothing was changed in finder, was just using code hints :|



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@424 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-18 02:47:56 +00:00
Raymond
076f12e2c8 Added some comments to ColourPicker,
Edited the way Errors are shown (thread-safe now),
When error occurs in an include Simba will open the tab(if not yet open) and go to the error,
Added Writeln that accepts chars,strings and all kind of integers.. (not sure whether to keep it)
Added format!

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@423 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-18 01:25:02 +00:00
Wizzup?
b14262ebaf Compilation fix... ;)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@422 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-17 13:23:04 +00:00
Wizzup?
7f16b864f7 Few changes.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@421 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-17 12:40:18 +00:00
Wizzup?
c347db5964 Add some documentation.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@414 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-14 19:16:12 +00:00
Raymond
ad14b80b30 donno what I changed, but it's probably important!
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@413 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-14 18:34:17 +00:00
Wizzup?
e9579234d8 Resolve 56.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@412 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-14 17:58:01 +00:00
Nava2
d1757e8512 added the .lrs, my bad.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@408 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 19:11:42 +00:00
Raymond
d92139acc9 Changed the rev-verison in TestUnit and new PS!
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@407 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 18:13:42 +00:00
Nava2
bedc0fa2a5 More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.

Wizzup, could you please post on the new thread about how to post to Mantis if you know? 

I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?) 
Its good, just needs some crucial things like physically openning the connections and closing them.

I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!

Oh, and I added some more icons to the MainMenu from famfam.

Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.


git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 05:11:11 +00:00
Raymond
ef735ea947 Made it so that hints get the "at line x" text aswell.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@402 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-12 15:38:08 +00:00
Raymond
99e355328a Fixed #45
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@401 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-12 15:32:59 +00:00
Raymond
6b55f916c1 Component creating now seems to work fine in PascalScript!
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@400 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-12 15:26:14 +00:00
Raymond
464be3215c Fixed error #44 (by using the latest PS) and updated the rev-version in Testunit.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@399 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-12 15:20:54 +00:00
Wizzup?
fdbce3ec51 Resolves bug #33.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@397 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-11 17:22:55 +00:00
Wizzup?
6f9335edb1 Fixes mantis #39.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@395 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-11 16:47:19 +00:00
Raymond
9be1743a7f Added IncludePaths etc
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@394 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-10 22:01:33 +00:00
Raymond
c2957dd275 Free the settingsdata (no leaks allowed!)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@390 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-10 15:38:38 +00:00
Wizzup?
c387bbde93 Changes for settings.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@389 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-10 14:34:23 +00:00
Raymond
baf574c414 There u go.. Latest WizzyPlugin ported.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@388 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-10 13:07:08 +00:00
Wizzup?
6aaa97b0ee GetSetLoadSaveDefaultKeyValue -> private.
Use GetSetLoadSaveDefaultKeyValueIfNotExists. (w0t)
Also fixes a few minor things.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@386 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-08 00:34:58 +00:00
Wizzup?
699432aab6 Comments + changes
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@385 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-08 00:09:15 +00:00
Wizzup?
2cfdce101b Fix
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@384 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-07 23:22:50 +00:00
Wizzup?
de92bc6604 Moar settings
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@383 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-07 23:14:48 +00:00
Wizzup?
4a0e4dde3b Fix bug #21.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@380 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-07 18:58:00 +00:00
Wizzup?
c5faba2cb5 Settings added.
Lots of TODO's, but it should be functional for programming uses.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@379 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-06 20:43:16 +00:00
Wizzup?
868c1c5d32 Removed BadPoints from TDTM because PascalScript cannot handle it.
Changed GoodPoints -> BadPoints.




git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@374 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-04 20:56:47 +00:00
Raymond
f1c1b01cd9 Uncommented something <3
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@373 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-04 19:58:12 +00:00
Wizzup?
f7ff95ea38 Several compilation fixes.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@372 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-04 19:56:53 +00:00
Wizzup?
b2f5a9f77a Added DTM NOT points, made DTM algorithm more dynamic.
Added CTS support for DTM. (May remove later if it becomes slow)



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@371 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-04 19:08:06 +00:00
Raymond
c5d4624df2 Updated a lil' bit
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@370 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-04 18:40:10 +00:00
Raymond
332e568042 Lil updates!
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@369 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-04 16:52:43 +00:00
Wizzup?
803cd75a59 Reworked input.pas to use TMWindow directly rather than TClient.
Added TargetValid to TMWindow. Appropriate changes in TClient.

Colourpicker now returns coordinates relative to the set Window.
If the window doesn't exist, it will default to desktop.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@364 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-03 03:45:02 +00:00
Wizzup?
5d9fc3b088 Now checks for an update 10 seconds after startup.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@363 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-03 01:36:54 +00:00
Raymond
bbc243e221 lol-a-bike subsection for 'web'.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@362 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-02 22:51:06 +00:00
Wizzup?
ecbfc0d9e0 Compile fix for windows.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@361 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-02 22:44:07 +00:00
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
Wizzup?
2dc2725364 Memory leak fix in ToTBitmap. If you use .SetSize and then .LoadFromRawImage,
the previously allocated data is not freed.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@359 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-02 13:02:57 +00:00
Wizzup?
bcf2817ba4 Internets
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@357 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-01 16:57:27 +00:00
Wizzup?
1e62434a2e Changes in the updater.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@356 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-01 15:32:23 +00:00
Wizzup?
4eba136b9c Few changes
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@354 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-31 20:38:40 +00:00
Wizzup?
568484d2e0 Small updates + added core for updater
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@353 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-31 18:17:49 +00:00
Raymond
77c45df43c There u go, internet components :-)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@352 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-31 12:17:55 +00:00
Wizzup?
8be08ea497 Memory leak fix
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@351 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-28 19:34:07 +00:00
Wizzup?
e9db9383e3 Comments for OCR.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@349 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-26 21:53:02 +00:00
Raymond
9a7803d3f7 randomrange shit
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@348 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-26 16:49:02 +00:00
Raymond
fed81fb976 Fixed a memory leak.
BrigthnessAdjust -> BrightnessAdjust

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@345 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-26 15:45:05 +00:00
Wizzup?
ffcb20146b Mainly warning fixes.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@344 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-26 15:01:19 +00:00
Wizzup?
6e5fc0cd1d Fix in WindowSelector
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@342 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-26 00:12:16 +00:00
Raymond
49b18d677a GetDebugImage now ported to PS, thanks to Wizzups leet Bitmap.FromRawImage :D
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@340 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-25 23:56:25 +00:00
Wizzup?
6e0136acfc Two small fixes.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@339 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-25 23:06:13 +00:00
Wizzup?
19c927036e LoadFromRawImage + LoadFromTBitmap
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@338 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-25 20:42:14 +00:00
Wizzup?
8b13311539 Revert of 336.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@337 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-25 15:40:14 +00:00
Nava2
a176b953e1 I thought I would contribute..
Just some small optimizations, is Ray's CTS2 comparison being fully implemented? If so, there are several procedures in finder.pas that need to be updated.
Also, the FindColorsArea, should it be done like the other finders?

I think several functions are not yet passed to PS, FindColors?

Unless the function list is not complete in its actually list.

Anyways, merry christmas to those who celebrate, and happy holidays to everyone else :)


git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@336 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-25 14:08:27 +00:00
Raymond
afd8871cd6 Pimped the function list..
And!! Even made some kind of ctrl + space list!!! <3<3

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@334 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-25 01:34:14 +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
8f88d8a0ab Made the function list functional! :-)
Extra -> Fill Function List

And the dragging w0rks.

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@331 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-24 16:21:31 +00:00
Wizzup?
d5ee9fdbc5 Added a new font loader.
Fonts are loaded at the first script start.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@330 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-24 11:04:53 +00:00
Wizzup?
a9f52ec1c7 Removed TMWindow.CopyClientToBitmap - please use
TMufasaBitmap.CopyClientToBitmap.
Added a "Set Client" feature to OCRBench, so you can test on runescape.
Also added TMufasaBitmap.ToTBitmap.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@325 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-23 18:45:03 +00:00
Wizzup?
00d53d8aed Memleak fix. ;-)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@324 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-23 12:21:24 +00:00
Wizzup?
54efac8f52 Probably fixed bug in SaveScreenshot on Windows.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@323 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-23 00:54:31 +00:00
Wizzup?
a4779d8520 More fixes for Windows...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@321 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-22 23:29:36 +00:00
Wizzup?
be478d0ba1 Changes + Fixes for OCRBench, I forgot to remove -WG.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@320 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-22 23:24:43 +00:00
Wizzup?
20a66b3854 Big OCR update. Also added redundant ConvTPAArr to mufasatypesutil,
added Copy() to TMufasaBitmap, and added GetDirectories to files.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@318 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-22 22:52:02 +00:00
Wizzup?
41587968ef Small changes.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@315 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-22 01:55:58 +00:00
Wizzup?
80ce9744c6 More OCR changes, but mainly OCRBench changes.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@314 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-22 01:19:29 +00:00
bullzeye95
19abae25e1 Fixed more bugs in the color picker
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@313 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-22 00:00:48 +00:00
bullzeye95
6743cec251 Fixed some bugs in the color picker
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@312 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-21 21:52:41 +00:00
bullzeye95
4c23f14232 Rewrote the color picker. It's as fast as or faster than SCAR's now
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@309 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-21 20:49:50 +00:00
Wizzup?
64ba5b72ec OCR inner api changes. Added ``suppport'' for shadows.
Changed OCRBench a bit more.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@308 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-21 19:48:57 +00:00
Wizzup?
f4c25beb0e Small OCR change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@307 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-21 16:38:20 +00:00
Wizzup?
9bc999fcad Added OCRBench.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@306 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-21 16:36:30 +00:00
Wizzup?
c3f91d9199 Very sad bug... TImageList.Delete actually sorts the list of the images left,
so all the images of other nodes are invalid. So if an node is deleted, we have
to Clear; the ImageList, en reassign all...
Also made a few changes to OCR.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@305 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-21 15:13:41 +00:00
Raymond
f80a36be1b git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@304 3f818213-9676-44b0-a9b4-5e4c4e03d09d 2009-12-20 23:23:16 +00:00
Raymond
4c33f0798a Exported TMufasaBitmap with LoadFromFile and SaveToFile
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@303 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-20 20:53:54 +00:00
Wizzup?
a74bd810c0 New CH
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@296 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-19 23:34:38 +00:00
Wizzup?
446c7a7318 OCR Filter changes, fix in TMWindow
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@293 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-19 18:09:04 +00:00
Raymond
1d85a03a11 w0rks now.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@292 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-19 16:29:23 +00:00
Raymond
9afed68b7e CopyClientToBitmap with a specific x,y.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@291 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-19 16:18:16 +00:00
Raymond
2a864cac75 Added some functions to Bitmaps, made a start with exporting TMufasaBitmap..
Oh and added some TPA functions, not yet exported to PS.

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@288 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-18 16:16:47 +00:00
Wizzup?
78af57e181 When the window selector hovers over a window that can be made transparent, it will make it transparent.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@287 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-18 13:39:36 +00:00
Wizzup?
28f5c30785 New OCR Filter.
OCR still needs work. Also needs newer fonts.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@286 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-17 23:13:02 +00:00
Cazax
025aceb591 Added FindColoredArea and FindColoredAreaTolerance.
--Esta línea y las que están debajo serán ignoradas--
M    Units/MMLAddon/PSInc/Wrappers/colour.inc
M    Units/MMLAddon/PSInc/psexportedmethods.inc
M    Units/MMLCore/finder.pas
M    Projects/SAMufasaGUI/testunit.lfm
M    Projects/SAMufasaGUI/project1.lpi
M    Projects/SAMufasaGUI/testunit.lrs


git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@285 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-17 17:49:44 +00:00
Wizzup?
1c025af420 Check out MufasaTests for ocr filter v1
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@282 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-17 14:54:21 +00:00
Wizzup?
7ae50bbc4b Removed "Pos: " and "Color: " on Linux, until the Picker rewrite.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@281 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-17 00:44:07 +00:00
Wizzup?
6e3606466b Fix for bitmaps, Posterize. Given a high enough (Po) value, the function would
throw away data and deliver incorrect results.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@280 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-16 14:57:51 +00:00
Raymond
7179add741 Added tpa.pas, (just holds 1 function.. Not sure what to do)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@275 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-10 22:21:21 +00:00
Wizzup?
d3c03f808b Fix
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@273 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-08 15:37:59 +00:00
Wizzup?
35d64fecc4 New (Larger) Icon + Title for Colour Picker Form + Change in DTM.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@272 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-07 20:12:51 +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?
b4d56fa979 Changes in doc and code.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@267 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-04 20:57:00 +00:00
Wizzup?
8b6081f1d2 Split up the `core' of the OCR (ocrutil.pas) and the unfinished usability layer, (ocr.pas)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@265 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-03 00:40:27 +00:00
Wizzup?
d2e3e278f1 DTM uses CTS 1. FindDTM/FindDTMs are `done' for now. Unless you guys/girls really want AreaShape, then I can add those too.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@264 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-02 20:18:38 +00:00
Wizzup?
481d3e3cd3 More optimisations. Removed areashape for now.
One thing still needs to optimized - and that is the colour/tolerance matching.
Not too hard, but LOTS of extra code.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@263 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-02 19:04:29 +00:00
Wizzup?
e5fd4f2702 Minor fix. var -> out so it won't throw a warning.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@262 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-02 00:30:05 +00:00
Wizzup?
260eaf5f57 Fix for DTMConsistent where it returned random garbage. (Did not init result)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@261 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-02 00:25:13 +00:00
Wizzup?
c0132294be Added new DTM Finding. Not done yet, but getting there.
Needs a few obvious optimizations, and rotated isn't implemented yet.
Needs a stress-test script.

Added a script to test the difference between FindColorsTolerance and FindColorsToleranceOptimisation.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@260 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-01 23:41:43 +00:00
Wizzup?
17cb6596cc If the current window bitmap is beeing freed, don't raise an exception, but default to desktop and print a warning.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@259 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-01 13:11:14 +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?
2682acc57f Added licenses. Removed a few comments.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@234 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-17 11:08:09 +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
Wizzup?
f52f2986c4 Some more changes, exceptions and comments.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@232 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-14 02:45:00 +00:00
Wizzup?
46aec15209 Mufasa v2 -> Simba!
Did some documentation work, added some comments to some files.
Also added another check in Window.pas to help further debugging.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@231 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-14 01:22:06 +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
Raymond
fce233838d Little clean-up; We need to initalize every record!!!!
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@227 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-11 22:35:26 +00:00
Wizzup?
99e6decced Compiling fix.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@226 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-11 19:53:58 +00:00
Raymond
7ecefaaa9b FUCKING ANNOYING BUG FIXED
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@225 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-10 22:07:42 +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
Raymond
bfa8b3eb39 Exported vk_codes.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@223 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-10 19:25:45 +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?
4fb4d6426e Alright, added support for windows, just cause I'm a nice guy.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@215 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-08 17:04:35 +00:00
Wizzup?
571ea97bd7 Some more changes.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@214 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-08 16:55:00 +00:00
Wizzup?
13fe985504 Several changes. Removed support for windows, as KeyInput on Windows tries to synchronize after sending a key. This is not a good idea when not on the main thread; and causes crashes. Either Inherit from TKeyInput on windows, and change the calls so that it doesn't call ProcessMessages, or create your own.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@213 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-08 16:45:45 +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?
cdbd7a748f Colour Picker History! :)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@202 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-07 15:40:45 +00:00
Wizzup?
00755e9fdd Mouse is now non-silent by default on Linux. This ensures all events are send. Silent wasn't 100% accurate when the client wasn't "activated".
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@198 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-07 01:57:38 +00:00
Wizzup?
2e8c2da42e Made framescript use formWriteln() as well.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@197 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-07 00:50:02 +00:00
Raymond
cf8e0f18f8 Fixed lil' bugs in tabs, & changed the way Writeln works @ windows.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@195 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-05 17:03:44 +00:00
Wizzup?
bc9999cc07 Navatwo wanted to debug in terminal.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@192 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-04 23:01:01 +00:00
Wizzup?
366764d910 Writeln() now goes to debug box on Linux too. ;-)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@191 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-04 22:41:06 +00:00
Wizzup?
751d04436a Made a different RS Text Extractor. I think it works better in most cases,
but it needs some more work. I need to write a floodfill to remove noise.

Apart from that, < 5ms for rs_getuptext isn't bad.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@182 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-03 12:57:39 +00:00
Wizzup?
7fbef67005 Added an Exception when ReturnData encounters an error.
The Exception will be removed once we have taken a look at the bug I just filed.
The bug tracker isn't open yet - so no link for now.




git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@181 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-03 02:09:51 +00:00
Wizzup?
5dd8332fc1 I think it fails in quite some cases.
Few fixes for cross platformness.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@180 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-03 00:44:53 +00:00
Wizzup?
f42c32f1b8 rs_GetUpText should work now in the GUI. It probably still needs internal tweaking, but you can test it now, and report pictures of situations where it does not work.
I may have left some debugging writeln's in - remove them when they annoy you.

Also uploaded the old UpChars font.




git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@179 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-03 00:40:07 +00:00
Wizzup?
cee2bb4d82 Few changes - not done yet.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@178 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-02 11:35:53 +00:00
Raymond
2b7c86831f Fixed error in ReturnData.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@176 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-02 10:34:41 +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
6936a5c81e Made some changes in CopyClientToBitmap (It does NOT have a bug, unless ReturnData is wrong.. Might wanne look into that Tovenaar) it now has the option to resize the bitmap or not. (Scar does resize the bitmap).
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@174 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-02 09:25:49 +00:00
Raymond
a46ff70ce4 Fixed colourpicker.
On windows now uses the OnMouseMove event, displays the correct and x,y.. 
Added a GetDimensionBox to Window, not sure if it works/compiles correctly on Linux.
:-)

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@172 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-01 17:58:57 +00:00
Raymond
01f971a476 Cleaned up a bit
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@171 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-01 17:23:16 +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
Nava2
892e09abc8 Added some new types, just made the hueXMod and satXMod variables for speeding up the tolerance finding procedures.
First commit. HA!


git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@161 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-27 01:49:52 +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
8538097e9d Testing linux commit
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@157 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-25 18:18:24 +00:00
Wizzup?
3bacb9f537 Yo dawg I herd you like fixes
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@149 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-22 18:23:14 +00:00
Raymond
4e931dc421 Some extra exceptions bish!
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@148 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-22 18:15:51 +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
f3dae9ae78 .include now quite working..
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@144 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-20 20:30:11 +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
303851af92 Looks like object creation now actually works.. :-)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@142 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-20 13:44:51 +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
Wizzup?
22ff72fb11 Meh.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@140 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-18 19:22:52 +00:00
Raymond
25d196ee75 Seriously learn the difference between (xe-xs) and Width. KTHNX! Since (xe-xs) <> Width.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@139 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-18 13:56:12 +00:00
Wizzup?
0109f1c91c Fix for SaveScreenshot on Linux
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@138 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-17 23:09:36 +00:00
Wizzup?
3220330c90 Fix for linux.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@137 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-17 22:54:08 +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
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?
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?
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
Wizzup?
18dd345e94 I meant aGPL.
Fixed spaces.


git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@123 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-12 14:21:37 +00:00
Wizzup?
945219ed0f GPL example.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@122 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-12 14:20:26 +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?
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?
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?
5015ece4e2 mmath
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@108 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-06 03:42:52 +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?
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
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?
0f2c4af46f Forgot a file. :)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@98 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-03 19:20:52 +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?
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?
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
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?
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?
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?
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
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?
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?
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
6f80c64d9c PS Added
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@38 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-12 06:24:59 +00:00
Wizzup?
9a2b50ef82 Added MMLThread plus comments and and sample for Raymond.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@37 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-11 18:32:57 +00:00
Wizzup?
ddd3a8bb3b Switching to other computer.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@36 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-11 18:09:03 +00:00
Wizzup?
e706a5fd38 Fix for 64 bit.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@35 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-09 22:11:50 +00:00
Wizzup?
ff4376d290 Added a couple of files, and a few comments.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@34 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-09 07:08:58 +00:00
Raymond
acfe2a5232 Made some changes!
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@33 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-05 20:33:20 +00:00
Wizzup?
036f11e249 Finder class.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@32 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-05 20:08:52 +00:00
Wizzup?
1ade9de27b Compiler Option added:
-dM_MEMORY_DEBUG
Set Output name to "SAMufasaGUI"




git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@30 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-04 19:18:13 +00:00