Skip to content

Commit

Permalink
Fix rehlsdk
Browse files Browse the repository at this point in the history
  • Loading branch information
s1lentq committed May 10, 2024
1 parent 3c4acbb commit 47ffe4b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
7 changes: 0 additions & 7 deletions rehlds/engine/server.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,6 @@ typedef enum redirect_e
RD_PACKET = 2,
} redirect_t;

typedef enum server_state_e
{
ss_dead = 0,
ss_loading = 1,
ss_active = 2,
} server_state_t;

typedef struct server_s
{
qboolean active;
Expand Down
8 changes: 8 additions & 0 deletions rehlds/public/rehlds/maintypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,12 @@ typedef enum sv_delta_s
sv_packet_delta,
} 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
1 change: 1 addition & 0 deletions rehlds/public/rehlds/rehlds_interfaces.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ class IGameClient;

#include "common_rehlds.h"
#include "userid_rehlds.h"
#include "FileSystem.h"

#ifdef REHLDS_SELF
#include "server.h"
Expand Down

0 comments on commit 47ffe4b

Please sign in to comment.