Cleaned up various warning messages.
This commit is contained in:
parent
81eb6d345d
commit
d839e84f99
4 changed files with 20 additions and 16 deletions
|
@ -314,20 +314,20 @@ static struct {
|
||||||
const char * name;
|
const char * name;
|
||||||
SGCommandMgr::command_t command;
|
SGCommandMgr::command_t command;
|
||||||
} built_ins [] = {
|
} built_ins [] = {
|
||||||
"null", do_null,
|
{ "null", do_null },
|
||||||
"exit", do_exit,
|
{ "exit", do_exit },
|
||||||
"load", do_load,
|
{ "load", do_load },
|
||||||
"save", do_save,
|
{ "save", do_save },
|
||||||
"panel-load", do_panel_load,
|
{ "panel-load", do_panel_load },
|
||||||
"preferences-load", do_preferences_load,
|
{ "preferences-load", do_preferences_load },
|
||||||
"view-cycle", do_view_cycle,
|
{ "view-cycle", do_view_cycle },
|
||||||
"screen-capture", do_screen_capture,
|
{ "screen-capture", do_screen_capture },
|
||||||
"property-toggle", do_property_toggle,
|
{ "property-toggle", do_property_toggle },
|
||||||
"property-assign", do_property_assign,
|
{ "property-assign", do_property_assign },
|
||||||
"property-adjust", do_property_adjust,
|
{ "property-adjust", do_property_adjust },
|
||||||
"property-swap", do_property_swap,
|
{ "property-swap", do_property_swap },
|
||||||
"property-scale", do_property_scale,
|
{ "property-scale", do_property_scale },
|
||||||
0, 0 // zero-terminated
|
{ 0, 0 } // zero-terminated
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -39,9 +39,9 @@ FGGlobals::FGGlobals() :
|
||||||
freeze( false ),
|
freeze( false ),
|
||||||
warp( 0 ),
|
warp( 0 ),
|
||||||
warp_delta( 0 ),
|
warp_delta( 0 ),
|
||||||
commands(new SGCommandMgr),
|
|
||||||
props(new SGPropertyNode),
|
props(new SGPropertyNode),
|
||||||
initial_state(0)
|
initial_state(0),
|
||||||
|
commands(new SGCommandMgr)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -88,6 +88,7 @@ void fgMakeLookAtMat4 ( sgMat4 dst, const sgVec3 eye, const sgVec3 center,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#if 0
|
||||||
// convert sgMat4 to MAT3 and print
|
// convert sgMat4 to MAT3 and print
|
||||||
static void print_sgMat4( sgMat4 &in) {
|
static void print_sgMat4( sgMat4 &in) {
|
||||||
int i, j;
|
int i, j;
|
||||||
|
@ -98,6 +99,7 @@ static void print_sgMat4( sgMat4 &in) {
|
||||||
cout << endl;
|
cout << endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
// Update the view parameters
|
// Update the view parameters
|
||||||
|
|
|
@ -139,6 +139,7 @@ inline static void fgMakeLOCAL( sgMat4 dst, const double Theta,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#if 0
|
||||||
// convert sgMat4 to MAT3 and print
|
// convert sgMat4 to MAT3 and print
|
||||||
static void print_sgMat4( sgMat4 &in) {
|
static void print_sgMat4( sgMat4 &in) {
|
||||||
int i, j;
|
int i, j;
|
||||||
|
@ -149,6 +150,7 @@ static void print_sgMat4( sgMat4 &in) {
|
||||||
cout << endl;
|
cout << endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
// Update the view parameters
|
// Update the view parameters
|
||||||
|
|
Loading…
Add table
Reference in a new issue