Big refactor, shuffling a lot of files around
This commit is contained in:
@@ -1,16 +1,13 @@
|
||||
#include "loader.h"
|
||||
#include "state.h"
|
||||
|
||||
using namespace anm2ed::loader;
|
||||
using namespace anm2ed::state;
|
||||
|
||||
int main(int argc, const char** argv)
|
||||
{
|
||||
Loader loader(argc, argv);
|
||||
anm2ed::Loader loader(argc, argv);
|
||||
|
||||
if (loader.isError) return EXIT_FAILURE;
|
||||
|
||||
State state(loader.window, loader.arguments);
|
||||
anm2ed::State state(loader.window, loader.arguments);
|
||||
|
||||
while (!state.isQuit)
|
||||
state.loop(loader.window, loader.settings);
|
||||
|
||||
Reference in New Issue
Block a user