#include <simgear/props/props.hxx>
#include <simgear/structure/event_mgr.hxx>
#include <simgear/sound/soundmgr_openal.hxx>
+#include <simgear/timing/sg_time.hxx>
#include <Cockpit/panel.hxx>
#include <Cockpit/panel_io.hxx>
static bool
do_reset (const SGPropertyNode * arg)
{
- reInit();
+ doSimulatorReset();
return true;
}
// unbind the current fdm state so property changes
// don't get lost when we subsequently delete this fdm
// and create a new one.
- cur_fdm_state->unbind();
+ globals->get_subsystem("flight")->unbind();
// set position from presets
fgInitPosition();
static bool
do_hud_init(const SGPropertyNode *)
{
- fgHUDInit(0); // minimal HUD
+ fgHUDInit(); // minimal HUD
return true;
}
static bool
do_hud_init2(const SGPropertyNode *)
{
- fgHUDInit2(0); // normal HUD
+ fgHUDInit2(); // normal HUD
return true;
}