Last change
on this file since ca188cc was e1f88a9, checked in by Dmitry Portnoy <dmitry.portnoy@…>, 5 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
|
Rev | Line | |
---|
[9546928] | 1 | #ifndef _RTWO_CONSTS_H
|
---|
| 2 | #define _RTWO_CONSTS_H
|
---|
| 3 |
|
---|
| 4 | #define GAME_VERSION "0.01.000"
|
---|
| 5 |
|
---|
[b8d4456] | 6 | // TODO: Rename these using some other prefix
|
---|
[9546928] | 7 | #define RTWO_SUCCESS true
|
---|
| 8 | #define RTWO_ERROR false
|
---|
| 9 |
|
---|
[2beb6c7] | 10 | #define CRASH_LOG_FILE "crash.log"
|
---|
| 11 |
|
---|
[9546928] | 12 | // TODO: Would prefer to use enums, but couldn't find a great way to use them in bitmasks
|
---|
| 13 | constexpr unsigned char GUI_FLAGS_WINDOW_FULLSCREEN { 1 << 0 };
|
---|
| 14 |
|
---|
[e1f88a9] | 15 | enum ScreenType {
|
---|
| 16 | SCREEN_MAIN,
|
---|
| 17 | SCREEN_GAME
|
---|
| 18 | };
|
---|
| 19 |
|
---|
[c61323a] | 20 | #endif // _RTWO_CONSTS_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.