#4631: do not attempt loading of missing videos to fix graphics glitch caused by
video text
-------------------------------------------------+-------------------------
Reporter: Forgon | Owner:
Type: patch (an actual patch, not | Status: new
a request for one) | Milestone: unspecified
Priority: normal | Version: unspecified
Component: other |
Operating System: All/Non-Specific |
-------------------------------------------------+-------------------------
When campaign videos are to be played, text is added to the front and
bottom of the screen (see './src/seqdisp.cpp' for the responsible
functions). If they are missing, this text causes a graphics glitch: For
an instant, it is displayed (see attached image [raw-
attachment:campaign_mission_backdrop.png]) and in the intelligence display
it briefly overlaps with the next screen when clicking on intelligence
widgets. It also causes an error message in the logs, as below:
> info |00:10:00: [seq_Play:509] unable to open
'sequences/cam1/c001.ogg' for playback
This patch ensures no further attempts to load missing videos by checking
whether the file './sequences/devastation.ogg' (i.e. the intro video) is
available.
--
Ticket URL: <http://developer.wz2100.net/ticket/4631>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Warzone2100-project mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-project