Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

_bldStruct Struct Reference

array mapping build requests to reactions. More...


Data Fields

BuildCode bt
BuildF func
welem_t type
UInt8 gridsToUpdate


Detailed Description

array mapping build requests to reactions.

This structure is used to map the BuildCode to an appropriate function to perform the building as well as some extra events to happen as a consequence of the item being built.

Definition at line 57 of file build.c.


Field Documentation

BuildCode _bldStruct::bt
 

The code of the item to be built.

Definition at line 58 of file build.c.

Referenced by BuildSomething().

BuildF _bldStruct::func
 

Function to call.

Definition at line 59 of file build.c.

Referenced by BuildSomething().

UInt8 _bldStruct::gridsToUpdate
 

Grids to update as a result of adding the item to the simulation

Definition at line 61 of file build.c.

Referenced by BuildSomething().

welem_t _bldStruct::type
 

Type of the item (for buildcounts)

Definition at line 60 of file build.c.

Referenced by BuildSomething().


The documentation for this struct was generated from the following file:
Generated on Mon Aug 30 19:44:18 2004 for pocketcity by doxygen1.2.18