diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2017-10-14 16:16:34 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2017-10-14 16:16:34 +0200 |
commit | 672180b2ee3ed9b9ff984538a85e6eaf2e1c91bc (patch) | |
tree | 9dc40562890b7dff088afc46fb4e2af0ea3552d8 /src/assets.cpp | |
parent | e4ca910e7731e2a12815a4a8de2582157f519898 (diff) |
Move assets to assets.cpp.
Diffstat (limited to 'src/assets.cpp')
-rw-r--r-- | src/assets.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/assets.cpp b/src/assets.cpp new file mode 100644 index 0000000..530723d --- /dev/null +++ b/src/assets.cpp @@ -0,0 +1,15 @@ +#include "common.hpp" + +namespace assets { + +human_assets_t human; + +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.legs_idle.load("assets/units/human/legs_idle", 2, 2); + human.legs_walking.load("assets/units/human/legs_walking", 2, 2); +} + +} // namespace assets |