mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 05:49:19 +02:00
Format source code using clang-format
This commit is contained in:
17
AdvSound.h
17
AdvSound.h
@@ -6,10 +6,16 @@
|
||||
#include "RealSound.h"
|
||||
#include "QueryParserComp.hpp"
|
||||
|
||||
typedef enum {ss_Off, ss_Starting, ss_Commencing, ss_ShuttingDown} TSoundState;
|
||||
typedef enum
|
||||
{
|
||||
ss_Off,
|
||||
ss_Starting,
|
||||
ss_Commencing,
|
||||
ss_ShuttingDown
|
||||
} TSoundState;
|
||||
|
||||
class TAdvancedSound
|
||||
{//klasa dŸwiêków maj¹cych pocz¹tek, dowolnie d³ugi œrodek oraz zakoñczenie (np. Rp1)
|
||||
{ // klasa dŸwiêków maj¹cych pocz¹tek, dowolnie d³ugi œrodek oraz zakoñczenie (np. Rp1)
|
||||
TRealSound SoundStart;
|
||||
TRealSound SoundCommencing;
|
||||
TRealSound SoundShut;
|
||||
@@ -20,17 +26,18 @@ class TAdvancedSound
|
||||
double defAM;
|
||||
double defFM;
|
||||
|
||||
public:
|
||||
public:
|
||||
__fastcall TAdvancedSound();
|
||||
__fastcall ~TAdvancedSound();
|
||||
void __fastcall Init(char *NameOn, char *Name, char *NameOff, double DistanceAttenuation, vector3 pPosition);
|
||||
void __fastcall Init(char *NameOn, char *Name, char *NameOff, double DistanceAttenuation,
|
||||
vector3 pPosition);
|
||||
void __fastcall Load(TQueryParserComp *Parser, vector3 pPosition);
|
||||
void __fastcall TurnOn(bool ListenerInside, vector3 NewPosition);
|
||||
void __fastcall TurnOff(bool ListenerInside, vector3 NewPosition);
|
||||
void __fastcall Free();
|
||||
void __fastcall Update(bool ListenerInside, vector3 NewPosition);
|
||||
void __fastcall UpdateAF(double A, double F, bool ListenerInside, vector3 NewPosition);
|
||||
void __fastcall CopyIfEmpty(TAdvancedSound &s);
|
||||
void __fastcall CopyIfEmpty(TAdvancedSound &s);
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user