iso-engine towns aboveground/underground

This commit is contained in:
2022-06-18 18:13:31 +00:00
parent daf527735e
commit 6700c27157
5 changed files with 5 additions and 1 deletions

View File

@@ -219,6 +219,7 @@ class CreatureData {
return default_courage / 100.0; return default_courage / 100.0;
} }
public var which_sheet = 0; public var which_sheet = 0;
// TODO implement icon adjustments
public var icon_adjust = 0; public var icon_adjust = 0;
private var small_or_large_template = 0; private var small_or_large_template = 0;
public var which_sheet_upper = -1; public var which_sheet_upper = -1;

View File

@@ -46,6 +46,7 @@ class FloorData {
public var name:String = ""; public var name:String = "";
public var which_sheet:Int = 0; public var which_sheet:Int = 0;
public var which_icon:Int = 0; public var which_icon:Int = 0;
// TODO implement icon adjustments
public var icon_adjust:Int = 0; public var icon_adjust:Int = 0;
public var ed_which_sheet:Int = 0; public var ed_which_sheet:Int = 0;
public var ed_which_icon:Int = 0; public var ed_which_icon:Int = 0;

View File

@@ -61,6 +61,7 @@ class ItemData {
public var encumbrance = 0; public var encumbrance = 0;
public var floor_which_sheet = 0; public var floor_which_sheet = 0;
public var floor_which_icon = 0; public var floor_which_icon = 0;
// TODO implement icon adjustments
public var icon_adjust = 0; public var icon_adjust = 0;
public var inventory_icon = 0; public var inventory_icon = 0;
private var ability_1 = -1; private var ability_1 = -1;

View File

@@ -85,6 +85,7 @@ class TerrainData {
public var stamp_icon:Int = -1; public var stamp_icon:Int = -1;
public var stamp_icon_offset_x:Int = 0; public var stamp_icon_offset_x:Int = 0;
public var stamp_icon_offset_y:Int = 0; public var stamp_icon_offset_y:Int = 0;
// TODO implement icon adjustments
public var icon_adjust:Int = 0; public var icon_adjust:Int = 0;
public var ed_which_sheet:Int = 0; public var ed_which_sheet:Int = 0;
public var ed_which_icon:Int = 0; public var ed_which_icon:Int = 0;

View File

@@ -8,7 +8,7 @@ typedef TownDetails = {
}; };
enum MapType { enum MapType {
Town(details:TownDetails); Town(underground:Bool, details:TownDetails);
Outdoors(underground:Bool); Outdoors(underground:Bool);
} }