summaryrefslogtreecommitdiff
path: root/csrc/land.h
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2018-10-15 00:09:29 +0800
committerIru Cai <mytbk920423@gmail.com>2018-10-15 00:09:29 +0800
commit1588fd235e1e21ca3bea8e83b77cb00a1e0d1b82 (patch)
tree674885b4fa8a5bb4a22633220ec97e119684a19b /csrc/land.h
parent5a7d5a47724809a97b493a747927f04534f57499 (diff)
downloadrich4-1588fd235e1e21ca3bea8e83b77cb00a1e0d1b82.tar.xz
add fortune remove_a_land, rewrite using struct housing_land
Diffstat (limited to 'csrc/land.h')
-rw-r--r--csrc/land.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/csrc/land.h b/csrc/land.h
index ce59491..215a414 100644
--- a/csrc/land.h
+++ b/csrc/land.h
@@ -1,5 +1,6 @@
struct housing_land
{
+ int16_t x, y;
char name[]; // 0x04
uint8_t price_status; // 0x17
uint8_t type; // 0x18: chained store or house
@@ -7,7 +8,7 @@ struct housing_land
uint8_t level; // 0x1a
uint16_t land_price; // 0x1c
uint16_t house_price; // 0x1e
- uint32_t _; // 0x30
+ uint32_t flast; // 0x30
}; /* size is 0x34=52 */
struct business_land