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