ansilove

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

types.h (706B)


      1 /*
      2  * types.h
      3  * Ansilove 4.1.2
      4  * https://www.ansilove.org
      5  *
      6  * Copyright (c) 2011-2020 Stefan Vogt, Brian Cassidy, and Frederic Cambus
      7  * All rights reserved.
      8  *
      9  * Ansilove is licensed under the BSD 2-Clause License.
     10  * See LICENSE file for details.
     11  */
     12 
     13 #ifndef TYPES_H
     14 #define TYPES_H
     15 
     16 #define ANSILOVE_FILETYPE_ANS	1
     17 #define ANSILOVE_FILETYPE_ADF	2
     18 #define ANSILOVE_FILETYPE_BIN	3
     19 #define ANSILOVE_FILETYPE_IDF	4
     20 #define ANSILOVE_FILETYPE_PCB	5
     21 #define ANSILOVE_FILETYPE_TND	6
     22 #define ANSILOVE_FILETYPE_XB	7
     23 
     24 struct ansilove_ctx;
     25 struct ansilove_options;
     26 
     27 extern char *types[];
     28 extern int filetypes[];
     29 extern int (*loaders[])(struct ansilove_ctx *, struct ansilove_options *);
     30 
     31 #endif /* TYPES_H */