Removed libVoronoi.a
Added Ctrl-U key binding to force an instant altitude gain of 1000'.
This commit is contained in:
parent
55cd4dde3f
commit
817279c7a8
2 changed files with 10 additions and 2 deletions
src/Main
|
@ -7,8 +7,7 @@ endif
|
||||||
if ENABLE_OLD_WEATHER
|
if ENABLE_OLD_WEATHER
|
||||||
WEATHER_LIBS = $(top_builddir)/Simulator/Weather/libWeather.a
|
WEATHER_LIBS = $(top_builddir)/Simulator/Weather/libWeather.a
|
||||||
else
|
else
|
||||||
WEATHER_LIBS = $(top_builddir)/Simulator/WeatherCM/libWeatherCM.a \
|
WEATHER_LIBS = $(top_builddir)/Simulator/WeatherCM/libWeatherCM.a
|
||||||
$(top_builddir)/Lib/Voronoi/libVoronoi.a
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if OLD_AUTOMAKE
|
if OLD_AUTOMAKE
|
||||||
|
|
|
@ -119,6 +119,15 @@ void GLUTkey(unsigned char k, int x, int y) {
|
||||||
case 20: // Ctrl-T key
|
case 20: // Ctrl-T key
|
||||||
fgAPToggleTerrainFollow();
|
fgAPToggleTerrainFollow();
|
||||||
return;
|
return;
|
||||||
|
case 21: // Ctrl-U key
|
||||||
|
// add 1000' of emergency altitude. Possibly good for
|
||||||
|
// unflipping yourself :-)
|
||||||
|
{
|
||||||
|
double alt = cur_fdm_state->get_Altitude() + 1000;
|
||||||
|
fgFDMForceAltitude( current_options.get_flight_model(),
|
||||||
|
alt * FEET_TO_METER );
|
||||||
|
}
|
||||||
|
return;
|
||||||
case 49: // numeric keypad 1
|
case 49: // numeric keypad 1
|
||||||
v->set_goal_view_offset( FG_PI * 0.75 );
|
v->set_goal_view_offset( FG_PI * 0.75 );
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Reference in a new issue