123 lines
3.4 KiB
C++
123 lines
3.4 KiB
C++
#ifndef OBJECTIDS_H
|
|
#define OBJECTIDS_H
|
|
|
|
// terrain
|
|
#define BLOCK_PREFIX 0x7000
|
|
#define FLOOR_ID 0x7001
|
|
#define HILL_INCLINE_ID 0x7002
|
|
#define HILL_DECLINE_ID 0x7003
|
|
#define HILL_DOTS_RIGHT_ID 0x7004
|
|
#define HILL_DOTS_LEFT_ID 0x7005
|
|
#define HILL_FILL_ID 0x7006
|
|
#define HILL_TOP_ID 0x7007
|
|
#define BUSH_LEFT_ID 0x7008
|
|
#define BUSH_MIDDLE_ID 0x7009
|
|
#define BUSH_RIGHT_ID 0x700A
|
|
#define CLOUD_LEFT_BOTTOM_ID 0x700B
|
|
#define CLOUD_MIDDLE_BOTTOM_ID 0x700C
|
|
#define CLOUD_RIGHT_BOTTOM_ID 0x700D
|
|
#define CLOUD_LEFT_TOP_ID 0x700E
|
|
#define CLOUD_MIDDLE_TOP_ID 0x700F
|
|
#define CLOUD_RIGHT_TOP_ID 0x7010
|
|
#define PIPE_LEFT_BOTTOM_ID 0x7011
|
|
#define PIPE_LEFT_TOP_ID 0x7012
|
|
#define PIPE_RIGHT_BOTTOM_ID 0x7013
|
|
#define PIPE_RIGHT_TOP_ID 0x7014
|
|
#define CASTLE_LEFT_ID 0x7015
|
|
#define CASTLE_RIGHT_ID 0x7016
|
|
#define CASTLE_BLACK_ID 0x7017
|
|
#define CASTLE_ENTRY_ID 0x7018
|
|
#define CASTLE_TOWER_ID 0x7019
|
|
#define CASTLE_TOWER_FILLED_ID 0x701A
|
|
#define VINE_TOP_ID 0x701B
|
|
#define VINE_BOTTOM_ID 0x701C
|
|
#define POLE_TOP_ID 0x701D
|
|
#define POLE_BOTTOM_ID 0x701E
|
|
#define FLAG_ID 0x701F
|
|
#define STEP_ID 0x7020
|
|
#define BRICK_ID 0x7021
|
|
#define BRICK_TOP_ID 0x7022
|
|
#define SIDEWAY_PIPE_END_TOP_ID 0x7023
|
|
#define SIDEWAY_PIPE_END_BOTTOM_ID 0x7024
|
|
#define SIDEWAY_PIPE_MIDDLE_TOP_ID 0x7025
|
|
#define SIDEWAY_PIPE_MIDDLE_BOTTOM_ID 0x7026
|
|
#define SIDEWAY_PIPE_CONNECTOR_TOP_ID 0x7027
|
|
#define SIDEWAY_PIPE_CONNECTOR_BOTTOM_ID 0x7028
|
|
#define TREE_PLATFORM_TOP_LEFT_ID 0x7029
|
|
#define TREE_PLATFORM_TOP_MIDDLE_ID 0x702A
|
|
#define TREE_PLATFORM_TOP_RIGHT_ID 0x702B
|
|
#define TREE_PLATFORM_BARK_ID 0x702C
|
|
#define WATER_TOP_ID 0x702D
|
|
#define WATER_FILL_ID 0x702E
|
|
#define MUSHROOM_PLATFORM_TOP_LEFT_ID 0x702F
|
|
#define MUSHROOM_PLATFORM_TOP_MIDDLE_ID 0x7030
|
|
#define MUSHROOM_PLATFORM_TOP_RIGHT_ID 0x7031
|
|
#define MUSHROOM_PLATFORM_BARK_TOP_ID 0x7032
|
|
#define MUSHROOM_PLATFORM_BARK_BOTTOM_ID 0x7033
|
|
#define TREE_BARK_ID 0x7034
|
|
#define TREE_LEAVES_SMALL_ID 0x7035
|
|
#define TREE_LEAVES_TOP_ID 0x7036
|
|
#define TREE_LEAVES_BOTTOM_ID 0x7037
|
|
#define CANNON_TOWER_ID 0x7038
|
|
#define CANNON_PEDESTAL_ID 0x7039
|
|
#define CANNON_ID 0x703A
|
|
#define COIN_ID 0x703B
|
|
#define MUSHROOM_ID 0x703C
|
|
|
|
// modifiers
|
|
#define DESTRUCTIBLE_MODIFIER_ID 0x6001
|
|
#define BACKGROUND_MODIFIER_ID 0x6002
|
|
#define COIN_MODIFIER_ID 0x6003
|
|
#define MUSHROOM_MODIFIER_ID 0x6004
|
|
#define TELEPORT_MODIFIER_ID 0x6005
|
|
|
|
// character IDs
|
|
#define MARIO_ID 0x0F
|
|
#define GOOMBA_ID 0x0E
|
|
#define TURTLE_ID 0x0D
|
|
|
|
#define DEATH_ID 0x1001
|
|
#define STOP_MOVEMENT 0x2000
|
|
|
|
#define MARIO_FLOOR_DETECT 0x2001
|
|
#define MARIO_LEFT_SIDE_DETECT 0x2002
|
|
#define MARIO_RIGHT_SIDE_DETECT 0x2003
|
|
#define MARIO_TOP_DETECT 0x2004
|
|
#define MARIO_TOP_LEFT_DETECT 0x2005
|
|
#define MARIO_TOP_RIGHT_DETECT 0x2006
|
|
#define MARIO_ENEMY_DETECT 0x2007
|
|
|
|
#define NPC_FLOOR_DETECT 0x2008
|
|
#define NPC_LEFT_SIDE_DETECT 0x2009
|
|
#define NPC_RIGHT_SIDE_DETECT 0x200A
|
|
#define NPC_TOP_DETECT 0x200B
|
|
|
|
// projectiles
|
|
#define FIREBALL_ID 0x3001
|
|
|
|
// GUI
|
|
#define BUTTON_ID 0xA000
|
|
|
|
#define EDITOR_EDIT_SQUARE 0xF001
|
|
#define EDITOR_MOUSE_ID 0xF002
|
|
#define EDITOR_LEFT_MAP_ID 0xF003
|
|
#define EDITOR_RIGHT_MAP_ID 0xF004
|
|
#define EDITOR_TERRAIN_ID 0xF005
|
|
#define EDITOR_TOOL_ID 0xF006
|
|
#define EDITOR_LEFT_TOOL_ID 0xF007
|
|
#define EDITOR_RIGHT_TOOL_ID 0xF008
|
|
#define EDITOR_CHARACTER_ID 0xF009
|
|
#define EDITOR_LEFT_MOD_ID 0xF00A
|
|
#define EDITOR_RIGHT_MOD_ID 0xF00B
|
|
#define EDITOR_LEFT_CHARACTER_ID 0xF00C
|
|
#define EDITOR_RIGHT_CHARACTER_ID 0xF00D
|
|
#define EDITOR_WORLD_CHANGE_ID 0xF00E
|
|
|
|
#define MOUSE_VISITOR_TYPE 0xE003
|
|
#define MARIO_VISITOR_TYPE 0xE004
|
|
|
|
// Collisions
|
|
#define BOUNCE_COLLISION 0x0045
|
|
|
|
#endif
|