Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <time.h>
#include <math.h>
#include <unistd.h>
#include "cmd/unit_generic.h"
#include "cmd/unit_util.h"
#include "cmd/weapon_xml.h"
#include "cmd/bolt.h"
#include "gfx/cockpit_generic.h"
#include "universe_util.h"
#include "cmd/unit_factory.h"
#include "load_mission.h"
#include "save_util.h"
#include "networking/client.h"
#include "networking/lowlevel/packet.h"
#include "lin_time.h"
#include "python/init.h"
#include "networking/netserver.h"
#include "networking/zonemgr.h"
#include "networking/lowlevel/vsnet_serversocket.h"
#include "networking/lowlevel/vsnet_sockethttp.h"
#include "networking/lowlevel/vsnet_debug.h"
#include "networking/savenet_util.h"
#include "vsfilesystem.h"
#include "options.h"
#include "networking/lowlevel/netbuffer.h"
#include "networking/lowlevel/vsnet_dloadmgr.h"
#include "cmd/ai/script.h"
#include "cmd/ai/order.h"
#include "cmd/ai/fire.h"
#include "cmd/ai/fireall.h"
#include "cmd/ai/flybywire.h"
#include "cmd/ai/communication.h"
#include "cmd/pilot.h"
#include "cmd/role_bitmask.h"
#include "gfxlib_struct.h"
#include "posh.h"
#include "fileutil.h"
#include "faction_generic.h"
#include "cmd/unit_const_cache.h"
#include <Python.h>
#include "netversion.h"
Go to the source code of this file.
Macros | |
#define | MAXINPUT 1024 |
Functions | |
const Unit * | getUnitFromUpgradeName (const string &upgradeName, int myUnitFaction=0) |
int | GetModeFromName (const char *) |
bool | isWeapon (std::string name) |
Cargo * | GetMasterPartList (const char *input_buffer) |
void | ExecuteDirector () |
void | getZoneInfoBuffer (unsigned short zoneid, NetBuffer &netbuf) |
void | InitUnitTables () |
Variables | |
ObjSerial | SERVER_NETVERSION = NETWORK_VERSION |
class vs_options | game_options |
double | clienttimeout |
double | logintimeout |
int | acct_con |
double | DAMAGE_ATOM |
double | PLANET_ATOM |
double | SAVE_ATOM |
static const char *const | MISSION_SCRIPTS_LABEL = "mission_scripts" |
static const char *const | MISSION_NAMES_LABEL = "mission_names" |
static const char *const | MISSION_DESC_LABEL = "mission_descriptions" |
char | input_buffer [MAXINPUT] |
int | nbchars |
string | universe_file |
string | universe_path |
static const string | LOAD_FAILED = "LOAD_FAILED" |
#define MAXINPUT 1024 |
Definition at line 85 of file netserver.cpp.
Referenced by NetServer::start().
void ExecuteDirector | ( | ) |
Definition at line 617 of file star_system_generic.cpp.
References _Universe, Universe::AccessCockpit(), active_missions, Cockpit::activeStarSystem, Universe::CurrentCockpit(), i, mission, Universe::popActiveStarSystem(), processDelayedMissions(), Universe::pushActiveStarSystem(), and Universe::SetActiveCockpit().
Cargo* GetMasterPartList | ( | const char * | input_buffer) |
Definition at line 8519 of file unit_generic.cpp.
References Unit::GetCargo(), and GetUnitMasterPartList().
int GetModeFromName | ( | const char * | ) |
Definition at line 87 of file unit_xml.cpp.
Definition at line 37 of file unit_functions_generic.cpp.
References UnitFactory::createUnit(), ClassCache< Typ, Key >::getCachedConst(), FactionUtil::GetUpgradeFaction(), Unit::name, and ClassCache< Typ, Key >::setCachedConst().
void getZoneInfoBuffer | ( | unsigned short | zoneid, |
NetBuffer & | netbuf | ||
) |
Definition at line 103 of file netserver.cpp.
References ZoneMgr::getZoneBuffer(), VSServer, and NetServer::zonemgr.
void InitUnitTables | ( | ) |
Definition at line 341 of file universe_generic.cpp.
References VSFileSystem::VSFile::Close(), VSFileSystem::VSFile::GetRoot(), VegaConfig::getVariable(), VSFileSystem::Ok, VSFileSystem::VSFile::OpenReadOnly(), VSFileSystem::UnitFile, unitTables, and vs_config.
bool isWeapon | ( | std::string | name) |
Definition at line 8815 of file unit_generic.cpp.
int acct_con |
Definition at line 76 of file netserver.cpp.
Referenced by NetServer::saveAccount(), and NetServer::start().
double clienttimeout |
Definition at line 74 of file netserver.cpp.
Referenced by NetServer::start().
double DAMAGE_ATOM |
Definition at line 77 of file netserver.cpp.
Referenced by NetServer::start().
class vs_options game_options |
char input_buffer[MAXINPUT] |
Definition at line 86 of file netserver.cpp.
Referenced by StarSystemGent::readColorGrads(), StarSystemGent::readentity(), readnames(), and NetServer::start().
|
static |
Definition at line 97 of file netserver.cpp.
double logintimeout |
Definition at line 75 of file netserver.cpp.
Referenced by NetServer::start().
|
static |
Definition at line 83 of file netserver.cpp.
|
static |
Definition at line 82 of file netserver.cpp.
|
static |
Definition at line 81 of file netserver.cpp.
int nbchars |
Definition at line 87 of file netserver.cpp.
Referenced by NetServer::start().
double PLANET_ATOM |
Definition at line 78 of file netserver.cpp.
Referenced by NetServer::start().
double SAVE_ATOM |
Definition at line 79 of file netserver.cpp.
Referenced by NetServer::start().
ObjSerial SERVER_NETVERSION = NETWORK_VERSION |
Definition at line 70 of file netserver.cpp.
string universe_file |
Definition at line 89 of file netserver.cpp.
Referenced by NetServer::start().
string universe_path |
Definition at line 90 of file netserver.cpp.
Referenced by NetServer::start().