jkxr/Projects/Android/jni/OpenJK/codeJK2/game/teams.h
Simon 4597b03873 Initial Commit
Opens in Android Studio but haven't even tried to build it yet (it won't.. I know that much!)
2022-09-18 16:37:21 +01:00

96 lines
2.5 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;
// 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_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_STORMTROOPER,
CLASS_SWAMP,
CLASS_SWAMPTROOPER,
CLASS_TAVION,
CLASS_TRANDOSHAN,
CLASS_UGNAUGHT,
CLASS_WEEQUAY,
CLASS_NUM_CLASSES
} class_t;
#endif // #ifndef TEAMS_H