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

src/stratagus/construct.cpp File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "stratagus.h"
#include "video.h"
#include "tileset.h"
#include "map.h"
#include "construct.h"
#include "script.h"

construct.cpp - The constructions.

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

Function Documentation

static int CclDefineConstruction ( lua_State *  l  )  [static]

Parse the construction.

Parameters:
l Lua state.
Note:
make this more flexible

void CleanConstructions (  ) 

Clean up the constructions module.

Cleanup the constructions.

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

Get construction by identifier.

Get construction by identifier.

Parameters:
ident Identfier of the construction
Returns:
Construction structure pointer

void ConstructionCclRegister (  ) 

Register ccl features.

Register CCL features for construction.

void InitConstructions (  ) 

Initialize the constructions module.

Initialize the constructions.

void LoadConstructions (  ) 

Load the graphics for constructions.

Load the graphics for the constructions.

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


Variable Documentation

std::vector<CConstruction *> Constructions [static]

Constructions.

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