Commit Graph

228 Commits

Author SHA1 Message Date
Jonas Kulla 73812e957e Clean up unused code 2013-09-03 14:39:11 +02:00
Jonas Kulla 108392217f Remove empty line 2013-09-03 11:15:04 +02:00
Jonas Kulla 2ddb31016d Add support for compiled ".mrb" scripts
A compiled ".mrb" script can be specified in the Binding config
subgroup with key 'mrbFile='.
If a 'customScript' is specified it still takes priority however.
2013-09-03 11:11:12 +02:00
Jonas Kulla 57c806e9b5 Add "[Binding]" config subgroup
Binding specific configuration goes here. It is stored as
a String->Value hash.
2013-09-03 11:07:56 +02:00
Jonas Kulla d151986c72 Use 'MRB_FUNCTION' instead of 'MRB_METHOD' for modules 2013-09-03 11:06:01 +02:00
Jonas Kulla 121df799ab Use 'MRB_METHOD' macro 2013-09-03 10:48:20 +02:00
Jonas Kulla 8674cb8e06 Always glClear before blitting to screen
Prevents a distorted screen when an error happens during
script loading (ie. before the first drawn frame) and fullscreen
is turned on in the config.
This will also be necessarry once fixed aspect ratio is implemented.
2013-09-02 17:31:34 +02:00
Jonas Kulla 0477c3f8db Remove wrong extension check 2013-09-02 13:40:16 +02:00
Jonas Kulla 7ea875ae5d Minor cleanups and documentation 2013-09-02 12:32:53 +02:00
Jonas Kulla a6ee6bd043 'time_op': print empty string instead of "(null)" 2013-09-02 11:21:06 +02:00
Jonas Kulla ca42db7353 Fix compile error 2013-09-02 11:19:30 +02:00
Jonas Kulla d6df300341 Enhance 'time_op' and remove unused test code
time_op now takes 2 optional arguments:
iterations: block will be run this many times and the average
            time it took will be printed
opName:     tag that is printed before the measured time

Also returns the measured time as float.

I also removed the 'MKXP' module because it was clashing with
the likewise named global const.
2013-09-02 11:15:12 +02:00
Jonas Kulla 0ab438af64 Add more gl extensions and spacing 2013-09-02 11:13:22 +02:00
Jonas Kulla 6bebfa90e1 Fix spacing 2013-09-02 06:14:46 +02:00
Jonas Kulla dff6acebca Remove more leftovers 2013-09-02 06:02:50 +02:00
Jonas Kulla 1dbbc65b8b Fix more spacing 2013-09-01 20:33:27 +02:00
Jonas Kulla e4c36f5e5f Fix spacing 2013-09-01 20:32:23 +02:00
Jonas Kulla f52c132fa9 Remove leftover local path 2013-09-01 20:27:57 +02:00
Jonas Kulla 1a9fa55196 module_rpg xxd file is included statically for now 2013-09-01 20:21:09 +02:00
Jonas Kulla 691c4b7728 Add GPL license header 2013-09-01 18:26:36 +02:00
Jonas Kulla 7ba26ad796 Add license notice 2013-09-01 18:26:19 +02:00
Jonas Kulla 494fbccb6e Remove unused code 2013-09-01 18:17:19 +02:00
Jonas Kulla 32fe03c731 Fix README wording 2013-09-01 16:43:26 +02:00
Jonas Kulla 7966572edc Add GPLv2 license text 2013-09-01 16:42:10 +02:00
Jonas Kulla 57a8f772c8 Remove leftover junk 2013-09-01 16:39:22 +02:00
Jonas Kulla 88041a2395 Check if RMXP script pack path was read from Game.ini 2013-09-01 16:36:11 +02:00
Jonas Kulla ec90458925 Add missing files 2013-09-01 16:30:36 +02:00
Jonas Kulla ff25887f41 Initial commit 2013-09-01 16:27:21 +02:00