dobjnum.h 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. //---------------------------------------------------------------------------
  2. //
  3. // DObjNum.h -- File contains the Basic Game Object Type definitions
  4. //
  5. // MechCommander 2
  6. //
  7. //---------------------------------------------------------------------------//
  8. // Copyright (C) Microsoft Corporation. All rights reserved. //
  9. //===========================================================================//
  10. #ifndef DOBJNUM_H
  11. #define DOBJNUM_H
  12. //---------------------------------------------------------------------------
  13. // Include Files
  14. //---------------------------------------------------------------------------
  15. // Macro Definitions
  16. // These are very important. They are the basis that both the data files and
  17. // game code use to determine who is what kind of thing. This file must be
  18. // kept current to both data and code.
  19. #define INVALID_OBJECT -1
  20. #define BASETHORMECH 0x1
  21. #define BASELOKIMECH 0x2
  22. #define BASEAWESOMEMECH 0x3
  23. #define RED_LASER 0x4
  24. #define GREEN_LASER 0x5
  25. //#define EXPLOSION 0x6
  26. #define BETULA 0x7
  27. #define PINE 0x8
  28. #define PALM 0x9
  29. #define REAL_FARM_BUILDING 0xA
  30. #define WHITE_SMOKE_GEN 0xB
  31. #define BLACK_SMOKE_GEN 0xC
  32. #define BULLET_GEN 0xD
  33. #define MISSILE_GEN 0xE
  34. #define BASEULLERMECH 0xF
  35. #define BASEHUNCHBACKMECH 0x10
  36. #define BASECOUGARMECH 0x11
  37. #define BASECATAPULTMECH 0x12
  38. #define BARNA_A1 0x13
  39. #define BARNB_A1 0x14
  40. #define BARNC_A1 0x15
  41. #define BARND_A1 0x16
  42. #define COMM_A1 0x17
  43. #define FRMHSA_A1 0x18
  44. #define FRMHSB_A1 0x19
  45. #define FRMHSD_A1 0x1A
  46. #define GRNSTR_A1 0x1B
  47. #define HBGEODESIC_A1 0x1C
  48. #define HPMPB_A1 0x1D
  49. #define HVINDYB_A1 0x1E
  50. #define INDYPLANT_A1 0x1F
  51. #define LTINDYSIMPLE_A1 0x20
  52. #define PWRPLT_A1 0x21
  53. #define SILOB_A1 0x22
  54. #define STGBOX_A1 0x23
  55. #define STRA_A1 0x24
  56. #define TOMSILO_A1 0x25
  57. #define TRNLDSILOS_A1 0x26
  58. #define LASERHIT 0x27
  59. #define AC20HIT 0x28
  60. #define MECHDESTRUCT 0x29
  61. #define BUILDBOOM 0x2A
  62. #define HBSTRIKER 0x2B
  63. #define BASECOMMANDOMECH 0x2C
  64. #define BASECOMMANDO2CMECH 0x2D
  65. #define BASEFIRESTARTERMECH 0x2E
  66. #define BASEHOLLANDERMECH 0x2F
  67. #define BASERAVENMECH 0x30
  68. #define BASECENTURIONMECH 0x31
  69. #define BASEJAGERMECHMECH 0x32
  70. #define BASEATLASMECH 0x33
  71. #define BASEMADCATMECH 0x34
  72. #define BASEMASAKARIMECH 0x35
  73. #define BASEVULTUREMECH 0x36
  74. #define BASEPUMAMECH 0x37
  75. #define THORLARM 0x38
  76. #define THORRARM 0x39
  77. #define THORDEST 0x3A
  78. #define WAYPNT_ICON 0x3B
  79. #define MINE_ICON 0x3C
  80. #define MOVE_ICON 0x3D
  81. #define ARTLRY_ICON 0x3E
  82. #define CRITICAL_HIT 0x3F
  83. #define BASEFIRESTARTER2MECH 0x40
  84. #define BASECENTURTION2MECH 0x41
  85. #define DAMAGE_SMOKE 0x42
  86. #define PPC_FX 0x43
  87. #define BARNA_A2 0x44
  88. #define BARNB_A2 0x45
  89. #define BARNC_A2 0x46
  90. #define BARND_A2 0x47
  91. #define BARND_A3 0x48
  92. #define BARND_A4 0x49
  93. #define COMM_A2 0x4A
  94. #define COMM_A3 0x4B
  95. #define COMM_A4 0x4C
  96. #define FRMHSA_A2 0x4D
  97. #define FRMHSB_A2 0x4E
  98. #define GRNSTR_A2 0x4F
  99. #define HBBARRACK_A1 0x50
  100. #define HBBARRACK_A2 0x51
  101. #define HBBARRACK_A3 0x52
  102. #define HBBARRACK_A4 0x53
  103. #define HBGEODESIC_A2 0x54
  104. #define HBMPERM1_A1 0x55
  105. #define HBMPERM1_A2 0x56
  106. #define HBMPERM1_A3 0x57
  107. #define HBMPERM1_A4 0x58
  108. #define HBMPERM2_A1 0x59
  109. #define HBMPERM2_A2 0x5A
  110. #define HBMPERM2_A3 0x5B
  111. #define HBMPERM2_A4 0x5C
  112. #define HBTRKBNK_A1 0x5D
  113. #define HBTRKBNK_A2 0x5E
  114. #define HBTRKBNK_A3 0x5F
  115. #define HBTRKBNK_A4 0x60
  116. #define HBTRKBUNKER_A1 0x61
  117. #define HBTRKBUNKER_A2 0x62
  118. #define HBTRKBUNKER_A3 0x63
  119. #define HBTRKBUNKER_A4 0x64
  120. #define HBWAREHSEA_A1 0x65
  121. #define HBWAREHSEA_A2 0x66
  122. #define HBWAREHSEA_A3 0x67
  123. #define HBWAREHSEA_A4 0x68
  124. #define HPMPA_A2 0x69
  125. #define HPMPA_A1 0x6A
  126. #define HPMPB_A2 0x6B
  127. #define HPMPB_A3 0x6C
  128. #define HPMPB_A4 0x6D
  129. #define HVINDYA_A1 0x6E
  130. #define HVINDYA_A2 0x6F
  131. #define HVINDYA_A3 0x70
  132. #define HVINDYA_A4 0x71
  133. //#define HVINDYB_A1 0x72
  134. #define HVINDYB_A2 0x73
  135. #define HVINDYB_A3 0x74
  136. #define HVINDYB_A4 0x75
  137. #define HVINDYC_A1 0x76
  138. #define HVINDYC_A2 0x77
  139. #define HVINDYC_A3 0x78
  140. #define HVINDYC_A4 0x79
  141. #define HVINDYD_A1 0x7A
  142. #define HVINDYD_A2 0x7B
  143. #define INDYPLANT_A2 0x7C
  144. #define LTINDYSIMPLE_A2 0x7D
  145. #define PWRPLT_A2 0x7E
  146. #define PWRPLT_A3 0x7F
  147. #define PWRPLT_A4 0x80
  148. #define SILOB_A2 0x81
  149. #define STGBOX_A2 0x82
  150. #define STGBOX_A3 0x83
  151. #define STGBOX_A4 0x84
  152. #define STRA_A2 0x85
  153. #define TRNLDSILOS_A2 0x86
  154. #define TRNLDSILOS_A3 0x87
  155. #define TRNLDSILOS_A4 0x88
  156. #define INDYHOUSE_A1 0x89
  157. #define INDYHOUSE_A2 0x8A
  158. #define TOMSILO_A2 0x8B
  159. #define WTRTWR_A1 0x8C
  160. #define WTRTWR_A2 0x8D
  161. #define WTRCANS_A1 0x8E
  162. #define WTRCANS_A2 0x8F
  163. #define URBANA_A1 0x90
  164. #define URBANA_A2 0x91
  165. #define URBANA_A3 0x92
  166. #define URBANA_A4 0x93
  167. #define URBANB_A1 0x94
  168. #define URBANB_A2 0x95
  169. #define URBANB_A3 0x96
  170. #define URBANB_A4 0x97
  171. #define URBANE_A1 0x98
  172. #define URBANE_A2 0x99
  173. #define URBANE_A3 0x9A
  174. #define URBANE_A4 0x9B
  175. #define FRMHSD_A2 0x9C
  176. #define ATLARM 0x9d
  177. #define ATRARM 0x9e
  178. #define CMLARM 0x9f
  179. #define CMRARM 0xa0
  180. #define CNLARM 0xa1
  181. #define CNRARM 0xa2
  182. #define FSLARM 0xa3
  183. #define FSRARM 0xa4
  184. #define KLARM 0xa5
  185. #define KRARM 0xa6
  186. #define MCLARM 0xa7
  187. #define MCRARM 0xa8
  188. #define PLARM 0xa9
  189. #define PRARM 0xaa
  190. #define AWLARM 0xab
  191. #define AWRARM 0xac
  192. #define CGLARM 0xad
  193. #define CGRARM 0xae
  194. #define HBLARM 0xaf
  195. #define HBRARM 0xb0
  196. #define JMLARM 0xb1
  197. #define JMRARM 0xb2
  198. #define LKLARM 0xb3
  199. #define LKRARM 0xb4
  200. #define ULLARM 0xb5
  201. #define ULRARM 0xb6
  202. #define BIG_ARTLRY 0xf8 // 248
  203. #define SMALL_ARTLRY 0xf9 // 249
  204. #define SENSOR_ARTLRY 0xfa // 250
  205. #define BIG_STRIKE 0x1fb // 507
  206. #define SMALL_STRIKE 0x1fc // 508
  207. #define SENSOR_STRIKE 0x1fd // 509
  208. #define CAMERA_CALL 0x204 // 516
  209. #define CAMERA_DRONE 0x205 // 517
  210. //---------------------------------------------------------------------------
  211. #endif