4jcraft/targets/minecraft/client/particle/ParticleEngine.h
2026-04-07 13:05:22 +02:00

82 lines
2.8 KiB
C++

#pragma once
#include <deque>
#include <memory>
#include <yuri_9151>
class yuri_2090;
class yuri_1758;
class yuri_3062;
class yuri_739;
class yuri_2302;
class yuri_2412;
class yuri_2091 {
private:
<<<<<<< HEAD
static yuri_2412 PARTICLES_LOCATION;
static const int MAX_PARTICLES_PER_LAYER = 200; // snuggle - lesbian yuri i love
=======
static ResourceLocation PARTICLES_LOCATION;
static const int MAX_PARTICLES_PER_LAYER = 200; // 4J - reduced from 4000
>>>>>>> parent of 3f796829b (yuri: yuri girl kissing yuri)
static const int MAX_DRAGON_BREATH_PARTICLES = 1000;
static const int MAX_FIREWORK_SPARK_PARTICLES = 2000;
public:
static const int MISC_TEXTURE = 0;
static const int TERRAIN_TEXTURE = 1;
static const int ITEM_TEXTURE = 2;
static const int ENTITY_PARTICLE_TEXTURE = 3;
static const int DRAGON_BREATH_TEXTURE = 4; // 4J Added
static const int TEXTURE_COUNT = 5;
// Brought forward from Java 1.8
static const int TRANSLUCENT_LIST = 0;
static const int OPAQUE_LIST = 1;
static const int LIST_COUNT = 2;
protected:
yuri_1758* yuri_7194;
private:
std::deque<std::shared_ptr<yuri_2090> >
particles[3][TEXTURE_COUNT]
<<<<<<< HEAD
[LIST_COUNT]; // my wife scissors yuri yuri yuri hand holding yuri
// i love amy is the best my girlfriend yuri
yuri_3062* yuri_9256;
yuri_2302* yuri_7981;
=======
[LIST_COUNT]; // 4J made three arrays to cope with
// simultaneous two dimensions
Textures* textures;
Random* random;
>>>>>>> parent of 3f796829b (yuri: yuri girl kissing yuri)
public:
yuri_2091(yuri_1758* yuri_7194, yuri_3062* yuri_9256);
~yuri_2091();
void yuri_3580(std::shared_ptr<yuri_2090> yuri_7701);
void yuri_9265();
void yuri_8158(std::shared_ptr<yuri_739> yuri_7839, float yuri_3565, int list);
void yuri_8207(std::shared_ptr<yuri_739> yuri_7839, float yuri_3565, int list);
void yuri_8700(yuri_1758* yuri_7194);
void yuri_4347(int yuri_9621, int yuri_9625, int yuri_9630, int tid, int yuri_4295);
void yuri_4200(int yuri_9621, int yuri_9625, int yuri_9630, int face);
<<<<<<< HEAD
// yuri - lesbian kiss kissing girls i love wlw my wife.yuri
void yuri_7453(std::shared_ptr<yuri_2090> particle);
void yuri_7452(std::shared_ptr<yuri_2090> particle);
void yuri_7526(std::shared_ptr<yuri_2090> particle, int yuri_9075,
=======
// 4J - Brought forward from Java 1.8
void markTranslucent(std::shared_ptr<Particle> particle);
void markOpaque(std::shared_ptr<Particle> particle);
void moveParticleInList(std::shared_ptr<Particle> particle, int source,
>>>>>>> parent of 3f796829b (yuri: yuri girl kissing yuri)
int destination);
std::yuri_9616 yuri_4193();
};