Linux build fixes

This commit is contained in:
Robert Beckebans 2024-06-29 13:08:51 +02:00
parent 8389318e26
commit 578a0517b5

View file

@ -618,6 +618,7 @@ int Sys_Milliseconds()
return curtime;
// DG end
}
class idSysCmdline : public idSys
{
public:
@ -823,7 +824,7 @@ public:
// Initialize everything.
// if the OS allows, pass argc/argv directly (without executable name)
// otherwise pass the command line in a single string (without executable name)
virtual void Init( int argc, const char* const* argv, const char* cmdline ) { };
virtual void Init( int argc, const char* const* argv, const char* cmdline ) {}
// Shuts down everything.
virtual void Shutdown() {}
@ -851,6 +852,13 @@ public:
virtual void UpdateScreen( bool captureToImage, bool releaseMouse = true );
virtual void UpdateLevelLoadPacifier() {}
virtual void LoadPacifierInfo( VERIFY_FORMAT_STRING const char* fmt, ... ) {}
virtual void LoadPacifierProgressTotal( int total ) {}
virtual void LoadPacifierProgressIncrement( int step ) {}
virtual bool LoadPacifierRunning()
{
return false;
}
// Checks for and removes command line "+set var arg" constructs.
@ -859,7 +867,7 @@ public:
virtual void StartupVariable( const char* match ) {}
// Begins redirection of console output to the given buffer.
virtual void BeginRedirect( char* buffer, int buffersize, void ( *flush )( const char* ) ) { };
virtual void BeginRedirect( char* buffer, int buffersize, void ( *flush )( const char* ) ) {}
// Stops redirection of console output.
virtual void EndRedirect() {}