|
Revision 106, 1.8 kB
(checked in by ng, 5 years ago)
|
mise a jour licence
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
#ifndef SDL_DRAW_H |
|---|
| 18 |
#define SDL_DRAW_H |
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 |
#ifdef G_WINDOWS |
|---|
| 23 |
# include "SDL.h" |
|---|
| 24 |
#else |
|---|
| 25 |
# include "SDL/SDL.h" |
|---|
| 26 |
#endif |
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 |
void draw_tile(SDL_Surface *screen, SDL_Surface *tiles, int tile, int tile_size_x, int tile_size_y, int x, int y); |
|---|
| 30 |
|
|---|
| 31 |
void draw_transparent_tile(SDL_Surface *screen, SDL_Surface *tiles, int tile, int tile_size_x, int tile_size_y, int x, int y, unsigned int transparent_color); |
|---|
| 32 |
|
|---|
| 33 |
void draw_tile2(SDL_Surface *screen, SDL_Surface *tiles, int tilex, int tiley, int tile_size_x, int tile_size_y, int x, int y); |
|---|
| 34 |
|
|---|
| 35 |
void draw_rect(SDL_Surface *screen, int x, int y, int width, int height, int c); |
|---|
| 36 |
|
|---|
| 37 |
|
|---|
| 38 |
void draw_string(SDL_Surface *screen, SDL_Surface * font, int x, int y, char * s); |
|---|
| 39 |
|
|---|
| 40 |
#endif |
|---|