OLD | NEW |
1 /* | 1 /* |
2 * $Id$ | 2 * $Id$ |
3 * | 3 * |
4 * ***** BEGIN GPL LICENSE BLOCK ***** | 4 * ***** BEGIN GPL LICENSE BLOCK ***** |
5 * | 5 * |
6 * This program is free software; you can redistribute it and/or | 6 * This program is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU General Public License | 7 * modify it under the terms of the GNU General Public License |
8 * as published by the Free Software Foundation; either version 2 | 8 * as published by the Free Software Foundation; either version 2 |
9 * of the License, or (at your option) any later version. | 9 * of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 | 57 |
58 class GPG_Application : public GHOST_IEventConsumer | 58 class GPG_Application : public GHOST_IEventConsumer |
59 { | 59 { |
60 public: | 60 public: |
61 GPG_Application(GHOST_ISystem* system); | 61 GPG_Application(GHOST_ISystem* system); |
62 ~GPG_Application(void); | 62 ~GPG_Application(void); |
63 | 63 |
64 bool SetGameEngineData(struct Main* maggie, struct Scene
* scene, int argc, char** argv); | 64 bool SetGameEngineData(struct Main* maggie, struct Scene
* scene, int argc, char** argv); |
65 bool startWindow(STR_String& title, int windowLeft, int
windowTop, int windowWidth, int windowHeight, | 65 bool startWindow(STR_String& title, int windowLeft, int
windowTop, int windowWidth, int windowHeight, |
66 const bool stereoVisual, const int stereoMode, const GHO
ST_TUns16 samples=0); | 66 const bool stereoVisual, const int stereoMode, const GHO
ST_TUns16 samples=0); |
67 » » » bool startFullScreen(int width, int height, int bpp, int
frequency, const bool stereoVisual, const int stereoMode, const GHOST_TUns16 sa
mples=0); | 67 » » » bool startFullScreen(int width, int height, int bpp, int
frequency, const bool stereoVisual, const int stereoMode, const GHOST_TUns16 sa
mples=0, bool useDesktop=false); |
68 bool startEmbeddedWindow(STR_String& title, const GHOST_
TEmbedderWindowID parent_window, const bool stereoVisual, const int stereoMode,
const GHOST_TUns16 samples=0); | 68 bool startEmbeddedWindow(STR_String& title, const GHOST_
TEmbedderWindowID parent_window, const bool stereoVisual, const int stereoMode,
const GHOST_TUns16 samples=0); |
69 #ifdef WIN32 | 69 #ifdef WIN32 |
70 bool startScreenSaverFullScreen(int width, int height, i
nt bpp, int frequency, const bool stereoVisual, const int stereoMode, const GHOS
T_TUns16 samples=0); | 70 bool startScreenSaverFullScreen(int width, int height, i
nt bpp, int frequency, const bool stereoVisual, const int stereoMode, const GHOS
T_TUns16 samples=0); |
71 bool startScreenSaverPreview(HWND parentWindow, const bo
ol stereoVisual, const int stereoMode, const GHOST_TUns16 samples=0); | 71 bool startScreenSaverPreview(HWND parentWindow, const bo
ol stereoVisual, const int stereoMode, const GHOST_TUns16 samples=0); |
72 #endif | 72 #endif |
73 | 73 |
74 virtual bool processEvent(GHOST_IEvent* event); | 74 virtual bool processEvent(GHOST_IEvent* event); |
75 int getExitRequested(void); | 75 int getExitRequested(void); |
76 const STR_String& getExitString(void); | 76 const STR_String& getExitString(void); |
77 bool StartGameEngine(int stereoMode); | 77 bool StartGameEngine(int stereoMode); |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 * Do this because python starts/stops when loading blend files. | 154 * Do this because python starts/stops when loading blend files. |
155 */ | 155 */ |
156 char* m_pyGlobalDictString; | 156 char* m_pyGlobalDictString; |
157 int m_pyGlobalDictString_Length; | 157 int m_pyGlobalDictString_Length; |
158 ········ | 158 ········ |
159 /* argc and argv need to be passed on to python */ | 159 /* argc and argv need to be passed on to python */ |
160 int m_argc; | 160 int m_argc; |
161 char** m_argv; | 161 char** m_argv; |
162 }; | 162 }; |
163 | 163 |
OLD | NEW |