Declare fgReshape into gui.h
This commit is contained in:
parent
729a3b9af7
commit
7948238156
6 changed files with 1 additions and 11 deletions
|
@ -53,7 +53,6 @@
|
|||
|
||||
// main.cxx hack, should come from an include someplace
|
||||
extern void fgInitVisuals( void );
|
||||
extern void fgReshape( int width, int height );
|
||||
extern void fgRenderFrame( void );
|
||||
|
||||
extern void initDialog (void);
|
||||
|
|
|
@ -89,6 +89,7 @@ extern void ClearRoute(puObject *);
|
|||
extern void fgAPAdjust(puObject *);
|
||||
extern void fgLatLonFormatToggle(puObject *);
|
||||
extern void helpCb(puObject *);
|
||||
extern void fgReshape(int, int);
|
||||
|
||||
typedef struct {
|
||||
char *name;
|
||||
|
|
|
@ -100,7 +100,6 @@ SG_USING_STD(cout);
|
|||
|
||||
// main.cxx hack, should come from an include someplace
|
||||
extern void fgInitVisuals( void );
|
||||
extern void fgReshape( int width, int height );
|
||||
extern void fgRenderFrame( void );
|
||||
|
||||
extern void fgHUDalphaAdjust( puObject * );
|
||||
|
|
|
@ -20,9 +20,6 @@
|
|||
#include "gui.h"
|
||||
#include "trackball.h"
|
||||
|
||||
// from main.cxx
|
||||
extern void fgReshape(int, int);
|
||||
|
||||
// FOR MOUSE VIEW MODE
|
||||
// stashed trackball(_quat0, 0.0, 0.0, 0.0, 0.0);
|
||||
static float _quat0[4];
|
||||
|
|
|
@ -162,9 +162,6 @@ FGBinding::fire (double setting) const
|
|||
// Implementation of FGInput.
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// From main.cxx
|
||||
extern void fgReshape( int width, int height );
|
||||
|
||||
|
||||
FGInput::FGInput ()
|
||||
{
|
||||
|
|
|
@ -215,9 +215,6 @@ FGGeneral general;
|
|||
static int idle_state = 0;
|
||||
static long global_multi_loop;
|
||||
|
||||
// forward declaration
|
||||
void fgReshape( int width, int height );
|
||||
|
||||
// fog constants. I'm a little nervous about putting actual code out
|
||||
// here but it seems to work (?)
|
||||
static const double m_log01 = -log( 0.01 );
|
||||
|
|
Loading…
Reference in a new issue