Changeset e8ebc76 in opengl-game for space-game.cpp
- Timestamp:
- Aug 29, 2019, 8:22:40 PM (6 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- eba8c0c
- Parents:
- 850e84c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
space-game.cpp
r850e84c re8ebc76 1 int main(int argc, char* argv[]) { 1 #include "space-game.hpp" 2 2 3 #ifdef NDEBUG 4 cout << "DEBUGGING IS OFF" << endl; 5 #else 6 cout << "DEBUGGING IS ON" << endl; 7 #endif 8 9 cout << "Starting Vulkan game..." << endl; 10 11 VulkanGame game; 12 13 try { 14 game.run(); 15 } catch (const exception& e) { 16 cerr << e.what() << endl; 17 return EXIT_FAILURE; 18 } 19 20 cout << "Finished running the game" << endl; 21 22 return EXIT_SUCCESS; 3 void SpaceGame::run() { 23 4 }
Note:
See TracChangeset
for help on using the changeset viewer.