Removed WinLeakCheck. Minor variable name changes. removed IsWASDKeyDown struct
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
#include "Network/NetworkDefinitions.h"
|
||||
#include "Network/PlayerDefinition.h"
|
||||
#include "Network/SnapshotDefinitions.h"
|
||||
#include "Network/WinLeakCheck.h"
|
||||
#include "Core/World.h"
|
||||
#include "Core/EventBroker.h"
|
||||
#include "Input/EInputCommand.h"
|
||||
|
||||
@@ -36,7 +36,7 @@ private:
|
||||
// Game logic
|
||||
World* m_World;
|
||||
EventBroker* m_EventBroker;
|
||||
// size = ammount of players to create, stores playerID's
|
||||
// vec.size() = ammount of players to create, stores playerID's
|
||||
std::vector<unsigned int> m_PlayersToCreate;
|
||||
|
||||
// Packet loss logic
|
||||
|
||||
@@ -9,12 +9,4 @@ struct SnapshotDefinitions
|
||||
std::string InputRight;
|
||||
};
|
||||
|
||||
struct IsWASDKeyDown
|
||||
{
|
||||
bool W = false;
|
||||
bool A = false;
|
||||
bool S = false;
|
||||
bool D = false;
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -1,17 +0,0 @@
|
||||
#if defined (_WIN64) | defined(_WIN32)
|
||||
#ifndef WinLeakeCheck_h__
|
||||
#define WinLeakeCheck_h__
|
||||
|
||||
//For memory leak checking
|
||||
#define _CRTDBG_MAP_ALLOC
|
||||
#include <stdlib.h>
|
||||
#include <crtdbg.h>
|
||||
|
||||
#ifdef _DEBUG
|
||||
#ifndef DBG_NEW
|
||||
#define DBG_NEW new ( _NORMAL_BLOCK , __FILE__ , __LINE__ )
|
||||
#define new DBG_NEW
|
||||
#endif
|
||||
#endif // _DEBUG
|
||||
#endif
|
||||
#endif
|
||||
Reference in New Issue
Block a user