svn-id: r7511
This commit is contained in:
Max Horn 2003-05-14 19:47:57 +00:00
parent fae5ab677c
commit af8cb44727
4 changed files with 4 additions and 6 deletions

View File

@ -52,7 +52,7 @@ OSystem *OSystem_SDL_create(int gfx_mode, bool full_screen) {
} }
OSystem *OSystem_SDL_Common::create(int gfx_mode, bool full_screen) { OSystem *OSystem_SDL_Common::create(int gfx_mode, bool full_screen) {
OSystem_SDL_Common *syst = OSystem_SDL_Common::create(); OSystem_SDL_Common *syst = OSystem_SDL_Common::create_intern();
syst->init_intern(gfx_mode, full_screen); syst->init_intern(gfx_mode, full_screen);

View File

@ -130,7 +130,7 @@ protected:
OSystem_SDL_Common(); OSystem_SDL_Common();
virtual ~OSystem_SDL_Common(); virtual ~OSystem_SDL_Common();
static OSystem *create_intern(); static OSystem_SDL_Common *create_intern();
void init_intern(int gfx_mode, bool full_screen); void init_intern(int gfx_mode, bool full_screen);
@ -226,8 +226,6 @@ protected:
void setup_icon(); void setup_icon();
void kbd_mouse(); void kbd_mouse();
void init_joystick() { _joystick = SDL_JoystickOpen(0); } void init_joystick() { _joystick = SDL_JoystickOpen(0); }
static OSystem_SDL_Common *create();
}; };
// Auxillary class to (un)lock a mutex on the stack // Auxillary class to (un)lock a mutex on the stack

View File

@ -48,7 +48,7 @@ protected:
void hotswap_gfx_mode(); void hotswap_gfx_mode();
}; };
OSystem *OSystem_SDL_Common::create_intern() { OSystem_SDL_Common *OSystem_SDL_Common::create_intern() {
return new OSystem_SDL(); return new OSystem_SDL();
} }

View File

@ -69,7 +69,7 @@ protected:
void hotswap_gfx_mode(); void hotswap_gfx_mode();
}; };
OSystem *OSystem_SDL_Common::create_intern() { OSystem_SDL_Common *OSystem_SDL_Common::create_intern() {
return new OSystem_SDL_OpenGL(); return new OSystem_SDL_OpenGL();
} }