Remove #include <system.h> from one more header

This commit is contained in:
heinrich5991 2023-12-12 00:44:46 +01:00
parent 7813cfed6c
commit be53d83019
8 changed files with 6 additions and 9 deletions

View file

@ -126,6 +126,7 @@ def gen_network_source():
print("""\
#include "protocol.h"
#include <base/system.h>
#include <engine/shared/packer.h>
#include <engine/shared/protocol.h>
#include <engine/shared/uuid_manager.h>

View file

@ -51,7 +51,6 @@ Authed = ["NO", "HELPER", "MOD", "ADMIN"]
EntityClasses = ["PROJECTILE", "DOOR", "DRAGGER_WEAK", "DRAGGER_NORMAL", "DRAGGER_STRONG", "GUN_NORMAL", "GUN_EXPLOSIVE", "GUN_FREEZE", "GUN_UNFREEZE", "LIGHT", "PICKUP"]
RawHeader = '''
#include <base/system.h>
#include <engine/shared/teehistorian_ex.h>
enum
@ -79,10 +78,6 @@ enum
};
'''
RawSource = '''
#include "protocol.h"
'''
Enums = [
Enum("EMOTE", Emotes),
Enum("POWERUP", Powerups),

View file

@ -171,6 +171,7 @@ def main():
lines = []
lines += ['#include "protocol7.h"']
lines += ['#include <base/system.h>']
lines += ['#include <engine/shared/packer.h>']
lines += ['#include <engine/shared/protocol.h>']

View file

@ -55,10 +55,6 @@ enum
};
'''
RawSource = '''
#include "protocol.h"
'''
Enums = [
Pickups,
Emotes,

View file

@ -8,6 +8,7 @@
#include <base/hash.h>
#include <base/math.h>
#include <base/system.h>
#include "kernel.h"
#include "message.h"

View file

@ -1,5 +1,6 @@
#include "authmanager.h"
#include <base/hash_ctxt.h>
#include <base/system.h>
#include <engine/shared/config.h>
#include <game/generated/protocol.h>

View file

@ -6,6 +6,7 @@
#include "mapitems.h"
#include "teamscore.h"
#include <base/system.h>
#include <engine/shared/config.h>
const char *CTuningParams::ms_apNames[] =

View file

@ -1,5 +1,6 @@
#include "teehistorian.h"
#include <base/system.h>
#include <engine/external/json-parser/json.h>
#include <engine/shared/config.h>
#include <engine/shared/json.h>