summaryrefslogtreecommitdiff
path: root/src/include/loader.h
blob: 8759eb64ca67ca34828571b5918cfb634f14ebda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef LOADER_H
#define LOADER_H
#include <SDL.h>

#include "data_ini.h"
#include "data_ress.h"

// Load all textures needed for style from gIni
int loadStyleRes(SDL_Renderer *rend, gameIni_t *gIni, char data_basepath[], gameRess_t *gRess);
void unloadStyleRes(gameRess_t *gRess);
// Load all misc textures (lemmings, fonts, cursor...)
int loadMiscRes(SDL_Renderer *rend, char data_basepath[], gameRess_t *gRess);
void unloadMiscRes(gameRess_t *gRess);

#endif /*LOADER_H*/