aboutsummaryrefslogtreecommitdiff
path: root/Source/LoadMenu.c
diff options
context:
space:
mode:
authorXaviDCR92 <xavi.dcr@gmail.com>2017-12-29 23:19:43 +0100
committerXaviDCR92 <xavi.dcr@gmail.com>2017-12-29 23:19:43 +0100
commit67cfc8b2c23177f036eda97f3423d062ba0c3e90 (patch)
tree736dd4c76c30bf0f74ef4bf73f1218219ab26dc0 /Source/LoadMenu.c
parent0d1df70f2d1a08fdb6389391ee59afc5fbc6277a (diff)
downloadairport-67cfc8b2c23177f036eda97f3423d062ba0c3e90.tar.gz
* RWY_DIR and AIRCRAFT_DIRECTION have been joint into a single enum.
* Game.c: new prototypes GameGetParkingDirection() and GameGetRunwayDirection(). * Slight optimizations into GameRenderLevel(). * Added some comment headers into Gfx.c.
Diffstat (limited to 'Source/LoadMenu.c')
-rw-r--r--Source/LoadMenu.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/LoadMenu.c b/Source/LoadMenu.c
index d0d5fc5..e7914a9 100644
--- a/Source/LoadMenu.c
+++ b/Source/LoadMenu.c
@@ -490,14 +490,14 @@ void LoadMenuLoadFileList( const char* fileList[], void* dest[],
//Restore original file path in order to load file
strncpy(strCurrentFile, aux_file_name, 100);
- if (strncmp(extension,"TIM",3) == 0)
+ if (strncmp(extension, "TIM", 3) == 0)
{
if (GfxSpriteFromFile(strCurrentFile, dest[fileLoadedCount]) == false)
{
Serial_printf("Could not load image file \"%s\"!\n", strCurrentFile);
}
}
- else if (strncmp(extension,"CLT",3) == 0)
+ else if (strncmp(extension, "CLT", 3) == 0)
{
if (dest[fileLoadedCount] != NULL)
{
@@ -509,21 +509,21 @@ void LoadMenuLoadFileList( const char* fileList[], void* dest[],
Serial_printf("Could not load CLUT file \"%s\"!\n", strCurrentFile);
}
}
- else if (strncmp(extension,"VAG",3) == 0)
+ else if (strncmp(extension, "VAG", 3) == 0)
{
if (SfxUploadSound(strCurrentFile, dest[fileLoadedCount]) == false)
{
Serial_printf("Could not load sound file \"%s\"!\n", strCurrentFile);
}
}
- else if (strncmp(extension,"FNT",3) == 0)
+ else if (strncmp(extension, "FNT", 3) == 0)
{
if (FontLoadImage(strCurrentFile, dest[fileLoadedCount]) == false)
{
Serial_printf("Could not load font file \"%s\"!\n", strCurrentFile);
}
}
- else if (strncmp(extension,"PLT",3) == 0)
+ else if (strncmp(extension, "PLT", 3) == 0)
{
if (PltParserLoadFile(strCurrentFile, dest[fileLoadedCount]) == false)
{