Wrote a potentially buggy algorithm

This algorithm is designed to find the distance of a certain region,
however it may have been better to do a quick check, rather than worrying
how many regions were loaded at once.
This commit is contained in:
Kayne Ruse
2014-04-07 01:24:05 +10:00
parent 553f8dbfa5
commit c8a58ab515
2 changed files with 51 additions and 0 deletions
+1
View File
@@ -87,6 +87,7 @@ protected:
void RequestRegion(int x, int y);
//utilities
int CheckBufferDistance(Region* const);
void UpdateMap();
void ForNearbyRegions(std::function<void (Region* const)> func);