summaryrefslogtreecommitdiff
path: root/csrc/land.h
blob: 215a414e18b2448f44d28aba83958030b6813f0e (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
struct housing_land
{
	int16_t x, y;
	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 flast; // 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 */