Lots of work on printbuffers
This commit is contained in:
@@ -238,6 +238,10 @@ double distance_squared(double x1, double y1, double x2, double y2) {
|
||||
return dx*dx + dy*dy;
|
||||
}
|
||||
|
||||
bool world_type_authoritative(util::WorldType wt) {
|
||||
return (wt == WORLD_TYPE_MASTER) || (wt == WORLD_TYPE_STANDALONE);
|
||||
}
|
||||
|
||||
static std::string get_file_contents(const std::string &fn) {
|
||||
std::ifstream fs(fn);
|
||||
std::stringstream buffer;
|
||||
|
||||
Reference in New Issue
Block a user