From: Erik V. <eri...@xs...> - 2011-07-22 20:52:32
|
(Although this is not a small commit, I couldn't resist the urge to include the phase management updates that I have been working on earlier this week. This time I created a branch, and merged it into my master - and only then realised that I had to push it immediately to avoid getting into out-of-sync problems again. Or not?) Phase management upgrade step 3: train limits. <Phase><Trains> now has a new attribute 'limitStep', which starts at 1. <Company[Type]><Trains> now lists the number of trains per step, not per phase. These changes have been applied to 1835 ONLY. Temporary code ensures that the old way still works for other games. <Phase> has another new optional attribute 'realName', intended to have the 'official' name of a phase, as in the physical game. This real name is used in displaying the current phase, see below. 1835 new-style phase example: <Phase name="4" realName="2"> <Trains limitStep="2" rusted="2"/> </Phase> In the game status window this phase is now displayed as "4 [2]". The major CompanyType now has <Trains limit="4,3,2"/> This change also fixes the 1835 bug that the train limit was reduced to 2 at buying the 4+4-train instead of at buying the 5-train, as reported by John David Galt in his recent playtest report. Erik. |