资源简介
Minigui 的综合示例代码mde包,给大家分享一下

代码片段和文件信息
/*
** $Id: bomb.cv 1.17 2003/08/15 08:45:46 weiym Exp $
**
** bomb.c: The MineSweeper game.
**
** Copyright (C) 1999~ 2002 Zheng Xiang and others.
** Copyright (C) 2003 Feynman Software.
*/
/*
** This source is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public
** License as published by the Free Software Foundation; either
** version 2 of the License or (at your option) any later version.
**
** This software is distributed in the hope that it will be useful
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
** General Public License for more details.
**
** You should have received a copy of the GNU General Public
** License along with this library; if not write to the Free
** Software Foundation Inc. 59 Temple Place - Suite 330 Boston
** MA 02111-1307 USA
*/
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
typedef struct
{
int flag;
int value;
BOOL test;
BOOL hit;
BOOL bombout;
BOOL error;
}BOM;
typedef struct
{
int x;
int y;
BOOL NY;
}NO;
typedef struct
{
int highscore;
char name[20];
}SCORE;
static BOM bom[30][16];
static NO NoAdr[540];
static SCORE score[3];
static int itime leftbombnum;
static int bombnum = 99;
void SearchGround(HWND hWndint xint y);
int Open(HWND hWndint xint y);
int TestMyWinProc(HWND hWndint messageWPARAM wParamLPARAM lParam);
void InitMyWinCreateInfo(PMAINWINCREATE pCreateInfo);
void InitAbHostedCreateInfo(HWND hHosting PMAINWINCREATE pCreateInfo);
void InitHighScoreCreateInfo (HWND hHosting PMAINWINCREATE pCreateInfo);
void InitCongratulationCreateInfo (HWND hHosting PMAINWINCREATE pCreateInfo);
void* TestMyWindow(void* data);
void BombGame(HWND hWnd int x int y);
void Finished(HWND hWnd);
void Cancel3Dframe(HDC hdc int lint tint rint b);
void TextValue(HDC hdc int xint yint value);
void BombOut(HWND hWnd);
void BothButtonDownProc(HWND hWnd int x int y);
void DrawDigit(HDC hdc char* buffer int CLOCK);
#define ID_ABOUT 300
#define ID_NEW 301
#define ID_LARGE 302
#define ID_MIDDLE 303
#define ID_SMALL 304
#define ID_CLOSE 305
#define ID_HIGHSCORE 306
#define ID_CLOCK 400
#define WIDTH_LARGEWIN 544
#define HEIGHT_LARGEWIN 470
#define WIDTH_MIDDLEWIN 292
#define HEIGHT_MIDDLEWIN 430
#define WIDTH_SMALLWIN 178
#define HEIGHT_SMALLWIN 270
#define WIDTH_FACE 30
#define HEIGHT_FACE 30
#define WIDTH_DIGIT 14
#define WIDTH_BOMNUM (2*WIDTH_DIGIT)
#define HEIGHT_BOMNUM 30
#define WIDTH_CLOCK (3*WIDTH_DIGIT)
#define HEIGHT_CLOCK 30
#define FREQ_CLOCK 10
#define WIDTH_BOX 18
#define HEIGHT_BOX
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
.C..... 28052 2003-08-18 18:24 mde-1.3.0\aclocal.m4
.C..... 327 2003-05-16 19:37 mde-1.3.0\AUTHORS
.C..... 51 2003-04-12 01:51 mde-1.3.0\autogen.sh
.C..... 3869 2009-05-30 21:34 mde-1.3.0\bomb\.deps\bomb.Po
目录 0 2010-04-23 14:21 mde-1.3.0\bomb\.deps
.C..... 69175 2009-05-30 21:34 mde-1.3.0\bomb\bomb
.C..... 40694 2003-08-15 01:45 mde-1.3.0\bomb\bomb.c
.C..... 74128 2009-05-30 21:34 mde-1.3.0\bomb\bomb.o
.C..... 12067 2009-05-30 21:34 mde-1.3.0\bomb\Makefile
.C..... 56 2001-09-02 23:28 mde-1.3.0\bomb\Makefile.am
.C..... 11497 2003-08-18 18:24 mde-1.3.0\bomb\Makefile.in
.C..... 278 2001-03-01 18:26 mde-1.3.0\bomb\res\0.bmp
.C..... 278 2001-03-01 18:26 mde-1.3.0\bomb\res\1.bmp
.C..... 278 2001-03-01 18:26 mde-1.3.0\bomb\res\2.bmp
.C..... 278 2001-03-01 18:26 mde-1.3.0\bomb\res\3.bmp
.C..... 278 2001-03-01 18:26 mde-1.3.0\bomb\res\4.bmp
.C..... 278 2001-03-01 18:26 mde-1.3.0\bomb\res\5.bmp
.C..... 278 2001-03-01 18:26 mde-1.3.0\bomb\res\6.bmp
.C..... 278 2001-03-01 18:26 mde-1.3.0\bomb\res\7.bmp
.C..... 278 2001-03-01 18:26 mde-1.3.0\bomb\res\8.bmp
.C..... 278 2001-03-01 18:26 mde-1.3.0\bomb\res\9.bmp
.C..... 534 2001-03-01 18:26 mde-1.3.0\bomb\res\face.bmp
.C..... 534 2001-03-01 18:26 mde-1.3.0\bomb\res\face1.bmp
.C..... 534 2001-03-01 18:26 mde-1.3.0\bomb\res\finished.bmp
.C..... 230 2001-03-01 18:26 mde-1.3.0\bomb\res\flag.bmp
.C..... 246 2001-03-01 18:26 mde-1.3.0\bomb\res\hitfalse.bmp
.C..... 230 2001-03-01 18:26 mde-1.3.0\bomb\res\lei.bmp
.C..... 5648 2009-05-30 21:34 mde-1.3.0\bomb\res\Makefile
.C..... 145 2001-09-02 23:28 mde-1.3.0\bomb\res\Makefile.am
.C..... 5416 2003-08-18 18:24 mde-1.3.0\bomb\res\Makefile.in
............此处省略395个文件信息
- 上一篇:17monipdb.datx
- 下一篇:FPGA DDS 信号发生
相关资源
- 嵌入式图形界面MiniGUI的示例程序9例
- 易语言post提交示例
-
Cme
taFileDC的使用示例 - DevExpress之TreeList使用示例
- WinForm属性编辑 propertyGrid示例 仿wind
- 调用WOSA/XFS的简单示例
- 从EXCEL中取数据在Teechart7显示应用示例
- 一个简单的Scratch
- PB9.0调用MD5加密
- dubbo+dubbo官方配置文档+dubbo培训ppt
- csdn_1.7T磁滞回线.xlsx
- COM组件编写和使用
- 论文研究 - 摩洛哥的气候变化趋势观
- cmder min安装包
- Altium Designer19/AD19原理图库及封装库库
- AltiumDesigner中文帮助手册.pdf
- Ueditor demo
- MiniGUI移植到uCOS 移植全部源码
- websocket简单web项目,直接部署可使用
- arcgis10的数据之一-空间分析部分spat
- UCGUI 3.90a版源码MEMDEV
- weblogic websocket
- QPdfiumDemo
- Unity3D UGUI官方案例
- 移动端ui框架
- AltiumDesignerWinter09 破解局域网不冲突
- SideslipDemo
- 百度Echarts-echarts-demo
- delphi exe+bpl+Dll框架源代码和
- 软件需求规格说明书示例218496
评论
共有 条评论