GlistEngine
Loading...
Searching...
No Matches
gConstants.h
Go to the documentation of this file.
1/*
2 * gUtils.h
3 *
4 * Created on: 22 Feb 2021
5 * Author: Noyan
6 */
7
8#pragma once
9
10#ifndef TYPES_GCONSTANTS_H_
11#define TYPES_GCONSTANTS_H_
12
13#define G_WINDOWMODE_NONE -1
14#define G_WINDOWMODE_GAME 0
15#define G_WINDOWMODE_FULLSCREEN 1
16#define G_WINDOWMODE_APP 2
17#define G_WINDOWMODE_FULLSCREENGUIAPP 3
18#define G_WINDOWMODE_GUIAPP 4
19
20// No scaling, the given resolution will be used as is
21#define G_SCREENSCALING_NONE 0
22#define G_SCREENSCALING_MIPMAP 1
23// Screen will be scaled dynamically, providing the same unit resolution but on different resolutions.
24#define G_SCREENSCALING_AUTO 2
25// Screen will be scaled dynamically, but unlike AUTO it makes sure the initial scale is kept and unit resolution is updated automatically.
26#define G_SCREENSCALING_AUTO_ONCE 3
27
28#define G_LOOPMODE_NORMAL 1
29#define G_LOOPMODE_NONE 0
30
31
32#endif /* TYPES_GCONSTANTS_H_ */