summaryrefslogtreecommitdiff
path: root/docs/global_vars.txt
blob: e6a9a3806a8f296ec1afbdf78f542225548e37a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
0x4967e0, 0xc*0x1c=0x150

0x496980, 0x24*12=0x1b0
0x496b30, 8
0x496b38, 0x25

0x496b60, 8
0x496b68, 0x68*4=0x1a0: player info for 4 players
  the first player:
  0x496b68, 4: pointer to player name /* 0x00 */
  0x496b6c, 4
  0x496b70, 2
  0x496b72, 2
  0x496b74, 2
  0x496b76, 2
  0x496b78, 1 /* 0x10 */
  0x496b79, 1: 0: on foot, 1: moto, 2: car
  0x496b7a, 1: number of dices
  0x496b7b, 1: character (see characters.txt)
  0x496b7c, 1
  0x496b7d, 1 (bank related)
  0x496b7e, 1
  0x496b7f, 1
  0x496b80, 1
  0x496b81, 1
  0x496b82, 1
  0x496b83, 1
  0x496b84, 4: cash
  0x496b88, 4: money, in bank (+ special financing) /* 0x20 */
  0x496b8c, 4: loan
  0x496b90, 4: special financing
  0x496b94, 4
  0x496b98, 2: points (uint16_t) /* 0x30 */
  0x496b9a, 1: days in hotel (lowest 7 bits, same as the next fields)
  0x496b9b, 1: days disappearing (MSB: about to appear again)
  0x496b9c, 1: days in prison (what does the MSB mean?)
  0x496b9d, 1: days in hospital (what does the MSB mean?)
  0x496b9e, 1: days in winter sleep
  0x496b9f, 1: days dream walking
  0x496ba0, 1: days stopping /* 0x38 */
  0x496ba1, 1: days tortoise walking
  0x496ba2, 1: (not used?)
  0x496ba3, 1: number of days rejected by bank
  0x496ba4, 1: number of days bank stop making loans
  0x496ba5, 1
  0x496ba6, 1: days of assurance (uint8_t)
  0x496ba7, 1: god information (cannot find what the bits mean yet)
  0x496ba8, 1 /* 0x40 */
  0x496ba9, 1
  0x496baa, 1
  0x496bab, 1: not used
  0x496bac, 2
  0x496bae, 2
  0x496bb0, 2
  0x496bb2, 2
  0x496bb4, 4 (dword array?)
0x496d08, 0x18*0x2e=0x450
0x497158, 0x48: global rich4 config
  0x497160: 4 byte date (day, month, year)
0x4971a0, 8*0x30=0x180
0x497320, 8
0x497328, 4*0x6c0=0x1b00
0x498e28, 0x10*5

0x498e94, 4

0x499078, 4
0x49907c, 4
0x499080, 4
0x499084, 4
0x499088, 4
0x49908c, 4
0x499090, 0x24
0x4990b4, 4
0x4990b8, 0x24
0x4990dc, 4: number of days the stock market rests
0x4990e0, 4
0x4990e4, 4
0x4990e8, 4: price index
0x4990ec, 4
0x4990f0, 4
0x4990f4, 0xc
0x499100, 4
0x499104, 4
0x499108, 4
0x49910c, 4
0x499110, 4
0x499114, 4: number of players, including bankrupt players
0x499118, 4
0x49911c, 4

0x499120, 0x3c
0x49915c, 0x3c
0x144198, 0x1e

0x4991b6, 2
0x4991b8, 2