LeviLamina
Loading...
Searching...
No Matches
ActorParticles.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/comprehensive/ParticleType.h"
7#include "mc/deps/shared_types/legacy/actor/PaletteColor.h"
8
9// auto generated forward declare list
10// clang-format off
11class AABB;
12class ILevel;
13class Random;
14class Vec2;
15class Vec3;
16// clang-format on
17
18namespace ActorParticles {
19// functions
20// NOLINTBEGIN
21MCAPI uint calculateDustParticleNumberFromFall(float fallDistance);
22
23MCAPI void spawnBalloonPopParticles(
24 uint aabb,
25 ::AABB color,
26 ::SharedTypes::Legacy::PaletteColor level,
27 ::ILevel& random,
28 ::Random& particleCount
29);
30
31MCAPI void spawnDeathParticles(::Vec3 position, ::Vec2 aabbDim, float heightOffset, ::ILevel& level);
32
33MCAPI void spawnParticlesInArea(
34 ::ILevel& level,
35 uint particleCount,
36 ::ParticleType type,
37 ::Vec3 const& position,
38 ::Vec2 const& aabbDim,
39 ::Random& random
40);
41
42MCAPI void spawnPukeParticles(
43 uint position,
44 uint lookDirection,
45 ::Vec3 level,
46 ::Vec3 random,
47 ::ILevel& numLines,
48 ::Random& particlesPerLine
49);
50
51MCAPI void spawnTreasureHuntingParticles(
52 uint position,
53 ::Vec3 direction,
54 ::Vec3 aabbDim,
55 ::Vec2 level,
56 ::ILevel& random,
57 ::Random& particleCount
58);
59// NOLINTEND
60
61} // namespace ActorParticles
Definition AABB.h:16
Definition ILevel.h:203
Definition Random.h:16
Definition Vec2.h:5
Definition Vec3.h:10