ansilove

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

types.c (766B)


      1 /*
      2  * types.c
      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 #include "ansilove.h"
     14 #include "types.h"
     15 
     16 char *types[] = {
     17 	"ans",
     18 	"adf",
     19 	"bin",
     20 	"idf",
     21 	"pcb",
     22 	"tnd",
     23 	"xb",
     24 };
     25 
     26 int filetypes[] = {
     27 	ANSILOVE_FILETYPE_ANS,
     28 	ANSILOVE_FILETYPE_ADF,
     29 	ANSILOVE_FILETYPE_BIN,
     30 	ANSILOVE_FILETYPE_IDF,
     31 	ANSILOVE_FILETYPE_PCB,
     32 	ANSILOVE_FILETYPE_TND,
     33 	ANSILOVE_FILETYPE_XB
     34 };
     35 
     36 int (*loaders[])(struct ansilove_ctx *, struct ansilove_options *) = {
     37 	ansilove_ansi,
     38 	ansilove_artworx,
     39 	ansilove_binary,
     40 	ansilove_icedraw,
     41 	ansilove_pcboard,
     42 	ansilove_tundra,
     43 	ansilove_xbin
     44 };