Pruning unneeded files
This commit is contained in:
@@ -27,6 +27,16 @@
|
||||
|
||||
using namespace std;
|
||||
|
||||
//-------------------------
|
||||
//Quick and dirty
|
||||
//-------------------------
|
||||
|
||||
static std::string itos(int i) {
|
||||
char buffer[20];
|
||||
snprintf(buffer, 20, "%d", i);
|
||||
return std::string(buffer);
|
||||
}
|
||||
|
||||
//-------------------------
|
||||
//Public access members
|
||||
//-------------------------
|
||||
|
||||
@@ -22,14 +22,10 @@
|
||||
#ifndef SERVERAPPLICATION_HPP_
|
||||
#define SERVERAPPLICATION_HPP_
|
||||
|
||||
#include "utilities.hpp"
|
||||
#include "packet.hpp"
|
||||
#include "singleton.hpp"
|
||||
#include "network_queue.hpp"
|
||||
|
||||
#include "client_entry.hpp"
|
||||
#include "player_entry.hpp"
|
||||
|
||||
#include "config_Utility.hpp"
|
||||
#include "udp_network_utility.hpp"
|
||||
#include "vector2.hpp"
|
||||
@@ -40,6 +36,20 @@
|
||||
#include <string>
|
||||
#include <algorithm>
|
||||
|
||||
struct ClientEntry {
|
||||
int index;
|
||||
IPaddress address;
|
||||
};
|
||||
|
||||
struct PlayerEntry {
|
||||
int index;
|
||||
int clientIndex;
|
||||
std::string handle;
|
||||
std::string avatar;
|
||||
Vector2 position;
|
||||
Vector2 motion;
|
||||
};
|
||||
|
||||
class ServerApplication {
|
||||
public:
|
||||
ServerApplication();
|
||||
|
||||
Reference in New Issue
Block a user