...instead of SDL_ttf. It is enabled at run-time only if the
--shadowm-storyscreens switch is passed in the command line.
At the moment, this code is pretty much untested and messy, and doesn't
implement any visual effects.
The --shadow-storyscreen switch is left for experimental features that
will follow soon (including a new idiom for end-of-campaign text
screens).
Note that the new storyscreen code causes a noticeable delay on startup
for HttT as it caches scaled down versions of the background graphics.
We should probably do loadscreen calls there...
...which will also change their WML structures in the future.
For now there is only a minimal set of stubs in the new code, which is
also disabled for normal builds unless -DSHADOWM_STORYSCREEN is used.
If you find "bugs" in the new code in storyscreen.?pp, talk with me first,
I may be aware of them already...
...may be used in story WML ([story]) from now on.
Fulfills FR / bug #13170.
Silene or Sapient may want to check the usage of
vconfig::all_children_iterator in this commit, however.
...at the end of the lg::wml_error stringstream... why label a commit
like part of a different refactoring task if it also has these
unrelated side-effects?
Since the text box is drawn in the helper, it would flicker
if the screen got updated just after drawing the background.
It was very visible in the TRoW intro sequence.
The new condition is there to keep animation functionality.
Fixed a possible reference-to-temporary issue (symptom might be
mordante's memory corruption)
Removed flickering when redrawing the text area's background.
* Removed text wrapping around background image in story screens; it is
better to always use the whole screen width if possible (fixes the
first story screens in Descent into Darkness and Under the Burning Suns).
* Tweaked the algorithm that extends the darkened area below long
story texts so that it gives a more consistent appearance.
...that occurred at random after expanding the story WML vconfig for
the [image] tag. It occurred in UMC "Invasion from the Unknown",
particularly due to a variable-expanded [image] file= attribute.
This was caused by a mess of reference-to-temporary
issues that aren't compatible with vconfig's model of
attribute values.
* Added the basic C++ interfaces for custom end-of-campaign texts.
We still need a WML interface. (feature/bug #10449 - not finished)
* Fixed unresponsiveness of color cursors on end-of-campaign screen.
* Changed EoC timeout from 4 secs. to 3.5.
Now that MSVC 6 is no longer supported start to remove some helper code
to work around problems in that compiler. The first step is to comment
out the code and replace it with new helper code that uses the standard.
The second step is to remove the helper code and fix all callers.
Patch 2/3 for step 2: Remove minimum and maximum and fix all callers.
[set_variable] accepts string_length=
[variable] accepts boolean_not_equals=
[modify_side] can set a side's AI parameters now, using the [ai]
syntax as side declarations do (patch #984)
This will have to do for now for the problem of the title letters
sometimes being indistinguishable from the background because of lack
of contrast against the background image. Hopefully someday someone
will fix this problem in a better way.