MRI-Binding: TilemapVX: 'flags' is called 'passages' in RGSS2
This commit is contained in:
parent
ded18f9a02
commit
7f69786c47
|
@ -28,6 +28,12 @@
|
||||||
#include "binding-util.h"
|
#include "binding-util.h"
|
||||||
#include "binding-types.h"
|
#include "binding-types.h"
|
||||||
|
|
||||||
|
#ifdef RGSS3
|
||||||
|
# define FLAGS_PROP "flags"
|
||||||
|
#else
|
||||||
|
# define FLAGS_PROP "passages"
|
||||||
|
#endif
|
||||||
|
|
||||||
DEF_TYPE(TilemapVX);
|
DEF_TYPE(TilemapVX);
|
||||||
rb_data_type_struct BitmapArrayType;
|
rb_data_type_struct BitmapArrayType;
|
||||||
|
|
||||||
|
@ -87,7 +93,7 @@ DEF_PROP_OBJ_NIL(TilemapVX, Viewport, Viewport, "viewport")
|
||||||
|
|
||||||
DEF_PROP_OBJ(TilemapVX, Table, MapData, "map_data")
|
DEF_PROP_OBJ(TilemapVX, Table, MapData, "map_data")
|
||||||
DEF_PROP_OBJ(TilemapVX, Table, FlashData, "flash_data")
|
DEF_PROP_OBJ(TilemapVX, Table, FlashData, "flash_data")
|
||||||
DEF_PROP_OBJ(TilemapVX, Table, Flags, "flags")
|
DEF_PROP_OBJ(TilemapVX, Table, Flags, FLAGS_PROP)
|
||||||
|
|
||||||
DEF_PROP_B(TilemapVX, Visible)
|
DEF_PROP_B(TilemapVX, Visible)
|
||||||
|
|
||||||
|
@ -143,7 +149,7 @@ tilemapVXBindingInit()
|
||||||
INIT_PROP_BIND( TilemapVX, Viewport, "viewport" );
|
INIT_PROP_BIND( TilemapVX, Viewport, "viewport" );
|
||||||
INIT_PROP_BIND( TilemapVX, MapData, "map_data" );
|
INIT_PROP_BIND( TilemapVX, MapData, "map_data" );
|
||||||
INIT_PROP_BIND( TilemapVX, FlashData, "flash_data" );
|
INIT_PROP_BIND( TilemapVX, FlashData, "flash_data" );
|
||||||
INIT_PROP_BIND( TilemapVX, Flags, "flags" );
|
INIT_PROP_BIND( TilemapVX, Flags, FLAGS_PROP );
|
||||||
INIT_PROP_BIND( TilemapVX, Visible, "visible" );
|
INIT_PROP_BIND( TilemapVX, Visible, "visible" );
|
||||||
INIT_PROP_BIND( TilemapVX, OX, "ox" );
|
INIT_PROP_BIND( TilemapVX, OX, "ox" );
|
||||||
INIT_PROP_BIND( TilemapVX, OY, "oy" );
|
INIT_PROP_BIND( TilemapVX, OY, "oy" );
|
||||||
|
|
Loading…
Reference in New Issue