mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-18 04:23:20 +01:00
Whitespace fixes
This commit is contained in:
@@ -20,12 +20,9 @@
|
||||
#include "../localisation/string_ids.h"
|
||||
#include "GameAction.h"
|
||||
|
||||
extern "C"
|
||||
{
|
||||
#include "../cheats.h"
|
||||
#include "../interface/window.h"
|
||||
#include "../world/park.h"
|
||||
}
|
||||
#include "../cheats.h"
|
||||
#include "../interface/window.h"
|
||||
#include "../world/park.h"
|
||||
|
||||
struct SetParkEntranceFeeAction : public GameActionBase<GAME_COMMAND_SET_PARK_ENTRANCE_FEE, GameActionResult>
|
||||
{
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include <type_traits>
|
||||
#include "DataSerialiserTraits.h"
|
||||
|
||||
class DataSerialiser
|
||||
class DataSerialiser
|
||||
{
|
||||
private:
|
||||
MemoryStream _stream;
|
||||
@@ -37,17 +37,17 @@ public:
|
||||
_activeStream = &stream;
|
||||
}
|
||||
|
||||
bool IsSaving() const
|
||||
bool IsSaving() const
|
||||
{
|
||||
return _isSaving;
|
||||
}
|
||||
|
||||
bool IsLoading() const
|
||||
bool IsLoading() const
|
||||
{
|
||||
return !_isSaving;
|
||||
}
|
||||
|
||||
MemoryStream& GetStream()
|
||||
MemoryStream& GetStream()
|
||||
{
|
||||
return _stream;
|
||||
}
|
||||
@@ -61,4 +61,4 @@ public:
|
||||
DataSerializerTraits<T>::decode(_activeStream, data);
|
||||
return *this;
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
@@ -80,4 +80,4 @@ struct DataSerializerTraits<std::string>
|
||||
|
||||
Memory::FreeArray(str, len);
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
@@ -59,4 +59,4 @@ static T ByteSwapBE(const T& value)
|
||||
return ByteSwapT<sizeof(T)>::SwapBE(value);
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user