Added Keyword Aliases for some SDL Functions
This commit is contained in:
parent
b08170acb1
commit
97dc1c3daf
@ -5,3 +5,22 @@
|
||||
|
||||
typedef SDL_Window* PWINDOW;
|
||||
typedef SDL_Surface* PSURFACE;
|
||||
typedef SDL_Renderer* PRENDERER;
|
||||
typedef SDL_Event EVENT;
|
||||
typedef SDL_Rect RECT;
|
||||
|
||||
#define SetRenderDrawColor SDL_SetRenderDrawColor
|
||||
#define RenderClear SDL_RenderClear
|
||||
#define RenderDrawRect SDL_RenderDrawRect
|
||||
#define RenderFillRect SDL_RenderFillRect
|
||||
#define RenderDrawLine SDL_RenderDrawLine
|
||||
#define RenderPresent SDL_RenderPresent
|
||||
#define Delay SDL_Delay
|
||||
#define Quit SDL_Quit
|
||||
#define CreateWindow SDL_CreateWindow
|
||||
#define CreateRenderer SDL_CreateRenderer
|
||||
#define PollEvent SDL_PollEvent
|
||||
#define KEYDOWN SDL_KEYDOWN
|
||||
#define KEYUP SDL_KEYUP
|
||||
#define Init SDL_Init
|
||||
#define Rect SDL_Rect
|
||||
|
Loading…
Reference in New Issue
Block a user