========================================================================
MICROSOFT FOUNDATION CLASS LIBRARY : skyblue_BoxMan
========================================================================
AppWizard has created this skyblue_BoxMan application for you. This application
not only demonstrates the basics of using the Microsoft Foundation classes
but is also a starting point for writing your application.
This file contains a summary of what you will find in each of the files that
make up your skyblue_BoxMan application.
skyblue_BoxMan.dsp
This file (the project file) contains information at the project level and
is used to build a single project or subproject. Other users can share the
project (.dsp) file, but they should export the makefiles locally.
skyblue_BoxMan.h
This is the main header file for the application. It includes other
project specific headers (including Resource.h) and declares the
CSkyblue_BoxManApp application class.
skyblue_BoxMan.cpp
This is the main application source file that contains the application
class CSkyblue_BoxManApp.
skyblue_BoxMan.rc
This is a listing of all of the Microsoft Windows resources that the
program uses. It includes the icons, bitmaps, and cursors that are stored
in the RES subdirectory. This file can be directly edited in Microsoft
Visual C++.
skyblue_BoxMan.clw
This file contains information used by ClassWizard to edit existing
classes or add new classes. ClassWizard also uses this file to store
information needed to create and edit message maps and dialog data
maps and to create prototype member functions.
res\skyblue_BoxMan.ico
This is an icon file, which is used as the application's icon. This
icon is included by the main resource file skyblue_BoxMan.rc.
res\skyblue_BoxMan.rc2
This file contains resources that are not edited by Microsoft
Visual C++. You should place all resources not editable by
the resource editor in this file.
/////////////////////////////////////////////////////////////////////////////
For the main frame window:
MainFrm.h, MainFrm.cpp
These files contain the frame class CMainFrame, which is derived from
CFrameWnd and controls all SDI frame features.
res\Toolbar.bmp
This bitmap file is used to create tiled images for the toolbar.
The initial toolbar and status bar are constructed in the CMainFrame
class. Edit this toolbar bitmap using the resource editor, and
update the IDR_MAINFRAME TOOLBAR array in skyblue_BoxMan.rc to add
toolbar buttons.
/////////////////////////////////////////////////////////////////////////////
AppWizard creates one document type and one view:
skyblue_BoxManDoc.h, skyblue_BoxManDoc.cpp - the document
These files contain your CSkyblue_BoxManDoc class. Edit these files to
add your special document data and to implement file saving and loading
(via CSkyblue_BoxManDoc::Serialize).
skyblue_BoxManView.h, skyblue_BoxManView.cpp - the view of the document
These files contain your CSkyblue_BoxManView class.
CSkyblue_BoxManView objects are used to view CSkyblue_BoxManDoc objects.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named skyblue_BoxMan.pch and a precompiled types file named StdAfx.obj.
Resource.h
This is the standard header file, which defines new resource IDs.
Microsoft Visual C++ reads and updates this file.
/////////////////////////////////////////////////////////////////////////////
Other notes:
AppWizard uses "TODO:" to indicate parts of the source code you
should add to or customize.
If your application uses MFC in a shared DLL, and your application is
in a language other than the operating system's current language, you
will need to copy the corresponding localized resources MFC42XXX.DLL
from the Microsoft Visual C++ CD-ROM onto the system or system32 directory,
and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation.
For example, MFC42DEU.DLL contains resources translated to German.) If you
don't do this, some of the UI elements of your application will remain in the
language of the operating system.
/////////////////////////////////////////////////////////////////////////////
没有合适的资源?快使用搜索试试~ 我知道了~
c语言 代码实现 推箱子 小游戏
共80个文件
h:19个
cpp:17个
ico:10个
5星 · 超过95%的资源 需积分: 10 20 下载量 120 浏览量
2012-11-29
11:38:00
上传
评论 1
收藏 640KB RAR 举报
温馨提示
//地图状态 #define MAP_BACKGROUP 48 //'0' 对应字符'0'背景 #define MAP_WHITEWALL 49 //'1' 墙 #define MAP_BLUEWALL 50 //'2' 通道 #define MAP_BALL 51 //'3' 目的点 #define MAP_YELLOWBOX 52 //'4' 箱子 #define MAP_REDBOX 53 //'5' 安放好的箱子 #define MAP_MANWALL 54 //'6' 人在通道区域 #define MAP_MANBALL 55 //'7' 人在目的点区域 //声音状态 #define SOUND_STATE_START 0 //游戏开始 #define SOUND_STATE_MOVE 1 //工人行走移动 #define SOUND_STATE_PUSH 2 //行走并推动箱子 #define SOUND_STATE_VICTORY 3 //胜利 //游戏区域小方块大小 #define BLOCK_WIDTH 20 // 宽度 #define BLOCK_HEIGHT 20 // 深度
资源推荐
资源详情
资源评论
收起资源包目录
skyblue_BoxMan.rar (80个子文件)
skyblue_BoxMan
map.info.bak 1KB
skyblue_BoxMan.clw 3KB
resource.h 970B
victory.wav 14KB
Debug
map.info 1KB
skyblue_BoxMan.exe 2.35MB
skyblue_BoxMan.opt 61KB
help1.bmp 879KB
skyblue_BoxMan.cpp 3KB
skyblue_BoxMan.aps 921KB
skyblue_BoxMan.ncb 161KB
BoxManWnd.h 2KB
MissionLevelDlg.cpp 1KB
skyblue_BoxManDoc.h 2KB
map.info 1KB
help.bmp 879KB
HelpDlg.h 1KB
skyblue_BoxMan.plg 2KB
HelpDlg.cpp 1KB
skyblue_BoxMan.dsp 5KB
ReadMe.txt 4KB
push.wav 4KB
res
skyblue_BoxMan.ico 1KB
Toolbar.bmp 1KB
skyblue_BoxMan.rc2 406B
skyblue_BoxManDoc.ico 1KB
BoxMan.cpp 15KB
move.wav 1KB
skyblue_BoxManView.cpp 3KB
MainFrm.h 1KB
MissionLevelDlg.h 2KB
skyblue_BoxManDoc.cpp 2KB
StdAfx.cpp 216B
skyblue_BoxMan.h 1KB
skyblue_BoxMan.dsw 770B
BoxMan_Editer
map.info.bak 11KB
resource.h 1KB
LoadMapDlg.cpp 1KB
Debug
BoxMan_Editer.exe 1.34MB
map.info 11KB
BoxMan_Editer.cpp 3KB
BoxMan_Editer.dsw 551B
BoxMan_Editer.clw 2KB
BoxMan_Editer.dsp 5KB
map.info 11KB
BoxMan_Editer.rc 10KB
BoxMan_EditerDoc.cpp 2KB
LoadMapDlg.h 2KB
BoxMan_EditerDoc.h 2KB
BoxMan_Edit.cpp 14KB
ReadMe.txt 4KB
BoxMan_Editer.h 2KB
BoxMan_EditerView.h 2KB
res
ico00001.ico 1KB
BoxMan_Editer.rc2 405B
BoxMan_EditerDoc.ico 1KB
ico00005.ico 1KB
idr_icon.ico 1KB
ico00004.ico 1KB
ico00002.ico 1KB
ico00003.ico 1KB
BoxMan_Editer.ico 1KB
Boxman_EditerWnd.h 2KB
MainFrm.h 1KB
BoxMan_Edit.h 2KB
StdAfx.cpp 215B
BoxMan_Editer.aps 35KB
BoxMan_Editer.plg 2KB
BoxMan_EditerView.cpp 2KB
BoxMan_Editer.opt 55KB
Boxman_EditerWnd.cpp 8KB
MainFrm.cpp 1KB
StdAfx.h 1KB
BoxMan_Editer.ncb 73KB
skyblue_BoxManView.h 2KB
BoxManWnd.cpp 4KB
MainFrm.cpp 3KB
StdAfx.h 1KB
BoxMan.h 2KB
skyblue_BoxMan.rc 11KB
共 80 条
- 1
资源评论
- zzx7992013-01-14可以顺利运行,且游戏界面制作的很精细,应该使用MFC 完成的,但不是我想要的纯C语言编写的控制台程序!
- wovoWovow2013-05-31写的不错,可以运行~~
- touchmenotking2012-12-29可以顺利实现,不错的资源
- 吃葡萄不吐皮2014-05-25通过这份代码,学习了好多,更深层次的运用了所学的知识。
良先生vip
- 粉丝: 5
- 资源: 59
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功