Add Automap Title / Author Cycle #665
Draft
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.
Here's a feature I've been working on for a while...
The idea was that the "author" field of UMAPINFO or MAPINFO is not used very much, so what if the automap title cycled between the map name and the author (if the author field was found).
Yes, it may be a good idea to add a dedicated "author" field to DSDAHUD, but I probably wouldn't use it personally since it would take more screen real estate.
I've added both a DSDAHUD parameter and a config option. (I personally don't like having DSDAHUD parameters... Right now I've included a config option for easy testing, altho I didn't include a menu option cuz PBeGood doesn't like those :P ).
The swap transition is a bit abrupt at the moment, but it's a little tricky to implement a true transition since DSDAHUD doesn't currently 1) have translucency functionality yet and 2) we don't really have any precedent for fancy transitions.
In this implementation I haven't added an option to customise the speed of the "title swap", but it could probably be done via the
titleTimevariable if need be. I just worry adding that feature would be extraneous... In my opinion we should pick a speed that's generally good for the default.I currently have the swap setup only to happen when the automap is active.
A good wad to test this functionality would be Plutonic Visions. Just warp to map04, enable the automap, and you'll see the feature in action.