Changeset - r14626:f4bb4c72107d
[Not reviewed]
master
0 2 0
yexo - 15 years ago 2010-02-22 20:19:17
yexo@openttd.org
(svn r19213) -Change: warn if a fallback sound set is loaded and tell the user where to download a proper sound setd
2 files changed with 7 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/lang/english.txt
Show inline comments
 
@@ -3308,6 +3308,9 @@ STR_ERROR_BMPMAP_IMAGE_TYPE             
 
STR_WARNING_HEIGHTMAP_SCALE_CAPTION                             :{WHITE}Scale warning
 
STR_WARNING_HEIGHTMAP_SCALE_MESSAGE                             :{YELLOW}Resizing source map too much is not recommended. Continue with the generation?
 

	
 
# Soundset messages
 
STR_WARNING_FALLBACK_SOUNDSET                                   :{WHITE}Only a fallback sound set was found. If you want sounds, install a sound set via the content download system.
 

	
 
# Screenshot related messages
 
STR_MESSAGE_SCREENSHOT_SUCCESSFULLY                             :{WHITE}Screenshot successfully saved as '{RAW_STRING}'
 
STR_ERROR_SCREENSHOT_FAILED                                     :{WHITE}Screenshot failed!
src/openttd.cpp
Show inline comments
 
@@ -1054,6 +1054,10 @@ void SwitchToMode(SwitchMode new_mode)
 

	
 
		case SM_MENU: // Switch to game intro menu
 
			LoadIntroGame();
 
			if (BaseSounds::ini_set == NULL && BaseSounds::GetUsedSet()->fallback) {
 
				ShowErrorMessage(STR_WARNING_FALLBACK_SOUNDSET, INVALID_STRING_ID, 0, 0, true);
 
				BaseSounds::ini_set = strdup(BaseSounds::GetUsedSet()->name);
 
			}
 
			break;
 

	
 
		case SM_SAVE: // Save game
0 comments (0 inline, 0 general)