2021-05-09 19:12:44 +01:00
|
|
|
/*****************************************************************************
|
|
|
|
|
* Copyright (c) 2014-2021 OpenRCT2 developers
|
|
|
|
|
*
|
|
|
|
|
* For a complete list of all authors, please refer to contributors.md
|
|
|
|
|
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
|
|
|
|
|
*
|
|
|
|
|
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
|
|
|
|
*****************************************************************************/
|
|
|
|
|
|
|
|
|
|
#include "Entity.h"
|
|
|
|
|
|
|
|
|
|
#include "../core/DataSerialiser.h"
|
|
|
|
|
#include "../peep/Peep.h"
|
2021-10-27 21:19:10 +01:00
|
|
|
#include "../peep/Staff.h"
|
2021-05-09 19:12:44 +01:00
|
|
|
#include "../ride/Vehicle.h"
|
2021-05-29 06:01:32 +01:00
|
|
|
#include "Balloon.h"
|
|
|
|
|
#include "Duck.h"
|
|
|
|
|
#include "Fountain.h"
|
|
|
|
|
#include "MoneyEffect.h"
|
|
|
|
|
#include "Particle.h"
|
2021-05-09 19:12:44 +01:00
|
|
|
|
2021-11-25 23:25:04 -08:00
|
|
|
void EntityBase::Serialise(DataSerialiser& stream)
|
2021-05-09 19:12:44 +01:00
|
|
|
{
|
2021-11-25 23:25:04 -08:00
|
|
|
stream << Type;
|
|
|
|
|
stream << sprite_index;
|
|
|
|
|
stream << x;
|
|
|
|
|
stream << y;
|
|
|
|
|
stream << z;
|
|
|
|
|
stream << sprite_direction;
|
2021-05-09 19:12:44 +01:00
|
|
|
}
|