Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.WinForms
view WarFoundryPref.xml @ 96:057498981bde
Re #209: equipmentslot Value problem
* Simple hack to stop the UI erroring - make sure that the value is between min and max
Underlying problem still exists in the API as adding 1 as a percentage to a unit of 11 (9.1%) is actually 9.09% recurring, which is 1.001, which is rounded to 2 when calculating cost. Perhaps percentages need to always be rounded down instead of up/down based on equipment properties?
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 09 Nov 2009 20:58:18 +0000 |
parents | fcfe7e12616a |
children |
line wrap: on
line source
<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE preferences[ <!ELEMENT preference (CDATA|preferenceArr+)> <!ELEMENT preferenceArr (CDATA)> <!ATTLIST preference id ID #REQUIRED> <!ATTLIST preference type CDATA #REQUIRED> <!ATTLIST preferenceArr id ID #REQUIRED> ]> <preferences> <preference id="language" type="System.String">en</preference> <preference id="currSystem" type="System.String">wh</preference> <preference id="logLevel" type="System.String">Info</preference> </preferences>