ansilove

ANSI and ASCII art to PNG converter in C
Log | Files | Refs | README | LICENSE

commit db9a9fb4606f5ecbf60ffae765fd51db28f55e80
parent 582376d9b810e0b1210fc54b483f5c494da77620
Author: ByteProject <stefan.vogt@byteproject.net>
Date:   Thu, 23 Feb 2012 00:38:04 +0100

PCBoard stub

Diffstat:
Mansilove/ansilove.c | 9++++++---
Mansilove/ansilove.h | 3++-
Mansilove/main.c | 10++--------
3 files changed, 10 insertions(+), 12 deletions(-)

diff --git a/ansilove/ansilove.c b/ansilove/ansilove.c @@ -935,9 +935,12 @@ void alAnsiLoader(char *input, char output[], char font[], char bits[], char ice // // return $output_files; //} -// -// -// + + +// PCBOARD +void alPcBoardLoader(char *input, char output[], char font[], char bits[], char icecolors[]) +{ +} ///*****************************************************************************/ ///* LOAD PCBOARD */ ///*****************************************************************************/ diff --git a/ansilove/ansilove.h b/ansilove/ansilove.h @@ -36,11 +36,12 @@ // prototypes void alAnsiLoader(char *input, char output[], char font[], char bits[], char icecolors[], char *fext); +void alPcBoardLoader(char *input, char output[], char font[], char bits[], char icecolors[]); void alBinaryLoader(char *input, char output[], char columns[], char font[], char bits[], char icecolors[]); void alArtworxLoader(char *input, char output[], char bits[]); -void alXbinLoader(char *input, char output[], char bits[]); void alIcedrawLoader(char *input, char output[], char bits[], bool fileHasSAUCE); void alTundraLoader(char *input, char output[], char font[], char bits[]); +void alXbinLoader(char *input, char output[], char bits[]); // sauce records #define RECORD_SIZE 128 diff --git a/ansilove/main.c b/ansilove/main.c @@ -28,7 +28,6 @@ // prototypes void showUsage(void); void loadPCBoard(void); -void loadIceDraw(void); // show how to properly set the command line flags void showUsage(void) @@ -57,12 +56,6 @@ void showUsage(void) printf("ansilove ansiwithsauce.ans -r (just display SAUCE record)\n\n"); } -void loadPCBoard(void) -{ - // params: input, output, font, bits, icecolors -} - - int main(int argc, char *argv[]) { printf("\n---------------------------------------------------------------------------\n"); @@ -205,7 +198,8 @@ int main(int argc, char *argv[]) // create the output file by invoking the appropiate function if (strcmp(fext, ".pcb") == 0) { - loadPCBoard(); + // params: input, output, font, bits, icecolors + alPcBoardLoader(input, output, font, bits, icecolors); } else if (strcmp(fext, ".bin") == 0) { // params: input, output, columns, font, bits, icecolors