mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-09 17:48:19 +00:00
Remove #include <system.h>
from one more header
This commit is contained in:
parent
7813cfed6c
commit
be53d83019
|
@ -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>
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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>']
|
||||
|
||||
|
|
|
@ -55,10 +55,6 @@ enum
|
|||
};
|
||||
'''
|
||||
|
||||
RawSource = '''
|
||||
#include "protocol.h"
|
||||
'''
|
||||
|
||||
Enums = [
|
||||
Pickups,
|
||||
Emotes,
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include <base/hash.h>
|
||||
#include <base/math.h>
|
||||
#include <base/system.h>
|
||||
|
||||
#include "kernel.h"
|
||||
#include "message.h"
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include "mapitems.h"
|
||||
#include "teamscore.h"
|
||||
|
||||
#include <base/system.h>
|
||||
#include <engine/shared/config.h>
|
||||
|
||||
const char *CTuningParams::ms_apNames[] =
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue