/[enigma]/enigma/src/main.cc
ViewVC logotype

Diff of /enigma/src/main.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.13 by reallysoft, Mon Jun 2 22:54:24 2003 UTC revision 1.14 by ant_39, Sat Jun 7 15:21:07 2003 UTC
# Line 33  Line 33 
33  #include "SDL.h"  #include "SDL.h"
34    
35  #include <cstdio>  #include <cstdio>
36    #include <cstdlib>
37  #include <fstream>  #include <fstream>
38  #include <iostream>  #include <iostream>
39    
# Line 214  init() Line 215  init()
215          fprintf(stderr, "Couldn't init SDL: %s\n", SDL_GetError());          fprintf(stderr, "Couldn't init SDL: %s\n", SDL_GetError());
216          exit(1);          exit(1);
217      }      }
218        atexit(SDL_Quit);
219    
220      if (ap.nosound)      if (ap.nosound)
221          sound::DisableSound();          sound::DisableSound();
# Line 239  shutdown() Line 241  shutdown()
241      world::Shutdown();      world::Shutdown();
242      video::Shutdown();      video::Shutdown();
243      display::Shutdown();      display::Shutdown();
244        sound::Shutdown();
245      options::Save();      options::Save();
246      delete_sequence(enigma::LevelPacks.begin(),      delete_sequence(enigma::LevelPacks.begin(),
247                      enigma::LevelPacks.end());                      enigma::LevelPacks.end());

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26