Remove most of the image/sound managing stuff.
This commit is contained in:
parent
1be770d62d
commit
e78340a0cd
10 changed files with 34 additions and 110 deletions
7
main.cpp
7
main.cpp
|
@ -1,9 +1,14 @@
|
|||
#include "builder.hpp"
|
||||
#include "gui.hpp"
|
||||
#include <fmt/core.h>
|
||||
#include "sound.hpp"
|
||||
#include "textures.hpp"
|
||||
|
||||
int main()
|
||||
{
|
||||
sound::init();
|
||||
textures::init();
|
||||
|
||||
GameEngine game{100};
|
||||
auto backend = SFMLBackend(game);
|
||||
GUI gui(backend);
|
||||
|
@ -18,5 +23,5 @@ int main()
|
|||
|
||||
builder.event(BuildEvent::QUIT);
|
||||
backend.shutdown();
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue