Skip to content

Commit

Permalink
server: fixed header hell in several files
Browse files Browse the repository at this point in the history
  • Loading branch information
SNMetamorph committed Sep 7, 2024
1 parent 301527d commit 65cc5fb
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions engine/progdefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
#ifndef PROGDEFS_H
#define PROGDEFS_H

#include "const.h"

typedef struct
{
float time;
Expand Down
2 changes: 2 additions & 0 deletions server/cbase.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ CBaseEntity
CBaseGroup
*/
#pragma once
#include "util.h"

#define MAX_PATH_SIZE 10 // max number of nodes available for a path.

// These are caps bits to indicate what an object's capabilities (currently used for save/restore and level transitions)
Expand Down
2 changes: 2 additions & 0 deletions server/enginecallback.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
#define ENGINECALLBACK_H
#pragma once

#include "edict.h"
#include "eiface.h"
#include "event_flags.h"

// Must be provided by user of this code
Expand Down
2 changes: 2 additions & 0 deletions server/saverestore.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
#ifndef SAVERESTORE_H
#define SAVERESTORE_H

#include "eiface.h"

class CBaseEntity;

class CSaveRestoreBuffer
Expand Down
2 changes: 1 addition & 1 deletion server/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

#include "datamap.h"
#include "xashxt_strings.h"

#include "extdll.h"
#include "com_model.h"
#include "sprite.h"

Expand Down

0 comments on commit 65cc5fb

Please sign in to comment.