Create sdl.h
This commit is contained in:
@@ -0,0 +1,17 @@
|
|||||||
|
#ifndef SDL_H
|
||||||
|
#define SDL_H
|
||||||
|
|
||||||
|
int initSDL ();
|
||||||
|
int shutdownSDL ();
|
||||||
|
int check_key(void);
|
||||||
|
int init_gfx(void);
|
||||||
|
|
||||||
|
// ============== SDL structures
|
||||||
|
extern SDL_Window *window;
|
||||||
|
extern SDL_Renderer *sr;
|
||||||
|
extern SDL_Event event;
|
||||||
|
extern SDL_RWops* rwops_new;
|
||||||
|
extern SDL_Surface* image;
|
||||||
|
extern SDL_Texture * texture;
|
||||||
|
|
||||||
|
#endif
|
||||||
Reference in New Issue
Block a user