water_map.cpp 382 B

1234567891011121314151617181920212223242526
  1. #include "water_map.h"
  2. #include <algorithm>
  3. #include <cctype>
  4. #include <stdio.h>
  5. #include <string.h>
  6. #include <fstream>
  7. /**
  8. * @param name
  9. * @return
  10. */
  11. inline bool file_exists(const std::string& name) {
  12. std::ifstream f(name.c_str());
  13. return f.good();
  14. }
  15. /**
  16. * @param zone_name
  17. * @return
  18. */
  19. WaterMap* WaterMap::LoadWaterMapfile(std::string zone_name) {
  20. return nullptr;
  21. }