From bd23878d45f3e0ec2336b903bacc110688aac9bd Mon Sep 17 00:00:00 2001 From: XaviDCR92 Date: Wed, 28 Jun 2017 16:19:36 +0200 Subject: * Added font spacing parameter. * Removed obsolete, unused functions. * Performance optimization: routines inside GameCalculations() were computating a big loop several times, so this has been modified so that loop is only performed once. * Initial implementation for GameGetAircraftTilemap(). Still some work TODO. --- Source/LoadMenu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Source/LoadMenu.c') diff --git a/Source/LoadMenu.c b/Source/LoadMenu.c index 5081ac3..1522472 100644 --- a/Source/LoadMenu.c +++ b/Source/LoadMenu.c @@ -14,7 +14,8 @@ enum { - SMALL_FONT_SIZE = 8 + SMALL_FONT_SIZE = 8, + SMALL_FONT_SPACING = 6 }; enum @@ -125,6 +126,7 @@ void LoadMenuInit(void) } FontSetSize(&SmallFont, SMALL_FONT_SIZE); + FontSetSpacing(&SmallFont, SMALL_FONT_SPACING); LoadMenuPlaneSpr.r = 0; LoadMenuPlaneSpr.g = 0; -- cgit v1.2.3