Units in Trieres Config files.


In each of the configuration files used in the 'trieres' game, numbers are entered in 'SI' units - meters, seconds, kilogrammes. Angles are in degrees and fractional quantities are entered as a number in the range 0.0 to 1.0.

However, when entering data from historical sources, it is often convenient to use alternative units. Trieres supports this - allowing numbers in configuration files to be followed by any of:


   10"       -- Ten inches
   10'       -- Ten feet
   10        -- Ten meters
   10m       -- Ten meters
   10.0nm    -- Ten nautical miles.
   10.0mi    -- Ten miles.

   0.0g      -- One tenth the accelleration due to gravity.