Changeset e1f88a9 in opengl-game for vulkan-game.hpp
- Timestamp:
- Jun 10, 2020, 2:36:24 AM (4 years ago)
- Branches:
- feature/imgui-sdl, master
- Children:
- 699e83a
- Parents:
- 4e705d6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vulkan-game.hpp
r4e705d6 re1f88a9 3 3 4 4 #include <chrono> 5 #include <map> 5 6 6 7 #define GLM_FORCE_RADIANS … … 16 17 #include "game-gui-sdl.hpp" 17 18 19 #include "gui/screen.hpp" 20 #include "gui/main-screen.hpp" 21 18 22 using namespace glm; 19 23 using namespace std::chrono; 20 21 // TODO: Switch from union to std::variant22 24 23 25 #ifdef NDEBUG … … 195 197 void run(int width, int height, unsigned char guiFlags); 196 198 199 void goToScreen(Screen* screen); 200 void quitGame(); 201 202 map<ScreenType, Screen*> screens; 203 Screen* currentScreen; 204 205 TTF_Font* proggyFont; 206 197 207 GraphicsPipeline_Vulkan<OverlayVertex, void*> overlayPipeline; 198 208 … … 219 229 const int EXPLOSION_PARTICLE_COUNT = 300; 220 230 const vec3 LASER_COLOR = vec3(0.2f, 1.0f, 0.2f); 231 232 bool quit; 221 233 222 234 vec3 cam_pos;
Note:
See TracChangeset
for help on using the changeset viewer.