codemp/game/teams.h

Go to the documentation of this file.
00001 #ifndef TEAMS_H
00002 #define TEAMS_H
00003 
00004 typedef enum //# team_e
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 };
00014 typedef int npcteam_t;
00015 
00016 // This list is made up from the model directories, this MUST be in the same order as the ClassNames array in NPC_stats.cpp
00017 typedef enum 
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;
00078 
00079 #endif  // #ifndef TEAMS_H