Skip to content

Commit 5acba10

Browse files
committed
fix: add missing skipVideo() implementations to GeneralsMD load screen classes
1 parent e3b8511 commit 5acba10

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

GeneralsMD/Code/GameEngine/Include/GameClient/LoadScreen.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ class ShellGameLoadScreen : public LoadScreen
219219
DEBUG_CRASH(("We Got to a single player load screen throw the Network..."));
220220
}
221221
virtual void setProgressRange( Int min, Int max ) { }
222+
virtual Bool skipVideo( void ) { return FALSE; }
222223

223224
private:
224225
GameWindow *m_progressBar ; ///< Pointer to the Progress Bar on the window
@@ -244,6 +245,7 @@ class MultiPlayerLoadScreen : public LoadScreen
244245
virtual void update(Int percent); ///< Update the state of the progress bar
245246
void processProgress(Int playerId, Int percentage);
246247
virtual void setProgressRange( Int min, Int max ) { }
248+
virtual Bool skipVideo( void ) { return FALSE; }
247249
private:
248250
GameWindow *m_progressBars[MAX_SLOTS]; ///< pointer array to all the progress bars on the window
249251
GameWindow *m_playerNames[MAX_SLOTS]; ///< pointer array to all the static text player names on the window
@@ -275,6 +277,7 @@ class GameSpyLoadScreen : public LoadScreen
275277
virtual void update(Int percent); ///< Update the state of the progress bar
276278
void processProgress(Int playerId, Int percentage);
277279
virtual void setProgressRange( Int min, Int max ) { }
280+
virtual Bool skipVideo( void ) { return FALSE; }
278281
private:
279282
GameWindow *m_progressBars[MAX_SLOTS]; ///< pointer array to all the progress bars on the window
280283
GameWindow *m_playerNames[MAX_SLOTS]; ///< pointer array to all the static text player names on the window
@@ -319,6 +322,7 @@ class MapTransferLoadScreen : public LoadScreen
319322
virtual void setProgressRange( Int min, Int max ) { }
320323
void processTimeout(Int secondsLeft);
321324
void setCurrentFilename(AsciiString filename);
325+
virtual Bool skipVideo( void ) { return FALSE; }
322326
private:
323327
GameWindow *m_progressBars[MAX_SLOTS]; ///< pointer array to all the progress bars on the window
324328
GameWindow *m_playerNames[MAX_SLOTS]; ///< pointer array to all the static text player names on the window

0 commit comments

Comments
 (0)