home *** CD-ROM | disk | FTP | other *** search
/ Instant Doom Levels / Instant.Doom.Levels.-.Level.Master.II.iso / EDITORS / ZIPPED / WSCDEU52.ZIP / INCLUDE / THINGS.H < prev    next >
C/C++ Source or Header  |  1995-03-05  |  7KB  |  201 lines

  1. /*----------------------------------------------------------------------------*
  2.  | This file is part of WinDEU, the port of DEU to Windows.                   |
  3.  | WinDEU was created by the DEU team:                                        |
  4.  |  Renaud Paquay, Raphael Quinet, Brendon Wyber and others...                |
  5.  |                                                                            |
  6.  | DEU is an open project: if you think that you can contribute, please join  |
  7.  | the DEU team.  You will be credited for any code (or ideas) included in    |
  8.  | the next version of the program.                                           |
  9.  |                                                                            |
  10.  | If you want to make any modifications and re-distribute them on your own,  |
  11.  | you must follow the conditions of the WinDEU license. Read the file        |
  12.  | LICENSE or README.TXT in the top directory.  If do not  have a copy of     |
  13.  | these files, you can request them from any member of the DEU team, or by   |
  14.  | mail: Raphael Quinet, Rue des Martyrs 9, B-4550 Nandrin (Belgium).         |
  15.  |                                                                            |
  16.  | This program comes with absolutely no warranty.  Use it at your own risks! |
  17.  *----------------------------------------------------------------------------*
  18.  
  19.     Project WinDEU
  20.     DEU team
  21.     Jul-Dec 1994, Jan-Mar 1995
  22.  
  23.     FILE:         things.h
  24.  
  25.     OVERVIEW
  26.     ========
  27.     Doom thing type defines.
  28. */
  29. #ifndef __things_h
  30. #define __things_h
  31.  
  32. #ifndef __common_h
  33.     #include "common.h"
  34. #endif
  35.  
  36. /* Thing properties */
  37. #define TP_BLOCK  0x0001  /* Blocks the player */
  38. #define TP_PICK   0x0002  /* Can be picked up */
  39. #define TP_SOUND  0x0004  /* Sound only: invisible, can be outside of map */
  40. #define TP_INVIS  0x0008  /* Invisible or blurred */
  41. #define TP_FLOAT  0x0010  /* Floats or hangs from the ceiling */
  42. #define TP_ITEM   0x0020  /* Counts towards the item ratio at the end */
  43. #define TP_KILL   0x0040  /* Counts towards the kill ratio at the end */
  44. #define TP_LIGHT  0x0080  /* Can be seen in a dark room */
  45. #define TP_PLAYER 0x0100  /* Player starting point */
  46. #define TP_WEAPON 0x0200  /* Weapon */
  47. #define TP_WAMMO  0x0400  /* Ammunition */
  48. #define TP_CORPSE 0x0800  /* Corpse */
  49. #define TP_BAD    0xFFFF  /* Invalid Thing - should not be used */
  50.  
  51. /* starting areas */
  52. #define THING_PLAYER1         1
  53. #define THING_PLAYER2         2
  54. #define THING_PLAYER3         3
  55. #define THING_PLAYER4         4
  56. #define THING_DEATHMATCH      11
  57.  
  58. /* teleport arrival */
  59. #define THING_TELEPORT        14
  60.  
  61. /* enhancements */
  62. #define THING_BLUECARD        5
  63. #define THING_YELLOWCARD      6
  64. #define THING_REDCARD         13
  65. #define THING_BLUESKULLKEY    40
  66. #define THING_YELLOWSKULLKEY  39
  67. #define THING_REDSKULLKEY     38
  68. #define THING_MEGASPHERE      83
  69. #define THING_ARMBONUS1       2015
  70. #define THING_HLTBONUS1       2014
  71. #define THING_GREENARMOR      2018
  72. #define THING_BLUEARMOR       2019
  73. #define THING_STIMPACK        2011
  74. #define THING_MEDKIT          2012
  75. #define THING_SOULSPHERE      2013
  76. #define THING_RADSUIT         2025
  77. #define THING_MAP             2026
  78. #define THING_BLURSPHERE      2024
  79. #define THING_BESERK          2023
  80. #define THING_INVULN          2022
  81. #define THING_LITEAMP         2045
  82.  
  83. /* weapons */
  84. #define THING_SHOTGUN         2001
  85. #define THING_SUPERSHOTGUN    82
  86. #define THING_CHAINGUN        2002
  87. #define THING_LAUNCHER        2003
  88. #define THING_PLASMAGUN       2004
  89. #define THING_CHAINSAW        2005
  90. #define THING_BFG9000         2006
  91. #define THING_AMMOCLIP        2007
  92. #define THING_AMMOBOX         2048
  93. #define THING_SHELLS          2008
  94. #define THING_SHELLBOX        2049
  95. #define THING_ROCKET          2010
  96. #define THING_ROCKETBOX       2046
  97. #define THING_ENERGYCELL      2047
  98. #define THING_ENERGYPACK      17
  99. #define THING_BACKPACK        8
  100.  
  101. /* enemies (monsters) */
  102. #define THING_SARGEANT        9
  103. #define THING_TROOPER         3004
  104. #define THING_IMP             3001
  105. #define THING_DEMON           3002
  106. #define THING_BARON           3003
  107. #define THING_SPECTOR         58
  108. #define THING_CACODEMON       3005
  109. #define THING_LOSTSOUL        3006
  110. #define THING_SPIDERBOSS      7
  111. #define THING_CYBERDEMON      16
  112. #define THING_ARCHVILE        64
  113. #define THING_CHAINGUNNER     65
  114. #define THING_REVENANT        66
  115. #define THING_MANCUBUS        67
  116. #define THING_ARACHNOTRON     68
  117. #define THING_HELLKNIGHT      69
  118. #define THING_PAINELEMENTAL   71
  119. #define THING_KEEN            72
  120. #define THING_WOLFENSTEIN_SS  84
  121. #define THING_BOSSBRAIN       88
  122.  
  123. /* special "ennemies" */
  124. #define THING_BOSSSHOOTER     89
  125. #define THING_SPAWNSPOT       87
  126. #define THING_BARREL          2035
  127.  
  128. /*! The following definitions are not really needed (except for the Thing
  129.     selection dialog box).  They should be removed if possible. */
  130.  
  131. /* decorations */
  132. #define THING_FUELCAN         70
  133. #define THING_TECHCOLUMN      48
  134. #define THING_TGREENPILLAR    30
  135. #define THING_TREDPILLAR      32
  136. #define THING_SGREENPILLAR    31
  137. #define THING_SREDPILLAR      33
  138. #define THING_PILLARHEART     36
  139. #define THING_PILLARSKULL     37
  140. #define THING_EYEINSYMBOL     41
  141. #define THING_GREYTREE        43
  142. #define THING_BROWNTREE       54
  143. #define THING_BROWNSTUB       47
  144. #define THING_STALAGMITE      47
  145.  
  146. /* decorations 2 */
  147. #define THING_LAMP            2028
  148. #define THING_CANDLE          34
  149. #define THING_CANDELABRA      35
  150. #define THING_TBLUETORCH      44
  151. #define THING_TGREENTORCH     45
  152. #define THING_TREDTORCH       46
  153. #define THING_SBLUETORCH      55
  154. #define THING_SGREENTORCH     56
  155. #define THING_SREDTORCH       57
  156.  
  157. /* decorations 3 */
  158. #define THING_DEADPLAYER      15
  159. #define THING_DEADTROOPER     18
  160. #define THING_DEADSARGEANT    19
  161. #define THING_DEADIMP         20
  162. #define THING_DEADDEMON       21
  163. #define THING_DEADCACODEMON   22
  164. #define THING_DEADLOSTSOUL    23
  165. #define THING_BONES           10
  166. #define THING_BONES2          12
  167. #define THING_POOLOFBLOOD     24
  168. #define THING_SKULLTOPPOLE    27
  169. #define THING_HEADSKEWER      28
  170. #define THING_PILEOFSKULLS    29
  171. #define THING_IMPALEDBODY     25
  172. #define THING_IMPALEDBODY2    26
  173. #define THING_SKULLSINFLAMES  42
  174.  
  175. /* decorations 4 */
  176. #define THING_HANGINGSWAYING  49
  177. #define THING_HANGINGARMSOUT  50
  178. #define THING_HANGINGONELEG   51
  179. #define THING_HANGINGTORSO    52
  180. #define THING_HANGINGLEG      53
  181. #define THING_HANGINGSWAYING2 63
  182. #define THING_HANGINGARMSOUT2 59
  183. #define THING_HANGINGONELEG2  61
  184. #define THING_HANGINGTORSO2   60
  185. #define THING_HANGINGLEG2     62
  186.  
  187.  
  188. /* from things.cpp */
  189. USHORT GetThingProperties(SHORT type);
  190. int GetThingColour (SHORT);
  191. char *GetThingName (SHORT);
  192. char  *GetThingPicName(SHORT type);
  193. SHORT GetThingRadius (SHORT);
  194. SHORT  GetThingHeight(SHORT type);
  195. SHORT  GetThingHealth(SHORT type);
  196. char *GetAngleName (SHORT);
  197. char *GetWhenName (SHORT);
  198.  
  199. #endif
  200. /* end of file */
  201.