mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-20 15:08:19 +00:00
Merge pull request #7637 from heinrich5991/pr_ddnet_even_less_system_h
Remove `#include <system.h>` from one more header
This commit is contained in:
commit
3cb510a2e6
|
@ -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