[Half-Life AMXX] / include / ns_const.inc Repository:
ViewVC logotype

Diff of /include/ns_const.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 16, Fri Nov 16 15:12:40 2007 UTC revision 17, Fri Nov 16 15:29:57 2007 UTC
# Line 1  Line 1 
1  /* NS module constants  /* NS module constants
2   * -   *
3   * (c) 2004, Steve Dudenhoeffer   * by the AMX Mod X Development Team
4     *   Most definitions graciously provided by Flayra
5     *
6   * This file is provided as is (no warranties).   * This file is provided as is (no warranties).
7   */   */
8    
# Line 10  Line 12 
12  #endif  #endif
13  #define NS_CONST_INC  #define NS_CONST_INC
14    
15    
16    enum NSGameplay
17    {
18            NSGame_CantTell,                /**< It is too soon to tell (can't find avhgameplay
19                                                                     entity or it doesn't have private data) */
20    
21            NSGame_MarineVAlien,    /**< Marine vs Aliens (standard) gameplay */
22            NSGame_MarineVMarine,   /**< Marine vs Marine */
23            NSGame_AlienVAlien,             /**< Alien  vs Alien  */
24    
25            NSGame_Unknown,                 /**< Can find the gameplay entity, but can't
26                                                                     determine gameplay type. */
27    };
28    
29  // entity pev->iuser4 fields  // entity pev->iuser4 fields
30  enum {  enum {
31          MASK_NONE = 0,          MASK_NONE = 0,
# Line 62  Line 78 
78          MASK_SELECTABLE = 268435456,    // ???          MASK_SELECTABLE = 268435456,    // ???
79          MASK_PARASITED = 536870912,     // Parasite flag          MASK_PARASITED = 536870912,     // Parasite flag
80          MASK_SENSORY_NEARBY = 1073741824 // Sensory chamber in range          MASK_SENSORY_NEARBY = 1073741824 // Sensory chamber in range
81    };
 }  
82    
83    
84  enum {  enum {
# Line 80  Line 95 
95          CLASS_GESTATE,          CLASS_GESTATE,
96          CLASS_DEAD,          CLASS_DEAD,
97          CLASS_NOTEAM          CLASS_NOTEAM
98  }  };
99    
100  enum {  enum {
101          WEAPON_NONE = 0,          WEAPON_NONE = 0,
# Line 115  Line 130 
130          WEAPON_STOMP,          WEAPON_STOMP,
131          WEAPON_DEVOUR,          WEAPON_DEVOUR,
132          WEAPON_MAX          WEAPON_MAX
133  }  };
134    
135  enum {  enum {
136          HIVETRAIT_NONE  = 0,          HIVETRAIT_NONE  = 0,
137          HIVETRAIT_DC    = 92,          HIVETRAIT_DC    = 92,
138          HIVETRAIT_SC    = 93,          HIVETRAIT_SC    = 93,
139          HIVETRAIT_MC    = 94          HIVETRAIT_MC    = 94
 }  
140    };
141    
142    enum NSPS_VelShape
143    {
144            NSPS_VS_POINT = 1,
145            NSPS_VS_BOX,
146            NSPS_VS_SPHERE,
147            NSPS_VS_BLOB
148    };
149    
150    /* Genshape used in ns_set_ps_genshape
151     * NOTE: The following are in the ns.ps file but
152     *       are not listed in the .fgd file.  Use
153     *       at your own risk!
154     *       Line, Triangle, Plane, Cylinder,
155     *       Cone, Disc, Rectangle and None
156     */
157    enum NSPS_GenShape
158    {
159            NSPS_GS_POINT = 0,
160            NSPS_GS_LINE,
161            NSPS_GS_TRIANGLE,
162            NSPS_GS_PLANE,
163            NSPS_GS_BOX,
164            NSPS_GS_CYLINDER,
165            NSPS_GS_CONE,
166            NSPS_GS_BLOB,
167            NSPS_GS_DISC,
168            NSPS_GS_RECTANGLE,
169            NSPS_GS_NONE
170    };
171    enum NSPS_RenderMode
172    {
173            NSPS_R_NORMAL = 0,
174            NSPS_R_TRANSCOLOR,
175            NSPS_R_TRANSTEXTURE,
176            NSPS_R_GLOW,
177            NSPS_R_TRANSALPHA,
178            NSPS_R_ADDITIVE
179    };
180    enum NSPS_Flags
181    {
182            NSPS_FL_START_ON = 1,
183            NSPS_FL_PARTICLE_DENSITY = 2,
184            NSPS_FL_FADE_IN = 4,
185            NSPS_FL_FADE_OUT = 8,
186            NSPS_FL_USE_GRAVITY = 16,
187            NSPS_FL_USE_TRI = 32,
188            NSPS_FL_CONSTRAIN_PITCH = 128,
189            NSPS_FL_COLLIDE = 256,
190            NSPS_FL_HI_DETAIL = 512,
191            NSPS_FL_FACE_UP = 1024
192    };

Legend:
Removed from v.16  
changed lines
  Added in v.17

Contact
ViewVC Help
Powered by ViewVC 1.0.4