shared_ptr -> std::shared_ptr

This is one of the first commits in a plan to remove all `using namespace std;` lines in the entire codebase as it is considered anti-pattern today.
This commit is contained in:
void_17
2026-03-02 15:58:20 +07:00
parent d63f79325f
commit 7074f35e4b
1373 changed files with 12054 additions and 12054 deletions

View File

@@ -26,17 +26,17 @@ public:
protected:
Level *level;
private:
deque<shared_ptr<Particle> > particles[3][TEXTURE_COUNT]; // 4J made two arrays to cope with simultaneous two dimensions
deque<std::shared_ptr<Particle> > particles[3][TEXTURE_COUNT]; // 4J made two arrays to cope with simultaneous two dimensions
Textures *textures;
Random *random;
public:
ParticleEngine(Level *level, Textures *textures);
~ParticleEngine();
void add(shared_ptr<Particle> p);
void add(std::shared_ptr<Particle> p);
void tick();
void render(shared_ptr<Entity> player, float a);
void renderLit(shared_ptr<Entity> player, float a);
void render(std::shared_ptr<Entity> player, float a);
void renderLit(std::shared_ptr<Entity> player, float a);
void setLevel(Level *level);
void destroy(int x, int y, int z, int tid, int data);
void crack(int x, int y, int z, int face);