mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Remove a couple of game/-includes from the engine code
This commit is contained in:
parent
1b233ab95c
commit
246f213905
|
@ -7,6 +7,7 @@
|
|||
|
||||
#include <algorithm>
|
||||
#include <climits>
|
||||
#include <vector>
|
||||
|
||||
#include <base/hash_ctxt.h>
|
||||
#include <base/math.h>
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#include <engine/storage.h>
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
class CChooseMaster
|
||||
{
|
||||
|
|
|
@ -5,12 +5,13 @@
|
|||
|
||||
#include <engine/map.h>
|
||||
#include <engine/shared/protocol.h>
|
||||
#include <game/client/ui.h>
|
||||
|
||||
#include "kernel.h"
|
||||
|
||||
#define DDNET_INFO "ddnet-info.json"
|
||||
|
||||
class CUIElement;
|
||||
|
||||
class CServerInfo
|
||||
{
|
||||
public:
|
||||
|
|
|
@ -12,8 +12,6 @@
|
|||
#include <engine/shared/video.h>
|
||||
#endif
|
||||
|
||||
#include <game/generated/protocol.h>
|
||||
|
||||
#include "compression.h"
|
||||
#include "demo.h"
|
||||
#include "memheap.h"
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
#include "serverinfo.h"
|
||||
|
||||
#include "json.h"
|
||||
#include <base/math.h>
|
||||
#include <engine/external/json-parser/json.h>
|
||||
#include <engine/serverbrowser.h>
|
||||
|
||||
#include <cstdio>
|
||||
|
||||
static bool IsAllowedHex(char c)
|
||||
{
|
||||
static const char ALLOWED[] = "0123456789abcdefABCDEF";
|
||||
|
|
Loading…
Reference in a new issue