forked from electronicarts/CnC_Generals_Zero_Hour
-
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
Open
bobtista
wants to merge
31
commits into
TheSuperHackers:main
Choose a base branch
from
bobtista:bobtista/campaign-bink-video-skip-esc
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 12 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
315e3f8
Add skip video functionality to SinglePlayerLoadScreen
bobtista 1cc48f2
Add ESC key handler to skip campaign Bink videos
bobtista 8ddcebc
Add skip video functionality to SinglePlayerLoadScreen
bobtista d81a844
Add ESC key handler to skip campaign Bink videos
bobtista 881a208
feat: Add ESC key support to skip campaign videos
bobtista 40f1e0f
Add virtual functions to LoadScreen base class for video skipping
bobtista c926884
Simplify skipVideo() to directly call frameGoto() and remove m_skipVi…
bobtista c7c8812
Replace dynamic_cast with virtual function calls for video skip
bobtista 6ae09b0
Match Generals order: handle load screen video skip after TheDisplay-…
bobtista 79dac14
Make Generals code match GeneralsMD implementation
bobtista 625242e
Make Generals code match GeneralsMD: use pure virtual functions and r…
bobtista d4f8638
Add missing Keyboard.h include in Generals LoadScreen.cpp
bobtista 3b824a2
Check frameIndex to confirm video playback is active
bobtista 9ef4b5d
Format TheMessageStream check with braces for consistency
bobtista e9a0780
Store getLoadScreen result to avoid duplicate call
bobtista 7f7537b
Combine TheKeyboard and TheMessageStream conditions
bobtista de20cd7
Add comment that campaign videos are skippable
bobtista 68143c6
Remove excess blank line in ChallengeLoadScreen
bobtista bfe0bea
Add GameLogic::skipLoadScreen method to prevent direct LoadScreen access
bobtista 8548221
Combine TheKeyboard and TheMessageStream conditions in GeneralsMD
bobtista 150a8b6
Simplify isVideoPlaying to remove overengineered frameIndex check
bobtista 0c384c9
refactor(video): remove isVideoPlaying() and make skipVideo() return …
bobtista 12ab31b
refactor(video): simplify GameLogic::skipLoadScreen() to use skipVide…
bobtista 905430c
revert: remove accidental whitespace changes from GeneralsMD GameClie…
bobtista e3b8511
fix: sync GeneralsMD LoadScreen base class and remove accidental Gene…
bobtista 5acba10
fix: add missing skipVideo() implementations to GeneralsMD load scree…
bobtista 884fc9e
Make Generals WindowXlat formatting match GeneralsMD
bobtista ac01816
Add braces to TheWindowManager conditional in both games
bobtista 4f24f74
Add MessageStream.h include to Generals LoadScreen for consistency
bobtista f4540cf
Replicate GeneralsMD changes to Generals using patch method
bobtista 45edf94
Remove unused getLoadScreen() const method
bobtista File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.