commit cfafc021629271a76ffae9c788d4139243ec77a2
parent 83d504a5cb939f93176a4b2e6286a241146883c4
Author: ByteProject <stefan.vogt@byteproject.net>
Date: Sun, 8 Jan 2012 01:49:07 +0100
removed loadAnsi() - we pass directly to ansilove.c now
Diffstat:
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/ansilove/main.c b/ansilove/main.c
@@ -33,7 +33,6 @@ void loadArtworx(void);
void loadIceDraw(void);
void loadTundra(void);
void loadXbin(void);
-void loadAnsi(void);
// show how to properly set the command line flags
void showUsage(void)
@@ -92,11 +91,6 @@ void loadXbin(void)
// params: input, output, bits
}
-void loadAnsi(void)
-{
- // params: input, output, font, bits, icecolors
-}
-
int main(int argc, char *argv[])
{
printf("\n---------------------------------------------------------------------------\n");
@@ -255,10 +249,12 @@ int main(int argc, char *argv[])
loadXbin();
}
else {
- loadAnsi();
+ // params: input, output, font, bits, icecolors, fext
+ alAnsiLoader(input, output, font, bits, icecolors, fext);
}
}
+ // either display SAUCE or tell us if there is no record
if (strcmp( record->ID, SAUCE_ID ) != 0) {
printf("\nFile does not have a SAUCE record.\n");
}
@@ -294,6 +290,7 @@ int main(int argc, char *argv[])
}
}
+ // post a message when the output file is created (in case we created output)
if (justDisplaySAUCE == false) {
printf("\nSuccessfully created output file.\n\n");
}