Again
[hammerdown.git] / new_project / main.h
blobbc5e9393ef9a3e0a7326e3fc966c83a8e01a6c9d
1 #ifndef MAINH
2 #define MAINH
4 #include <stdio.h>
5 #include <stdlib.h>
6 #include "SDL/SDL.h"
7 #include "SDL/SDL_image.h"
9 //Dimensiones de los tiles
10 #define TILE_ANCHO 32
11 #define TILE_ALTO 32
13 //Buffer de la Pantalla
14 SDL_Surface *pantalla = NULL;
16 //Superficie con los tiles
17 SDL_Surface *tiles = NULL;
19 //Superficie con el cursor
20 SDL_Surface *flecha = NULL;
22 //Numero de tiles en la superficie
23 int nTilesX, nTilesY;
24 int iniciar ();
25 void limpiar ();
26 void dibujar ();
27 void dibujarMapa ();
28 void blitTile (SDL_Surface *dest, int x, int y, int nTile);
29 void drawPlayer ();
30 void hardcodelvl();
32 #endif