diff options
| author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-01 16:12:13 +0200 | 
|---|---|---|
| committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-01 16:12:13 +0200 | 
| commit | f931a3e108031a5c214ac2fa8fa2d9b6207fd5ed (patch) | |
| tree | 7ca72b91685d07f24780916d02440b280eeebc30 | |
| parent | 8db2d14a7b47faf36e002efe96fafb731ec0e7c5 (diff) | |
| download | RustAndDust-f931a3e108031a5c214ac2fa8fa2d9b6207fd5ed.zip RustAndDust-f931a3e108031a5c214ac2fa8fa2d9b6207fd5ed.tar.gz | |
rework hex overheads images
| -rw-r--r-- | android/assets/images/hex.atlas | 15 | ||||
| -rw-r--r-- | android/assets/images/hex.png | bin | 15115 -> 18801 bytes | |||
| -rw-r--r-- | core/src/ch/asynk/tankontank/game/Hex.java | 7 | ||||
| -rw-r--r-- | data/hex/01_fog.png (renamed from data/hex/fog.png) | bin | 10897 -> 10897 bytes | |||
| -rw-r--r-- | data/hex/02_blue.png (renamed from data/hex/blue.png) | bin | 10935 -> 10935 bytes | |||
| -rw-r--r-- | data/hex/03_green.png (renamed from data/hex/green.png) | bin | 10895 -> 10895 bytes | |||
| -rw-r--r-- | data/hex/04_red.png (renamed from data/hex/red.png) | bin | 10931 -> 10931 bytes | |||
| -rw-r--r-- | data/hex/05_dot.png | bin | 0 -> 11330 bytes | 
8 files changed, 15 insertions, 7 deletions
| diff --git a/android/assets/images/hex.atlas b/android/assets/images/hex.atlas index 442ee78..ec0804e 100644 --- a/android/assets/images/hex.atlas +++ b/android/assets/images/hex.atlas @@ -3,31 +3,38 @@ hex.png  format: RGBA8888  filter: Nearest,Nearest  repeat: none -blue +01_fog    rotate: false    xy: 2, 2    size: 190, 217    orig: 190, 217    offset: 0, 0    index: -1 -fog +02_blue    rotate: false    xy: 194, 2    size: 190, 217    orig: 190, 217    offset: 0, 0    index: -1 -green +03_green    rotate: false    xy: 386, 2    size: 190, 217    orig: 190, 217    offset: 0, 0    index: -1 -red +04_red    rotate: false    xy: 578, 2    size: 190, 217    orig: 190, 217    offset: 0, 0    index: -1 +05_dot +  rotate: false +  xy: 770, 2 +  size: 190, 217 +  orig: 190, 217 +  offset: 0, 0 +  index: -1 diff --git a/android/assets/images/hex.png b/android/assets/images/hex.pngBinary files differ index bccd7bc..6f8a399 100644 --- a/android/assets/images/hex.png +++ b/android/assets/images/hex.png diff --git a/core/src/ch/asynk/tankontank/game/Hex.java b/core/src/ch/asynk/tankontank/game/Hex.java index 238f47a..4af663d 100644 --- a/core/src/ch/asynk/tankontank/game/Hex.java +++ b/core/src/ch/asynk/tankontank/game/Hex.java @@ -20,10 +20,11 @@ public class Hex extends Tile          TOWN      } -    public static final int FOG = 1; -    public static final int RED = 3; +    public static final int FOG = 0; +    public static final int BLUE = 1;      public static final int GREEN = 2; -    public static final int BLUE = 0; +    public static final int RED = 3; +    public static final int DOT = 4;      public Terrain terrain;      public int roads; diff --git a/data/hex/fog.png b/data/hex/01_fog.pngBinary files differ index 7d85d98..7d85d98 100644 --- a/data/hex/fog.png +++ b/data/hex/01_fog.png diff --git a/data/hex/blue.png b/data/hex/02_blue.pngBinary files differ index 12fcba8..12fcba8 100644 --- a/data/hex/blue.png +++ b/data/hex/02_blue.png diff --git a/data/hex/green.png b/data/hex/03_green.pngBinary files differ index 78b8f75..78b8f75 100644 --- a/data/hex/green.png +++ b/data/hex/03_green.png diff --git a/data/hex/red.png b/data/hex/04_red.pngBinary files differ index 1320f4a..1320f4a 100644 --- a/data/hex/red.png +++ b/data/hex/04_red.png diff --git a/data/hex/05_dot.png b/data/hex/05_dot.pngBinary files differ new file mode 100644 index 0000000..6c3a53c --- /dev/null +++ b/data/hex/05_dot.png | 
