資源簡介
坦克大戰 游戲 源碼
代碼片段和文件信息
//?Game.cpp:?implementation?of?the?CGame?class.
//
//////////////////////////////////////////////////////////////////////
#include?
#include?“Game.h“
#include?“Plane.h“
#include?“resource.h“
#define?SCREEN_W 640
#define?SCREEN_H 480
#define?OFFSETX 100
#define?OFFSETY 48
#define?Player1_STARTX 130
#define?Player1_STARTY 386
#define?Player2_STARTX 258
#define?Player2_STARTY 386
#define?SAFE_RELEASE(x) if(x){?x->Release();?x?=?NULL;?}
CGame* g_pGame;
inline?int?random(?int?min?int?max?)
{
return?(min?+?rand()?%?(max?-?min?+?1));
}
void?TRACE(?LPCTSTR?format?...?)
{
????char????buf[128];
????va_list?vl;
????va_start(vl?format);
????sprintf(buf?format?vl);
????OutputDebugString(?buf?);
va_end(vl);
}
void?CGame::Outp
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄??????????0??2006-04-13?05:02??Tank\graphics
?????目錄??????????0??2006-04-13?05:02??Tank\map
?????目錄??????????0??2006-04-13?05:02??Tank\Release
?????目錄??????????0??2006-04-13?05:02??Tank\res
?????目錄??????????0??2006-04-13?05:02??Tank\sound
?????文件??????18084??2003-05-28?17:27??Tank\BattleCity.aps
?????文件???????6118??2000-02-07?20:48??Tank\graphics\bonus.bmp
?????文件???????5174??2000-02-09?21:33??Tank\graphics\bore.bmp
?????文件???????1334??2000-02-07?13:19??Tank\graphics\bullet.bmp
?????文件??????51256??2000-02-15?22:36??Tank\graphics\enemy.bmp
?????文件????????566??2000-02-07?12:21??Tank\graphics\explode1.bmp
?????文件???????5174??2000-02-08?13:03??Tank\graphics\explode2.bmp
?????文件???????2102??2000-02-13?13:16??Tank\graphics\flag.bmp
?????文件??????40758??2000-02-12?22:50??Tank\graphics\gameover.bmp
?????文件???????2254??2000-02-13?13:27??Tank\graphics\misc.bmp
?????文件???????1126??2000-02-13?14:10??Tank\graphics\num.bmp
?????文件??????26166??2000-02-14?23:49??Tank\graphics\pla
?????文件??????26166??2000-05-21?13:32??Tank\graphics\pla
?????文件???????3126??2000-02-13?16:06??Tank\graphics\shield.bmp
?????文件??????41854??2000-02-12?21:48??Tank\graphics\splash.bmp
?????文件???????8246??2003-05-09?19:46??Tank\graphics\tile.bmp
?????文件????4072448??2003-05-17?20:37??Tank\Release\BattleCity.bsc
?????文件????????247??2003-05-14?14:54??Tank\BattleCity.clw
?????文件??????35450??2003-05-17?20:37??Tank\Game.cpp
?????文件???????5332??2003-05-08?21:12??Tank\Input.cpp
?????文件???????9586??2003-05-17?20:29??Tank\Plane.cpp
?????文件???????3218??2000-02-12?11:22??Tank\Sound.cpp
?????文件??????10963??2003-05-12?20:24??Tank\Sprite.cpp
?????文件???????9678??1999-06-18?12:06??Tank\wavread.cpp
?????文件???????5277??2003-05-12?19:28??Tank\BattleCity.dsp
............此處省略81個文件信息
- 上一篇:nand-flash datasheet 中英文
- 下一篇:envi4.721
評論
共有 條評論