========================================================================
MICROSOFT FOUNDATION CLASS LIBRARY : Tetrix
========================================================================
AppWizard has created this Tetrix 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 Tetrix application.
Tetrix.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.
Tetrix.h
This is the main header file for the application. It includes other
project specific headers (including Resource.h) and declares the
CTetrixApp application class.
Tetrix.cpp
This is the main application source file that contains the application
class CTetrixApp.
Tetrix.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++.
Tetrix.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\Tetrix.ico
This is an icon file, which is used as the application's icon. This
icon is included by the main resource file Tetrix.rc.
res\Tetrix.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.
/////////////////////////////////////////////////////////////////////////////
AppWizard creates one dialog class:
TetrixDlg.h, TetrixDlg.cpp - the dialog
These files contain your CTetrixDlg class. This class defines
the behavior of your application's main dialog. The dialog's
template is in Tetrix.rc, which can be edited in Microsoft
Visual C++.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named Tetrix.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.
/////////////////////////////////////////////////////////////////////////////
没有合适的资源?快使用搜索试试~ 我知道了~
VC++俄罗斯方块游戏源代码
共61个文件
bmp:8个
h:8个
cpp:7个
5星 · 超过95%的资源 需积分: 10 40 下载量 19 浏览量
2012-11-13
17:12:20
上传
评论
收藏 38.91MB RAR 举报
温馨提示
进入游戏后,“随机位置”出现一个“随机图形”。然后通过方向键可以“旋转”或“移动”图形,直到该图形不再可以“移动”或“旋转”为止。接着,下一个图形开始重复上述行为。 游戏具备“计分”的功能。当分值达到一定数值后,游戏能够“升级”,升级后游戏的某些性质发生改变,如:速度加快等。 “提示”功能。游戏会提示下一个图形的形状,方便玩家进行游戏,也能显示当前的得分及等级。 游戏通过判断某行是否为“满行”决定是否“得分”,通过判断是否“每行都‘堆砌’了方块”决定游戏是否“结束”。 游戏结束后,如果分值足够高,玩家可以 “保存记录”。当然,为了方便我们只记录得分前六位的玩家信息。 游戏升级由简到难,有的玩家或许会认为级数低时没有刺激性。所以,游戏往往有“游戏设置”功能来满足不同玩家的需求。 仅仅一味地游戏,往往会使人感到乏味。这时候你可以在游戏设置当中选择播放声音。
资源推荐
资源详情
资源评论
收起资源包目录
Tetrix.rar (61个子文件)
Tetrix
ReadMe.txt 3KB
StdAfx.h 1KB
Tetrix.plg 246B
res
TETRIS004.bmp 90KB
tricon.ico 766B
OK.bmp 165KB
bitmap7.bmp 4KB
Tetrix.rc2 398B
GameOver.bmp 20KB
按钮.bmp 105KB
五月天 - 知足.mp3 6.11MB
bitmap5.bmp 1KB
Tetrix.ico 1KB
五月天 - 知足.wav 43.18MB
按钮1.bmp 107KB
俄罗斯方块.bmp 118KB
LWHBtmap.cpp 3KB
Tetrix.ncb 97KB
Tetrix.cpp 2KB
Tetrix.dsw 520B
HeroInfo.txt 85B
GAMESETTING.cpp 2KB
Tetrix.rc 9KB
Debug
vc60.pdb 420KB
Tetrix.obj 14KB
TetrixDlg.sbr 0B
LWHSplash.obj 15KB
Tetrix.ilk 388KB
Tetrix.sbr 0B
TetrixDlg.obj 70KB
Tetrix.res 616KB
HeroInfo.txt 0B
LWHRecord1.sbr 0B
LWHRecord1.obj 28KB
vc60.idb 89KB
GAMESETTING.obj 16KB
Tetrix.pch 6.62MB
LWHSplash.sbr 0B
Tetrix.bsc 3.81MB
GAMESETTING.sbr 0B
StdAfx.sbr 1.31MB
Tetrix.pdb 497KB
LWHBtmap.sbr 0B
StdAfx.obj 103KB
LWHBtmap.obj 10KB
Tetrix.exe 876KB
LWHRecord1.cpp 4KB
Tetrix.dsp 5KB
Tetrix.aps 650KB
TetrixDlg.cpp 31KB
resource.h 2KB
Tetrix.h 1KB
Tetrix.opt 52KB
LWHSplash.cpp 2KB
Tetrix.clw 3KB
TetrixDlg.h 4KB
StdAfx.cpp 208B
LWHRecord1.h 1KB
LWHBtmap.h 879B
LWHSplash.h 1KB
GAMESETTING.h 1KB
共 61 条
- 1
lemonjoice1027
- 粉丝: 26
- 资源: 8
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页