Skip to content

Commit d5083da

Browse files
committed
server: fixed header hell in several files
1 parent ce04b69 commit d5083da

File tree

5 files changed

+9
-1
lines changed

5 files changed

+9
-1
lines changed

engine/progdefs.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
#ifndef PROGDEFS_H
1717
#define PROGDEFS_H
1818

19+
#include "const.h"
20+
1921
typedef struct
2022
{
2123
float time;

server/cbase.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ CBaseEntity
2626
CBaseGroup
2727
*/
2828
#pragma once
29+
#include "util.h"
30+
2931
#define MAX_PATH_SIZE 10 // max number of nodes available for a path.
3032

3133
// These are caps bits to indicate what an object's capabilities (currently used for save/restore and level transitions)

server/enginecallback.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
#define ENGINECALLBACK_H
1717
#pragma once
1818

19+
#include "edict.h"
20+
#include "eiface.h"
1921
#include "event_flags.h"
2022

2123
// Must be provided by user of this code

server/saverestore.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
#ifndef SAVERESTORE_H
1717
#define SAVERESTORE_H
1818

19+
#include "eiface.h"
20+
1921
class CBaseEntity;
2022

2123
class CSaveRestoreBuffer

server/util.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
#include "datamap.h"
3131
#include "xashxt_strings.h"
32-
32+
#include "extdll.h"
3333
#include "com_model.h"
3434
#include "sprite.h"
3535

0 commit comments

Comments
 (0)