mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 00:09:18 +02:00
Remove __fastcall calling convention
This commit is contained in:
58
FadeSound.h
58
FadeSound.h
@@ -1,29 +1,29 @@
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
#ifndef FadeSoundH
|
||||
#define FadeSoundH
|
||||
|
||||
#include "Sound.h"
|
||||
#include "AdvSound.h"
|
||||
|
||||
class TFadeSound
|
||||
{
|
||||
PSound Sound;
|
||||
float fFade;
|
||||
float dt, fTime;
|
||||
TSoundState State;
|
||||
|
||||
public:
|
||||
__fastcall TFadeSound();
|
||||
__fastcall ~TFadeSound();
|
||||
void __fastcall Init(char *Name, float fNewFade);
|
||||
void __fastcall TurnOn();
|
||||
void __fastcall TurnOff();
|
||||
bool __fastcall Playing() { return (State == ss_Commencing || State == ss_Starting); };
|
||||
void __fastcall Free();
|
||||
void __fastcall Update();
|
||||
void __fastcall Volume(long vol);
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
#endif
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
#ifndef FadeSoundH
|
||||
#define FadeSoundH
|
||||
|
||||
#include "Sound.h"
|
||||
#include "AdvSound.h"
|
||||
|
||||
class TFadeSound
|
||||
{
|
||||
PSound Sound;
|
||||
float fFade;
|
||||
float dt, fTime;
|
||||
TSoundState State;
|
||||
|
||||
public:
|
||||
TFadeSound();
|
||||
~TFadeSound();
|
||||
void Init(char *Name, float fNewFade);
|
||||
void TurnOn();
|
||||
void TurnOff();
|
||||
bool Playing() { return (State == ss_Commencing || State == ss_Starting); };
|
||||
void Free();
|
||||
void Update();
|
||||
void Volume(long vol);
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user