34 #include <boost/shared_ptr.hpp>
45 #include "boost/smart_ptr.hpp"
53 typedef vector<Account *>::iterator
VI;
60 namespace VsnetDownload {
86 string server_password;
89 std::queue<int> unused_players;
92 std::vector<UnitContainer> newUnits;
101 enum EntryTypes{CONNECTING, JUMPING};
108 std::map<string, WaitListEntry> waitList;
110 boost::shared_ptr<VsnetDownload::Server::Manager> _downloadManagerServer;
111 static const char* _downloadSearchDirs[];
123 bool loginAccept(
const std::string &inetbuf,
ClientPtr clt,
int newacct,
char flags);
135 void disconnect(
ClientPtr clt,
const char* debug_from_file,
int debug_from_line );
137 void checkTimedoutClients_udp();
144 void sendLoginUnavailable(
ClientPtr clt);
155 void start(
int argc,
char ** argv);
164 float price,
float mass,
float volume,
bool mission,
unsigned int quantity,
165 int mountOffset,
int subunitOffset,
unsigned short zone);
173 void sendCustom(
int cp,
const string &cmd,
const string &args,
const string &
id);
175 float ppercentage,
float spercentage,
float amt,
Vector & pnt,
Vector & normal,
GFXColor & color);
192 void sendMessage(
const string &from,
const string &to,
const string &message,
float delay);
194 void sendSaveData(
int cp,
unsigned short packetType,
int pos,
const string *key,
196 const string *strValue,
const float *floatValue);
199 void addSystem(
string & sysname,
string & system);