From deb5696ddba8bb5af774a4dc8b05132be8e3baa1 Mon Sep 17 00:00:00 2001 From: Jonas Kulla Date: Fri, 15 Aug 2014 23:01:25 +0200 Subject: [PATCH] MRI-Binding: Graphics: Bind 'brightness' prop (RGSS2) --- binding-mri/graphics-binding.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/binding-mri/graphics-binding.cpp b/binding-mri/graphics-binding.cpp index afd41b2..876f766 100644 --- a/binding-mri/graphics-binding.cpp +++ b/binding-mri/graphics-binding.cpp @@ -167,6 +167,8 @@ RB_METHOD(graphicsSnapToBitmap) return obj; } +DEF_GRA_PROP_I(Brightness) + #endif DEF_GRA_PROP_B(Fullscreen) @@ -197,6 +199,8 @@ void graphicsBindingInit() _rb_define_module_function(module, "fadeout", graphicsFadeout); _rb_define_module_function(module, "fadein", graphicsFadein); _rb_define_module_function(module, "snap_to_bitmap", graphicsSnapToBitmap); + + INIT_GRA_PROP_BIND( Brightness, "brightness" ); #endif INIT_GRA_PROP_BIND( Fullscreen, "fullscreen" );