summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2018-08-18 12:16:41 +0800
committerIru Cai <mytbk920423@gmail.com>2018-08-18 12:16:41 +0800
commitc0f7371268ddd180816e770e2ad86a54dbd1cd44 (patch)
tree059759342476d50e15443a27e7bbf0082b9db068 /docs
parente92032d224963a526efe18ec3c233a5bcaa88f42 (diff)
downloadrich4-c0f7371268ddd180816e770e2ad86a54dbd1cd44.tar.xz
more on per player struct
Diffstat (limited to 'docs')
-rw-r--r--docs/global_vars.txt52
1 files changed, 50 insertions, 2 deletions
diff --git a/docs/global_vars.txt b/docs/global_vars.txt
index 9f96424..49527e4 100644
--- a/docs/global_vars.txt
+++ b/docs/global_vars.txt
@@ -5,7 +5,55 @@
0x496b38, 0x25
0x496b60, 8
-0x496b68, 0x68*4=0x1a0
+0x496b68, 0x68*4=0x1a0: player info for 4 players
+ the first player:
+ 0x496b68, 4: pointer to player name
+ 0x496b6c, 4
+ 0x496b70, 2
+ 0x496b72, 2
+ 0x496b74, 2
+ 0x496b76, 2
+ 0x496b78, 1
+ 0x496b79, 1
+ 0x496b7a, 1
+ 0x496b7b, 1
+ 0x496b7c, 1
+ 0x496b7d, 1 (bank related)
+ 0x496b7e, 1
+ 0x496b7f, 1
+ 0x496b80, 1
+ 0x496b81, 1
+ 0x496b82, 1
+ 0x496b83, 1
+ 0x496b84, 4 (money, in bank or cash?)
+ 0x496b88, 4 (money, in bank or cash?)
+ 0x496b8c, 4 (bank related)
+ 0x496b90, 4
+ 0x496b94, 4
+ 0x496b98, 2
+ 0x496b9a, 1
+ 0x496b9b, 1
+ 0x496b9c, 1: days in prison (what does the MSB mean?)
+ 0x496b9d, 1: days in hospital (what does the MSB mean?)
+ 0x496b9e, 1
+ 0x496b9f, 1
+ 0x496ba0, 1
+ 0x496ba1, 1
+ 0x496ba2, 1: (not used?)
+ 0x496ba3, 1
+ 0x496ba4, 1: number of days bank stop making loans
+ 0x496ba5, 1
+ 0x496ba6, 1
+ 0x496ba7, 1
+ 0x496ba8, 1
+ 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)
@@ -37,7 +85,7 @@
0x499108, 4
0x49910c, 4
0x499110, 4
-0x499114, 4
+0x499114, 4: number of players?
0x499118, 4
0x49911c, 4