|
|
1.1 root 1: * Notes:
2: do tile animation in parallel - tileSynch
3: maps on demand
4:
5: * Initialize at start of game:
6:
7: short mickStartingYear;
8: extern char *cityName;
9: extern char *CityFileName;
10: extern short GameLevel;
11:
12: * Share data:
13:
14: ** global
15: long CityTime;
16: short *Map[WORLD_X];
17: ** editor window
18: short Oframe[OBJN];
19: short GlobalX[OBJN];
20: short GlobalY[OBJN];
21: long totalFunds;
22: short RValve, CValve, IValve;
23: ** map window
24: short *PowerMap;
25: Byte *PopDensity[HWLDX]; /* 2X2 Maps 60 x 50 */
26: Byte *TrfDensity[HWLDX];
27: Byte *PollutionMem[HWLDX];
28: Byte *LandValueMem[HWLDX];
29: Byte *CrimeMem[HWLDX];
30: short RateOGMem[SmX][SmY];
31: short PoliceMapEffect[SmX][SmY];
32: short FireRate[SmX][SmY];
33: ** graph window
34: short ResHisMax, Res2HisMax;
35: short ComHisMax, Com2HisMax;
36: short IndHisMax, Ind2HisMax;
37: short *ResHis;
38: short *ComHis;
39: short *IndHis;
40: short *MoneyHis;
41: short *PollutionHis;
42: short *CrimeHis;
43: short *MiscHis;
44: short Graph10Max, Graph120Max;
45: short Res2HisMax, Com2HisMax, Ind2HisMax;
46: ** evaluation window
47: ** budget window
48: short CityTax;
49: long RoadSpend, PoliceSpend, FireSpend;
50: long RoadFund, PoliceFund, FireFund;
51: float roadPercent, policePercent, firePercent;
52: long roadMaxValue, policeMaxValue, fireMaxValue;
53: long TaxFund, RoadFund, PoliceFund, FireFund;
54:
55:
56: * Messages
57: censusChanged
58: message(msg, x, y)
59: earthquake
60: newMap
61:
62: formalize all global variable setter functions, to go through tcl
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.