source: opengl-game/consts.hpp

feature/imgui-sdl
Last change on this file was 301c90a, checked in by Dmitry Portnoy <dportnoy@…>, 4 years ago

Implement the start of a generic UI system built on top of IMGUI, which can reposition elements when the screen is resized, and use it in VulkanGame

  • Property mode set to 100644
File size: 496 bytes
RevLine 
[301c90a]1#ifndef _CONSTS_H
2#define _CONSTS_H
3
4// TODO: Move ScreenType somewhere else that's more UI-related
[9546928]5
6#define GAME_VERSION "0.01.000"
7
[b8d4456]8// TODO: Rename these using some other prefix
[9546928]9#define RTWO_SUCCESS true
10#define RTWO_ERROR false
11
[2beb6c7]12#define CRASH_LOG_FILE "crash.log"
13
[9546928]14// TODO: Would prefer to use enums, but couldn't find a great way to use them in bitmasks
15constexpr unsigned char GUI_FLAGS_WINDOW_FULLSCREEN { 1 << 0 };
16
[e1f88a9]17enum ScreenType {
18 SCREEN_MAIN,
19 SCREEN_GAME
20};
21
[301c90a]22#endif // _CONSTS_H
Note: See TracBrowser for help on using the repository browser.