Page 1 of 1
1.00.06U4 Reinforcements
Posted: Fri Feb 21, 2020 11:18 pm
by ago1000
Reinforcements still have a max.
Check out the Gr. Wodrig Corp 10/20 strength at the start of the 1939 scenario. For this unit the Max it will reinforce in a single turn is 3 strength. It will use 10PP to go from 10/20 to 13/20.
RE: 1.00.06U4 Reinforcements
Posted: Sat Feb 22, 2020 1:06 am
by AlvaroSousa
I checked the code and it was right. I thought "ahh ago1000 is crazy"
But I just did this specific test and you are right. So I looked at the calculation and it says 4 but is coming back 3. Because it registering it as a float like 3.99999999 and rounding down on the multiple. weird because it's an even division. I'll have to rewrite the formula in a different way.
RE: 1.00.06U4 Reinforcements
Posted: Sat Feb 22, 2020 2:42 am
by ago1000
Lol.[:)] I do work in a white room with no windows. Just waiting for them to put up the padding.[X(]
Thanks again for looking at it and all the updates. This game keeps getting better and better.
I know that Java arithmetic will truncate calculations, not sure about C#. In java 1/2 is 0 unless you force it to calculate the decimal, (1.0 * 1)/2 or 1D/2.
Just wondering if this might be possible:
1) adding a tech column to help see which units need upgrading.
2) clicking arrow will select/highlight the unit also.
Great idea changing the font colour when you select a unit not to reinforce/upgrade.
Circles for air units look great also.

RE: 1.00.06U4 Reinforcements
Posted: Sat Feb 22, 2020 10:05 am
by ago1000
Forgot to upload this one. This was a previous suggestion I had made in an earlier post with regard to showing reinforcement and upgrade production point costs to help users better estimate how many production points to allocate to reinforcement/upgrades in between turns when the priority reinforcement/upgrade icon is selected. (My original suggest was to select a letter, like p, and click on the units and it would give you an approximate reinforcement and upgrade cost if the units were placed in priority. This may be too difficult to implement.) The pic below is an alternative to the previous idea.
