blob: 7941210f8ff07d98685996627636d2fb7e4807cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#ifndef GRAPHIC_H
#define GRAPHIC_H
#include "SDL/SDL.h"
#include "data_ini.h"
#include "data_ress.h"
Uint32 getPixel(SDL_Surface *s, int x, int y);
void putPixel(SDL_Surface *s, int x, int y, Uint32 p);
SDL_Surface * createSurface(int width, int height);
SDL_Surface * loadGifIn24Bpp(char *filePath);
int makeTerrain(gameIni_t *gIni, gameRess_t *gRess, SDL_Surface **terrain, SDL_Surface **stencil);
#endif /*GRAPHIC_H*/
|