23 #ifndef BAGEL_SPACEBAR_MAIN_WINDOW_H 24 #define BAGEL_SPACEBAR_MAIN_WINDOW_H 26 #include "bagel/boflib/gfx/palette.h" 27 #include "bagel/baglib/pan_window.h" 28 #include "bagel/baglib/menu_dlg.h" 29 #include "bagel/spacebar/thud.h" 34 #define VRFILES ".\\*.bmp" 36 #define BMPFILES ".\\BMP\\*.bmp" 37 #define BMPDIR ".\\BMP\\" 38 #define SPRITEFILES ".\\SPRITE\\*.bmp" 39 #define SPRITEDIR ".\\SPRITE\\" 40 #define SOUNDFILES ".\\SPRITE\\*.bmp" 41 #define SOUNDDIR ".\\SPRITE\\" 42 #define LINKFILES ".\\*.wld" 54 static int _nInstances;
55 static bool _bZzazzlVision;
65 VRPLAYMODE, VRBUILDMODE, VRPANMODE
71 static void initialize();
72 static void shutdown();
77 ErrorCode attach()
override;
78 ErrorCode detach()
override;
79 static void setZzazzlVision(
bool newValue);
84 *_xFilterRect = newValue;
101 void setMode(GameMode mode) {
105 ErrorCode setloadFilePos(
CBofPoint dstLoc)
override;
111 ErrorCode onCursorUpdate(
int nCurrObj)
override;
113 void onClose()
override;
114 void onSize(uint32 nType,
int cx,
int cy)
override;
115 void onKeyHit(uint32 lKey, uint32 lRepCount)
override;
116 void onLButtonUp(uint32 nFlags,
CBofPoint *xPoint,
void * =
nullptr)
override;
117 void onLButtonDown(uint32 nFlags,
CBofPoint *xPoint,
void * =
nullptr)
override;
118 void onMouseMove(uint32 nFlags,
CBofPoint *p,
void * =
nullptr)
override;
Definition: pan_window.h:50
Definition: main_window.h:49