#include #include #include #include #include #include #include #include #include #include #include using namespace nall; #include using namespace phoenix; #include using namespace ruby; #include "configuration/configuration.hpp" #include "interface/interface.hpp" #include "utility/utility.hpp" #include "input/input.hpp" #include "window/window.hpp" #include "general/general.hpp" #include "settings/settings.hpp" #include "tools/tools.hpp" #include "resource/resource.hpp" Emulator::Interface& system(); struct Application { vector emulator; Emulator::Interface *active; bool quit; bool pause; bool autopause; unsigned depth; string basepath; string userpath; string normalFont; string boldFont; string titleFont; string monospaceFont; bool focused(); string path(const string &filename); void commandLineLoad(string pathname); void run(); void bootstrap(); Application(int argc, char **argv); ~Application(); }; extern Application *application; extern DSP dspaudio;