video.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef VIDEO_INC_GUARD
00020 #define VIDEO_INC_GUARD
00021 #include <SDL/SDL.h>
00022 #include <SDL/SDL_image.h>
00023 #include <SDL/SDL_ttf.h>
00024 #include "constants.h"
00025 #include "mobs.h"
00026 #include "tile.h"
00027 #include "text.h"
00028 #include "window.h"
00029 #include "camera.h"
00030
00031 SDL_Surface* load_image (char* filename);
00032 void apply_surface (int x, int y, SDL_Surface* source, SDL_Surface* destination, SDL_Rect* clip);
00033 void render_screen(SDL_Surface* dest);
00034 void render_tilegrid(SDL_Surface* dest, tile** grid, int width, int height);
00035 void render_text(SDL_Surface* dest,text t);
00036 #endif