- Replaced 'C:\\ZDOOMDAT' with a #define in version.h.

- Moved screenshot code into DCanvas so that it can be overridden by
  subclasses with a different buffer.


SVN r643 (trunk)
This commit is contained in:
Christoph Oelckers 2007-12-26 09:56:09 +00:00
commit 6804e66208
7 changed files with 46 additions and 23 deletions

View file

@ -569,7 +569,7 @@ FString FGameConfigFile::GetConfigPath (bool tryProg)
if (path.IsEmpty())
{
if (Args.CheckParm ("-cdrom"))
return "c:\\zdoomdat\\zdoom.ini";
return CDROM_DIR "\\zdoom.ini";
path = progdir;
path += "zdoom.ini";
@ -617,7 +617,7 @@ void FGameConfigFile::AddAutoexec (DArgs *list, const char *game)
#ifndef unix
if (Args.CheckParm ("-cdrom"))
{
path = "c:\\zdoomdat\\autoexec.cfg";
path = CDROM_DIR "\\autoexec.cfg";
}
else
{