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:
@@ -28,20 +28,20 @@ public:
|
||||
void getNeighbourBrightnesses(int *brightnesses, LightLayer::variety layer, int x, int y, int z); // 4J added
|
||||
void setBrightness(LightLayer::variety layer, int x, int y, int z, int brightness);
|
||||
int getRawBrightness(int x, int y, int z, int skyDampen);
|
||||
void addEntity(shared_ptr<Entity> e);
|
||||
void removeEntity(shared_ptr<Entity> e);
|
||||
void removeEntity(shared_ptr<Entity> e, int yc);
|
||||
void addEntity(std::shared_ptr<Entity> e);
|
||||
void removeEntity(std::shared_ptr<Entity> e);
|
||||
void removeEntity(std::shared_ptr<Entity> e, int yc);
|
||||
bool isSkyLit(int x, int y, int z);
|
||||
void skyBrightnessChanged();
|
||||
shared_ptr<TileEntity> getTileEntity(int x, int y, int z);
|
||||
void addTileEntity(shared_ptr<TileEntity> te);
|
||||
void setTileEntity(int x, int y, int z, shared_ptr<TileEntity> tileEntity);
|
||||
std::shared_ptr<TileEntity> getTileEntity(int x, int y, int z);
|
||||
void addTileEntity(std::shared_ptr<TileEntity> te);
|
||||
void setTileEntity(int x, int y, int z, std::shared_ptr<TileEntity> tileEntity);
|
||||
void removeTileEntity(int x, int y, int z);
|
||||
void load();
|
||||
void unload(bool unloadTileEntities) ; // 4J - added parameter
|
||||
void markUnsaved();
|
||||
void getEntities(shared_ptr<Entity> except, AABB bb, vector<shared_ptr<Entity> > &es);
|
||||
void getEntitiesOfClass(const type_info& ec, AABB bb, vector<shared_ptr<Entity> > &es);
|
||||
void getEntities(std::shared_ptr<Entity> except, AABB bb, vector<std::shared_ptr<Entity> > &es);
|
||||
void getEntitiesOfClass(const type_info& ec, AABB bb, vector<std::shared_ptr<Entity> > &es);
|
||||
int countEntities();
|
||||
bool shouldSave(bool force);
|
||||
void setBlocks(byteArray newBlocks, int sub);
|
||||
|
||||
Reference in New Issue
Block a user