New function, cleaner code

This commit is contained in:
2022-08-07 00:38:18 +02:00
parent 270ae8baa0
commit 3d7e9c1744
5 changed files with 24 additions and 22 deletions

View File

@ -10,10 +10,7 @@
#include "SDL/SDL_mixer.h"
#include "SDL/SDL_ttf.h"
SDL_Surface *MultiSpacc_GetWindow( int Width, int Height, int Bits, Uint32 Flags );
SDL_Surface *MultiSpacc_GetWindowSurface( SDL_Surface *Window );
#define MultiSpacc_Window SDL_Surface
#define MultiSpacc_Surface SDL_Surface
void MultiSpacc_SetAppTitle( SDL_Surface *Window, const char *Title );
void MultiSpacc_SetAppIcon( SDL_Surface *Window, SDL_Surface *Icon );
int MultiSpacc_SetColorKey( SDL_Surface *Surface, bool Flag, Uint32 Key );
#define MultiSpacc_UpdateWindowSurface SDL_Flip