diff --git a/core/src/main/assets/tiles_caves.png b/core/src/main/assets/tiles_caves.png index 740fcbc05..ff8c835f8 100644 Binary files a/core/src/main/assets/tiles_caves.png and b/core/src/main/assets/tiles_caves.png differ diff --git a/core/src/main/assets/tiles_city.png b/core/src/main/assets/tiles_city.png index 5e1dfb458..f37660687 100644 Binary files a/core/src/main/assets/tiles_city.png and b/core/src/main/assets/tiles_city.png differ diff --git a/core/src/main/assets/tiles_halls.png b/core/src/main/assets/tiles_halls.png index a0309aeb1..3f4dfc51e 100644 Binary files a/core/src/main/assets/tiles_halls.png and b/core/src/main/assets/tiles_halls.png differ diff --git a/core/src/main/assets/tiles_prison.png b/core/src/main/assets/tiles_prison.png index 996f82cb1..5548cdc92 100644 Binary files a/core/src/main/assets/tiles_prison.png and b/core/src/main/assets/tiles_prison.png differ diff --git a/core/src/main/assets/tiles_sewers.png b/core/src/main/assets/tiles_sewers.png index bafab2e19..5a916b4be 100644 Binary files a/core/src/main/assets/tiles_sewers.png and b/core/src/main/assets/tiles_sewers.png differ diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/tiles/DungeonTileSheet.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/tiles/DungeonTileSheet.java index fb88e0647..dfa5bbb31 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/tiles/DungeonTileSheet.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/tiles/DungeonTileSheet.java @@ -259,15 +259,17 @@ public class DungeonTileSheet { //+1 for open to the down-right, +2 for open to the down-left private static final int WALLS_OVERHANG = xy(1, 14); //32 slots - public static final int WALL_OVERHANG = WALLS_OVERHANG+0; - public static final int DOOR_SIDEWAYS_OVERHANG = WALLS_OVERHANG+4; - public static final int DOOR_SIDEWAYS_OVERHANG_OPEN = WALLS_OVERHANG+8; - public static final int WALL_OVERHANG_WOODEN = WALLS_OVERHANG+12; + public static final int WALL_OVERHANG = WALLS_OVERHANG+0; + public static final int DOOR_SIDEWAYS_OVERHANG = WALLS_OVERHANG+4; + public static final int DOOR_SIDEWAYS_OVERHANG_OPEN = WALLS_OVERHANG+8; + public static final int DOOR_SIDEWAYS_OVERHANG_LOCKED = WALLS_OVERHANG+12; + public static final int WALL_OVERHANG_WOODEN = WALLS_OVERHANG+16; public static int stitchWallOverhangTile(int tile, int rightBelow, int below, int leftBelow){ int visual; - if (tile == Terrain.DOOR || tile == Terrain.LOCKED_DOOR) visual = DOOR_SIDEWAYS_OVERHANG; + if (tile == Terrain.DOOR) visual = DOOR_SIDEWAYS_OVERHANG; else if (tile == Terrain.OPEN_DOOR) visual = DOOR_SIDEWAYS_OVERHANG_OPEN; + else if (tile == Terrain.LOCKED_DOOR) visual = DOOR_SIDEWAYS_OVERHANG_LOCKED; else if (below == Terrain.BOOKSHELF) visual = WALL_OVERHANG_WOODEN; else visual = WALL_OVERHANG; @@ -278,12 +280,12 @@ public class DungeonTileSheet { } //no attachment to adjacent walls - public static final int DOOR_OVERHANG = WALL_OVERHANG+16; - public static final int DOOR_OVERHANG_OPEN = WALL_OVERHANG+17; - public static final int DOOR_SIDEWAYS = WALL_OVERHANG+18; - public static final int DOOR_SIDEWAYS_LOCKED = WALL_OVERHANG+19; + public static final int DOOR_OVERHANG = WALL_OVERHANG+21; + public static final int DOOR_OVERHANG_OPEN = WALL_OVERHANG+22; + public static final int DOOR_SIDEWAYS = WALL_OVERHANG+23; + public static final int DOOR_SIDEWAYS_LOCKED = WALL_OVERHANG+24; - public static final int BARRICADE_OVERHANG = WALL_OVERHANG+21; + public static final int BARRICADE_OVERHANG = WALL_OVERHANG+26; /********************************************************************** * Logic for the selection of tile visuals