From c5700f9c35cc71a3ced9b8892656aca9287d5acb Mon Sep 17 00:00:00 2001 From: fgenesis Date: Sun, 14 Oct 2012 03:51:02 +0200 Subject: [PATCH] Little things to make the world map more user friendly: - Map markers are now spawned on the player position, not above - 66% alpha for world map icons, this way some of the stuff below the icon can be seen. - Unified and increased zoom-in distance. This way the view no longer forcefully resets to another zoom level when selecting maps of different layers (i.e. first an interior map, then zoom in, then select a regular map), which was a little jarring. The increased zoom level is useful for close-ups on tiny areas like the sun temple. --- Aquaria/WorldMapRender.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Aquaria/WorldMapRender.cpp b/Aquaria/WorldMapRender.cpp index b8d07c7..e9f1b9f 100644 --- a/Aquaria/WorldMapRender.cpp +++ b/Aquaria/WorldMapRender.cpp @@ -62,9 +62,9 @@ namespace WorldMapRenderNamespace float xMin, yMin, xMax, yMax; float zoomMin = 0.2; - float zoomMax = 1; - const float exteriorZoomMax = 1; - const float interiorZoomMax = 1.8; + float zoomMax = 3.0; + const float exteriorZoomMax = 3.0; + const float interiorZoomMax = 3.0; bool editorActive=false; @@ -295,6 +295,7 @@ public: followCamera = 1; blink = false; blinkTimer = 0; + alphaMod = 0.66; canMove = gemData->canMove; //canMove = true; //gemData->userString = "HI THERE!"; @@ -1538,7 +1539,7 @@ void WorldMapRender::createGemHint(const std::string &gfx) doubleClickTimer = 0; GemData *g = dsq->continuity.pickupGem(gfx, false); g->canMove = 1; - g->pos = getAvatarWorldMapPosition() + Vector(0, -20); + g->pos = getAvatarWorldMapPosition();// + Vector(0, -20); g->userString = useString; addGem(g); fixGems();