From 95c53899be388e56a45b5eba7093d419e5835c96 Mon Sep 17 00:00:00 2001 From: cremno Date: Sun, 31 Aug 2014 05:38:01 +0200 Subject: [PATCH] add RGSS_VERSION (RGSS3) Even though 3.0.1 is the current version, 3.0.0 is used, because mkxp doesn't implement the changes like not raising a TypeError for 'Color.new == nil' yet. 3.0.1 (finally) returns false. Other changes don't affect mkxp (I think). See (Japanese). --- binding-mri/binding-mri.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/binding-mri/binding-mri.cpp b/binding-mri/binding-mri.cpp index af2fe6b..12c9e86 100644 --- a/binding-mri/binding-mri.cpp +++ b/binding-mri/binding-mri.cpp @@ -113,6 +113,8 @@ static void mriBindingInit() _rb_define_module_function(rb_mKernel, "msgbox", mriPrint); _rb_define_module_function(rb_mKernel, "msgbox_p", mriP); + + rb_define_global_const("RGSS_VERSION", rb_str_new_cstr("3.0.0")); } else {