source: opengl-game/consts.hpp@ 670c09a

feature/imgui-sdl
Last change on this file since 670c09a was e1f88a9, checked in by Dmitry Portnoy <dmitry.portnoy@…>, 4 years ago

Create a system to draw and switch between different screens, a Screen class, a MainScreen class that extends it, and some classes for UI elements that can be added to screens.

  • Property mode set to 100644
File size: 447 bytes
Line 
1#ifndef _RTWO_CONSTS_H
2#define _RTWO_CONSTS_H
3
4#define GAME_VERSION "0.01.000"
5
6// TODO: Rename these using some other prefix
7#define RTWO_SUCCESS true
8#define RTWO_ERROR false
9
10#define CRASH_LOG_FILE "crash.log"
11
12// TODO: Would prefer to use enums, but couldn't find a great way to use them in bitmasks
13constexpr unsigned char GUI_FLAGS_WINDOW_FULLSCREEN { 1 << 0 };
14
15enum ScreenType {
16 SCREEN_MAIN,
17 SCREEN_GAME
18};
19
20#endif // _RTWO_CONSTS_H
Note: See TracBrowser for help on using the repository browser.