Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
background.cpp File Reference
#include "vegastrike.h"
#include "camera.h"
#include "aux_texture.h"
#include "star.h"
#include "background.h"
#include "gfxlib.h"
#include "sphere.h"
#include "vs_globals.h"
#include "../gldrv/gl_globals.h"
#include "config_xml.h"
#include "universe_util.h"
#include <float.h>

Go to the source code of this file.

Macros

#define VERTEX(i)
 

Variables

const float size = 100
 

Macro Definition Documentation

#define VERTEX (   i)
Value:
s1 = stca[size_t(skybox_rendering_sequence[skr].tcoord[i][0])]; \
t1 = ttca[size_t(skybox_rendering_sequence[skr].tcoord[i][1])]; \
s2 = stca[size_t(skybox_rendering_sequence[skr].tcoord[i][2])]; \
t2 = ttca[size_t(skybox_rendering_sequence[skr].tcoord[i][3])]; \
if (!multitex) GFXTexCoord2f( s1, t1 ); \
else GFXTexCoord4f( s1, t1, s2, t2 ); \
GFXVertex3f( skybox_rendering_sequence[skr].vertices[i][0]*size, \
skybox_rendering_sequence[skr].vertices[i][1]*size, \
skybox_rendering_sequence[skr].vertices[i][2]*size );

Referenced by Box::Box(), and Background::Draw().

Variable Documentation

const float size = 100

Definition at line 34 of file background.cpp.

Referenced by AddDocks(), ParticleTrail::AddParticle(), varInstVec::addVar(), AnyStringScanInString(), AnyStringSkipInString(), AUDQueryAudability(), Bolt::Bolt(), ROLES::buildroles(), ROLES::buildscripts(), CalculateCoords(), NetBuffer::checkBuffer(), StarSystem::Statistics::CheckVitals(), Hashtable3d< T, COLLIDETABLESIZE, COLLIDETABLEACCURACY, HUGEOBJECT >::Clear(), BaseInterface::Room::Talk::Click(), VSFileSystem::VSFile::Close(), GameUnit< UnitType >::Draw(), Radar::SphereDisplay::DrawBackground(), Radar::BubbleDisplay::DrawBackground(), NavigationSystem::DrawMission(), NavigationSystem::DrawNavCircle(), Radar::BubbleDisplay::DrawTargetMarker(), Radar::PlaneDisplay::DrawTargetMarker(), VSFileSystem::VSFile::End(), EnvironmentMapGeneratorMain(), eraseSaveData(), eraseSaveString(), CPK3::ExtractFile(), CollideArray::flatten(), Container::ForceSize(), Universe::getActiveStarSystem(), Hashtable< int, Logo, 257 >::GetAll(), ROLES::getPriority(), GetRandomNav(), GalaxyXML::SGalaxy::getRandSystem(), ROLES::getRoleEvents(), NetBuffer::getSize(), GFXSphereVertexList::GFXSphereVertexList(), GFXTransferTexture(), VSFileSystem::VSFile::GoAfterEOL(), Music::GotoSong(), jpeg_memory_src(), Unit::jumpReactToCollision(), MessageCenter::last(), Mesh::LoadMeshes(), makebgname(), StarSystemGent::MakeBigUnit(), NetBuffer::NetBuffer(), NavigationSystem::CachedSystemIterator::operator[](), NavigationSystem::CachedSectorIterator::operator[](), PacketMem::PacketMem(), PngReadFunc(), Box::ProcessDrawQueue(), Beam::ProcessDrawQueue(), putSaveData(), putSaveString(), VSFileSystem::VSFile::Read(), VSFileSystem::VSFile::ReadLine(), readplanetentity(), NetBuffer::Reset(), NetBuffer::resizeBuffer(), HaloSystem::SetSize(), BaseComputer::showPlayerInfo(), VSFileSystem::VSFile::Size(), SpriteStarVlist::SpriteStarVlist(), Mission::terminateMission(), Unit::TrackingGuns(), Unit::UpdatePhysics(), VSFileSystem::VSFile::VSFile(), Unit::WriteUnitString(), and bolt_draw::~bolt_draw().