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

@@ -37,7 +37,7 @@ protected:
virtual int getDeathSound();
public:
virtual bool interact(shared_ptr<Player> player);
virtual bool interact(std::shared_ptr<Player> player);
protected:
virtual int getDeathLoot();
@@ -52,7 +52,7 @@ protected:
virtual void causeFallDamage(float distance);
public:
virtual shared_ptr<AgableMob> getBreedOffspring(shared_ptr<AgableMob> target);
bool isFood(shared_ptr<ItemInstance> itemInstance);
virtual std::shared_ptr<AgableMob> getBreedOffspring(std::shared_ptr<AgableMob> target);
bool isFood(std::shared_ptr<ItemInstance> itemInstance);
ControlledByPlayerGoal *getControlGoal();
};