mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r20138) -Change: also put the base set version number in the crash log
This commit is contained in:
parent
4f7ad57c98
commit
a690872333
@ -109,22 +109,25 @@ char *CrashLog::LogConfiguration(char *buffer, const char *last) const
|
|||||||
buffer += seprintf(buffer, last,
|
buffer += seprintf(buffer, last,
|
||||||
"Configuration:\n"
|
"Configuration:\n"
|
||||||
" Blitter: %s\n"
|
" Blitter: %s\n"
|
||||||
" Graphics set: %s\n"
|
" Graphics set: %s (%d)\n"
|
||||||
" Language: %s\n"
|
" Language: %s\n"
|
||||||
" Music driver: %s\n"
|
" Music driver: %s\n"
|
||||||
" Music set: %s\n"
|
" Music set: %s (%d)\n"
|
||||||
" Network: %s\n"
|
" Network: %s\n"
|
||||||
" Sound driver: %s\n"
|
" Sound driver: %s\n"
|
||||||
" Sound set: %s\n"
|
" Sound set: %s (%d)\n"
|
||||||
" Video driver: %s\n\n",
|
" Video driver: %s\n\n",
|
||||||
BlitterFactoryBase::GetCurrentBlitter() == NULL ? "none" : BlitterFactoryBase::GetCurrentBlitter()->GetName(),
|
BlitterFactoryBase::GetCurrentBlitter() == NULL ? "none" : BlitterFactoryBase::GetCurrentBlitter()->GetName(),
|
||||||
BaseGraphics::GetUsedSet() == NULL ? "none" : BaseGraphics::GetUsedSet()->name,
|
BaseGraphics::GetUsedSet() == NULL ? "none" : BaseGraphics::GetUsedSet()->name,
|
||||||
|
BaseGraphics::GetUsedSet() == NULL ? -1 : BaseGraphics::GetUsedSet()->version,
|
||||||
StrEmpty(_dynlang.curr_file) ? "none" : _dynlang.curr_file,
|
StrEmpty(_dynlang.curr_file) ? "none" : _dynlang.curr_file,
|
||||||
_music_driver == NULL ? "none" : _music_driver->GetName(),
|
_music_driver == NULL ? "none" : _music_driver->GetName(),
|
||||||
BaseMusic::GetUsedSet() == NULL ? "none" : BaseMusic::GetUsedSet()->name,
|
BaseMusic::GetUsedSet() == NULL ? "none" : BaseMusic::GetUsedSet()->name,
|
||||||
|
BaseMusic::GetUsedSet() == NULL ? -1 : BaseMusic::GetUsedSet()->version,
|
||||||
_networking ? (_network_server ? "server" : "client") : "no",
|
_networking ? (_network_server ? "server" : "client") : "no",
|
||||||
_sound_driver == NULL ? "none" : _sound_driver->GetName(),
|
_sound_driver == NULL ? "none" : _sound_driver->GetName(),
|
||||||
BaseSounds::GetUsedSet() == NULL ? "none" : BaseSounds::GetUsedSet()->name,
|
BaseSounds::GetUsedSet() == NULL ? "none" : BaseSounds::GetUsedSet()->name,
|
||||||
|
BaseSounds::GetUsedSet() == NULL ? -1 : BaseSounds::GetUsedSet()->version,
|
||||||
_video_driver == NULL ? "none" : _video_driver->GetName()
|
_video_driver == NULL ? "none" : _video_driver->GetName()
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user