MRI-Binding: Define 'msgbox' p/print aliases (RGSS3)

This commit is contained in:
Jonas Kulla 2014-04-11 13:31:09 +02:00
parent 4219b91bbb
commit 8203e32900
1 changed files with 5 additions and 0 deletions

View File

@ -88,8 +88,13 @@ static void mriBindingInit()
fileIntBindingInit();
#ifdef RGSS3
_rb_define_module_function(rb_mKernel, "msgbox", mriPrint);
_rb_define_module_function(rb_mKernel, "msgbox_p", mriP);
#else
_rb_define_module_function(rb_mKernel, "print", mriPrint);
_rb_define_module_function(rb_mKernel, "p", mriP);
#endif
rb_eval_string(module_rpg);