____                _       __
    / __ )____  _____   | |     / /___ ___________
   / __  / __ \/ ___/   | | /| / / __ `/ ___/ ___/
  / /_/ / /_/ (__  )    | |/ |/ / /_/ / /  (__  )
 /_____/\____/____/     |__/|__/\__,_/_/  /____/

       A futuristic real-time strategy game.
          This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project. Distributed under the "GNU General Public License"

construct.h File Reference

The constructions headerfile. More...

Go to the source code of this file.

Classes

class  CConstructionFrame
class  CConstruction

Enumerations

enum  ConstructionFileType { ConstructionFileConstruction, ConstructionFileMain }

Functions

void InitConstructions (void)
 < Initialize the constructions module
void LoadConstructions (void)
 Clean up the constructions module.
void CleanConstructions (void)
 Get construction by identifier.
CConstructionConstructionByIdent (const std::string &ident)
 Register ccl features.
void ConstructionCclRegister (void)


Detailed Description

The constructions headerfile.

Definition in file construct.h.


Enumeration Type Documentation

Enumerator:
ConstructionFileConstruction 
ConstructionFileMain 

Definition at line 98 of file construct.h.


Function Documentation

void CleanConstructions ( void   ) 

Get construction by identifier.

Cleanup the constructions.

Definition at line 101 of file construct.cpp.

References Constructions, CGraphic::Free(), and CConstructionFrame::Next.

Referenced by CleanModules().

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

Register ccl features.

Get construction by identifier.

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

Definition at line 131 of file construct.cpp.

References _C_, Constructions, and DebugPrint.

Referenced by CclDefineUnitType().

void ConstructionCclRegister ( void   ) 

Register CCL features for construction.

Definition at line 295 of file construct.cpp.

References CclDefineConstruction(), and Lua.

Referenced by InitCcl().

void InitConstructions ( void   ) 

< Initialize the constructions module

Load the graphics for constructions

Initialize the constructions.

Definition at line 61 of file construct.cpp.

Referenced by CreateGame(), and InitModules().

void LoadConstructions ( void   ) 

Clean up the constructions module.

Load the graphics for the constructions.

Definition at line 68 of file construct.cpp.

References Constructions, CGraphic::ForceNew(), CPlayerColorGraphic::New(), and ShowLoadProgress().

Referenced by CreateGame(), and LoadModules().


Generated on Sat Feb 21 00:28:16 2009 for Bos Wars by  doxygen 1.5.6