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

55 Commits

Author SHA1 Message Date
Raymond
0b503f8c58 Added few Gaussian related functions and ConvoluteMatrix for bitmaps :-). 2011-02-06 19:54:29 +01:00
Merlijn Wajer
522973fdfa Small bitmaps change 2010-09-04 20:23:23 +02:00
Raymond
807905c896 Added Disguise+Status+ClearDebugImg..
Redesigned the way form-interactions are done.
2010-08-18 01:22:03 +02:00
Raymond
780190e2c7 Added ScrollMouse, BiDiMode and added CopyClientToBitmap to the TMufasaBitmap 2010-05-19 22:36:45 +02:00
Raymond
4f6ad407e1 Fixed this unicode issue, I think. 2010-05-15 13:57:55 +02:00
Raymond
559a3f977c Added Compress/Decompress String; Base64 conversion and 'procedure Simba' 2010-05-12 19:05:56 +02:00
Raymond
b10ecdc9ff Typo in PixelShift. 2010-05-10 23:58:18 +02:00
Raymond
486e22d0db Fixed bug with open parameter. Added new TPA function. Fixed bug with interpreter where it wouldn't return right in case of a class as result. 2010-05-09 14:34:40 +02:00
Raymond
1575c1ec11 Added few TPA functions (OffsetTPA,OffsetATPA,FloodFillTPA,CopyTPA,CopyATPA).. Changed most of the Array parameters to be Consts (this saves the need of copying the whole array just to pass it to the method). Changed the debug image borders back to toolwin.. Added constants MaxInt/MaxLongInt 2010-05-08 03:20:26 +02:00
Raymond
450c60abd6 Small bug that would cause simba to AV. 2010-05-07 14:45:17 +02:00
Raymond
2baf3670df Donno, need to commit somehow. 2010-05-01 15:00:23 +02:00
Raymond
a7eccb53d2 Mem leak fix 2010-04-18 17:14:19 +02:00
Raymond
dd44f6f007 Fixed small (but nasty) bug in DTM, added two functions to MufasaBitmap (rectangle + FloodFill). 2010-04-13 20:10:30 +02:00
Raymond
2759ad3a03 Made some changes; Fixed some bitmap issues; Added some functions to extensions; fixed bug in PS 2010-04-11 21:42:42 +02:00
Raymond
72539efffd Added 'LoadSystemFont' which allows you to load a font based on one of your system fonts (just like LoadChars2 in scar). 2010-04-05 00:35:49 +02:00
Raymond
c918d95b1c Exported the 'whole' TMufasaBitmap class to PascalScript. Changed rev to 605. 2010-04-03 15:10:13 +02:00
Raymond
51b3c3cf94 Uhm ScriptSetProp and ScriptGetProp now work with an Enum, ctrl + alt + s is a global shorcut (on windows). f2 is a non-local shortcut to stop the script. Console now hides without losing the information, changed compiler setting for windows, added define mDebug for if you want a more extensive debug. 2010-03-22 15:58:30 +01:00
Merlijn Wajer
4697f46d39 Make FreeBitmap less verbose 2010-03-22 12:20:47 +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
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?
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
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?
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
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?
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
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
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?
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
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
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?
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
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
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
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
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
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?
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?
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
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