資源簡介
博文的配套源碼 《 【Visual C++】游戲開發筆記二十二 游戲基礎物理建模(四) 粒子系統模擬(一)》
,文章地址為http://blog.csdn.net/zhmxy555/article/details/7585937,
此為VC6.0版,另還有VS2010版提供下載。
源碼編譯環境為VS2010.其實VS2005,VS2008也可以編譯運行,具體方法可以進我博客查看相關文章
我的博客地址是http://blog.csdn.net/zhmxy555,源碼結合配套文章一起看效果更佳。
應大家要求,從本節文章開始,以后淺墨提供的文章配套源碼都將分為VC6.0和VS2010兩個版
代碼片段和文件信息
//************************************************
//
//【Visual?C++】游戲開發筆記系列配套源碼?二十二
// Note_Code_22
// ?VC6.0版
//?2012年?5月20日??Create?by?毛星云??
//源碼配套博文鏈接??http://blog.csdn.net/zhmxy555/article/details/7585937
//更多內容請訪問我的博客?http://blog.csdn.net/zhmxy555?
//
//************************************************
#include?“stdafx.h“
#include?
//全局變量聲明
HINSTANCE?hInst;
HBITMAP?bgsnowmask;??//用于貼圖的三個HBITMAP變量
HDC hdcmdcbufdc;
HWND hWnd;
RECT rect;
int?icount;?//定義count用于計數
struct?snow
{
int?x;
int?y;
BOOL?exist;
}drop[50];
//全局函數聲明
ATOM MyRegisterClass(HINSTANCE?hInstance);
BOOL InitInstance(HINSTANCE?int);
LRESULT?CALLBACK WndProc(HWND?UINT?WPARAM?LPARAM);
void MyPaint(HDC?hdc);
//****WinMain函數,程序入口點函數************
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????1228854??2012-05-20?16:17??【VC6.0版】漫天飛舞的雪花demo\maple_22\bg.bmp
?????文件????1228854??2012-05-20?16:17??【VC6.0版】漫天飛舞的雪花demo\maple_22\Debug\bg.bmp
?????文件?????180282??2012-05-20?23:06??【VC6.0版】漫天飛舞的雪花demo\maple_22\Debug\maple_22.exe
?????文件?????246712??2012-05-20?23:06??【VC6.0版】漫天飛舞的雪花demo\maple_22\Debug\maple_22.ilk
?????文件??????10947??2012-05-20?23:06??【VC6.0版】漫天飛舞的雪花demo\maple_22\Debug\maple_22.obj
?????文件????2007600??2012-05-20?11:48??【VC6.0版】漫天飛舞的雪花demo\maple_22\Debug\maple_22.pch
?????文件?????467968??2012-05-20?23:06??【VC6.0版】漫天飛舞的雪花demo\maple_22\Debug\maple_22.pdb
?????文件???????2136??2012-05-20?11:48??【VC6.0版】漫天飛舞的雪花demo\maple_22\Debug\maple_22.res
?????文件??????76856??2012-05-20?16:48??【VC6.0版】漫天飛舞的雪花demo\maple_22\Debug\mask.bmp
?????文件?????102454??2012-05-20?16:48??【VC6.0版】漫天飛舞的雪花demo\maple_22\Debug\snow.bmp
?????文件??????55466??2012-05-20?11:48??【VC6.0版】漫天飛舞的雪花demo\maple_22\Debug\StdAfx.obj
?????文件??????82944??2012-05-20?23:06??【VC6.0版】漫天飛舞的雪花demo\maple_22\Debug\vc60.idb
?????文件?????176128??2012-05-20?23:06??【VC6.0版】漫天飛舞的雪花demo\maple_22\Debug\vc60.pdb
?????文件???????5035??2012-05-20?23:06??【VC6.0版】漫天飛舞的雪花demo\maple_22\maple_22.cpp
?????文件???????4511??2012-05-20?10:56??【VC6.0版】漫天飛舞的雪花demo\maple_22\maple_22.dsp
?????文件????????524??2012-05-20?10:56??【VC6.0版】漫天飛舞的雪花demo\maple_22\maple_22.dsw
?????文件????????332??2012-05-20?10:56??【VC6.0版】漫天飛舞的雪花demo\maple_22\maple_22.h
?????文件???????1078??2012-05-20?10:56??【VC6.0版】漫天飛舞的雪花demo\maple_22\maple_22.ico
?????文件??????48640??2012-05-20?23:12??【VC6.0版】漫天飛舞的雪花demo\maple_22\maple_22.opt
?????文件???????1223??2012-05-20?23:06??【VC6.0版】漫天飛舞的雪花demo\maple_22\maple_22.plg
?????文件???????3082??2012-05-20?10:56??【VC6.0版】漫天飛舞的雪花demo\maple_22\maple_22.rc
????..A..H.?????11776??2012-05-20?12:44??【VC6.0版】漫天飛舞的雪花demo\maple_22\maple_22.suo
?????文件??????76856??2012-05-20?16:48??【VC6.0版】漫天飛舞的雪花demo\maple_22\mask.bmp
?????文件???????2085??2012-05-20?10:56??【VC6.0版】漫天飛舞的雪花demo\maple_22\ReadMe.txt
?????文件????????789??2012-05-20?10:56??【VC6.0版】漫天飛舞的雪花demo\maple_22\resource.h
?????文件????????318??2012-05-20?10:56??【VC6.0版】漫天飛舞的雪花demo\maple_22\small.ico
?????文件?????102454??2012-05-20?16:48??【VC6.0版】漫天飛舞的雪花demo\maple_22\snow.bmp
?????文件????????295??2012-05-20?10:56??【VC6.0版】漫天飛舞的雪花demo\maple_22\StdAfx.cpp
?????文件????????936??2012-05-20?10:56??【VC6.0版】漫天飛舞的雪花demo\maple_22\StdAfx.h
?????目錄??????????0??2012-05-20?23:06??【VC6.0版】漫天飛舞的雪花demo\maple_22\Debug
............此處省略6個文件信息
- 上一篇:C語言課程設計 計算器
- 下一篇:編譯原理課程設計C語言子集
評論
共有 條評論