@MiniMapVer.h 1.0 KB

1234567891011121314151617181920212223242526272829
  1. /******************************************************************************/
  2. /******************************************************************************/
  3. class MiniMapVer
  4. {
  5. bool changed;
  6. TimeStamp time; // this is time of both settings and images, images will be received only if their TimeStamp matches this value
  7. Game::MiniMap::Settings settings;
  8. Str path;
  9. UID mini_map_id;
  10. Memc<VecI2> images;
  11. ~MiniMapVer();
  12. MiniMapVer& setChanged();
  13. void operator=(C MiniMapVer&src);
  14. // io
  15. bool save(File &f, bool network=false)C;
  16. bool load(File &f, bool network=false);
  17. bool save(C Str &name)C;
  18. bool load(C Str &name);
  19. void flush();
  20. public:
  21. MiniMapVer();
  22. };
  23. /******************************************************************************/
  24. /******************************************************************************/
  25. /******************************************************************************/