-
Notifications
You must be signed in to change notification settings - Fork 120
feat(video): add ESC key support to skip campaign Bink videos #1900
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
feat(video): add ESC key support to skip campaign Bink videos #1900
Conversation
GeneralsMD/Code/GameEngine/Source/GameClient/MessageStream/WindowXlat.cpp
Outdated
Show resolved
Hide resolved
GeneralsMD/Code/GameEngine/Source/GameClient/MessageStream/WindowXlat.cpp
Outdated
Show resolved
Hide resolved
GeneralsMD/Code/GameEngine/Source/GameClient/GUI/LoadScreen.cpp
Outdated
Show resolved
Hide resolved
GeneralsMD/Code/GameEngine/Source/GameClient/GUI/LoadScreen.cpp
Outdated
Show resolved
Hide resolved
GeneralsMD/Code/GameEngine/Source/GameClient/GUI/LoadScreen.cpp
Outdated
Show resolved
Hide resolved
GeneralsMD/Code/GameEngine/Source/GameClient/MessageStream/WindowXlat.cpp
Outdated
Show resolved
Hide resolved
Generals/Code/GameEngine/Source/GameClient/MessageStream/WindowXlat.cpp
Outdated
Show resolved
Hide resolved
Generals/Code/GameEngine/Source/GameClient/MessageStream/WindowXlat.cpp
Outdated
Show resolved
Hide resolved
GeneralsMD/Code/GameEngine/Source/GameClient/GUI/LoadScreen.cpp
Outdated
Show resolved
Hide resolved
GeneralsMD/Code/GameEngine/Source/GameClient/MessageStream/WindowXlat.cpp
Outdated
Show resolved
Hide resolved
1748b1b to
8548221
Compare
xezon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The edits between Generals and Zero Hour need to be properly synced.
GeneralsMD/Code/GameEngine/Source/GameClient/GUI/LoadScreen.cpp
Outdated
Show resolved
Hide resolved
| { | ||
| TheKeyboard->UPDATE(); | ||
| TheKeyboard->createStreamMessages(); | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still has one excess edit here.
| virtual void update( Int percent ); ///< Update the state of the slider bars | ||
| virtual void processProgress(Int playerId, Int percentage) = 0; | ||
| virtual void setProgressRange( Int min, Int max ) = 0; | ||
| virtual Bool skipVideo( void ) { return FALSE; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is not pure virtual unlike Generals.
Please double check that Generals and GeneralsMD have identical edits.
…rals GameClient.cpp changes
|
Does not compile :P |
Fixed :) |
|
|
||
| // process event through window system | ||
| if( TheWindowManager ) | ||
| { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This edit look different to Generals MD. Please make a pass and eliminate all differences in edits between the games. Both games must be touched identically.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok they both use the braces for the conditional. I found an include that differed, fixed that, and otherwise I just see a newline that's added in one file for formatting where it wouldn't be required in the other file.
-Closes #1896
Adds the ability to skip campaign Bink videos by pressing ESC, matching the behavior of other movies in the game.
Changes:
isVideoPlaying()andskipVideo()methods toSinglePlayerLoadScreenWindowXlatto detect campaign videos and trigger skipTested with Zero Hour USA Solo Play intro video.