MRI-Binding: Graphics: Bind 'brightness' prop (RGSS2)

This commit is contained in:
Jonas Kulla 2014-08-15 23:01:25 +02:00
parent 7a655528e4
commit deb5696ddb
1 changed files with 4 additions and 0 deletions

View File

@ -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" );