1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 04:23:20 +01:00

Whitespace fixes

This commit is contained in:
Michał Janiszewski
2017-10-01 23:05:42 +02:00
parent d8d7d97f74
commit 9ff0e22aee
4 changed files with 10 additions and 13 deletions

View File

@@ -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>
{

View File

@@ -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;
}
};
};

View File

@@ -80,4 +80,4 @@ struct DataSerializerTraits<std::string>
Memory::FreeArray(str, len);
}
};
};

View File

@@ -59,4 +59,4 @@ static T ByteSwapBE(const T& value)
return ByteSwapT<sizeof(T)>::SwapBE(value);
}
#endif
#endif