]> git.mxchange.org Git - flightgear.git/commit
Removed the (apparently unused) 'factor' and 'offset' arguments from
authordavid <david>
Mon, 30 Dec 2002 19:50:17 +0000 (19:50 +0000)
committerdavid <david>
Mon, 30 Dec 2002 19:50:17 +0000 (19:50 +0000)
commit0d12c4d83de6d832948c729ac9a4a6084e87f56e
tree230649fa5c064d9876be0f6f62c33692dd56d872
parentea981119267ddfe5b6fc3527738e88a80d8b9536
Removed the (apparently unused) 'factor' and 'offset' arguments from
property-adjust.

Modified property-adjust and property-multiply so that they always
work with double values, to simplify the code.

Factored out some common code.

Added a 'mask' argument to the property-adjust and property-multiply
commands.  If mask is set to "all" (the default), then the command
works as before; if mask is set to "integer", it works only to the
left of the decimal point; and if mask is set to "decimal", it works
only to the right of the decimal place.  This functionality is useful
for tuning VHF COM and NAV radios.
src/Main/fg_commands.cxx