22#ifndef HODJNPODJ_MAZEDOOM_MOD_H
23#define HODJNPODJ_MAZEDOOM_MOD_H
25#include "bagel/boflib/sound.h"
31#define ABS(a) ( (a > 0) ? (a) : (-a) )
36#define BOTTOM_BORDER 16
37#define HILITE_BORDER 3
48#define MAX_DIFFICULTY 10
49#define MIN_DIFFICULTY 1
59#define NUM_NEIGHBORS 9
61#define NUM_TRAP_MAPS 7
77#define CLICK_TIME 1000
80#define RULES_TEXT "MAZEOD.TXT"
81#define RULES_WAV "sound\\MAZEOD.WAV"
84#define WIN_SOUND "sound\\fanfare2.wav"
85#define LOSE_SOUND "sound\\buzzer.wav"
86#define HIT_SOUND "sound\\thud.wav"
87#define TRAP_SOUND "sound\\boing.wav"
89#define GAME_THEME "sound\\mazeod.mid"
92#define MAINSCREEN "art\\DOOM2.BMP"
95#define NEWGAME_LOCATION_X 15
96#define NEWGAME_LOCATION_Y 0
97#define NEWGAME_WIDTH 217
98#define NEWGAME_HEIGHT 20
101#define TIME_LOCATION_X 420
102#define TIME_LOCATION_Y 4
103#define TIME_WIDTH 195
104#define TIME_HEIGHT 16
114 void MovePlayer(
CPoint point);
123 void OnSoundNotify(CSound *pSound);
126 virtual bool OnCommand(WPARAM wParam, LPARAM lParam)
override;
129 afx_msg
void OnPaint();
130 afx_msg
void OnChar(
unsigned int nChar,
unsigned int nRepCnt,
unsigned int nFlags);
131 afx_msg
void OnSysChar(
unsigned int nChar,
unsigned int nRepCnt,
unsigned int nFlags);
132 afx_msg
void OnSysKeyDown(
unsigned int nChar,
unsigned int nRepCnt,
unsigned int nFlags);
133 afx_msg
void OnKeyDown(
unsigned int nChar,
unsigned int nRepCnt,
unsigned int nFlags);
134 afx_msg
void OnTimer(uintptr nIDEvent);
135 afx_msg
void OnLButtonDown(
unsigned int nFlags,
CPoint point);
136 afx_msg
void OnRButtonDown(
unsigned int nFlags,
CPoint point);
137 afx_msg
void OnLButtonUp(
unsigned int nFlags,
CPoint point);
138 afx_msg
void OnMouseMove(
unsigned int nFlags,
CPoint point);
139 afx_msg
void OnClose();
140 afx_msg LRESULT OnMCINotify(WPARAM, LPARAM);
141 afx_msg LRESULT OnMMIONotify(WPARAM, LPARAM);
144 DECLARE_MESSAGE_MAP()
Definition: afxwin.h:1532
Definition: atltypes.h:79