summaryrefslogtreecommitdiff
path: root/src/include/loader.h
blob: febd48e6d3709e00330601ae9d879004c0c8e651 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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*/