diff options
author | pixel <pixel> | 2003-09-05 22:01:00 +0000 |
---|---|---|
committer | pixel <pixel> | 2003-09-05 22:01:00 +0000 |
commit | 343acb603be88ce4e9ac75de1d5ff64c086dfd77 (patch) | |
tree | f5fa96509a5c0fa6fd70805860a912003bfe1770 /mogltk/engine.cpp | |
parent | 2103fd655288946ef7353f05aed4d76a0f4f7f6c (diff) |
Removing mogltk...
Diffstat (limited to 'mogltk/engine.cpp')
-rw-r--r-- | mogltk/engine.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/mogltk/engine.cpp b/mogltk/engine.cpp deleted file mode 100644 index ff40514..0000000 --- a/mogltk/engine.cpp +++ /dev/null @@ -1,24 +0,0 @@ -#include <SDL.h> -#include "engine.h" -#include "generic.h" - -int mogltk::engine::inited = 0; - -int mogltk::engine::setup() throw(GeneralException) { - if (inited) { - printm(M_WARNING, "mogltk::engine::startup() called twice, ignoring second call.\n"); - return -1; - } - if (SDL_Init(0) < 0) { - throw GeneralException("Unable to start SDL base system"); - } - atexit(SDL_Quit); - - inited = 1; - - return 0; -} - -int mogltk::engine::GetInited() { - return inited; -} |