diff options
Diffstat (limited to 'src/m_misc.c')
-rw-r--r-- | src/m_misc.c | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/src/m_misc.c b/src/m_misc.c index ff268ef0..5b98960a 100644 --- a/src/m_misc.c +++ b/src/m_misc.c @@ -616,6 +616,14 @@ void M_LoadDefaults (void) int i; // check for a custom default file + + //! + // @arg <file> + // + // Load configuration from the specified file, instead of + // default.cfg. + // + i = M_CheckParm ("-config"); if (i && i<myargc-1) @@ -631,6 +639,11 @@ void M_LoadDefaults (void) printf("saving config in %s\n", doom_defaults.filename); + //! + // Load extra configuration from the specified file, instead + // of chocolate-doom.cfg. + // + i = M_CheckParm("-extraconfig"); if (i && i<myargc-1) @@ -681,8 +694,12 @@ void M_SetConfigDir(void) else { #ifdef _WIN32 - // when given the -cdrom option, save config+savegames in - // c:\doomdata. This only applies under Windows. + //! + // @platform windows + // + // Save configuration data and savegames in c:\doomdata, + // allowing play from CD. + // if (M_CheckParm("-cdrom") > 0) { |