codemp/game/teams.h File Reference

Go to the source code of this file.

Typedefs

typedef int npcteam_t

Enumerations

enum  {
  NPCTEAM_FREE, NPCTEAM_ENEMY, NPCTEAM_PLAYER, NPCTEAM_NEUTRAL,
  NPCTEAM_NUM_TEAMS
}
enum  class_t {
  CLASS_NONE, CLASS_ATST, CLASS_BARTENDER, CLASS_BESPIN_COP,
  CLASS_CLAW, CLASS_COMMANDO, CLASS_DESANN, CLASS_FISH,
  CLASS_FLIER2, CLASS_GALAK, CLASS_GLIDER, CLASS_GONK,
  CLASS_GRAN, CLASS_HOWLER, CLASS_IMPERIAL, CLASS_IMPWORKER,
  CLASS_INTERROGATOR, CLASS_JAN, CLASS_JEDI, CLASS_KYLE,
  CLASS_LANDO, CLASS_LIZARD, CLASS_LUKE, CLASS_MARK1,
  CLASS_MARK2, CLASS_GALAKMECH, CLASS_MINEMONSTER, CLASS_MONMOTHA,
  CLASS_MORGANKATARN, CLASS_MOUSE, CLASS_MURJJ, CLASS_PRISONER,
  CLASS_PROBE, CLASS_PROTOCOL, CLASS_R2D2, CLASS_R5D2,
  CLASS_REBEL, CLASS_REBORN, CLASS_REELO, CLASS_REMOTE,
  CLASS_RODIAN, CLASS_SEEKER, CLASS_SENTRY, CLASS_SHADOWTROOPER,
  CLASS_STORMTROOPER, CLASS_SWAMP, CLASS_SWAMPTROOPER, CLASS_TAVION,
  CLASS_TRANDOSHAN, CLASS_UGNAUGHT, CLASS_JAWA, CLASS_WEEQUAY,
  CLASS_BOBAFETT, CLASS_VEHICLE, CLASS_RANCOR, CLASS_WAMPA,
  CLASS_NUM_CLASSES
}


Typedef Documentation

typedef int npcteam_t
 

Definition at line 14 of file teams.h.

Referenced by NPC_Precache().


Enumeration Type Documentation

anonymous enum
 

Enumeration values:
NPCTEAM_FREE 
NPCTEAM_ENEMY 
NPCTEAM_PLAYER 
NPCTEAM_NEUTRAL 
NPCTEAM_NUM_TEAMS 

Definition at line 4 of file teams.h.

00005 {
00006         NPCTEAM_FREE,                   // also TEAM_FREE - caution, some code checks a team_t via "if (!team_t_varname)" so I guess this should stay as entry 0, great or what? -slc
00007         NPCTEAM_ENEMY,                  // also TEAM_RED
00008         NPCTEAM_PLAYER,                 // also TEAM_BLUE
00009         NPCTEAM_NEUTRAL,                // also TEAM_SPECTATOR - most droids are team_neutral, there are some exceptions like Probe,Seeker,Interrogator
00010 
00011         //# #eol
00012         NPCTEAM_NUM_TEAMS
00013 };

enum class_t
 

Enumeration values:
CLASS_NONE 
CLASS_ATST 
CLASS_BARTENDER 
CLASS_BESPIN_COP 
CLASS_CLAW 
CLASS_COMMANDO 
CLASS_DESANN 
CLASS_FISH 
CLASS_FLIER2 
CLASS_GALAK 
CLASS_GLIDER 
CLASS_GONK 
CLASS_GRAN 
CLASS_HOWLER 
CLASS_IMPERIAL 
CLASS_IMPWORKER 
CLASS_INTERROGATOR 
CLASS_JAN 
CLASS_JEDI 
CLASS_KYLE 
CLASS_LANDO 
CLASS_LIZARD 
CLASS_LUKE 
CLASS_MARK1 
CLASS_MARK2 
CLASS_GALAKMECH 
CLASS_MINEMONSTER 
CLASS_MONMOTHA 
CLASS_MORGANKATARN 
CLASS_MOUSE 
CLASS_MURJJ 
CLASS_PRISONER 
CLASS_PROBE 
CLASS_PROTOCOL 
CLASS_R2D2 
CLASS_R5D2 
CLASS_REBEL 
CLASS_REBORN 
CLASS_REELO 
CLASS_REMOTE 
CLASS_RODIAN 
CLASS_SEEKER 
CLASS_SENTRY 
CLASS_SHADOWTROOPER 
CLASS_STORMTROOPER 
CLASS_SWAMP 
CLASS_SWAMPTROOPER 
CLASS_TAVION 
CLASS_TRANDOSHAN 
CLASS_UGNAUGHT 
CLASS_JAWA 
CLASS_WEEQUAY 
CLASS_BOBAFETT 
CLASS_VEHICLE 
CLASS_RANCOR 
CLASS_WAMPA 
CLASS_NUM_CLASSES 

Definition at line 17 of file teams.h.

Referenced by G_MissileImpact(), NPC_ParseParms(), and WP_SaberDoHit().

00018 {
00019         CLASS_NONE,                             // hopefully this will never be used by an npc, just covering all bases
00020         CLASS_ATST,                             // technically droid...
00021         CLASS_BARTENDER,
00022         CLASS_BESPIN_COP,               
00023         CLASS_CLAW,
00024         CLASS_COMMANDO,
00025         CLASS_DESANN,                   
00026         CLASS_FISH,
00027         CLASS_FLIER2,
00028         CLASS_GALAK,
00029         CLASS_GLIDER,
00030         CLASS_GONK,                             // droid
00031         CLASS_GRAN,
00032         CLASS_HOWLER,
00033         CLASS_IMPERIAL,
00034         CLASS_IMPWORKER,
00035         CLASS_INTERROGATOR,             // droid 
00036         CLASS_JAN,                              
00037         CLASS_JEDI,                             
00038         CLASS_KYLE,                             
00039         CLASS_LANDO,                    
00040         CLASS_LIZARD,
00041         CLASS_LUKE,                             
00042         CLASS_MARK1,                    // droid
00043         CLASS_MARK2,                    // droid
00044         CLASS_GALAKMECH,                // droid
00045         CLASS_MINEMONSTER,
00046         CLASS_MONMOTHA,                 
00047         CLASS_MORGANKATARN,
00048         CLASS_MOUSE,                    // droid
00049         CLASS_MURJJ,
00050         CLASS_PRISONER,
00051         CLASS_PROBE,                    // droid
00052         CLASS_PROTOCOL,                 // droid
00053         CLASS_R2D2,                             // droid
00054         CLASS_R5D2,                             // droid
00055         CLASS_REBEL,
00056         CLASS_REBORN,
00057         CLASS_REELO,
00058         CLASS_REMOTE,
00059         CLASS_RODIAN,
00060         CLASS_SEEKER,                   // droid
00061         CLASS_SENTRY,
00062         CLASS_SHADOWTROOPER,
00063         CLASS_STORMTROOPER,
00064         CLASS_SWAMP,
00065         CLASS_SWAMPTROOPER,
00066         CLASS_TAVION,
00067         CLASS_TRANDOSHAN,
00068         CLASS_UGNAUGHT,
00069         CLASS_JAWA,
00070         CLASS_WEEQUAY,
00071         CLASS_BOBAFETT,
00072         CLASS_VEHICLE,
00073         CLASS_RANCOR,
00074         CLASS_WAMPA,
00075         
00076         CLASS_NUM_CLASSES
00077 } class_t;