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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user