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

Kompiluje się do DynamicObject. Prace nad TMoverParameters.

This commit is contained in:
firleju
2016-10-25 22:46:26 +02:00
parent 28d5be7363
commit 1491681576
27 changed files with 638 additions and 530 deletions

View File

@@ -12,8 +12,8 @@ http://mozilla.org/MPL/2.0/.
*/
//#include "system.hpp"
//#include "classes.hpp"
#include "system.hpp"
#include "classes.hpp"
#pragma hdrstop
#include "math.h"
@@ -61,7 +61,7 @@ void TRealSound::Init(char *SoundName, double DistanceAttenuation, double X, dou
{ // dla modulowanych nie może być zmiany mnożnika, bo częstotliwość w nagłówku byłą
// ignorowana, a mogła być inna niż 22050
fFrequency = 22050.0;
ErrorLog("Bad sound: " + AnsiString(SoundName) +
ErrorLog("Bad sound: " + string(SoundName) +
", as modulated, should have 22.05kHz in header");
}
AM = 1.0;
@@ -70,7 +70,7 @@ void TRealSound::Init(char *SoundName, double DistanceAttenuation, double X, dou
else
{ // nie ma dźwięku, to jest wysyp
AM = 0;
ErrorLog("Missed sound: " + AnsiString(SoundName));
ErrorLog("Missed sound: " + string(SoundName));
}
if (DistanceAttenuation > 0.0)
{