aboutsummaryrefslogtreecommitdiff
path: root/Source/LoadMenu.c
diff options
context:
space:
mode:
authorXaviDCR92 <xavi.dcr@gmail.com>2017-06-28 16:19:36 +0200
committerXaviDCR92 <xavi.dcr@gmail.com>2017-06-28 16:19:36 +0200
commitbd23878d45f3e0ec2336b903bacc110688aac9bd (patch)
treee7a09377ac2bc955b58b868d80ddd1efaae5f8b2 /Source/LoadMenu.c
parentf9f9924566e82aae02817a2fbc7962764f5418c3 (diff)
downloadairport-bd23878d45f3e0ec2336b903bacc110688aac9bd.tar.gz
* 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.
Diffstat (limited to 'Source/LoadMenu.c')
-rw-r--r--Source/LoadMenu.c4
1 files changed, 3 insertions, 1 deletions
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;