Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarPlayerUniverseMap.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/game/StarPlayerUniverseMap.hpp')
-rw-r--r--source/game/StarPlayerUniverseMap.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/game/StarPlayerUniverseMap.hpp b/source/game/StarPlayerUniverseMap.hpp
index fad0c41..bf8efec 100644
--- a/source/game/StarPlayerUniverseMap.hpp
+++ b/source/game/StarPlayerUniverseMap.hpp
@@ -53,12 +53,12 @@ public:
// pair of system location and bookmark, not all orbit bookmarks include the system
List<pair<Vec3I, OrbitBookmark>> orbitBookmarks() const;
- void addOrbitBookmark(CelestialCoordinate const& system, OrbitBookmark const& bookmark);
- void removeOrbitBookmark(CelestialCoordinate const& system, OrbitBookmark const& bookmark);
+ bool addOrbitBookmark(CelestialCoordinate const& system, OrbitBookmark const& bookmark);
+ bool removeOrbitBookmark(CelestialCoordinate const& system, OrbitBookmark const& bookmark);
List<TeleportBookmark> teleportBookmarks() const;
- void addTeleportBookmark(TeleportBookmark bookmark);
- void removeTeleportBookmark(TeleportBookmark const& bookmark);
+ bool addTeleportBookmark(TeleportBookmark bookmark);
+ bool removeTeleportBookmark(TeleportBookmark const& bookmark);
void invalidateWarpAction(WarpAction const& bookmark);
Maybe<OrbitBookmark> worldBookmark(CelestialCoordinate const& world) const;