Skip to content

Commit

Permalink
Smaller coord font size
Browse files Browse the repository at this point in the history
Only scales well at half size, other fractions don't work so well.
Might need to make this configurable if some people don't like the
smaller font.
  • Loading branch information
daveyliam committed Nov 24, 2013
1 parent 1645be2 commit 3976657
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion map/MapRenderer.java
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,12 @@ public static void paintChunk(MapMode mapMode, MapView mapView, IMwChunkOverlay
public static void drawCoords(Mw mw, MapMode mapMode) {
// draw coordinates
if (mw.coordsEnabled && mapMode.coordsEnabled) {
Render.drawCentredString(mapMode.textX, mapMode.textY, mapMode.textColour,
GL11.glPushMatrix();
GL11.glTranslatef(mapMode.textX, mapMode.textY, 0);
GL11.glScalef(0.5f, 0.5f, 1.0f);
Render.drawCentredString(0, 0, mapMode.textColour,
"%d, %d, %d", mw.playerXInt, mw.playerYInt, mw.playerZInt);
GL11.glPopMatrix();
}
}

Expand Down

0 comments on commit 3976657

Please sign in to comment.