94 sizeof(
unsigned short) *
99 mopBase = (
unsigned short *)
newPtr(
100 sizeof(
unsigned short) *
104 for (i = 0; i <
WORLD_W; i++) {
106 mop[i] = (
unsigned short *)(mopBase + (i *
WORLD_H));
123 printf(
"destroyMapArrays: mapBase: %p\n",
mapBase);
130 if (mopBase != NULL) {
136 memset(mop, 0,
sizeof(
short *) *
WORLD_W);
MapByte2 crimeRateMap
Crime rate map.
MapByte4 terrainDensityMap
unsigned short * map[WORLD_W]
MapByte2 pollutionDensityMap
Pollution density map.
MapByte2 trafficDensityMap
Traffic density map.
MapByte2 populationDensityMap
Population density map.
MapByte2 landValueMap
Land value map.
Header file for Micropolis game engine.
static const int HISTORY_LENGTH
static const int MISC_HISTORY_LENGTH