summaryrefslogtreecommitdiff
path: root/src/game/assets.cpp
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-12-16 20:17:57 +0000
committerPaweł Redman <pawel.redman@gmail.com>2017-12-16 20:17:57 +0000
commit273c601a94464bef2161b9c3a29ea3cf901340e9 (patch)
tree9b3c4907c69dddf3b2dc421d89841081a735ac0d /src/game/assets.cpp
parentd96a70e50f7b3b19f3424aa9b97123db681269a8 (diff)
Rename aliens to spiders and humans to soldiers.
Diffstat (limited to 'src/game/assets.cpp')
-rw-r--r--src/game/assets.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/game/assets.cpp b/src/game/assets.cpp
index e5fee38..a4a03e5 100644
--- a/src/game/assets.cpp
+++ b/src/game/assets.cpp
@@ -2,24 +2,24 @@
namespace game::assets {
-human_assets_t human;
-alien_assets_t alien;
+soldier_assets_t soldier;
+spider_assets_t spider;
fx_assets_t fx;
deco_assets_t deco;
void load(void)
{
- human.head_idle.load("assets/units/human/head_idle", 1, 1, 1);
- human.body_idle.load("assets/units/human/body_idle", 2, 2, 2);
- human.body_aiming.load("assets/units/human/body_aiming", 2, 2, 2);
- human.body_firing.load("assets/units/human/body_firing", 2, 2, 2);
- human.legs_idle.load("assets/units/human/legs_idle", 2, 2);
- human.legs_walking.load("assets/units/human/legs_walking", 2, 2);
- human.dead.load("assets/units/human/dead_", 1);
-
- alien.idle.load("assets/units/alien/idle", 2, 2, 2);
- alien.walking.load("assets/units/alien/walking", 2, 2, 2);
- alien.dead.load("assets/units/alien/dead_", 1);
+ soldier.head_idle.load("assets/units/soldier/head_idle", 1, 1, 1);
+ soldier.body_idle.load("assets/units/soldier/body_idle", 2, 2, 2);
+ soldier.body_aiming.load("assets/units/soldier/body_aiming", 2, 2, 2);
+ soldier.body_firing.load("assets/units/soldier/body_firing", 2, 2, 2);
+ soldier.legs_idle.load("assets/units/soldier/legs_idle", 2, 2);
+ soldier.legs_walking.load("assets/units/soldier/legs_walking", 2, 2);
+ soldier.dead.load("assets/units/soldier/dead_", 1);
+
+ spider.idle.load("assets/units/spider/idle", 2, 2, 2);
+ spider.walking.load("assets/units/spider/walking", 2, 2, 2);
+ spider.dead.load("assets/units/spider/dead_", 1);
fx.blood.load("assets/units/blood_", 4);