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:
@@ -7,17 +7,17 @@ class Entity;
|
||||
class CritParticle : public Particle
|
||||
{
|
||||
private:
|
||||
shared_ptr<Entity> entity;
|
||||
std::shared_ptr<Entity> entity;
|
||||
int life;
|
||||
int lifeTime;
|
||||
ePARTICLE_TYPE particleName;
|
||||
|
||||
void _init(Level *level, shared_ptr<Entity> entity, ePARTICLE_TYPE type);
|
||||
void _init(Level *level, std::shared_ptr<Entity> entity, ePARTICLE_TYPE type);
|
||||
|
||||
public:
|
||||
virtual eINSTANCEOF GetType() { return eType_CRITPARTICLE; }
|
||||
CritParticle(Level *level, shared_ptr<Entity> entity);
|
||||
CritParticle(Level *level, shared_ptr<Entity> entity, ePARTICLE_TYPE type);
|
||||
CritParticle(Level *level, std::shared_ptr<Entity> entity);
|
||||
CritParticle(Level *level, std::shared_ptr<Entity> entity, ePARTICLE_TYPE type);
|
||||
void CritParticlePostConstructor(void);
|
||||
void render(Tesselator *t, float a, float xa, float ya, float za, float xa2, float za2);
|
||||
void tick();
|
||||
|
||||
Reference in New Issue
Block a user