cscg22-gearboy

CSCG 2022 Challenge 'Gearboy'
git clone https://git.sinitax.com/sinitax/cscg22-gearboy
Log | Files | Refs | sfeed.txt

files.h (790B)


      1// This is free and unencumbered software released into the public domain.
      2// For more information, please refer to <https://unlicense.org>
      3// bbbbbr 2020
      4
      5#ifndef _FILES_H
      6#define _FILES_H
      7
      8#include "common.h"
      9
     10typedef struct file_item {
     11    char     name_in[MAX_FILE_STR];
     12    uint16_t bank_num;
     13    bool     rewrite_needed;
     14    char     name_out[MAX_FILE_STR];
     15} file_item;
     16
     17
     18void files_init(void);
     19void files_cleanup(void);
     20void files_add(char *);
     21
     22void files_read_linkerfile(char *);
     23void files_set_linkerfile_outname(char *);
     24void files_write_linkerfile(void);
     25
     26char * file_get_name_in_by_id(uint32_t);
     27char * file_get_name_out_by_id(uint32_t);
     28
     29void files_set_out_ext(char *);
     30void files_set_out_path(char *);
     31
     32void files_extract(void);
     33void files_rewrite(void);
     34
     35#endif // _FILES_H