_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

construct.cpp File Reference
#include "stratagus.h"
#include "construct.h"
#include <vector>
#include "script.h"
#include "translate.h"
#include "ui.h"
#include "video.h"

construct.cpp - The constructions.

static std::vector< CConstruction * > Constructions
 
void InitConstructions ()
 Initialize the constructions module. More...
 
void LoadConstructions ()
 Load the graphics for constructions. More...
 
void CleanConstructions ()
 Clean up the constructions module. More...
 
CConstructionConstructionByIdent (const std::string &name)
 Get construction by identifier. More...
 
static int CclDefineConstruction (lua_State *l)
 
void ConstructionCclRegister ()
 Register ccl features. More...
 

Function Documentation

◆ CclDefineConstruction()

static int CclDefineConstruction ( lua_State *  l)
static

Parse the construction.

Parameters
lLua state.
Note
make this more flexible

◆ CleanConstructions()

void CleanConstructions ( )

Clean up the constructions module.

Cleanup the constructions.

◆ ConstructionByIdent()

CConstruction* ConstructionByIdent ( const std::string &  name)

Get construction by identifier.

Get construction by identifier.

Parameters
identIdentfier of the construction
Returns
Construction structure pointer

◆ ConstructionCclRegister()

void ConstructionCclRegister ( )

Register ccl features.

Register CCL features for construction.

◆ InitConstructions()

void InitConstructions ( )

Initialize the constructions module.

Initialize the constructions.

◆ LoadConstructions()

void LoadConstructions ( )

Load the graphics for constructions.

Load the graphics for the constructions.

HELPME: who make this better terrain depended and extendable HELPME: filename construction.

Variable Documentation

◆ Constructions

std::vector<CConstruction *> Constructions
static

Constructions.

(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.