mirror of
				https://github.com/hedge-dev/UnleashedRecomp.git
				synced 2025-10-30 07:11:05 +00:00 
			
		
		
		
	game_window: change window title to "Unleashed Recompiled"
This commit is contained in:
		
							parent
							
								
									513a66657f
								
							
						
					
					
						commit
						e7919da1bd
					
				
					 2 changed files with 11 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -298,9 +298,14 @@ void GameWindow::SetIcon(bool isNight)
 | 
			
		|||
 | 
			
		||||
const char* GameWindow::GetTitle()
 | 
			
		||||
{
 | 
			
		||||
    return Config::Language == ELanguage::Japanese
 | 
			
		||||
        ? "SONIC WORLD ADVENTURE"
 | 
			
		||||
        : "SONIC UNLEASHED";
 | 
			
		||||
    if (Config::UseOfficialTitleOnTitleBar)
 | 
			
		||||
    {
 | 
			
		||||
        return Config::Language == ELanguage::Japanese
 | 
			
		||||
            ? "SONIC WORLD ADVENTURE"
 | 
			
		||||
            : "SONIC UNLEASHED";
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    return "Unleashed Recompiled";
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void GameWindow::SetTitle(const char* title)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -373,7 +373,8 @@ public:
 | 
			
		|||
            if (Callback)
 | 
			
		||||
                Callback(this);
 | 
			
		||||
 | 
			
		||||
            IsLoadedFromConfig = true;
 | 
			
		||||
            if (pSection->contains(Name))
 | 
			
		||||
                IsLoadedFromConfig = true;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -683,6 +684,7 @@ public:
 | 
			
		|||
    CONFIG_DEFINE_HIDDEN("Exports", bool, HomingAttackOnBoost, true);
 | 
			
		||||
    CONFIG_DEFINE_HIDDEN("Exports", bool, SaveScoreAtCheckpoints, false);
 | 
			
		||||
    CONFIG_DEFINE_HIDDEN("Exports", bool, SkipIntroLogos, false);
 | 
			
		||||
    CONFIG_DEFINE_HIDDEN("Exports", bool, UseOfficialTitleOnTitleBar, false);
 | 
			
		||||
 | 
			
		||||
    static std::filesystem::path GetConfigPath()
 | 
			
		||||
    {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue