diff options
author | Iru Cai <mytbk920423@gmail.com> | 2018-09-02 15:28:12 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2018-09-02 15:29:04 +0800 |
commit | d8cf18ab9da32d55c28c1aead56fae78554f94fe (patch) | |
tree | 0c0675c9469bb3c08bab2f344f01c524e06b0133 | |
parent | 75fe6d5964ded57fd5adb678bfebc027ac2bcaf6 (diff) | |
download | rich4-d8cf18ab9da32d55c28c1aead56fae78554f94fe.tar.xz |
init_cash_ratio
-rw-r--r-- | csrc/player_info.h | 4 | ||||
-rw-r--r-- | csrc/players.c | 24 |
2 files changed, 14 insertions, 14 deletions
diff --git a/csrc/player_info.h b/csrc/player_info.h index 2094229..f842212 100644 --- a/csrc/player_info.h +++ b/csrc/player_info.h @@ -18,7 +18,7 @@ typedef struct uint8_t f22; uint8_t f23; uint8_t f24; - uint8_t f25; + uint8_t init_cash_ratio; uint8_t f26; uint8_t f27; int32_t cash; @@ -53,7 +53,7 @@ typedef struct uint16_t f72; uint16_t f74; uint32_t f76[6]; - uint8_t f100; + uint8_t f100; /* 0x496bcc */ uint8_t f101; uint8_t f102; uint8_t f103; diff --git a/csrc/players.c b/csrc/players.c index d9afc7d..d2e3779 100644 --- a/csrc/players.c +++ b/csrc/players.c @@ -16,7 +16,7 @@ player_info rich4_players[12] = { .f22 = 3, .f23 = 2, .f24 = 60, - .f25 = 50, + .init_cash_ratio = 50, .f26 = 30, }, { @@ -29,7 +29,7 @@ player_info rich4_players[12] = { .f22 = 3, .f23 = 1, .f24 = 100, - .f25 = 40, + .init_cash_ratio = 40, .f26 = 45, }, { @@ -42,7 +42,7 @@ player_info rich4_players[12] = { .f22 = 3, .f23 = 2, .f24 = 0, - .f25 = 70, + .init_cash_ratio = 70, .f26 = 0, }, { @@ -55,7 +55,7 @@ player_info rich4_players[12] = { .f22 = 3, .f23 = 2, .f24 = 100, - .f25 = 60, + .init_cash_ratio = 60, .f26 = 30, }, { @@ -68,7 +68,7 @@ player_info rich4_players[12] = { .f22 = 3, .f23 = 1, .f24 = 50, - .f25 = 40, + .init_cash_ratio = 40, .f26 = 25, }, { @@ -81,7 +81,7 @@ player_info rich4_players[12] = { .f22 = 3, .f23 = 1, .f24 = 75, - .f25 = 70, + .init_cash_ratio = 70, .f26 = 30, }, { @@ -94,7 +94,7 @@ player_info rich4_players[12] = { .f22 = 3, .f23 = 1, .f24 = 100, - .f25 = 50, + .init_cash_ratio = 50, .f26 = 20, }, { @@ -107,7 +107,7 @@ player_info rich4_players[12] = { .f22 = 3, .f23 = 0, .f24 = 0, - .f25 = 40, + .init_cash_ratio = 40, .f26 = 35, }, { @@ -120,7 +120,7 @@ player_info rich4_players[12] = { .f22 = 3, .f23 = 0, .f24 = 0, - .f25 = 60, + .init_cash_ratio = 60, .f26 = 20, }, { @@ -133,7 +133,7 @@ player_info rich4_players[12] = { .f22 = 3, .f23 = 0, .f24 = 50, - .f25 = 50, + .init_cash_ratio = 50, .f26 = 0, }, { @@ -146,7 +146,7 @@ player_info rich4_players[12] = { .f22 = 3, .f23 = 1, .f24 = 30, - .f25 = 55, + .init_cash_ratio = 55, .f26 = 15, }, { @@ -159,7 +159,7 @@ player_info rich4_players[12] = { .f22 = 3, .f23 = 2, .f24 = 80, - .f25 = 80, + .init_cash_ratio = 80, .f26 = 0, } }; |