2
0
mirror of https://github.com/rehlds/rehlds.git synced 2024-12-27 23:25:45 +03:00

Fix rehlsdk

This commit is contained in:
s1lentq 2024-05-10 17:43:24 +07:00
parent 3c4acbb046
commit 47ffe4b257
3 changed files with 9 additions and 7 deletions

View File

@ -95,13 +95,6 @@ typedef enum redirect_e
RD_PACKET = 2, RD_PACKET = 2,
} redirect_t; } redirect_t;
typedef enum server_state_e
{
ss_dead = 0,
ss_loading = 1,
ss_active = 2,
} server_state_t;
typedef struct server_s typedef struct server_s
{ {
qboolean active; qboolean active;

View File

@ -67,4 +67,12 @@ typedef enum sv_delta_s
sv_packet_delta, sv_packet_delta,
} sv_delta_t; } sv_delta_t;
// From engine/server.h
typedef enum server_state_e
{
ss_dead = 0,
ss_loading = 1,
ss_active = 2,
} server_state_t;
#endif // MAINTYPES_H #endif // MAINTYPES_H

View File

@ -36,6 +36,7 @@ class IGameClient;
#include "common_rehlds.h" #include "common_rehlds.h"
#include "userid_rehlds.h" #include "userid_rehlds.h"
#include "FileSystem.h"
#ifdef REHLDS_SELF #ifdef REHLDS_SELF
#include "server.h" #include "server.h"