Miscellaneous map rotation fixes or improvements
This contains a bunch of changes related to the map rotation's code:
-
I added a new parameter to the
SetNextMapPosition
ACS function, as per 0004192. If the next map entry in the rotation is set using ACS with that parameter enabled, then that entry will always be entered, regardless of whether or not its min/max player limits are compatible with the current player count. -
General clean up of the map rotation code that I've been meaning to do for some time.
-
Fixed a bug where during startup, if the map rotation is used, the min/max player limits assigned to entries weren't being taken into consideration when choosing the map to start on. Thus, it could still choose maps that shouldn't be entered.
-
Map rotations, as well as the
SetNextMapPosition
ACS function, can now be used in offline games, as per 0004344. -
When the
maplist
CCMD is used, if the current and next map positions match, it now indicates both and uses cyan (or turquoise) to highlight the text.