libansilove

Library for converting ANSI, ASCII, and other formats to PNG
Log | Files | Refs | README | LICENSE

commit 97aa5e6d83044db6ad2d305f570e1b48da250ff4
parent 2a6f3ae858eb862fb2dbf09ec11ccb2a40aa186e
Author: Frederic Cambus <fred@statdns.com>
Date:   Tue, 26 Dec 2017 00:44:45 +0100

Add an ansilove.h header with prototypes for all loaders

Diffstat:
MCMakeLists.txt | 1+
Ainclude/ansilove.h | 23+++++++++++++++++++++++
2 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt @@ -37,3 +37,4 @@ set_target_properties(ansilove PROPERTIES VERSION ${LIB_VERSION_STRING} SOVERSION ${LIB_VERSION_MAJOR}) install(TARGETS ansilove DESTINATION lib) +install(FILES include/ansilove.h DESTINATION include) diff --git a/include/ansilove.h b/include/ansilove.h @@ -0,0 +1,23 @@ +// +// ansilove.h +// AnsiLove/C +// +// Copyright (C) 2011-2017 Stefan Vogt, Brian Cassidy, and Frederic Cambus. +// All rights reserved. +// +// This source code is licensed under the BSD 2-Clause License. +// See the LICENSE file for details. +// + +#ifndef ansilove_h +#define ansilove_h + +void ansi(unsigned char *inputFileBuffer, int32_t inputFileSize, char *outputFile, char *retinaout, char *font, int32_t bits, char *mode, bool icecolors, char *fext, int retinaScaleFactor); +void artworx(unsigned char *inputFileBuffer, int32_t inputFileSize, char *outputFile, char *retinaout, int retinaScaleFactor); +void binary(unsigned char *inputFileBuffer, int32_t inputFileSize, char *outputFile, char *retinaout, int32_t columns, char *font, int32_t bits, bool icecolors, int retinaScaleFactor); +void icedraw(unsigned char *inputFileBuffer, int32_t inputFileSize, char *outputFile, char *retinaout, int retinaScaleFactor); +void pcboard(unsigned char *inputFileBuffer, int32_t inputFileSize, char *outputFile, char *retinaout, char *font, int32_t bits, int retinaScaleFactor); +void tundra(unsigned char *inputFileBuffer, int32_t inputFileSize, char *outputFile, char *retinaout, char *font, int32_t bits, int retinaScaleFactor); +void xbin(unsigned char *inputFileBuffer, int32_t inputFileSize, char *outputFile, char *retinaout, int retinaScaleFactor); + +#endif