Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include "vegastrike.h"
#include "vs_globals.h"
#include <string>
#include <set>
#include <map>
#include "cmd/unit_armorshield.h"
#include "gfx/matrix.h"
#include "gfx/quaternion.h"
#include "gfxlib_struct.h"
#include "weapon_xml.h"
#include "xml_support.h"
#include "container.h"
#include "collection.h"
#include "script/flightgroup.h"
#include "faction_generic.h"
#include "star_system_generic.h"
#include "networking/const.h"
#include "networking/lowlevel/vsnet_clientstate.h"
#include "gfx/cockpit_generic.h"
#include "vsfilesystem.h"
#include "collide_map.h"
#include "SharedPool.h"
Go to the source code of this file.
Classes | |
class | CargoColor |
class | Mount |
union | Mount::REF |
struct | UnitImages< BOGUS > |
class | Unit |
class | Unit::graphic_options |
class | Unit::Computer |
class | Unit::Computer::RADARLIM |
struct | Unit::Computer::RADARLIM::Brand |
struct | Unit::Computer::RADARLIM::Capability |
struct | Unit::UnitJump |
class | Unit::Limits |
struct | Unit::XML |
class | MeshAnimation |
Macros | |
#define | _UNIT_H_ |
#define | NO_MOUNT_STAR |
Enumerations | |
enum | clsptr { UNITPTR, PLANETPTR, BUILDINGPTR, NEBULAPTR, ASTEROIDPTR, ENHANCEMENTPTR, MISSILEPTR } |
Functions | |
char * | GetUnitDir (const char *filename) |
Unit * | findUnitInStarsystem (void *unitDoNotDereference) |
std::set< std::string > | GetListOfDowngrades () |
void | ClearDowngradeMap () |
Variables | |
float | capship_size |
#define _UNIT_H_ |
Definition at line 30 of file unit_generic.h.
#define NO_MOUNT_STAR |
Definition at line 346 of file unit_generic.h.
enum clsptr |
Currently the only inheriting function is planet Needed by star system to determine whether current unit is orbitable
Enumerator | |
---|---|
UNITPTR | |
PLANETPTR | |
BUILDINGPTR | |
NEBULAPTR | |
ASTEROIDPTR | |
ENHANCEMENTPTR | |
MISSILEPTR |
Definition at line 97 of file unit_generic.h.
void ClearDowngradeMap | ( | ) |
Definition at line 6797 of file unit_generic.cpp.
Referenced by BaseComputer::loadSellUpgradeControls().
Unit* findUnitInStarsystem | ( | void * | unitDoNotDereference) |
Definition at line 4194 of file unit_generic.cpp.
References _Universe, Universe::activeStarSystem(), UnitCollection::constIterator(), and StarSystem::getUnitList().
Referenced by Unit::ApplyDamage(), CockpitKeys::Inside(), Orders::AggressiveAI::ProcessCurrentFgDirective(), and Cockpit::Update().
std::set< std::string > GetListOfDowngrades | ( | ) |
Definition at line 6802 of file unit_generic.cpp.
References vsUMap.
Referenced by BaseComputer::loadSellUpgradeControls().
char* GetUnitDir | ( | const char * | filename) |
Definition at line 695 of file unit_generic.cpp.
References i.
float capship_size |
Definition at line 646 of file unit_generic.cpp.
Referenced by Unit::Init(), and Unit::InRange().