Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

_game_struct06a Struct Reference

the central game structure. More...

#include <zakdef.h>


Data Fields

UInt8 version [4]
UInt8 mapx
UInt8 mapy
Int8 map_xpos
Int8 map_ypos
Int32 credits
UInt32 TimeElapsed
UInt8 tax
UInt8 gameLoopSeconds
UInt8 diff_disaster
UInt8 gas_bits
Int8 cityname [20]
UInt8 upkeep [ue_tail]
UInt8 gridsToUpdate
UInt16 evaluation
stat_item statistics [st_tail]
DefenceUnit units [10]
MoveableObject objects [10]


Detailed Description

the central game structure.

This is the central game struct only one of this exists at a time and is called 'game'. This entire struct will be saved between games.

Anything with an underscore will be removed later on.

Definition at line 462 of file zakdef.h.


Field Documentation

Int8 _game_struct06a::cityname[20]
 

Name of city

Definition at line 475 of file zakdef.h.

Referenced by BeamReceive(), BeamSend(), FindGameByName(), and RenameCity().

Int32 _game_struct06a::credits
 

amount of money we've got.

Definition at line 468 of file zakdef.h.

UInt8 _game_struct06a::diff_disaster
 

merge of difficulty and disaster

Definition at line 472 of file zakdef.h.

UInt16 _game_struct06a::evaluation
 

Evaluation level of the mayor

Definition at line 479 of file zakdef.h.

UInt8 _game_struct06a::gameLoopSeconds
 

speed of game

Definition at line 471 of file zakdef.h.

UInt8 _game_struct06a::gas_bits
 

auto-bulldozing, visible minimap, detailed minimap

Definition at line 474 of file zakdef.h.

UInt8 _game_struct06a::gridsToUpdate
 

Grids to be updated on next grid cycle

Definition at line 477 of file zakdef.h.

Int8 _game_struct06a::map_xpos
 

X-position on screen that's visible

Definition at line 466 of file zakdef.h.

Int8 _game_struct06a::map_ypos
 

Y-position on screen that's visible

Definition at line 467 of file zakdef.h.

UInt8 _game_struct06a::mapx
 

size of map on the X-axis

Definition at line 464 of file zakdef.h.

Referenced by ReadCityRecord(), save_filename(), savegame_getcity(), savegame_setcity(), and WriteCityRecord().

UInt8 _game_struct06a::mapy
 

size of the map on the Y-axis

Definition at line 465 of file zakdef.h.

Referenced by ReadCityRecord(), save_filename(), savegame_getcity(), savegame_setcity(), and WriteCityRecord().

MoveableObject _game_struct06a::objects[ 10 ]
 

active objects

Definition at line 483 of file zakdef.h.

stat_item _game_struct06a::statistics[st_tail]
 

statistics

Definition at line 481 of file zakdef.h.

UInt8 _game_struct06a::tax
 

tax rate

Definition at line 470 of file zakdef.h.

UInt32 _game_struct06a::TimeElapsed
 

number of half-months since 00

Definition at line 469 of file zakdef.h.

DefenceUnit _game_struct06a::units[ 10 ]
 

active units

Definition at line 482 of file zakdef.h.

UInt8 _game_struct06a::upkeep[ue_tail]
 

upkeep ages for bits

Definition at line 476 of file zakdef.h.

UInt8 _game_struct06a::version[4]
 

version of game

Definition at line 463 of file zakdef.h.

Referenced by BeamReceive().


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