193 |
static void |
static void |
194 |
init() |
init() |
195 |
{ |
{ |
196 |
|
enigma::Log.rdbuf(new Nulbuf); |
197 |
|
|
198 |
lua::Init(); |
lua::Init(); |
199 |
|
|
200 |
// Run initialization scripts |
// Run initialization scripts |
231 |
enigma::Log.rdbuf(logfile.rdbuf()); |
enigma::Log.rdbuf(logfile.rdbuf()); |
232 |
else |
else |
233 |
fprintf(stderr,"Could not open log file \"enigma.log\" for writing.\n"); |
fprintf(stderr,"Could not open log file \"enigma.log\" for writing.\n"); |
234 |
} else |
} |
|
enigma::Log.rdbuf(new Nulbuf); |
|
235 |
|
|
236 |
int sdl_flags = SDL_INIT_VIDEO | SDL_INIT_NOPARACHUTE; |
int sdl_flags = SDL_INIT_VIDEO | SDL_INIT_NOPARACHUTE; |
237 |
if (!ap.nosound) |
if (!ap.nosound) |