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
terrain.cpp File Reference
#include "terrain.h"
#include "config_xml.h"
#include "vs_globals.h"
#include "xml_support.h"
#include "star_system.h"
#include "unit_generic.h"
#include "gfx/vec.h"
#include "vegastrike.h"
#include "universe.h"
#include <vector>
#include "collection.h"
#include "building.h"

Go to the source code of this file.

Functions

static GFXColor getTerrainColor ()
 

Variables

static std::vector< Terrain * > allterrains
 

Function Documentation

static GFXColor getTerrainColor ( )
static

Definition at line 88 of file terrain.cpp.

Referenced by Terrain::Render(), and Terrain::RenderAll().

89 {
90  float col[4] = {.1f, .1f, .1f, 1.0f};
91  return GFXColor( col[0], col[1], col[2], col[3] );
92 }

Variable Documentation

std::vector< Terrain* > allterrains
static