- moved showing of start window banner to proper location in Cocoa backend

This commit is contained in:
alexey.lysiuk 2020-02-02 11:29:17 +02:00
parent 260c3009a5
commit d527866e6d
4 changed files with 10 additions and 6 deletions

View file

@ -60,6 +60,12 @@ void CalculateCPUSpeed()
} }
void I_SetIWADInfo()
{
FConsoleWindow::GetInstance().SetTitleText();
}
void I_DebugPrint(const char *cp) void I_DebugPrint(const char *cp)
{ {
NSLog(@"%s", cp); NSLog(@"%s", cp);

View file

@ -66,7 +66,6 @@ FBasicStartupScreen::FBasicStartupScreen(int maxProgress, bool showBar)
{ {
FConsoleWindow& consoleWindow = FConsoleWindow::GetInstance(); FConsoleWindow& consoleWindow = FConsoleWindow::GetInstance();
consoleWindow.SetProgressBar(true); consoleWindow.SetProgressBar(true);
consoleWindow.SetTitleText();
#if 0 #if 0
// Testing code, please do not remove // Testing code, please do not remove

View file

@ -56,11 +56,6 @@ void I_Init()
} }
void I_SetIWADInfo()
{
}
bool I_WriteIniFailed() bool I_WriteIniFailed()
{ {
printf("The config file %s could not be saved:\n%s\n", GameConfig->GetPathName(), strerror(errno)); printf("The config file %s could not be saved:\n%s\n", GameConfig->GetPathName(), strerror(errno));

View file

@ -41,6 +41,10 @@ int I_PickIWad_Cocoa (WadStuff *wads, int numwads, bool showwin, int defaultiwad
double PerfToSec, PerfToMillisec; double PerfToSec, PerfToMillisec;
void I_SetIWADInfo()
{
}
// //
// I_Error // I_Error
// //