|
@@ -15,22 +15,24 @@
|
|
|
#include "strings_type.h"
|
|
|
#include "cargo_type.h"
|
|
|
#include "economy_type.h"
|
|
|
#include "date_type.h"
|
|
|
#include "house_type.h"
|
|
|
|
|
|
/** Simple value that indicates the house has reached the final stage of
|
|
|
/**
|
|
|
* Simple value that indicates the house has reached the final stage of
|
|
|
* construction. */
|
|
|
static const byte TOWN_HOUSE_COMPLETED = 3;
|
|
|
|
|
|
static const uint HOUSE_NO_CLASS = 0;
|
|
|
static const HouseID NEW_HOUSE_OFFSET = 110;
|
|
|
static const HouseID HOUSE_MAX = 512;
|
|
|
static const HouseID INVALID_HOUSE_ID = 0xFFFF;
|
|
|
|
|
|
/** There can only be as many classes as there are new houses, plus one for
|
|
|
/**
|
|
|
* There can only be as many classes as there are new houses, plus one for
|
|
|
* NO_CLASS, as the original houses don't have classes. */
|
|
|
static const uint HOUSE_CLASS_MAX = HOUSE_MAX - NEW_HOUSE_OFFSET + 1;
|
|
|
|
|
|
enum BuildingFlags {
|
|
|
TILE_NO_FLAG = 0,
|
|
|
TILE_SIZE_1x1 = 1U << 0,
|