Add extra_player_t struct to sdk.h

This commit is contained in:
8dcc 2023-07-27 22:13:06 +02:00
parent 5e09221241
commit 330c017600
1 changed files with 14 additions and 0 deletions

View File

@ -319,4 +319,18 @@ typedef struct {
bool m_bMultiplayer; bool m_bMultiplayer;
} game_t; } game_t;
/* sdk/cl_dll/hud.h */
#ifndef MAX_TEAM_NAME
#define MAX_TEAM_NAME 16
#endif
typedef struct {
short frags;
short deaths;
short playerclass;
short health; /* UNUSED */
bool dead;
short teamnumber;
char teamname[MAX_TEAM_NAME];
} extra_player_info_t;
#endif /* SDK_H_ */ #endif /* SDK_H_ */