diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2004-12-28 13:48:58 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2004-12-28 13:48:58 +0000 |
commit | 42e227d7f1523a5c11fd6fe3babd869f9041cce9 (patch) | |
tree | b3a3f463845fb3dae5626ecab9d47ac407d21aa7 /src/main.cpp | |
parent | abb51426f88797f0fe292e8f85d3f0794f4d41ab (diff) | |
download | mana-42e227d7f1523a5c11fd6fe3babd869f9041cce9.tar.gz mana-42e227d7f1523a5c11fd6fe3babd869f9041cce9.tar.bz2 mana-42e227d7f1523a5c11fd6fe3babd869f9041cce9.tar.xz mana-42e227d7f1523a5c11fd6fe3babd869f9041cce9.zip |
Simplified graphic engine
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp index 8721da19..20206e6b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -215,12 +215,9 @@ void init_engine() { // set_config_file("tmw.ini"); #ifdef MACOSX set_color_depth(32); - Init_2xSaI(32); #else set_color_depth(16); - Init_2xSaI(16); #endif - stretch_mode = (unsigned char)config.getValue("stretch", 0); set_window_title("The Mana World"); if(set_gfx_mode((unsigned char)config.getValue("screen", 0), 800, 600, 0, 0)) { @@ -278,11 +275,11 @@ void exit_engine() { int main() { init_engine(); // initialize sound-engine and start playing intro-theme /-kth5 - try{ + try { if(config.getValue("sound", 0)==1) sound.Init(32,20); sound.SetVol(128,128,128); - }catch(const char * err){ + } catch(const char * err) { ok("Sound Engine", err); warning(err); } |