blues/ja/resource.h

24 lines
379 B
C
Raw Normal View History

2018-12-16 13:34:03 +01:00
#ifndef RESOURCE_H__
#define RESOURCE_H__
#include "intern.h"
struct resource_t {
uint8_t *font;
uint8_t *board;
uint8_t *sprites;
uint8_t *samples;
uint8_t *tmp;
uint8_t *background;
uint8_t *vga;
};
extern struct resource_t g_res;
extern void res_init(const char *datapath, int vga_size);
extern void res_fini();
extern int load_file(const char *filename);
#endif