feature/imgui-sdl
points-test
Last change
on this file since 850e84c was 850e84c, checked in by Dmitry Portnoy <dmitry.portnoy@…>, 5 years ago |
Create space-game.cpp, which will be the original opengl game re-implemented in Vulkan.
|
-
Property mode
set to
100644
|
File size:
409 bytes
|
Rev | Line | |
---|
[850e84c] | 1 | int main(int argc, char* argv[]) {
|
---|
| 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;
|
---|
| 23 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.