Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <math.h>
#include "vegastrike.h"
#include "unit_factory.h"
#include "planet.h"
#include "gfxlib.h"
#include "gfx/sphere.h"
#include "collection.h"
#include "ai/order.h"
#include "gfxlib_struct.h"
#include "vs_globals.h"
#include "config_xml.h"
#include <assert.h>
#include "cont_terrain.h"
#include "atmosphere.h"
#include "collide2/CSopcodecollider.h"
#include "images.h"
#include "gfx/halo.h"
#include "gfx/animation.h"
#include "cmd/script/flightgroup.h"
#include "gfx/ring.h"
#include "alphacurve.h"
#include "gfx/vsimage.h"
#include "vsfilesystem.h"
#include "gfx/camera.h"
Go to the source code of this file.
Classes | |
class | AtmosphereHalo |
Functions | |
static void | SetFogMaterialColor (Mesh *thus, const GFXColor &color, const GFXColor &dcolor) |
Mesh * | MakeFogMesh (const AtmosphericFogMesh &f, float radius) |
const vector< string > & | ParseDestinations (const string &value) |
bool | CrashForceDock (Unit *thus, Unit *dockingUn, bool force) |
void | abletodock (int dock) |
Variables | |
vector< UnitContainer * > | PlanetTerrainDrawQueue |
void abletodock | ( | int | dock) |
Definition at line 1247 of file firekeyboard.cpp.
Definition at line 365 of file unit_generic.cpp.
References _Universe, abletodock(), Unit::CanDockWithMe(), NetClient::dockRequest(), Unit::ForceDock(), Unit::GetSerial(), Network, Unit::Position(), QVector, Unit::rSize(), UniverseUtil::SafeEntrancePoint(), Unit::SetPosAndCumPos(), Unit::UpgradeInterface(), and Universe::whichPlayerStarship().
Referenced by GamePlanet::reactToCollision(), and Unit::reactToCollision().
Mesh* MakeFogMesh | ( | const AtmosphericFogMesh & | f, |
float | radius | ||
) |
Definition at line 60 of file planet.cpp.
References AtmosphericFogMesh::concavity, AtmosphericFogMesh::da, AtmosphericFogMesh::db, AtmosphericFogMesh::dg, AtmosphericFogMesh::dr, AtmosphericFogMesh::ea, AtmosphericFogMesh::eb, AtmosphericFogMesh::eg, AtmosphericFogMesh::er, AtmosphericFogMesh::focus, get_alpha(), VegaConfig::getVariable(), i, Mesh::LoadMesh(), AtmosphericFogMesh::max_alpha, AtmosphericFogMesh::meshname, AtmosphericFogMesh::min_alpha, override, XMLSupport::parse_int(), PngImage, AtmosphericFogMesh::scale, Mesh::setConvex(), SetFogMaterialColor(), AtmosphericFogMesh::tail_mode_end, AtmosphericFogMesh::tail_mode_start, VSFileSystem::TextureFile, XMLSupport::tostring(), Vector, and vs_config.
Referenced by GamePlanet::AddFog().
const vector< string >& ParseDestinations | ( | const string & | value) |
Definition at line 178 of file galaxy.cpp.
Referenced by Mission::call_unit_launch(), Universe::getAdjacentStarSystems(), MakeStarSystem(), and UniverseUtil::showSplashScreen().
|
static |
Definition at line 43 of file planet.cpp.
References GFXColor::a, GFXMaterial::aa, GFXMaterial::ab, GFXMaterial::ag, GFXMaterial::ar, GFXColor::b, GFXMaterial::da, GFXMaterial::db, GFXMaterial::dg, GFXMaterial::dr, GFXMaterial::ea, GFXMaterial::eb, GFXMaterial::eg, GFXMaterial::er, GFXColor::g, VegaConfig::getVariable(), XMLSupport::parse_float(), GFXMaterial::power, GFXColor::r, GFXMaterial::sa, GFXMaterial::sb, Mesh::SetMaterial(), GFXMaterial::sg, GFXMaterial::sr, and vs_config.
Referenced by MakeFogMesh().
vector< UnitContainer* > PlanetTerrainDrawQueue |
Definition at line 361 of file planet.cpp.