2023-11-27 21:38:00 +00:00
|
|
|
|
2023-11-28 00:39:00 +00:00
|
|
|
#ifndef _SMEARGLE_SCRIPT_H
|
|
|
|
#define _SMEARGLE_SCRIPT_H
|
|
|
|
|
2023-11-27 21:38:00 +00:00
|
|
|
#include <stdbool.h>
|
|
|
|
|
2023-11-28 00:39:00 +00:00
|
|
|
#include "font.h"
|
|
|
|
|
2023-11-27 21:38:00 +00:00
|
|
|
typedef struct {
|
|
|
|
char *filename;
|
2023-11-28 00:39:00 +00:00
|
|
|
font_t font;
|
2023-11-27 21:38:00 +00:00
|
|
|
char *format;
|
|
|
|
unsigned int min_tiles_per_line;
|
|
|
|
unsigned int max_tiles_per_line;
|
|
|
|
bool leading_zeroes;
|
|
|
|
unsigned int tile_offset;
|
|
|
|
char *raw_filename;
|
|
|
|
char *dedupe_filename;
|
|
|
|
char *tilemap_filename;
|
|
|
|
bool little_endian;
|
2023-11-28 00:39:00 +00:00
|
|
|
} script_t;
|
|
|
|
|
|
|
|
#endif
|