Thank you for the patch, it works! I tested in both 4:3 and 5:4 resolutions, I can't test in 16:9 or 16:10 though.<br><br><div class="gmail_quote">On Thu, Aug 18, 2011 at 9:49 PM, Andrew Church <span dir="ltr"><<a href="mailto:achurch%2Baquaria@achurch.org">achurch+aquaria@achurch.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">>Hi all,<br>
>I just tried the latest build of Aquaria and the minimap at the bottom left<br>
>corner of the screen gets cropped (ie, it's screen position is diverted too<br>
>much to the bottom).<br>
<br>
</div>Oops, this is probably my fault. Patch below.<br>
<br>
--Andrew Church<br>
<a href="mailto:achurch@achurch.org">achurch@achurch.org</a><br>
<a href="http://achurch.org/" target="_blank">http://achurch.org/</a><br>
<br>
# HG changeset patch<br>
# User Andrew Church <<a href="mailto:achurch@achurch.org">achurch@achurch.org</a>><br>
# Date 1313667883 -32400<br>
# Node ID 929873f4768508f44273dc725df6f532fa717df1<br>
# Parent 88bd4f013e2e756e1b57891570f6c7980ea5025c<br>
Prevent the minimap from getting cut off on the bottom of a 1280x1024 display.<br>
<br>
This patch fixes a bug in positioning the minimap which causes the<br>
bottom part of the minimap to be cut off when the display aspect ratio<br>
is less than 4:3 (e.g., 5:4 as on a 1280x1024 display).<br>
<br>
diff -r 88bd4f013e2e -r 929873f47685 Aquaria/MiniMapRender.cpp<br>
--- a/Aquaria/MiniMapRender.cpp Wed Aug 17 20:55:53 2011 +0900<br>
+++ b/Aquaria/MiniMapRender.cpp Thu Aug 18 20:44:43 2011 +0900<br>
@@ -243,7 +243,7 @@<br>
RenderObject::onUpdate(dt);<br>
<br>
position.x = core->getVirtualWidth() - core->getVirtualOffX() - getMiniMapWidth()/2;<br>
- position.y = core->getVirtualHeight() - getMiniMapHeight()/2;<br>
+ position.y = 600 - getMiniMapHeight()/2;<br>
position.z = 2.9;<br>
<br>
waterSin += dt * (bitSizeLookupPeriod / (2*PI));<br>
<div><div></div><div class="h5">_______________________________________________<br>
aquaria mailing list<br>
<a href="mailto:aquaria@icculus.org">aquaria@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/aquaria" target="_blank">http://icculus.org/mailman/listinfo/aquaria</a><br>
</div></div></blockquote></div><br>