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

614 Commits

Author SHA1 Message Date
Raymond
771602e451 added new PS file
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@464 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-24 22:57:57 +00:00
Raymond
bedeeb8931 Added Array test.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@463 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-24 22:17:06 +00:00
Raymond
d5ffb3396b Small bug, you don't want to create a IOManager an '' dir.. Just take the constructor without a plugin_dir specified.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@462 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-24 20:33:34 +00:00
Raymond
562fe21116 Added some exported functions to port SRL.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@461 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-24 20:22:47 +00:00
Raymond
73a9e15650 Added CreateBitmapString which turns a bitmap into a mufasa-bitmapstring ;-). And made the Bufferstring global rather than in DTM only...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@460 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-24 17:09:55 +00:00
Raymond
1fb4a6d44a Added the loaded char names as constants to the Scripting engine (dynamically).
Also replaced all the Bitmaps.Bmp[index] with bitmaps[index].
Creaded MaskFromText, named the others BitmapFromText and TPAFromText.
Added a GetFontByIndex to the FontLoader.

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@459 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-24 15:04:07 +00:00
Raymond
691bddcde6 Fixed a lil bug in the FontCopy function, and added new method to the bitmap manager -> GetNewIndex.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@458 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-24 12:26:36 +00:00
Wizzup?
d20f973f61 Wrappers for PS.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@457 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-24 11:45:02 +00:00
Wizzup?
778b81a9ae Adding TextToFontBitmap and TextToFontTPA.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@456 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-24 00:19:27 +00:00
BenLand100
6cf5e3e1d8 Adding an index for reversing data out of the TocrData record
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@455 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-23 23:50:05 +00:00
Raymond
8e69439614 (18:01:16) @BenLand100: but having the boolean variable, like i say, is borderline
(18:01:45) @BenLand100: its cool and all. but it you should probably implement another constructor that is false by default
(18:01:51) @BenLand100: just saying

Here you go ;-).

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@454 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-23 17:51:04 +00:00
BenLand100
af6d0e398c Fixed ActivateClient not getting called
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@453 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-23 16:03:40 +00:00
Raymond
2b8721e6b0 Ben, either get rid of those run parameters in your compiler options or stop commiting project1.lpi please ^_^.
Added a copydata parameter to TRawTarget.create. (This now fixes a memory leak in Unfreeze). Also please get rid of those two extra spaces in front of everything, so anti-pascal-syntax ^^. Also fixed the bug in IsTargetValid.

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@452 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-23 13:17:56 +00:00
BenLand100
3d4131af95 Fixing #71 & #70
Note that the old repos version of TargetValid for Linux doesn't seem to work, and wasn't exported to PascalScript, so I added that as well...


git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@451 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-22 21:30:20 +00:00
Raymond
798444e4fd Added compiler directives for Ansi-string, fixed use of PChar to behave accordingly.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@450 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-22 19:11:17 +00:00
BenLand100
bbd9f73942 Committing a new smart... it has some bug fixes, plus its open source. Experimenting with ps bugs too...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@449 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-22 03:11:37 +00:00
BenLand100
c0a68352af Fixing some plugin stuff. Should be done, streamlined, and persistent globally. Why would you want a seperate load for each script anyway? If you load the same plugin twice in the same app, it doesn't make another copy...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@448 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-22 01:13:41 +00:00
Wizzup?
0d67409787 Default OS, Arch -> Default.
Ben, don't pass -WG to the project. We NEED that terminal on Windows for any writeln. If you add -WG to the project, all the writeln's will fail, because they aren't bound to any terminal, and they will tell us they have no file to write to.
Small "fix" in settings.

Cheers :-) 




git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@447 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-21 22:43:48 +00:00
BenLand100
482f9fef66 Finished fixing #68 moved TPA into core. Also made the eios plugin loader global, and changed the oop of the plugin loader to be more oop.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@446 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-21 22:01:49 +00:00
BenLand100
3832f01616 merging back into the trunk... branches are being a bitch.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@445 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-21 21:22:55 +00:00
BenLand100
ac40880d4f Resolving #68 in both branches...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@444 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-21 20:51:55 +00:00
BenLand100
325c61374d Fixed dependancies and hopefully merged them into the iomanager branch...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@443 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-21 20:27:51 +00:00
Raymond
a7f37bd6f4 Removed Windowutil and changed GetDC into GetWindowDC. (GetWindowDC gets the entire window, including the border, menubar etc..).
Also Ben, you might want to get rid of the plugin loading every time a new target is set.

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@442 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-21 18:22:28 +00:00
BenLand100
104b410220 Merged oop changes to plugin loading into trunk. Also removed some missing paths from the project file and set laz to build in a build/$(TargetOS) folder instead of building where the sorces are... its cleaner imo. In the IOManager branch I coded for passing the plugin path down to the mufasa library so it can load components (e.g. eios and a system i'm planning for multiple script components). I'll probably be quite for a while as I work on SMART.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@441 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-21 16:45:58 +00:00
BenLand100
5d4ee2baa1 Still working in the branch. Made some oop changes to plugin loading to allow any class to extend a generic loader and provide specific loading capabilities. Also implemented the EIOS loader. I'll be working on making SMART implement EIOS (and change the specification as needed) next.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@440 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-21 15:53:54 +00:00
BenLand100
d74ca8dd61 Removed old units, now fully dependant on new units. Windows still needs debugging --- or maybe its my crosscompiler that's fucked.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@439 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-21 06:15:48 +00:00
BenLand100
adcde2d2ba Implemented windows stuff, but as I can compile yet not debug windows on here, its still a bit buggy...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@438 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-21 05:47:53 +00:00
BenLand100
0a41342cec IOManager branch compiles --- key/mouse methods need os implementation still
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@437 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-20 21:20:58 +00:00
BenLand100
9cd2a2d876 Hopefully I've got the right files in here by now... I'll need to fix some stuff i overwrote/broke in the svn madness...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@436 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-20 20:52:18 +00:00
BenLand100
39e4249670 Branching so I don't screw up anything in the trunk while working on IOManager stuff.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@435 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-20 20:17:18 +00: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
BenLand100
7b1009732f forgot to make trunk
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@433 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-20 18:39:00 +00:00
BenLand100
548861f380 Incorperated the Majority of the framework, but OS specific key and mouse commands still need native implementation, as well as some possible method restructuring related to that in the TTarget class
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@432 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-20 18:28:38 +00:00
BenLand100
d6474cda3d Creating branch for IOManager work so I don't fuck up the trunk
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@431 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-20 18:20:09 +00:00
Nava2
aaa77147f6 Nothing special, icons.
If someone could make the `new' TBitmap in the Update menu change, I would appreciate it.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@430 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-18 23:40:53 +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
Raymond
904f95bf5b Solved #24
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@420 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-16 12:55:36 +00:00
Wizzup?
e95d7f99cd Really fix 56.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@419 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-16 11:17:37 +00:00
Raymond
6f7961e69d Sorry nava, but I don't think that we can make the mantis work from inside Simba.. It's just a big hasle with al those post variables, better to just open the link in browser (like now).
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@418 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-16 00:16:49 +00:00
Wizzup?
294c1dc600 Documentation aditions.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@417 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-15 01:22:05 +00:00
Wizzup?
ab460bcc1f Some small documentation tweaks.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@416 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-14 20:28:51 +00:00
Wizzup?
ec333e736e Really fix 56*
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@415 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-14 19:17:53 +00:00