ansilove

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

types.c (810B)


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