Server: add AI Hull enumeration

All AI hulls of the game
This commit is contained in:
Kawe Mazidjatari 2024-06-30 16:12:53 +02:00
parent 2b80341c51
commit bff157bbb4
2 changed files with 28 additions and 0 deletions

View File

@ -71,6 +71,7 @@ add_sources( SOURCE_GROUP "AI"
"server/ai_networkmanager.cpp"
"server/ai_networkmanager.h"
"server/ai_node.h"
"server/ai_hull.h"
"server/ai_utility.cpp"
"server/ai_utility.h"
"server/detour_impl.h"

27
src/game/server/ai_hull.h Normal file
View File

@ -0,0 +1,27 @@
//=============================================================================//
//
// Purpose:
//
//=============================================================================//
#ifndef AI_HULL_H
#define AI_HULL_H
//=========================================================
// Link Properties. These hulls must correspond to the hulls
// in AI_Hull.cpp!
//=========================================================
enum Hull_t
{
HULL_HUMAN,
HULL_MEDIUM,
HULL_FLYING_VEHICLE,
HULL_SMALL,
HULL_TITAN,
HULL_GOLIATH,
HULL_PROWLER,
//--------------------------------------------
NUM_HULLS, // Confirmed, see [r5apex_ds + CB2765]
HULL_NONE = -1 // No Hull (appears after num hulls as we don't want to count it)
};
#endif // AI_HULL_H