25 #include "common/events.h" 27 #include "hdb/sound.h" 31 #define TITLE_DELAY1 2 // time to wait before OOH OOH 32 #define TITLE_DELAY2 0.5 // time to spend doing OOH OOH 33 #define TITLE_DELAY3 1 // time to wait before ending title 35 #define centerPic(x) (g_hdb->_screenWidth / 2 - x->_width / 2) 54 kOptionsScreenMain = 1,
55 kOptionsScreenModifyControls = 2
65 int x, y, speed, anim, delay;
67 Star() : x(0), y(0), speed(0), anim(0), delay(0) {}
88 void processInput(
int x,
int y);
89 void controlsInput(
int x,
int y,
int xit);
92 void drawRocketAndSelections();
93 void drawSlider(
int x,
int y,
int offset);
94 void drawToggle(
int x,
int y,
bool flag);
95 void drawWarpScreen();
96 void saveSong(SoundType song) {
100 void fillSavegameSlots();
102 void setMenuKey(
int status) {
175 Save _saveGames[kNumSaveSlots + 1];
181 SoundType _resumeSong;
184 Picture *_titleScreen, *_titleLogo, *_hdbLogoScreen, *_menuBackoutGfx, *_controlButtonGfx, *_controlsGfx, *_menuBackspaceGfx;
186 int _rocketY, _rocketYVel, _rocketEx;
187 Picture *_rocketEx1, *_rocketEx2, *_rocketMain, *_rocketSecond;
190 int _nebulaX, _nebulaY, _nebulaYVel, _nebulaWhich;
191 Picture *_nebulaGfx[kNebulaCount];
193 Picture *_newGfx, *_loadGfx, *_optionsGfx, *_quitGfx, *_resumeGfx, *_slotGfx;
194 Picture *_modePuzzleGfx, *_modeActionGfx, *_modeLoadGfx, *_modeSaveGfx, *_quitScreen;
198 Picture *_starRedGfx[2], *_starGreenGfx[2], *_starBlueGfx[2], *_versionGfx;
199 Picture *_screenshots1gfx, *_screenshots1agfx, *_screenshots2gfx, *_demoPlaqueGfx, *_handangoGfx;
201 bool _menuActive, _optionsScrolling, _newgameActive, _sayHDB, _warpActive, _gamefilesActive, _optionsActive, _quitActive;
202 int _clickDelay, _saveSlot, _optionsScreenId, _quitCounter, _warpMapId;
203 int _optionsScrollX, _optionsXV, _oBannerY;
206 Picture *_contArrowUp, *_contArrowDown, *_contArrowLeft, *_contArrowRight, *_contAssign, *_warpPlaque;
208 Picture *_sliderLeft, *_sliderMid, *_sliderRight, *_sliderKnob;
209 Picture *_gCheckEmpty, *_gCheckOn, *_gCheckOff, *_gCheckLeft, *_gCheckRight;
211 SoundType _introSong, _titleSong;
213 Star _fStars[kMaxStars];
220 #endif // !HDB_SOUND_H Definition: ai-player.h:25