Re3/src/objects/ParticleObject.h

39 lines
1.0 KiB
C
Raw Normal View History

2019-05-15 10:52:37 -04:00
#pragma once
#include "Placeable.h"
2019-05-15 10:52:37 -04:00
enum eParticleObjectType
{
POBJECT_PAVEMENT_STEAM,
POBJECT_PAVEMENT_STEAM_SLOWMOTION,
POBJECT_WALL_STEAM,
POBJECT_WALL_STEAM_SLOWMOTION,
POBJECT_DARK_SMOKE,
POBJECT_FIRE_HYDRANT,
POBJECT_CAR_WATER_SPLASH,
POBJECT_PED_WATER_SPLASH,
POBJECT_SPLASHES_AROUND,
POBJECT_SMALL_FIRE,
POBJECT_BIG_FIRE,
POBJECT_DRY_ICE,
POBJECT_DRY_ICE_SLOWMOTION,
POBJECT_FIRE_TRAIL,
POBJECT_SMOKE_TRAIL,
POBJECT_FIREBALL_AND_SMOKE,
POBJECT_ROCKET_TRAIL,
POBJECT_EXPLOSION_ONCE,
POBJECT_CATALINAS_GUNFLASH,
POBJECT_CATALINAS_SHOTGUNFLASH,
};
class CParticleObject : CPlaceable
2019-05-15 10:52:37 -04:00
{
public:
static void AddObject(uint16 type, const CVector &pos, uint8 remove);
static void AddObject(uint16 type, const CVector &pos, float size, uint8 remove);
static void AddObject(uint16 type, const CVector &pos, const CVector &dir, float size, uint8 remove);
static void AddObject(uint16 type, const CVector &pos, const CVector &dir, float size, uint32, const RwRGBA &col, uint8 remove);
2019-05-28 20:52:30 -04:00
static void Initialise();
static void UpdateAll();
2019-05-15 10:52:37 -04:00
};