1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-02 19:56:13 +01:00

Fix broken code alignment

This commit is contained in:
Ted John
2017-01-14 23:40:46 +00:00
parent b80b71cf81
commit 0d51bdde3f
5 changed files with 10 additions and 10 deletions

View File

@@ -31,12 +31,12 @@ private:
uint64 _offset = 0;
sint32 _loop = 0;
sint32 _volume = 1;
sint32 _volume = 1;
float _volume_l = 0.f;
float _volume_r = 0.f;
float _oldvolume_l = 0.f;
float _oldvolume_r = 0.f;
sint32 _oldvolume = 0;
sint32 _oldvolume = 0;
float _pan = 0;
bool _stopping = false;

View File

@@ -36,7 +36,7 @@ interface IAudioChannel
virtual SpeexResamplerState * GetResampler() const abstract;
virtual void SetResampler(SpeexResamplerState * value) abstract;
virtual sint32 GetGroup() const abstract;
virtual sint32 GetGroup() const abstract;
virtual void SetGroup(sint32 group) abstract;
virtual double GetRate() const abstract;
@@ -45,15 +45,15 @@ interface IAudioChannel
virtual uint64 GetOffset() const abstract;
virtual bool SetOffset(uint64 offset) abstract;
virtual sint32 GetLoop() const abstract;
virtual sint32 GetLoop() const abstract;
virtual void SetLoop(sint32 value) abstract;
virtual sint32 GetVolume() const abstract;
virtual sint32 GetVolume() const abstract;
virtual float GetVolumeL() const abstract;
virtual float GetVolumeR() const abstract;
virtual float GetOldVolumeL() const abstract;
virtual float GetOldVolumeR() const abstract;
virtual sint32 GetOldVolume() const abstract;
virtual sint32 GetOldVolume() const abstract;
virtual void SetVolume(sint32 volume) abstract;
virtual float GetPan() const abstract;

View File

@@ -25,9 +25,9 @@
*/
struct AudioFormat
{
sint32 freq;
sint32 freq;
SDL_AudioFormat format;
sint32 channels;
sint32 channels;
sint32 BytesPerSample() const
{

View File

@@ -29,7 +29,7 @@ namespace String
bool IsNullOrEmpty(const utf8 * str);
sint32 Compare(const std::string &a, const std::string &b, bool ignoreCase = false);
sint32 Compare(const utf8 * a, const utf8 * b, bool ignoreCase = false);
bool Equals(const std::string &a, const std::string &b, bool ignoreCase = false);
bool Equals(const std::string &a, const std::string &b, bool ignoreCase = false);
bool Equals(const utf8 * a, const utf8 * b, bool ignoreCase = false);
bool StartsWith(const utf8 * str, const utf8 * match, bool ignoreCase = false);
size_t LastIndexOf(const utf8 * str, utf8 match);

View File

@@ -25,7 +25,7 @@ class NetworkAction final
public:
rct_string_id Name;
std::string PermissionName;
std::vector<sint32> Commands;
std::vector<sint32> Commands;
};
class NetworkActions final