16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 19:19:19 +02:00

tymczasowe przywrócenie tekstu, porządek, wywalenie starych plików, warningi, cmake, itp.

This commit is contained in:
VB
2017-02-14 19:13:48 +01:00
parent 95e040f874
commit 92f39cd9b9
194 changed files with 612 additions and 74277 deletions

View File

@@ -8,7 +8,6 @@ http://mozilla.org/MPL/2.0/.
*/
#include "stdafx.h"
#define STRICT
#include "Sound.h"
#include "Globals.h"
#include "Logs.h"
@@ -219,7 +218,6 @@ LPDIRECTSOUNDBUFFER TSoundsManager::GetFromName(const char *Name, bool Dynamic,
Dynamic = false; // wczytanie z "sounds/"
}
TSoundContainer *Next = First;
DWORD dwStatus;
for (int i = 0; i < Count; i++)
{
if (strcmp(Name, Next->Name) == 0)
@@ -277,11 +275,6 @@ void TSoundsManager::RestoreAll()
for (int i = 0; i < Count; i++)
{
if (FAILED(hr = Next->DSBuffer->GetStatus(&dwStatus)))
;
// return hr;
if (dwStatus & DSBSTATUS_BUFFERLOST)
{
// Since the app could have just been activated, then
@@ -375,7 +368,4 @@ void TSoundsManager::Init(HWND hWnd)
return;
SAFE_RELEASE(pDSBPrimary);
};
//---------------------------------------------------------------------------
#pragma package(smart_init)
};