mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-04 02:38:00 +03:00
26 lines
No EOL
611 B
C++
26 lines
No EOL
611 B
C++
#pragma once
|
|
#include <d3d11.h>
|
|
#include <SimpleMath.h>
|
|
#include <Objects\objectslist.h>
|
|
#include <array>
|
|
#include <unordered_map>
|
|
struct ITEM_INFO;
|
|
namespace TEN::Effects{
|
|
struct SimpleParticle {
|
|
DirectX::SimpleMath::Vector3 worldPosition;
|
|
float size;
|
|
float age;
|
|
float ageRate;
|
|
float life;
|
|
int room;
|
|
unsigned int sprite;
|
|
GAME_OBJECT_ID sequence;
|
|
bool active;
|
|
};
|
|
extern std::array<SimpleParticle, 15> simpleParticles;
|
|
|
|
SimpleParticle& getFreeSimpleParticle();
|
|
void TriggerSnowmobileSnow(ITEM_INFO* snowMobile);
|
|
void TriggerSpeedboatFoam(ITEM_INFO* boat);
|
|
void updateSimpleParticles();
|
|
} |