1
0
Fork 0

Cleaned up various warning messages.

This commit is contained in:
curt 2001-06-14 22:18:01 +00:00
parent 81eb6d345d
commit d839e84f99
4 changed files with 20 additions and 16 deletions

View file

@ -314,20 +314,20 @@ static struct {
const char * name;
SGCommandMgr::command_t command;
} built_ins [] = {
"null", do_null,
"exit", do_exit,
"load", do_load,
"save", do_save,
"panel-load", do_panel_load,
"preferences-load", do_preferences_load,
"view-cycle", do_view_cycle,
"screen-capture", do_screen_capture,
"property-toggle", do_property_toggle,
"property-assign", do_property_assign,
"property-adjust", do_property_adjust,
"property-swap", do_property_swap,
"property-scale", do_property_scale,
0, 0 // zero-terminated
{ "null", do_null },
{ "exit", do_exit },
{ "load", do_load },
{ "save", do_save },
{ "panel-load", do_panel_load },
{ "preferences-load", do_preferences_load },
{ "view-cycle", do_view_cycle },
{ "screen-capture", do_screen_capture },
{ "property-toggle", do_property_toggle },
{ "property-assign", do_property_assign },
{ "property-adjust", do_property_adjust },
{ "property-swap", do_property_swap },
{ "property-scale", do_property_scale },
{ 0, 0 } // zero-terminated
};

View file

@ -39,9 +39,9 @@ FGGlobals::FGGlobals() :
freeze( false ),
warp( 0 ),
warp_delta( 0 ),
commands(new SGCommandMgr),
props(new SGPropertyNode),
initial_state(0)
initial_state(0),
commands(new SGCommandMgr)
{
}

View file

@ -88,6 +88,7 @@ void fgMakeLookAtMat4 ( sgMat4 dst, const sgVec3 eye, const sgVec3 center,
}
#if 0
// convert sgMat4 to MAT3 and print
static void print_sgMat4( sgMat4 &in) {
int i, j;
@ -98,6 +99,7 @@ static void print_sgMat4( sgMat4 &in) {
cout << endl;
}
}
#endif
// Update the view parameters

View file

@ -139,6 +139,7 @@ inline static void fgMakeLOCAL( sgMat4 dst, const double Theta,
#endif
#if 0
// convert sgMat4 to MAT3 and print
static void print_sgMat4( sgMat4 &in) {
int i, j;
@ -149,6 +150,7 @@ static void print_sgMat4( sgMat4 &in) {
cout << endl;
}
}
#endif
// Update the view parameters