stefanhendriks / Dune-II---The-Maker

A remake of the classic Dune 2 - The Building of a Dynasty (by Westwood Studios) with several enhancements. Like: higher screenresolutions, zooming, multiselect, skirmish play, etc.
https://www.dune2themaker.com
302 stars 27 forks source link

Fix Dune 2 bug: Support repeating reinforcements #504

Closed stefanhendriks closed 2 years ago

stefanhendriks commented 2 years ago

According to the Dune 2 file format specification, the [REINFORCEMENTS] section contains rows where the last entry (time) can have an additional +. If given, the reinforcement rule should be repeated.

This does not work in Dune 2 however (nor in D2TM).

Fix this, so D2TM can repeat reinforcements. But make it able to disable this behavior (so it behaves like Dune 2).