22 #ifndef HODJNPODJ_PDQ_GAME_H 23 #define HODJNPODJ_PDQ_GAME_H 25 #include "bagel/afxwin.h" 26 #include "bagel/hodjnpodj/hnplibs/stdinc.h" 27 #include "bagel/boflib/error.h" 33 #define MAX_PLENGTH 25 34 #define MAX_PLENGTH_S 30 36 #define MAX_TURNS 3 // Max Turn Count when playing the metagame 43 #define NUM_BIRD_CELS 20 50 #define NUM_HORSE1_CELS 16 51 #define HORSE1_SLEEP 100 57 #define NUM_HORSE2_CELS 14 58 #define HORSE2_SLEEP 100 64 #define NUM_FLOWER_CELS 21 65 #define FLOWER_SLEEP 200 67 #define BIRD_ANIM ".\\ART\\BIRD.BMP" 68 #define HORSE1_ANIM ".\\ART\\HORSE1.BMP" 69 #define HORSE2_ANIM ".\\ART\\HORSE2.BMP" 70 #define FLOWER_ANIM ".\\ART\\FLOWER.BMP" 72 #define WAV_REVEAL ".\\SOUND\\REVEAL.WAV" 73 #define WAV_BADGUESS ".\\SOUND\\BADGUESS.WAV" 74 #define WAV_GAMEOVER ".\\SOUND\\GAMEOVER.WAV" 75 #define WAV_YOUWIN ".\\SOUND\\YOUWIN.WAV" 76 #define WAV_HORSE1 ".\\SOUND\\HORSE1.WAV" 77 #define WAV_HORSE2 ".\\SOUND\\HORSE2.WAV" 78 #define WAV_BIRD ".\\SOUND\\BIRD.WAV" 79 #define WAV_FLOWER ".\\SOUND\\WEIRD.WAV" 81 #define MID_SOUNDTRACK ".\\SOUND\\THGESNG.MID" 86 extern ERROR_CODE InitGame(HWND, CDC *);
87 extern ERROR_CODE StartGame(CDC *);
88 extern void GameStopTimer();
89 extern ERROR_CODE GameStartTimer();
90 extern void GamePauseTimer();
91 extern void GameResumeTimer();
92 extern ERROR_CODE EndGame(CDC *);
93 extern void WinGame();
94 extern ERROR_CODE RepaintSpriteList(CDC *);
95 extern bool CheckUserGuess(
const char *);
96 extern void CALLBACK GetGameParams(CWnd *);
97 extern void GameGetScore(
unsigned int *,
unsigned int *,
unsigned int *,
unsigned int *);