ansilove

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

types.h (750B)


      1 /*
      2  * types.h
      3  * Ansilove 4.1.6
      4  * https://www.ansilove.org
      5  *
      6  * Copyright (c) 2011-2022 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  * SPDX-License-Identifier: BSD-2-Clause
     13  */
     14 
     15 #ifndef TYPES_H
     16 #define TYPES_H
     17 
     18 #define ANSILOVE_FILETYPE_ANS	1
     19 #define ANSILOVE_FILETYPE_ADF	2
     20 #define ANSILOVE_FILETYPE_BIN	3
     21 #define ANSILOVE_FILETYPE_IDF	4
     22 #define ANSILOVE_FILETYPE_PCB	5
     23 #define ANSILOVE_FILETYPE_TND	6
     24 #define ANSILOVE_FILETYPE_XB	7
     25 
     26 struct ansilove_ctx;
     27 struct ansilove_options;
     28 
     29 extern char *types[];
     30 extern int filetypes[];
     31 extern int (*loaders[])(struct ansilove_ctx *, struct ansilove_options *);
     32 
     33 #endif /* TYPES_H */