diff options
author | Andy <drumsetmonkey@gmail.com> | 2017-01-20 10:37:21 -0500 |
---|---|---|
committer | Andy <drumsetmonkey@gmail.com> | 2017-01-20 10:37:21 -0500 |
commit | 4d8f9974156068e4595bf219cacfd9fcd2fd7174 (patch) | |
tree | f3e938c0e49537a9dea661f46eed6ee74950b48a /main.cpp | |
parent | 1894e311bdeb098c3bef9bd342e0eaf78d197a9b (diff) | |
parent | 1ac412a5496fb6c63c47f199dfc7facd5f4c080a (diff) |
Merge branch 'master' of https://github.com/tcsullivan/gamedev
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -15,6 +15,8 @@ using namespace std::literals::chrono_literals; #include <config.hpp> #include <common.hpp> #include <engine.hpp> +#include <error.hpp> +#include <fileio.hpp> #include <gametime.hpp> #include <window.hpp> #include <world.hpp> @@ -52,11 +54,6 @@ public: std::string xmlFolder = "xml/"; /** - * The current menu, if any are open (TODO why is this here) - */ -Menu *currentMenu; - -/** * The current center of the screen, updated in main render. */ vec2 offset; @@ -134,8 +131,7 @@ int main(int argc, char *argv[]) ///////////////////////////// - game::engine.getSystem<InventorySystem>()->add("Debug", 3); - + game::engine.getSystem<InventorySystem>()->add("Debug", 9); std::list<SDL_Event> eventQueue; |