Commit 8b32fead authored by CjhGm's avatar CjhGm
Browse files

delete sth

parent cef65905
......@@ -657,8 +657,6 @@ void CAircraftBattleView::gameOver(CDC* pDC, CDC& cdc, CBitmap* cacheBitmap)
KillTimer(3);
KillTimer(5);
KillTimer(6);
//播放游戏结束音乐
PlaySound((LPCTSTR)IDR_WAV_GAMEOVER, AfxGetInstanceHandle(), SND_RESOURCE | SND_ASYNC);
//清屏
CBitmap* tCache = cacheBitmap;
cacheBitmap = new CBitmap;
......
......@@ -479,30 +479,6 @@ END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// WAVE
//
IDR_WAV_BACKGROUND WAVE "sound\\background.wav"
IDR_WAV_BOMB WAVE "sound\\bomb.wav"
IDR_WAV_EXPLOSION WAVE "sound\\explosion.wav"
IDR_WAV_DAZHAO WAVE "sound\\dazhao.wav"
IDR_WAV_GAMEOVER WAVE "sound\\game_over.wav"
IDR_WAV_PROTECT WAVE "sound\\protect.wav"
IDR_WAV_UPDATE WAVE "sound\\update.wav"
IDR_WAV_BLOOD WAVE "sound\\blood.wav"
IDR_WAV_BALL WAVE "sound\\ball.wav"
/////////////////////////////////////////////////////////////////////////////
//
// AFX_DIALOG_LAYOUT
......
......@@ -297,17 +297,6 @@
<None Include="res\PlaneWar.rc2" />
<None Include="res\sound1.bin" />
</ItemGroup>
<ItemGroup>
<Media Include="sound\background.wav" />
<Media Include="sound\ball.wav" />
<Media Include="sound\blood.wav" />
<Media Include="sound\bomb.wav" />
<Media Include="sound\dazhao.wav" />
<Media Include="sound\explosion.wav" />
<Media Include="sound\game_over.wav" />
<Media Include="sound\protect.wav" />
<Media Include="sound\update.wav" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
......
......@@ -301,33 +301,4 @@
</None>
<None Include="ClassDiagram.cd" />
</ItemGroup>
<ItemGroup>
<Media Include="sound\background.wav">
<Filter>资源文件</Filter>
</Media>
<Media Include="sound\bomb.wav">
<Filter>资源文件</Filter>
</Media>
<Media Include="sound\explosion.wav">
<Filter>资源文件</Filter>
</Media>
<Media Include="sound\dazhao.wav">
<Filter>资源文件</Filter>
</Media>
<Media Include="sound\game_over.wav">
<Filter>资源文件</Filter>
</Media>
<Media Include="sound\protect.wav">
<Filter>资源文件</Filter>
</Media>
<Media Include="sound\update.wav">
<Filter>资源文件</Filter>
</Media>
<Media Include="sound\blood.wav">
<Filter>资源文件</Filter>
</Media>
<Media Include="sound\ball.wav">
<Filter>资源文件</Filter>
</Media>
</ItemGroup>
</Project>
\ No newline at end of file
......@@ -18,18 +18,11 @@ bool CScene::InitScene() {
this->isStart = true;
this->beginY = 0;
//播放背景音乐
mciSendString(L"open sound\\background.mp3 alias bgm", NULL, 0, NULL);
mciSendString(L"play bgm repeat", NULL, 0, NULL);
return true;
}
//绘制场景
void CScene::StickScene(CDC* pDC, int index, CRect rClient) {
//if (index == -1)
// index = 0;
//else
// index = index % 7 + 1;
//设置缩放图片的模式为:COLORONCOLOR, 以消除像素重叠
pDC->SetStretchBltMode(COLORONCOLOR);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment