2021-05-13 08:56:24 +02: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.
|
|
|
|
*****************************************************************************/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "SpriteBase.h"
|
|
|
|
|
|
|
|
class DataSerialiser;
|
|
|
|
struct CoordsXYZ;
|
|
|
|
|
|
|
|
struct Balloon : MiscEntity
|
|
|
|
{
|
|
|
|
static constexpr auto cEntityType = EntityType::Balloon;
|
|
|
|
uint16_t popped;
|
|
|
|
uint8_t time_to_move;
|
|
|
|
uint8_t colour;
|
2021-05-12 09:01:08 +02:00
|
|
|
static void Create(const CoordsXYZ& balloonPos, int32_t colour, bool isPopped);
|
2021-05-13 08:56:24 +02:00
|
|
|
void Update();
|
|
|
|
void Pop();
|
|
|
|
void Press();
|
|
|
|
void Serialise(DataSerialiser& stream);
|
|
|
|
};
|