2 #include "oxygine-include.h" 3 #include "../EventDispatcher.h" 4 #include "math/Vector2.h" 8 typedef void* SDL_GLContext;
9 typedef struct SDL_Window SDL_Window;
10 typedef SDL_Window* window;
18 class ThreadDispatcher;
20 void* fastAlloc(
size_t size);
21 void fastFree(
void* data);
35 int64 getFreeSpace(
const char* fullpath = 0);
94 bool isReady2Render();
96 bool beginRendering(window i = 0);
99 void swapDisplayBuffers(window i = 0);
102 void execute(
const char* url);
105 std::string getPackage();
108 Point getDisplaySize();
120 SDL_GLContext getGLContext();
121 SDL_Window* getWindow();
126 EVENT_SYSTEM = sysEventID(
'c',
'S',
'y'),
127 EVENT_PRECREATEWINDOW = sysEventID(
'c',
'P',
'W'),
128 EVENT_EXIT = sysEventID(
'c',
'E',
'x'),
131 spEventDispatcher getDispatcher();
const char * appName
Definition: oxygine.h:65
const char * title
Definition: oxygine.h:62
int w
Definition: oxygine.h:54
bool fullscreen
Definition: oxygine.h:60
bool force_gles
Definition: oxygine.h:70
Definition: ThreadDispatcher.h:45
–oxgl-end–!
Definition: Actor.h:14
bool mode24bpp
Definition: oxygine.h:52
std::string getLanguage()
int h
Definition: oxygine.h:56
bool vsync
Definition: oxygine.h:58
const char * companyName
Definition: oxygine.h:67
bool isNetworkAvailable()