Created a nice utility library for doing animations, and used it in the ritual crafting UI.
This commit is contained in:
parent
0a40135f5d
commit
1aa6674e42
14 changed files with 213 additions and 150 deletions
4
main.cpp
4
main.cpp
|
@ -3,6 +3,7 @@
|
|||
#include "sound.hpp"
|
||||
#include "autowalker.hpp"
|
||||
#include "ai.hpp"
|
||||
#include "animation.hpp"
|
||||
#include <iostream>
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
|
@ -10,6 +11,9 @@ int main(int argc, char* argv[]) {
|
|||
textures::init();
|
||||
sound::init();
|
||||
ai::init("assets/ai.json");
|
||||
animation::init();
|
||||
|
||||
|
||||
sound::mute(true);
|
||||
gui::FSM main;
|
||||
main.event(gui::Event::STARTED);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue