//====================================================//
// My ID tag
//====================================================//
int mIdNum;
int mxPanelOffset;
int myPanelOffset;
int
mHudFont;
int
mMFDFont;
int
mDEDFont;
//====================================================//
// Default Cursor Stuff
//====================================================//
RECT mMouseBounds;
PanelAdjStr mAdjacentPanels;
int mDefaultCursor;
//====================================================//
// Camera Angles and Cockpit Masks
//====================================================//
float mPan;
float mTilt;
float mMaskTop;
ViewportBounds *mpViewBounds[BOUNDS_TOTAL];
int mScale;
//====================================================//
// Information and Links to Surfaces
//====================================================//
int mNumSurfaces;
PanelSurfaceStr *mpSurfaceData;
//====================================================//
// Geometry Stuff
//====================================================//
BOOL mDoGeometry;
//====================================================//
// Information and Links to Objects
//====================================================//
int mNumObjects;
int *mpObjectIDs;
int mNumButtonViews;
int *mpButtonViewIDs;
CPObject **mpObjects;
CPButtonView **mpButtonViews;
float
osbLocation[2][20][2];
//====================================================//
// Pointers to the Outside World
//====================================================//
ImageBuffer *mpOTWImage;
//====================================================//
// Constructors and Destructors
//====================================================//
CPPanel(PanelInitStr*);
virtual ~CPPanel();
//====================================================//
// Public Runtime Functions
//====================================================//
void Exec(SimBaseClass*, int);
void CreateLitSurfaces(float); // Added for TOD Effects 2/9/98
void DiscardLitSurfaces(void); // Added for TOD Effects 2/9/98
void SetTOD(float); // Added for TOD Effects 2/9/98
void DisplayBlit();
void DisplayDraw();
BOOL DoGeometry(void); // Should we draw
the wings and the reflections?
BOOL Dispatch(int*, int, int, int);
BOOL POVDispatch(int);
void SetDirtyFlags(void);
BOOL GetViewportBounds(ViewportBounds*, int);
int HudFont(void) {return mHudFont;};
int MFDFont(void) {return mMFDFont;};
int DEDFont(void) {return mDEDFont;};