Re: [Flightgear-devel] /controls/parking-brake

2002-04-16 Thread Julian Foad
David Megginson wrote: Frederic Bouvier writes: MSVC has no 'fmax' function. 'max' is ok (a macro !). Hmm -- max won't work under GCC because it's an inlined function. Heh? You mean the inlined (templated) max function from algorithm/stl_algobase.h? What's wrong with that? It is

[Flightgear-devel] /controls/parking-brake

2002-04-11 Thread David Megginson
I've added a new property, /controls/parking-brake (also available through FGControls). For both JSBSim and the YASim C172, this property overrides the toe brakes for the main gear (actually, for YASim, it is just added then clamped). The 'B' key now toggles the parking brake on and off.

Re: [Flightgear-devel] /controls/parking-brake

2002-04-11 Thread Jim Wilson
David Megginson [EMAIL PROTECTED] said: I've added a new property, /controls/parking-brake (also available through FGControls). For both JSBSim and the YASim C172, this property overrides the toe brakes for the main gear (actually, for YASim, it is just added then clamped). The 'B' key

Re: [Flightgear-devel] /controls/parking-brake

2002-04-11 Thread Frederic Bouvier
From: David Megginson [EMAIL PROTECTED] I've added a new property, /controls/parking-brake (also available through FGControls). For both JSBSim and the YASim C172, this property overrides the toe brakes for the main gear (actually, for YASim, it is just added then clamped). in JSBSim.cxx,

Re: [Flightgear-devel] /controls/parking-brake

2002-04-11 Thread David Megginson
Frederic Bouvier writes: MSVC has no 'fmax' function. 'max' is ok (a macro !). Hmm -- max won't work under GCC because it's an inlined function. I guess I'll have to write out the comparison. All the best, David -- David Megginson [EMAIL PROTECTED]