#ifndef _LEXSDL_H_ #define _LEXSDL_H_ #include #include #include #define LEXSDL_INITFLAGS SDL_INIT_VIDEO #define LEXSDL_IMAGEINITFLAGS IMG_INIT_PNG | IMG_INIT_JPG #include"LEXSDL_window.h" #include"LEXSDL_renderer.h" #include"LEXSDL_texture.h" #include"LEXSDL_sprite.h" #include"LEXSDL_event.h" #include"LEXSDL_mouse.h" #include"LEXSDL_timing.h" /*IMPORTANT NOTE s src/sys.rs need to be updated if changes to headers ocurre. if headers or TUs are added they need to be included in build.rs and Makefile. */ /* Inits */ extern int LEXSDL_Init(uint32_t flags); extern int LEXSDL_InitIMG(int flags); /* Termination */ extern void LEXSDL_Terminate(void); extern void LEXSDL_Quit(void); #endif