summaryrefslogtreecommitdiff
path: root/src/assets.cpp
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-10-24 18:39:03 +0200
committerPaweł Redman <pawel.redman@gmail.com>2017-10-24 18:39:03 +0200
commit6723790daa66c333103f940540ea7ef83a4057d9 (patch)
tree1150f7c4f55286089ce831d320e120a6a3d86b19 /src/assets.cpp
parent28331efb18a9700e556879e51915cd0ecb51ae79 (diff)
Begin working on proper tile graphics.
Diffstat (limited to 'src/assets.cpp')
-rw-r--r--src/assets.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/assets.cpp b/src/assets.cpp
index 530723d..7d77a38 100644
--- a/src/assets.cpp
+++ b/src/assets.cpp
@@ -3,6 +3,8 @@
namespace assets {
human_assets_t human;
+render::tile_monotonic_t tile_dirt;
+render::tile_connecting12_t tile_wall;
void load(void)
{
@@ -10,6 +12,9 @@ void load(void)
human.body_idle.load("assets/units/human/body_idle", 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);
+
+ tile_dirt.load("assets/tiles/dirt");
+ tile_wall.load("assets/tiles/wall");
}
} // namespace assets