資源簡介
C++編寫的伐木工小游戲源碼,VS2015環境

代碼片段和文件信息
#include?“stdafx.h“
#include?“GameSystem.h“
GameSystem::GameSystem()
{
}
GameSystem::~GameSystem()
{
}
void?GameSystem::InitSystem()
{
m_data.data_1?=?0;
m_data.data_2?=?0;
m_data.data_3?=?0;
m_data.data_4?=?0;
m_data.data_5?=?0;
}
void?GameSystem::Quit()
{
m_data.data_4?|=?0x11110000;
}
void?GameSystem::GetScore()
{
++m_data.data_3;
}
bool?GameSystem::QuitConfirm()
{
return?((m_data.data_4?&?0x11110000)?!=?0);
}
void?GameSystem::GameOver()
{
m_data.data_4?|=?0x00001111;
}
bool?GameSystem::IsGameOVer()
{
return?((m_data.data_4?&?0x00001111)?!=?0);
}
GameSystem?&?GameSystem::GetSystem()
{
static?GameSystem?*?g_Singleton?=?new?GameSystem;
return?*g_Singleton;
}
void?GameSystem::Release()
{
}
Data?&?GameSystem::ShowData()
{
return?m_data;
}
unsigned?int?GameSystem::ShowScore()
{
return?m_data.data_3;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
????..A..H.?????93184??2017-01-30?01:37??TimberMan\.vs\TimberMan\v14\.suo
?????文件??????77312??2017-01-30?01:17??TimberMan\Debug\TimberMan.exe
?????文件?????443900??2017-01-30?01:17??TimberMan\Debug\TimberMan.ilk
?????文件????1347584??2017-01-30?01:17??TimberMan\Debug\TimberMan.pdb
?????文件????3538944??2017-01-30?01:14??TimberMan\ipch\TIMBERMAN-90a65559\TIMBERMAN-34bb3905.ipch
?????文件????3538944??2017-01-29?02:14??TimberMan\ipch\TIMBERMAN-90a65559\TIMBERMAN-a30352cb.ipch
?????文件??????27648??2017-01-30?01:32??TimberMan\Release\TimberMan.exe
?????文件?????248770??2017-01-30?01:32??TimberMan\Release\TimberMan.iobj
?????文件??????43952??2017-01-30?01:32??TimberMan\Release\TimberMan.ipdb
?????文件?????929792??2017-01-30?01:32??TimberMan\Release\TimberMan.pdb
?????文件??????12129??2017-01-29?01:41??TimberMan\TimberMan\Debug\GameSystem.obj
?????文件??????37116??2017-01-30?01:17??TimberMan\TimberMan\Debug\GraphicSystem.obj
?????文件??????26994??2017-01-28?18:38??TimberMan\TimberMan\Debug\InputHandler.obj
?????文件??????71039??2017-01-30?00:56??TimberMan\TimberMan\Debug\Methods.obj
?????文件??????64380??2017-01-30?00:56??TimberMan\TimberMan\Debug\RandomIntEngine.obj
?????文件???????8687??2017-01-28?18:13??TimberMan\TimberMan\Debug\ScreenString.obj
?????文件??????12078??2017-01-23?16:33??TimberMan\TimberMan\Debug\stdafx.obj
?????文件??????61023??2017-01-30?00:56??TimberMan\TimberMan\Debug\Timber.obj
?????文件???????1051??2017-01-30?01:17??TimberMan\TimberMan\Debug\TimberMan.log
?????文件??????54105??2017-01-30?00:56??TimberMan\TimberMan\Debug\TimberMan.obj
?????文件????3407872??2017-01-23?16:33??TimberMan\TimberMan\Debug\TimberMan.pch
?????文件???????8492??2017-01-30?01:17??TimberMan\TimberMan\Debug\TimberMan.tlog\CL.command.1.tlog
?????文件?????144886??2017-01-30?01:17??TimberMan\TimberMan\Debug\TimberMan.tlog\CL.read.1.tlog
?????文件??????23434??2017-01-30?01:17??TimberMan\TimberMan\Debug\TimberMan.tlog\CL.write.1.tlog
?????文件???????2986??2017-01-30?01:17??TimberMan\TimberMan\Debug\TimberMan.tlog\li
?????文件???????5706??2017-01-30?01:17??TimberMan\TimberMan\Debug\TimberMan.tlog\li
?????文件???????1894??2017-01-30?01:17??TimberMan\TimberMan\Debug\TimberMan.tlog\li
?????文件????????205??2017-01-30?01:17??TimberMan\TimberMan\Debug\TimberMan.tlog\TimberMan.lastbuildstate
?????文件??????13951??2017-01-30?01:03??TimberMan\TimberMan\Debug\TimeSystem.obj
?????文件??????46293??2017-01-30?01:00??TimberMan\TimberMan\Debug\Tree.obj
............此處省略66個文件信息
評論
共有 條評論