try using RageFile for logging

This commit is contained in:
Glenn Maynard
2003-12-12 08:22:03 +00:00
parent 6a572e1e3a
commit 0d0b0d3f12
2 changed files with 15 additions and 15 deletions
+4 -4
View File
@@ -816,15 +816,15 @@ int main(int argc, char* argv[])
ChangeToDirOfExecutable(argv[0]);
/* Set this up second. Do this early, since it's needed for RageException::Throw.
/* Almost everything uses this to read and write files. Load this early. */
FILEMAN = new RageFileManager;
/* Set this up next. Do this early, since it's needed for RageException::Throw.
* Do it after ChangeToDirOfExecutable, so the log ends up in the right place. */
LOG = new RageLog();
/* Whew--we should be able to crash safely now! */
/* Everything except LOG uses this to read and write files. Load this early. */
FILEMAN = new RageFileManager;
MountTreeOfZips( ZIPS_DIR );
atexit(SDL_Quit); /* Clean up on exit */