mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-15 08:52:15 +00:00
4597b03873
Opens in Android Studio but haven't even tried to build it yet (it won't.. I know that much!)
115 lines
2.8 KiB
C
115 lines
2.8 KiB
C
/*
|
|
===========================================================================
|
|
Copyright (C) 1999 - 2005, Id Software, Inc.
|
|
Copyright (C) 2000 - 2013, Raven Software, Inc.
|
|
Copyright (C) 2001 - 2013, Activision, Inc.
|
|
Copyright (C) 2013 - 2015, OpenJK contributors
|
|
|
|
This file is part of the OpenJK source code.
|
|
|
|
OpenJK is free software; you can redistribute it and/or modify it
|
|
under the terms of the GNU General Public License version 2 as
|
|
published by the Free Software Foundation.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
===========================================================================
|
|
*/
|
|
|
|
#ifndef TEAMS_H
|
|
#define TEAMS_H
|
|
|
|
typedef enum //# team_e
|
|
{
|
|
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
|
|
TEAM_PLAYER,
|
|
TEAM_ENEMY,
|
|
TEAM_NEUTRAL, // most droids are team_neutral, there are some exceptions like Probe,Seeker,Interrogator
|
|
|
|
//# #eol
|
|
TEAM_NUM_TEAMS
|
|
} team_t;
|
|
|
|
extern stringID_table_t TeamTable[];
|
|
|
|
// This list is made up from the model directories, this MUST be in the same order as the ClassNames array in NPC_stats.cpp
|
|
typedef enum
|
|
{
|
|
CLASS_NONE, // hopefully this will never be used by an npc, just covering all bases
|
|
CLASS_ATST, // technically droid...
|
|
CLASS_BARTENDER,
|
|
CLASS_BESPIN_COP,
|
|
CLASS_CLAW,
|
|
CLASS_COMMANDO,
|
|
CLASS_DESANN,
|
|
CLASS_FISH,
|
|
CLASS_FLIER2,
|
|
CLASS_GALAK,
|
|
CLASS_GLIDER,
|
|
CLASS_GONK, // droid
|
|
CLASS_GRAN,
|
|
CLASS_HOWLER,
|
|
CLASS_RANCOR,
|
|
CLASS_SAND_CREATURE,
|
|
CLASS_WAMPA,
|
|
CLASS_IMPERIAL,
|
|
CLASS_IMPWORKER,
|
|
CLASS_INTERROGATOR, // droid
|
|
CLASS_JAN,
|
|
CLASS_JEDI,
|
|
CLASS_KYLE,
|
|
CLASS_LANDO,
|
|
CLASS_LIZARD,
|
|
CLASS_LUKE,
|
|
CLASS_MARK1, // droid
|
|
CLASS_MARK2, // droid
|
|
CLASS_GALAKMECH, // droid
|
|
CLASS_MINEMONSTER,
|
|
CLASS_MONMOTHA,
|
|
CLASS_MORGANKATARN,
|
|
CLASS_MOUSE, // droid
|
|
CLASS_MURJJ,
|
|
CLASS_PRISONER,
|
|
CLASS_PROBE, // droid
|
|
CLASS_PROTOCOL, // droid
|
|
CLASS_R2D2, // droid
|
|
CLASS_R5D2, // droid
|
|
CLASS_REBEL,
|
|
CLASS_REBORN,
|
|
CLASS_REELO,
|
|
CLASS_REMOTE,
|
|
CLASS_RODIAN,
|
|
CLASS_SEEKER, // droid
|
|
CLASS_SENTRY,
|
|
CLASS_SHADOWTROOPER,
|
|
CLASS_SABOTEUR,
|
|
CLASS_STORMTROOPER,
|
|
CLASS_SWAMP,
|
|
CLASS_SWAMPTROOPER,
|
|
CLASS_NOGHRI,
|
|
CLASS_TAVION,
|
|
CLASS_ALORA,
|
|
CLASS_TRANDOSHAN,
|
|
CLASS_UGNAUGHT,
|
|
CLASS_JAWA,
|
|
CLASS_WEEQUAY,
|
|
CLASS_TUSKEN,
|
|
CLASS_BOBAFETT,
|
|
CLASS_ROCKETTROOPER,
|
|
CLASS_SABER_DROID,
|
|
CLASS_ASSASSIN_DROID,
|
|
CLASS_HAZARD_TROOPER,
|
|
CLASS_PLAYER,
|
|
CLASS_VEHICLE,
|
|
|
|
CLASS_NUM_CLASSES
|
|
} class_t;
|
|
|
|
extern stringID_table_t ClassTable[];
|
|
|
|
#endif // #ifndef TEAMS_H
|