-
Notifications
You must be signed in to change notification settings - Fork 121
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
…rals GameClient.cpp changes
|
Does not compile :P |
Fixed :) |
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.
I think this review never get done :)
| if( TheKeyboard && TheMessageStream ) | ||
| { | ||
| 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.
After taking a look at this function, I think this logic can be greatly simplified by cutting the Message middle man and do the key press detection right in this update loop, which then eliminates touching a whole bunch of files.
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.
I can take over this change because it takes too many revisions to review.
-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.