ReactOS 0.4.16-dev-106-g10b08aa
|
Go to the source code of this file.
Classes | |
struct | tagBOARD |
struct | tagBOARD::BOX_STRUCT |
Macros | |
#define | WIN32_NO_STATUS |
#define | BEGINNER_MINES 10 |
#define | BEGINNER_COLS 9 |
#define | BEGINNER_ROWS 9 |
#define | ADVANCED_MINES 40 |
#define | ADVANCED_COLS 16 |
#define | ADVANCED_ROWS 16 |
#define | EXPERT_MINES 99 |
#define | EXPERT_COLS 30 |
#define | EXPERT_ROWS 16 |
#define | MAX_COLS 30 |
#define | MAX_ROWS 24 |
#define | BOTTOM_MARGIN 20 |
#define | BOARD_WMARGIN 5 |
#define | BOARD_HMARGIN 5 |
#define | MINE_WIDTH 16 |
#define | MINE_HEIGHT 16 |
#define | LED_WIDTH 12 |
#define | LED_HEIGHT 23 |
#define | FACE_WIDTH 24 |
#define | FACE_HEIGHT 24 |
#define | MAX_PLAYER_NAME_SIZE 31 |
#define | MB_NONE 0 |
#define | MB_LEFTDOWN 1 |
#define | MB_LEFTUP 2 |
#define | MB_RIGHTDOWN 3 |
#define | MB_RIGHTUP 4 |
#define | MB_BOTHDOWN 5 |
#define | MB_BOTHUP 6 |
#define | NORMAL 0 |
#define | QUESTION 1 |
#define | FLAG 2 |
#define | COMPLETE 3 |
Typedefs | |
typedef struct tagBOARD | BOARD |
Enumerations | |
enum | FACE_BMP { SPRESS_BMP , COOL_BMP , DEAD_BMP , OOH_BMP , SMILE_BMP } |
enum | GAME_STATUS { WAITING , PLAYING , GAMEOVER , WON } |
enum | MINEBMP_OFFSET { MPRESS_BMP , ONE_BMP , TWO_BMP , THREE_BMP , FOUR_BMP , FIVE_BMP , SIX_BMP , SEVEN_BMP , EIGHT_BMP , BOX_BMP , FLAG_BMP , QUESTION_BMP , EXPLODE_BMP , WRONG_BMP , MINE_BMP , QPRESS_BMP } |
enum | DIFFICULTY { BEGINNER , ADVANCED , EXPERT , CUSTOM } |
Functions | |
void | CheckLevel (BOARD *p_board) |
INT_PTR CALLBACK | CustomDlgProc (HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) |
INT_PTR CALLBACK | CongratsDlgProc (HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) |
INT_PTR CALLBACK | TimesDlgProc (HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) |
Enumerator | |
---|---|
MPRESS_BMP | |
ONE_BMP | |
TWO_BMP | |
THREE_BMP | |
FOUR_BMP | |
FIVE_BMP | |
SIX_BMP | |
SEVEN_BMP | |
EIGHT_BMP | |
BOX_BMP | |
FLAG_BMP | |
QUESTION_BMP | |
EXPLODE_BMP | |
WRONG_BMP | |
MINE_BMP | |
QPRESS_BMP |
Definition at line 63 of file main.h.
Definition at line 52 of file main.c.
Referenced by CustomDlgProc(), and InitBoard().
Definition at line 55 of file dialog.c.
Referenced by TestBoard().
Definition at line 23 of file dialog.c.
Referenced by SetDifficulty().
Definition at line 83 of file dialog.c.
Referenced by MainProc(), and TestBoard().