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
21MCNAPI uint calculateDustParticleNumberFromFall(float fallDistance);
22
23MCNAPI void spawnBalloonPopParticles(
24 uint particleCount,
25 ::AABB aabb,
26 ::SharedTypes::Legacy::PaletteColor color,
27 ::ILevel& level,
28 ::Random& random
29);
30
31MCNAPI void spawnDeathParticles(::Vec3 position, ::Vec2 aabbDim, float heightOffset, ::ILevel& level);
32
33MCNAPI void spawnParticlesInArea(
34 ::ILevel& level,
35 uint particleCount,
36 ::ParticleType type,
37 ::Vec3 const& position,
38 ::Vec2 const& aabbDim,
39 ::Random& random
40);
41
42MCNAPI void spawnPukeParticles(
43 uint numLines,
44 uint particlesPerLine,
45 ::Vec3 position,
46 ::Vec3 lookDirection,
47 ::ILevel& level,
48 ::Random& random
49);
50
51MCNAPI void spawnTreasureHuntingParticles(
52 uint particleCount,
53 ::Vec3 position,
54 ::Vec3 direction,
55 ::Vec2 aabbDim,
56 ::ILevel& level,
57 ::Random& random
58);
59// NOLINTEND
60
61} // namespace ActorParticles
Definition AABB.h:18
Definition ILevel.h:205
Definition Random.h:11
Definition Vec2.h:5
Definition Vec3.h:10