mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 09:34:19 +00:00
move typedef to protocol.h
This commit is contained in:
parent
1cd9eac7ae
commit
79f72a5d55
|
@ -4,8 +4,5 @@
|
|||
#define BASE_TL_BITMASK_H
|
||||
|
||||
#include <bitset>
|
||||
#include <engine/shared/protocol.h>
|
||||
|
||||
typedef std::bitset<MAX_CLIENTS> CClientMask;
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
#ifndef ENGINE_SHARED_PROTOCOL_H
|
||||
#define ENGINE_SHARED_PROTOCOL_H
|
||||
|
||||
#include <base/tl/bitmask.h>
|
||||
|
||||
/*
|
||||
Connection diagram - How the initialization works.
|
||||
|
||||
|
@ -123,4 +125,6 @@ enum
|
|||
VERSION_DDNET_MULTI_LASER = 16040,
|
||||
};
|
||||
|
||||
typedef std::bitset<MAX_CLIENTS> CClientMask;
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
#ifndef GAME_CLIENT_PREDICTION_GAMEWORLD_H
|
||||
#define GAME_CLIENT_PREDICTION_GAMEWORLD_H
|
||||
|
||||
#include <base/tl/bitmask.h>
|
||||
#include <game/gamecore.h>
|
||||
#include <game/teamscore.h>
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
#ifndef GAME_SERVER_ENTITIES_CHARACTER_H
|
||||
#define GAME_SERVER_ENTITIES_CHARACTER_H
|
||||
|
||||
#include <base/tl/bitmask.h>
|
||||
#include <game/server/entity.h>
|
||||
#include <game/server/save.h>
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
#ifndef GAME_SERVER_ENTITIES_LASER_H
|
||||
#define GAME_SERVER_ENTITIES_LASER_H
|
||||
|
||||
#include <base/tl/bitmask.h>
|
||||
#include <game/server/entity.h>
|
||||
|
||||
class CLaser : public CEntity
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <base/tl/bitmask.h>
|
||||
#include <engine/shared/protocol.h>
|
||||
|
||||
class CEventHandler
|
||||
{
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
#ifndef GAME_SERVER_GAMECONTEXT_H
|
||||
#define GAME_SERVER_GAMECONTEXT_H
|
||||
|
||||
#include <base/tl/bitmask.h>
|
||||
#include <engine/console.h>
|
||||
#include <engine/server.h>
|
||||
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
#ifndef GAME_SERVER_GAMECONTROLLER_H
|
||||
#define GAME_SERVER_GAMECONTROLLER_H
|
||||
|
||||
#include <base/tl/bitmask.h>
|
||||
#include <base/vmath.h>
|
||||
#include <engine/map.h>
|
||||
#include <engine/shared/protocol.h>
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
|
Loading…
Reference in a new issue