Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
object/names: pull object name management
Browse files Browse the repository at this point in the history
  • Loading branch information
rr- committed Sep 27, 2024
1 parent fd2df50 commit 17f51b4
Show file tree
Hide file tree
Showing 12 changed files with 1,022 additions and 468 deletions.
463 changes: 4 additions & 459 deletions include/libtrx/game/objects/ids.h

Large diffs are not rendered by default.

192 changes: 192 additions & 0 deletions include/libtrx/game/objects/ids_tr1.def
Original file line number Diff line number Diff line change
@@ -0,0 +1,192 @@
OBJ_ID_DEFINE(O_LARA, 0)
OBJ_ID_DEFINE(O_PISTOL_ANIM, 1)
OBJ_ID_DEFINE(O_SHOTGUN_ANIM, 2)
OBJ_ID_DEFINE(O_MAGNUM_ANIM, 3)
OBJ_ID_DEFINE(O_UZI_ANIM, 4)
OBJ_ID_DEFINE(O_LARA_EXTRA, 5)
OBJ_ID_DEFINE(O_BACON_LARA, 6)
OBJ_ID_DEFINE(O_WOLF, 7)
OBJ_ID_DEFINE(O_BEAR, 8)
OBJ_ID_DEFINE(O_BAT, 9)
OBJ_ID_DEFINE(O_CROCODILE, 10)
OBJ_ID_DEFINE(O_ALLIGATOR, 11)
OBJ_ID_DEFINE(O_LION, 12)
OBJ_ID_DEFINE(O_LIONESS, 13)
OBJ_ID_DEFINE(O_PUMA, 14)
OBJ_ID_DEFINE(O_APE, 15)
OBJ_ID_DEFINE(O_RAT, 16)
OBJ_ID_DEFINE(O_VOLE, 17)
OBJ_ID_DEFINE(O_TREX, 18)
OBJ_ID_DEFINE(O_RAPTOR, 19)
OBJ_ID_DEFINE(O_WARRIOR_1, 20) // flying mutant
OBJ_ID_DEFINE(O_WARRIOR_2, 21)
OBJ_ID_DEFINE(O_WARRIOR_3, 22)
OBJ_ID_DEFINE(O_CENTAUR, 23)
OBJ_ID_DEFINE(O_MUMMY, 24)
OBJ_ID_DEFINE(O_DINO_WARRIOR, 25)
OBJ_ID_DEFINE(O_FISH, 26)
OBJ_ID_DEFINE(O_LARSON, 27)
OBJ_ID_DEFINE(O_PIERRE, 28)
OBJ_ID_DEFINE(O_SKATEBOARD, 29)
OBJ_ID_DEFINE(O_SKATEKID, 30)
OBJ_ID_DEFINE(O_COWBOY, 31)
OBJ_ID_DEFINE(O_BALDY, 32)
OBJ_ID_DEFINE(O_NATLA, 33)
OBJ_ID_DEFINE(O_TORSO, 34) // a.k.a. Abortion, Adam or Evil Natla)
OBJ_ID_DEFINE(O_FALLING_BLOCK, 35)
OBJ_ID_DEFINE(O_PENDULUM, 36)
OBJ_ID_DEFINE(O_SPIKES, 37)
OBJ_ID_DEFINE(O_ROLLING_BALL, 38)
OBJ_ID_DEFINE(O_DARTS, 39)
OBJ_ID_DEFINE(O_DART_EMITTER, 40)
OBJ_ID_DEFINE(O_DRAWBRIDGE, 41)
OBJ_ID_DEFINE(O_TEETH_TRAP, 42)
OBJ_ID_DEFINE(O_DAMOCLES_SWORD, 43)
OBJ_ID_DEFINE(O_THORS_HANDLE, 44)
OBJ_ID_DEFINE(O_THORS_HEAD, 45)
OBJ_ID_DEFINE(O_LIGHTNING_EMITTER, 46)
OBJ_ID_DEFINE(O_MOVING_BAR, 47)
OBJ_ID_DEFINE(O_MOVABLE_BLOCK_1, 48)
OBJ_ID_DEFINE(O_MOVABLE_BLOCK_2, 49)
OBJ_ID_DEFINE(O_MOVABLE_BLOCK_3, 50)
OBJ_ID_DEFINE(O_MOVABLE_BLOCK_4, 51)
OBJ_ID_DEFINE(O_SLIDING_PILLAR, 52)
OBJ_ID_DEFINE(O_FALLING_CEILING_1, 53)
OBJ_ID_DEFINE(O_FALLING_CEILING_2, 54)
OBJ_ID_DEFINE(O_SWITCH_TYPE_1, 55)
OBJ_ID_DEFINE(O_SWITCH_TYPE_2, 56)
OBJ_ID_DEFINE(O_DOOR_TYPE_1, 57)
OBJ_ID_DEFINE(O_DOOR_TYPE_2, 58)
OBJ_ID_DEFINE(O_DOOR_TYPE_3, 59)
OBJ_ID_DEFINE(O_DOOR_TYPE_4,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)
OBJ_ID_DEFINE(O_BIGMEDI_ITEM, 94)
OBJ_ID_DEFINE(O_DETAIL_OPTION, 95)
OBJ_ID_DEFINE(O_SOUND_OPTION, 96)
OBJ_ID_DEFINE(O_CONTROL_OPTION, 97)
OBJ_ID_DEFINE(O_GAMMA_OPTION, 98)
OBJ_ID_DEFINE(O_PISTOL_OPTION, 99)
OBJ_ID_DEFINE(O_SHOTGUN_OPTION, 100)
OBJ_ID_DEFINE(O_MAGNUM_OPTION, 101)
OBJ_ID_DEFINE(O_UZI_OPTION, 102)
OBJ_ID_DEFINE(O_PISTOL_AMMO_OPTION, 103)
OBJ_ID_DEFINE(O_SG_AMMO_OPTION, 104)
OBJ_ID_DEFINE(O_MAG_AMMO_OPTION, 105)
OBJ_ID_DEFINE(O_UZI_AMMO_OPTION, 106)
OBJ_ID_DEFINE(O_EXPLOSIVE_OPTION, 107)
OBJ_ID_DEFINE(O_MEDI_OPTION, 108)
OBJ_ID_DEFINE(O_BIGMEDI_OPTION, 109)
OBJ_ID_DEFINE(O_PUZZLE_ITEM_1, 110)
OBJ_ID_DEFINE(O_PUZZLE_ITEM_2, 111)
OBJ_ID_DEFINE(O_PUZZLE_ITEM_3, 112)
OBJ_ID_DEFINE(O_PUZZLE_ITEM_4, 113)
OBJ_ID_DEFINE(O_PUZZLE_OPTION_1, 114)
OBJ_ID_DEFINE(O_PUZZLE_OPTION_2, 115)
OBJ_ID_DEFINE(O_PUZZLE_OPTION_3, 116)
OBJ_ID_DEFINE(O_PUZZLE_OPTION_4, 117)
OBJ_ID_DEFINE(O_PUZZLE_HOLE_1, 118)
OBJ_ID_DEFINE(O_PUZZLE_HOLE_2, 119)
OBJ_ID_DEFINE(O_PUZZLE_HOLE_3, 120)
OBJ_ID_DEFINE(O_PUZZLE_HOLE_4, 121)
OBJ_ID_DEFINE(O_PUZZLE_DONE_1, 122)
OBJ_ID_DEFINE(O_PUZZLE_DONE_2, 123)
OBJ_ID_DEFINE(O_PUZZLE_DONE_3, 124)
OBJ_ID_DEFINE(O_PUZZLE_DONE_4, 125)
OBJ_ID_DEFINE(O_LEADBAR_ITEM, 126)
OBJ_ID_DEFINE(O_LEADBAR_OPTION, 127)
OBJ_ID_DEFINE(O_MIDAS_TOUCH, 128)
OBJ_ID_DEFINE(O_KEY_ITEM_1, 129)
OBJ_ID_DEFINE(O_KEY_ITEM_2, 130)
OBJ_ID_DEFINE(O_KEY_ITEM_3, 131)
OBJ_ID_DEFINE(O_KEY_ITEM_4, 132)
OBJ_ID_DEFINE(O_KEY_OPTION_1, 133)
OBJ_ID_DEFINE(O_KEY_OPTION_2, 134)
OBJ_ID_DEFINE(O_KEY_OPTION_3, 135)
OBJ_ID_DEFINE(O_KEY_OPTION_4, 136)
OBJ_ID_DEFINE(O_KEY_HOLE_1, 137)
OBJ_ID_DEFINE(O_KEY_HOLE_2, 138)
OBJ_ID_DEFINE(O_KEY_HOLE_3, 139)
OBJ_ID_DEFINE(O_KEY_HOLE_4, 140)
OBJ_ID_DEFINE(O_PICKUP_ITEM_1, 141)
OBJ_ID_DEFINE(O_PICKUP_ITEM_2, 142)
OBJ_ID_DEFINE(O_SCION_ITEM_1, 143)
OBJ_ID_DEFINE(O_SCION_ITEM_2, 144)
OBJ_ID_DEFINE(O_SCION_ITEM_3, 145)
OBJ_ID_DEFINE(O_SCION_ITEM_4, 146)
OBJ_ID_DEFINE(O_SCION_HOLDER, 147)
OBJ_ID_DEFINE(O_PICKUP_OPTION_1, 148)
OBJ_ID_DEFINE(O_PICKUP_OPTION_2, 149)
OBJ_ID_DEFINE(O_SCION_OPTION, 150)
OBJ_ID_DEFINE(O_EXPLOSION_1, 151)
OBJ_ID_DEFINE(O_EXPLOSION_2, 152)
OBJ_ID_DEFINE(O_SPLASH_1, 153)
OBJ_ID_DEFINE(O_SPLASH_2, 154)
OBJ_ID_DEFINE(O_BUBBLES_1, 155)
OBJ_ID_DEFINE(O_BUBBLES_2, 156)
OBJ_ID_DEFINE(O_BUBBLE_EMITTER, 157)
OBJ_ID_DEFINE(O_BLOOD_1, 158)
OBJ_ID_DEFINE(O_BLOOD_2, 159)
OBJ_ID_DEFINE(O_DART_EFFECT, 160)
OBJ_ID_DEFINE(O_STATUE, 161)
OBJ_ID_DEFINE(O_PORTACABIN, 162)
OBJ_ID_DEFINE(O_PODS, 163)
OBJ_ID_DEFINE(O_RICOCHET_1, 164)
OBJ_ID_DEFINE(O_TWINKLE, 165)
OBJ_ID_DEFINE(O_GUN_FLASH, 166)
OBJ_ID_DEFINE(O_DUST, 167)
OBJ_ID_DEFINE(O_BODY_PART, 168)
OBJ_ID_DEFINE(O_CAMERA_TARGET, 169)
OBJ_ID_DEFINE(O_WATERFALL, 170)
OBJ_ID_DEFINE(O_MISSILE_1, 171)
OBJ_ID_DEFINE(O_MISSILE_2, 172)
OBJ_ID_DEFINE(O_MISSILE_3, 173)
OBJ_ID_DEFINE(O_MISSILE_4, 174)
OBJ_ID_DEFINE(O_MISSILE_5, 175)
OBJ_ID_DEFINE(O_EMBER, 176)
OBJ_ID_DEFINE(O_EMBER_EMITTER, 177)
OBJ_ID_DEFINE(O_FLAME, 178)
OBJ_ID_DEFINE(O_FLAME_EMITTER, 179)
OBJ_ID_DEFINE(O_LAVA_WEDGE, 180)
OBJ_ID_DEFINE(O_BIG_POD, 181)
OBJ_ID_DEFINE(O_BOAT, 182)
OBJ_ID_DEFINE(O_EARTHQUAKE, 183)
OBJ_ID_DEFINE(O_SKYBOX, 184)
OBJ_ID_DEFINE(O_TEMP_6, 185)
OBJ_ID_DEFINE(O_TEMP_7, 186)
OBJ_ID_DEFINE(O_TEMP_8, 187)
OBJ_ID_DEFINE(O_TEMP_9, 188)
OBJ_ID_DEFINE(O_TEMP_10, 189)
OBJ_ID_DEFINE(O_HAIR, O_TEMP_10)
OBJ_ID_DEFINE(O_ALPHABET, 190)
Loading

0 comments on commit 17f51b4

Please sign in to comment.