From 330c01760048f059d2ba63eb382723af6efd9a90 Mon Sep 17 00:00:00 2001 From: 8dcc <8dcc.git@gmail.com> Date: Thu, 27 Jul 2023 22:13:06 +0200 Subject: [PATCH] Add extra_player_t struct to sdk.h --- src/include/sdk.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/include/sdk.h b/src/include/sdk.h index 66d9d47..59964ff 100644 --- a/src/include/sdk.h +++ b/src/include/sdk.h @@ -319,4 +319,18 @@ typedef struct { bool m_bMultiplayer; } 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_ */