Remove a couple of game/-includes from the engine code

This commit is contained in:
heinrich5991 2022-01-02 04:27:29 +01:00
parent 1b233ab95c
commit 246f213905
5 changed files with 7 additions and 3 deletions

View file

@ -7,6 +7,7 @@
#include <algorithm>
#include <climits>
#include <vector>
#include <base/hash_ctxt.h>
#include <base/math.h>

View file

@ -11,6 +11,7 @@
#include <engine/storage.h>
#include <memory>
#include <vector>
class CChooseMaster
{

View file

@ -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:

View file

@ -12,8 +12,6 @@
#include <engine/shared/video.h>
#endif
#include <game/generated/protocol.h>
#include "compression.h"
#include "demo.h"
#include "memheap.h"

View file

@ -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";