Skip to content

Commit

Permalink
- moved showing of start window banner to proper location in Cocoa ba…
Browse files Browse the repository at this point in the history
…ckend
  • Loading branch information
alexey-lysiuk committed Feb 2, 2020
1 parent 260c300 commit d527866
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
6 changes: 6 additions & 0 deletions src/posix/cocoa/i_system.mm
Expand Up @@ -60,6 +60,12 @@ void CalculateCPUSpeed()
}


void I_SetIWADInfo()
{
FConsoleWindow::GetInstance().SetTitleText();
}


void I_DebugPrint(const char *cp)
{
NSLog(@"%s", cp);
Expand Down
1 change: 0 additions & 1 deletion src/posix/cocoa/st_start.mm
Expand Up @@ -66,7 +66,6 @@
{
FConsoleWindow& consoleWindow = FConsoleWindow::GetInstance();
consoleWindow.SetProgressBar(true);
consoleWindow.SetTitleText();

#if 0
// Testing code, please do not remove
Expand Down
5 changes: 0 additions & 5 deletions src/posix/i_system_posix.cpp
Expand Up @@ -56,11 +56,6 @@ void I_Init()
}


void I_SetIWADInfo()
{
}


bool I_WriteIniFailed()
{
printf("The config file %s could not be saved:\n%s\n", GameConfig->GetPathName(), strerror(errno));
Expand Down
4 changes: 4 additions & 0 deletions src/posix/sdl/i_system.cpp
Expand Up @@ -41,6 +41,10 @@ int I_PickIWad_Cocoa (WadStuff *wads, int numwads, bool showwin, int defaultiwad

double PerfToSec, PerfToMillisec;

void I_SetIWADInfo()
{
}

//
// I_Error
//
Expand Down

0 comments on commit d527866

Please sign in to comment.