feature/imgui-sdl
Last change
on this file since 9d21aac 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
|
Line | |
---|
1 | #ifndef _CONSTS_H
|
---|
2 | #define _CONSTS_H
|
---|
3 |
|
---|
4 | // TODO: Move ScreenType somewhere else that's more UI-related
|
---|
5 |
|
---|
6 | #define GAME_VERSION "0.01.000"
|
---|
7 |
|
---|
8 | // TODO: Rename these using some other prefix
|
---|
9 | #define RTWO_SUCCESS true
|
---|
10 | #define RTWO_ERROR false
|
---|
11 |
|
---|
12 | #define CRASH_LOG_FILE "crash.log"
|
---|
13 |
|
---|
14 | // TODO: Would prefer to use enums, but couldn't find a great way to use them in bitmasks
|
---|
15 | constexpr unsigned char GUI_FLAGS_WINDOW_FULLSCREEN { 1 << 0 };
|
---|
16 |
|
---|
17 | enum ScreenType {
|
---|
18 | SCREEN_MAIN,
|
---|
19 | SCREEN_GAME
|
---|
20 | };
|
---|
21 |
|
---|
22 | #endif // _CONSTS_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.