summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-10-04 18:54:17 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-10-04 18:54:17 +0200
commit1b93697fe08dcd863a10186c04e350c6e285e27f (patch)
tree872a93d1c92e520ce280724566c0bd27e20cc3ce
parenta8ac789fbc6efde89e99ba2fbcb7546af4ca1c19 (diff)
downloadRustAndDust-1b93697fe08dcd863a10186c04e350c6e285e27f.zip
RustAndDust-1b93697fe08dcd863a10186c04e350c6e285e27f.tar.gz
regroup all images in 1 atlas data/assets.*
-rw-r--r--android/assets/data/assets.atlas (renamed from android/assets/data/pawns.atlas)72
-rw-r--r--android/assets/data/assets.pngbin0 -> 999913 bytes
-rw-r--r--android/assets/data/pawns.pngbin970713 -> 0 bytes
-rw-r--r--build.gradle2
-rw-r--r--core/src/ch/asynk/tankontank/TankOnTank.java4
-rw-r--r--core/src/ch/asynk/tankontank/game/GameFactory.java2
-rw-r--r--data/assets/01_fog.png (renamed from data/pawns/01_fog.png)bin10897 -> 10897 bytes
-rw-r--r--data/assets/02_blue.png (renamed from data/pawns/02_blue.png)bin10935 -> 10935 bytes
-rw-r--r--data/assets/03_green.png (renamed from data/pawns/03_green.png)bin10895 -> 10895 bytes
-rw-r--r--data/assets/04_red.png (renamed from data/pawns/04_red.png)bin10931 -> 10931 bytes
-rw-r--r--data/assets/05_move.png (renamed from data/pawns/05_move.png)bin11005 -> 11005 bytes
-rw-r--r--data/assets/06_rose.png (renamed from data/pawns/06_rose.png)bin18135 -> 18135 bytes
-rw-r--r--data/assets/ace.png (renamed from data/pawns/ace.png)bin17386 -> 17386 bytes
-rw-r--r--data/assets/act-cancel-on.pngbin0 -> 4098 bytes
-rw-r--r--data/assets/act-cancel.pngbin0 -> 5404 bytes
-rw-r--r--data/assets/act-move-on.pngbin0 -> 3396 bytes
-rw-r--r--data/assets/act-move.pngbin0 -> 3432 bytes
-rw-r--r--data/assets/act-rotate-on.pngbin0 -> 446 bytes
-rw-r--r--data/assets/act-rotate.pngbin0 -> 929 bytes
-rw-r--r--data/assets/act-target-on.pngbin0 -> 488 bytes
-rw-r--r--data/assets/act-target.pngbin0 -> 876 bytes
-rw-r--r--data/assets/ap1.png (renamed from data/pawns/ap1.png)bin20533 -> 20533 bytes
-rw-r--r--data/assets/ap2.png (renamed from data/pawns/ap2.png)bin22626 -> 22626 bytes
-rw-r--r--data/assets/ap3.png (renamed from data/pawns/ap3.png)bin22565 -> 22565 bytes
-rw-r--r--data/assets/ap4.png (renamed from data/pawns/ap4.png)bin22101 -> 22101 bytes
-rw-r--r--data/assets/ap_spent.png (renamed from data/pawns/ap_spent.png)bin24185 -> 24185 bytes
-rw-r--r--data/assets/back.png (renamed from data/pawns/back.png)bin17872 -> 17872 bytes
-rw-r--r--data/assets/disabled.png (renamed from data/pawns/disabled.png)bin367 -> 367 bytes
-rw-r--r--data/assets/ge-at-gun.png (renamed from data/pawns/ge-at-gun.png)bin24241 -> 24241 bytes
-rw-r--r--data/assets/ge-flag.pngbin0 -> 2428 bytes
-rw-r--r--data/assets/ge-infantry.png (renamed from data/pawns/ge-infantry.png)bin24975 -> 24975 bytes
-rw-r--r--data/assets/ge-kingtiger.png (renamed from data/pawns/ge-kingtiger.png)bin21611 -> 21611 bytes
-rw-r--r--data/assets/ge-panzer-iv-hq.png (renamed from data/pawns/ge-panzer-iv-hq.png)bin24495 -> 24495 bytes
-rw-r--r--data/assets/ge-panzer-iv.png (renamed from data/pawns/ge-panzer-iv.png)bin23997 -> 23997 bytes
-rw-r--r--data/assets/ge-tiger.png (renamed from data/pawns/ge-tiger.png)bin22277 -> 22277 bytes
-rw-r--r--data/assets/ge-wespe.png (renamed from data/pawns/ge-wespe.png)bin23084 -> 23084 bytes
-rw-r--r--data/assets/head.png (renamed from data/pawns/head.png)bin37904 -> 37904 bytes
-rw-r--r--data/assets/turn_back.png (renamed from data/pawns/turn_back.png)bin18221 -> 18221 bytes
-rw-r--r--data/assets/turn_front.png (renamed from data/pawns/turn_front.png)bin17210 -> 17210 bytes
-rw-r--r--data/assets/us-at-gun.png (renamed from data/pawns/us-at-gun.png)bin24693 -> 24693 bytes
-rw-r--r--data/assets/us-flag.pngbin0 -> 5076 bytes
-rw-r--r--data/assets/us-infantry.png (renamed from data/pawns/us-infantry.png)bin26139 -> 26139 bytes
-rw-r--r--data/assets/us-pershing-hq.png (renamed from data/pawns/us-pershing-hq.png)bin24763 -> 24763 bytes
-rw-r--r--data/assets/us-pershing.png (renamed from data/pawns/us-pershing.png)bin29109 -> 29109 bytes
-rw-r--r--data/assets/us-priest.png (renamed from data/pawns/us-priest.png)bin24587 -> 24587 bytes
-rw-r--r--data/assets/us-sherman-head.png (renamed from data/pawns/us-sherman-head.png)bin24591 -> 24591 bytes
-rw-r--r--data/assets/us-sherman-hq.png (renamed from data/pawns/us-sherman-hq.png)bin25383 -> 25383 bytes
-rw-r--r--data/assets/us-sherman.png (renamed from data/pawns/us-sherman.png)bin4044 -> 4044 bytes
-rw-r--r--data/assets/us-wolverine.png (renamed from data/pawns/us-wolverine.png)bin25188 -> 25188 bytes
49 files changed, 75 insertions, 5 deletions
diff --git a/android/assets/data/pawns.atlas b/android/assets/data/assets.atlas
index 465dc19..5da3b9c 100644
--- a/android/assets/data/pawns.atlas
+++ b/android/assets/data/assets.atlas
@@ -1,5 +1,5 @@
-pawns.png
+assets.png
format: RGBA8888
filter: Nearest,Nearest
repeat: none
@@ -52,6 +52,62 @@ ace
orig: 124, 124
offset: 0, 0
index: -1
+act-cancel
+ rotate: false
+ xy: 962, 699
+ size: 60, 60
+ orig: 60, 60
+ offset: 0, 0
+ index: -1
+act-cancel-on
+ rotate: false
+ xy: 962, 761
+ size: 60, 60
+ orig: 60, 60
+ offset: 0, 0
+ index: -1
+act-move
+ rotate: false
+ xy: 698, 657
+ size: 60, 60
+ orig: 60, 60
+ offset: 0, 0
+ index: -1
+act-move-on
+ rotate: false
+ xy: 962, 637
+ size: 60, 60
+ orig: 60, 60
+ offset: 0, 0
+ index: -1
+act-rotate
+ rotate: false
+ xy: 698, 595
+ size: 60, 60
+ orig: 60, 60
+ offset: 0, 0
+ index: -1
+act-rotate-on
+ rotate: false
+ xy: 104, 39
+ size: 60, 60
+ orig: 60, 60
+ offset: 0, 0
+ index: -1
+act-target
+ rotate: false
+ xy: 698, 471
+ size: 60, 60
+ orig: 60, 60
+ offset: 0, 0
+ index: -1
+act-target-on
+ rotate: false
+ xy: 698, 533
+ size: 60, 60
+ orig: 60, 60
+ offset: 0, 0
+ index: -1
ap1
rotate: false
xy: 194, 506
@@ -108,6 +164,13 @@ ge-at-gun
orig: 124, 124
offset: 0, 0
index: -1
+ge-flag
+ rotate: false
+ xy: 2, 39
+ size: 100, 60
+ orig: 100, 60
+ offset: 0, 0
+ index: -1
ge-infantry
rotate: false
xy: 446, 529
@@ -178,6 +241,13 @@ us-at-gun
orig: 124, 124
offset: 0, 0
index: -1
+us-flag
+ rotate: false
+ xy: 698, 719
+ size: 100, 60
+ orig: 100, 60
+ offset: 0, 0
+ index: -1
us-infantry
rotate: false
xy: 572, 277
diff --git a/android/assets/data/assets.png b/android/assets/data/assets.png
new file mode 100644
index 0000000..aef8022
--- /dev/null
+++ b/android/assets/data/assets.png
Binary files differ
diff --git a/android/assets/data/pawns.png b/android/assets/data/pawns.png
deleted file mode 100644
index 5accec8..0000000
--- a/android/assets/data/pawns.png
+++ /dev/null
Binary files differ
diff --git a/build.gradle b/build.gradle
index d59cbc7..80edebd 100644
--- a/build.gradle
+++ b/build.gradle
@@ -38,7 +38,7 @@ allprojects {
resourcesInputPath 'data'
atlasesOutputPath 'android/assets/data/'
atlases {
- add 'pawns'
+ add 'assets'
}
}
}
diff --git a/core/src/ch/asynk/tankontank/TankOnTank.java b/core/src/ch/asynk/tankontank/TankOnTank.java
index a9933bb..3ab9c74 100644
--- a/core/src/ch/asynk/tankontank/TankOnTank.java
+++ b/core/src/ch/asynk/tankontank/TankOnTank.java
@@ -32,7 +32,7 @@ public class TankOnTank extends Game
Gdx.app.debug("TankOnTank", " load assets : " + (Gdx.app.getJavaHeap()/1024.0f) + "KB");
manager.load("data/map_a.png", Texture.class);
manager.load("data/map_b.png", Texture.class);
- manager.load("data/pawns.atlas", TextureAtlas.class);
+ manager.load("data/assets.atlas", TextureAtlas.class);
}
public void unloadAssets()
@@ -41,7 +41,7 @@ public class TankOnTank extends Game
Gdx.app.debug("TankOnTank", "diagnostics:\n" + manager.getDiagnostics() );
manager.unload("data/map_a.png");
manager.unload("data/map_b.png");
- manager.unload("data/pawns.atlas");
+ manager.unload("data/assets.atlas");
Gdx.app.debug("TankOnTank", "diagnostics:\n" + manager.getDiagnostics() );
}
diff --git a/core/src/ch/asynk/tankontank/game/GameFactory.java b/core/src/ch/asynk/tankontank/game/GameFactory.java
index fbc81be..110cbda 100644
--- a/core/src/ch/asynk/tankontank/game/GameFactory.java
+++ b/core/src/ch/asynk/tankontank/game/GameFactory.java
@@ -17,7 +17,7 @@ public class GameFactory implements Board.TileBuilder, Disposable
public GameFactory(AssetManager manager)
{
- pawnAtlas = manager.get("data/pawns.atlas", TextureAtlas.class);
+ pawnAtlas = manager.get("data/assets.atlas", TextureAtlas.class);
}
@Override
diff --git a/data/pawns/01_fog.png b/data/assets/01_fog.png
index 7d85d98..7d85d98 100644
--- a/data/pawns/01_fog.png
+++ b/data/assets/01_fog.png
Binary files differ
diff --git a/data/pawns/02_blue.png b/data/assets/02_blue.png
index 12fcba8..12fcba8 100644
--- a/data/pawns/02_blue.png
+++ b/data/assets/02_blue.png
Binary files differ
diff --git a/data/pawns/03_green.png b/data/assets/03_green.png
index 78b8f75..78b8f75 100644
--- a/data/pawns/03_green.png
+++ b/data/assets/03_green.png
Binary files differ
diff --git a/data/pawns/04_red.png b/data/assets/04_red.png
index 1320f4a..1320f4a 100644
--- a/data/pawns/04_red.png
+++ b/data/assets/04_red.png
Binary files differ
diff --git a/data/pawns/05_move.png b/data/assets/05_move.png
index e0204a9..e0204a9 100644
--- a/data/pawns/05_move.png
+++ b/data/assets/05_move.png
Binary files differ
diff --git a/data/pawns/06_rose.png b/data/assets/06_rose.png
index fd9c7b7..fd9c7b7 100644
--- a/data/pawns/06_rose.png
+++ b/data/assets/06_rose.png
Binary files differ
diff --git a/data/pawns/ace.png b/data/assets/ace.png
index f4f3240..f4f3240 100644
--- a/data/pawns/ace.png
+++ b/data/assets/ace.png
Binary files differ
diff --git a/data/assets/act-cancel-on.png b/data/assets/act-cancel-on.png
new file mode 100644
index 0000000..a8519aa
--- /dev/null
+++ b/data/assets/act-cancel-on.png
Binary files differ
diff --git a/data/assets/act-cancel.png b/data/assets/act-cancel.png
new file mode 100644
index 0000000..47d9762
--- /dev/null
+++ b/data/assets/act-cancel.png
Binary files differ
diff --git a/data/assets/act-move-on.png b/data/assets/act-move-on.png
new file mode 100644
index 0000000..98011af
--- /dev/null
+++ b/data/assets/act-move-on.png
Binary files differ
diff --git a/data/assets/act-move.png b/data/assets/act-move.png
new file mode 100644
index 0000000..ffc3112
--- /dev/null
+++ b/data/assets/act-move.png
Binary files differ
diff --git a/data/assets/act-rotate-on.png b/data/assets/act-rotate-on.png
new file mode 100644
index 0000000..0f42d25
--- /dev/null
+++ b/data/assets/act-rotate-on.png
Binary files differ
diff --git a/data/assets/act-rotate.png b/data/assets/act-rotate.png
new file mode 100644
index 0000000..3a3720f
--- /dev/null
+++ b/data/assets/act-rotate.png
Binary files differ
diff --git a/data/assets/act-target-on.png b/data/assets/act-target-on.png
new file mode 100644
index 0000000..e7432cd
--- /dev/null
+++ b/data/assets/act-target-on.png
Binary files differ
diff --git a/data/assets/act-target.png b/data/assets/act-target.png
new file mode 100644
index 0000000..1e2bf26
--- /dev/null
+++ b/data/assets/act-target.png
Binary files differ
diff --git a/data/pawns/ap1.png b/data/assets/ap1.png
index c47d15e..c47d15e 100644
--- a/data/pawns/ap1.png
+++ b/data/assets/ap1.png
Binary files differ
diff --git a/data/pawns/ap2.png b/data/assets/ap2.png
index e89956a..e89956a 100644
--- a/data/pawns/ap2.png
+++ b/data/assets/ap2.png
Binary files differ
diff --git a/data/pawns/ap3.png b/data/assets/ap3.png
index 7d1b11f..7d1b11f 100644
--- a/data/pawns/ap3.png
+++ b/data/assets/ap3.png
Binary files differ
diff --git a/data/pawns/ap4.png b/data/assets/ap4.png
index e897628..e897628 100644
--- a/data/pawns/ap4.png
+++ b/data/assets/ap4.png
Binary files differ
diff --git a/data/pawns/ap_spent.png b/data/assets/ap_spent.png
index cb399d8..cb399d8 100644
--- a/data/pawns/ap_spent.png
+++ b/data/assets/ap_spent.png
Binary files differ
diff --git a/data/pawns/back.png b/data/assets/back.png
index e7eb5ef..e7eb5ef 100644
--- a/data/pawns/back.png
+++ b/data/assets/back.png
Binary files differ
diff --git a/data/pawns/disabled.png b/data/assets/disabled.png
index a5ad3d3..a5ad3d3 100644
--- a/data/pawns/disabled.png
+++ b/data/assets/disabled.png
Binary files differ
diff --git a/data/pawns/ge-at-gun.png b/data/assets/ge-at-gun.png
index f81a4b1..f81a4b1 100644
--- a/data/pawns/ge-at-gun.png
+++ b/data/assets/ge-at-gun.png
Binary files differ
diff --git a/data/assets/ge-flag.png b/data/assets/ge-flag.png
new file mode 100644
index 0000000..53ab5aa
--- /dev/null
+++ b/data/assets/ge-flag.png
Binary files differ
diff --git a/data/pawns/ge-infantry.png b/data/assets/ge-infantry.png
index ef4cee9..ef4cee9 100644
--- a/data/pawns/ge-infantry.png
+++ b/data/assets/ge-infantry.png
Binary files differ
diff --git a/data/pawns/ge-kingtiger.png b/data/assets/ge-kingtiger.png
index e45171b..e45171b 100644
--- a/data/pawns/ge-kingtiger.png
+++ b/data/assets/ge-kingtiger.png
Binary files differ
diff --git a/data/pawns/ge-panzer-iv-hq.png b/data/assets/ge-panzer-iv-hq.png
index 2785941..2785941 100644
--- a/data/pawns/ge-panzer-iv-hq.png
+++ b/data/assets/ge-panzer-iv-hq.png
Binary files differ
diff --git a/data/pawns/ge-panzer-iv.png b/data/assets/ge-panzer-iv.png
index 35ab9c3..35ab9c3 100644
--- a/data/pawns/ge-panzer-iv.png
+++ b/data/assets/ge-panzer-iv.png
Binary files differ
diff --git a/data/pawns/ge-tiger.png b/data/assets/ge-tiger.png
index 72e7b6c..72e7b6c 100644
--- a/data/pawns/ge-tiger.png
+++ b/data/assets/ge-tiger.png
Binary files differ
diff --git a/data/pawns/ge-wespe.png b/data/assets/ge-wespe.png
index 566e5b3..566e5b3 100644
--- a/data/pawns/ge-wespe.png
+++ b/data/assets/ge-wespe.png
Binary files differ
diff --git a/data/pawns/head.png b/data/assets/head.png
index a79a840..a79a840 100644
--- a/data/pawns/head.png
+++ b/data/assets/head.png
Binary files differ
diff --git a/data/pawns/turn_back.png b/data/assets/turn_back.png
index 3f681d8..3f681d8 100644
--- a/data/pawns/turn_back.png
+++ b/data/assets/turn_back.png
Binary files differ
diff --git a/data/pawns/turn_front.png b/data/assets/turn_front.png
index b08806b..b08806b 100644
--- a/data/pawns/turn_front.png
+++ b/data/assets/turn_front.png
Binary files differ
diff --git a/data/pawns/us-at-gun.png b/data/assets/us-at-gun.png
index 9991ecf..9991ecf 100644
--- a/data/pawns/us-at-gun.png
+++ b/data/assets/us-at-gun.png
Binary files differ
diff --git a/data/assets/us-flag.png b/data/assets/us-flag.png
new file mode 100644
index 0000000..5dc6c76
--- /dev/null
+++ b/data/assets/us-flag.png
Binary files differ
diff --git a/data/pawns/us-infantry.png b/data/assets/us-infantry.png
index 9cea3c2..9cea3c2 100644
--- a/data/pawns/us-infantry.png
+++ b/data/assets/us-infantry.png
Binary files differ
diff --git a/data/pawns/us-pershing-hq.png b/data/assets/us-pershing-hq.png
index 10b9364..10b9364 100644
--- a/data/pawns/us-pershing-hq.png
+++ b/data/assets/us-pershing-hq.png
Binary files differ
diff --git a/data/pawns/us-pershing.png b/data/assets/us-pershing.png
index 605563f..605563f 100644
--- a/data/pawns/us-pershing.png
+++ b/data/assets/us-pershing.png
Binary files differ
diff --git a/data/pawns/us-priest.png b/data/assets/us-priest.png
index 0dd6623..0dd6623 100644
--- a/data/pawns/us-priest.png
+++ b/data/assets/us-priest.png
Binary files differ
diff --git a/data/pawns/us-sherman-head.png b/data/assets/us-sherman-head.png
index 62a390e..62a390e 100644
--- a/data/pawns/us-sherman-head.png
+++ b/data/assets/us-sherman-head.png
Binary files differ
diff --git a/data/pawns/us-sherman-hq.png b/data/assets/us-sherman-hq.png
index bf54ea6..bf54ea6 100644
--- a/data/pawns/us-sherman-hq.png
+++ b/data/assets/us-sherman-hq.png
Binary files differ
diff --git a/data/pawns/us-sherman.png b/data/assets/us-sherman.png
index cd5cc8f..cd5cc8f 100644
--- a/data/pawns/us-sherman.png
+++ b/data/assets/us-sherman.png
Binary files differ
diff --git a/data/pawns/us-wolverine.png b/data/assets/us-wolverine.png
index 9ce6dc3..9ce6dc3 100644
--- a/data/pawns/us-wolverine.png
+++ b/data/assets/us-wolverine.png
Binary files differ