diff options
author | Iru Cai <mytbk920423@gmail.com> | 2018-10-14 22:03:42 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2018-10-14 22:03:42 +0800 |
commit | 5a7d5a47724809a97b493a747927f04534f57499 (patch) | |
tree | 29208b3cb4d2b37443c8cf181ba835522520d7f8 /csrc | |
parent | b2bf95e508bd3304fcec8522c5f6be6f59e254ac (diff) | |
download | rich4-5a7d5a47724809a97b493a747927f04534f57499.tar.xz |
land.h: struct for each land
Diffstat (limited to 'csrc')
-rw-r--r-- | csrc/land.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/csrc/land.h b/csrc/land.h new file mode 100644 index 0000000..ce59491 --- /dev/null +++ b/csrc/land.h @@ -0,0 +1,23 @@ +struct housing_land +{ + char name[]; // 0x04 + uint8_t price_status; // 0x17 + uint8_t type; // 0x18: chained store or house + uint8_t owner; // 0x19 + uint8_t level; // 0x1a + uint16_t land_price; // 0x1c + uint16_t house_price; // 0x1e + uint32_t _; // 0x30 +}; /* size is 0x34=52 */ + +struct business_land +{ + char name[]; // 0x04 + uint8_t type; // 0x18 + uint8_t owner; // 0x19 + uint8_t level; // 0x1a + uint8_t price_status; // 0x1c + uint16_t land_price; // 0x22 + uint16_t house_price; // 0x24 + uint32_t _; // 0x34 +}; /* size is 0x38=56 */ |