aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/ZombieRenderer.h
diff options
context:
space:
mode:
authorvoid_17 <heroerror3@gmail.com>2026-03-02 15:58:20 +0700
committervoid_17 <heroerror3@gmail.com>2026-03-02 15:58:20 +0700
commit7074f35e4ba831e358117842b99ee35b87f85ae5 (patch)
tree7d440d23473196af3056bf2ff4c59d9e740a06f5 /Minecraft.Client/ZombieRenderer.h
parentd63f79325f85e014361eb8cf1e41eaebedb1ae71 (diff)
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.
Diffstat (limited to 'Minecraft.Client/ZombieRenderer.h')
-rw-r--r--Minecraft.Client/ZombieRenderer.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/Minecraft.Client/ZombieRenderer.h b/Minecraft.Client/ZombieRenderer.h
index e070cc7b..b727659a 100644
--- a/Minecraft.Client/ZombieRenderer.h
+++ b/Minecraft.Client/ZombieRenderer.h
@@ -25,17 +25,17 @@ public:
protected:
void createArmorParts();
- int prepareArmor(shared_ptr<Mob> _mob, int layer, float a);
+ int prepareArmor(std::shared_ptr<Mob> _mob, int layer, float a);
public:
- void render(shared_ptr<Entity> _mob, double x, double y, double z, float rot, float a);
+ void render(std::shared_ptr<Entity> _mob, double x, double y, double z, float rot, float a);
protected:
- void additionalRendering(shared_ptr<Mob> _mob, float a);
+ void additionalRendering(std::shared_ptr<Mob> _mob, float a);
private:
- void swapArmor(shared_ptr<Zombie> mob);
+ void swapArmor(std::shared_ptr<Zombie> mob);
protected:
- void setupRotations(shared_ptr<Mob> _mob, float bob, float bodyRot, float a);
+ void setupRotations(std::shared_ptr<Mob> _mob, float bob, float bodyRot, float a);
}; \ No newline at end of file