Colobot
|
CApplication class. More...
#include "common/global.h"
#include "common/singleton.h"
#include "common/profile.h"
#include "graphics/core/device.h"
#include "graphics/engine/engine.h"
#include "graphics/opengl/gldevice.h"
#include "object/objman.h"
#include <string>
#include <vector>
Go to the source code of this file.
Classes | |
struct | JoystickDevice |
Information about a joystick device. More... | |
class | CApplication |
Main application. More... | |
Namespaces | |
Gfx | |
Namespace for (new) graphics code. | |
Enumerations | |
enum | VideoQueryResult { VIDEO_QUERY_ERROR, VIDEO_QUERY_NONE, VIDEO_QUERY_ALL, VIDEO_QUERY_OK } |
Result of querying for available video resolutions. | |
enum | TrackedKey { TRKEY_NUM_UP = (1<<0), TRKEY_NUM_DOWN = (1<<1), TRKEY_NUM_LEFT = (1<<2), TRKEY_NUM_RIGHT = (1<<3), TRKEY_NUM_PLUS = (1<<4), TRKEY_NUM_MINUS = (1<<5), TRKEY_PAGE_UP = (1<<6), TRKEY_PAGE_DOWN = (1<<7) } |
Additional keys whose state (pressed/released) is tracked by CApplication. | |
enum | ParseArgsStatus { PARSE_ARGS_OK = 1, PARSE_ARGS_FAIL = 2, PARSE_ARGS_HELP = 3 } |
State of parsing commandline arguments. More... | |
enum | MouseMode { MOUSE_SYSTEM, MOUSE_ENGINE, MOUSE_BOTH, MOUSE_NONE } |
Mode of mouse cursor. More... | |
enum | PerformanceCounter { PCNT_EVENT_PROCESSING, PCNT_UPDATE_ALL, PCNT_UPDATE_ENGINE, PCNT_UPDATE_PARTICLE, PCNT_UPDATE_GAME, PCNT_RENDER_ALL, PCNT_RENDER_PARTICLE, PCNT_RENDER_WATER, PCNT_RENDER_TERRAIN, PCNT_RENDER_OBJECTS, PCNT_RENDER_INTERFACE, PCNT_ALL, PCNT_MAX } |
Type of counter testing performance. More... | |
enum | DebugMode { DEBUG_SYS_EVENTS = 1 << 0, DEBUG_APP_EVENTS = 1 << 1, DEBUG_EVENTS = DEBUG_SYS_EVENTS | DEBUG_APP_EVENTS, DEBUG_MODELS = 1 << 2, DEBUG_ALL = DEBUG_SYS_EVENTS | DEBUG_APP_EVENTS | DEBUG_MODELS } |
CApplication class.
enum MouseMode |
enum ParseArgsStatus |
enum PerformanceCounter |
Type of counter testing performance.
Enumerator | |
---|---|
PCNT_UPDATE_ALL |
< event processing (except update events) |
PCNT_UPDATE_ENGINE |
< the whole frame update process |
PCNT_UPDATE_PARTICLE |
< frame update in CEngine |
PCNT_UPDATE_GAME |
< frame update in CParticle |
PCNT_RENDER_ALL |
< frame update in CRobotMain |
PCNT_RENDER_PARTICLE |
< the whole rendering process |
PCNT_RENDER_WATER |
< rendering the particles in 3D |
PCNT_RENDER_TERRAIN |
< rendering the water |
PCNT_RENDER_OBJECTS |
< rendering the terrain |
PCNT_RENDER_INTERFACE |
< rendering the 3D objects |
PCNT_ALL |
< rendering 2D interface |
PCNT_MAX |
< all counters together |