27 lines
993 B
C
27 lines
993 B
C
#pragma once
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
|
|
#ifdef MultiSpacc_Target_SDL12
|
|
#include "SDL12/SDL.h"
|
|
#include "SDLCom/SDL.h"
|
|
#endif
|
|
|
|
#ifdef MultiSpacc_Target_SDL20
|
|
#include "SDL20/SDL.h"
|
|
#include "SDLCom/SDL.h"
|
|
#endif
|
|
|
|
MultiSpacc_Window *MultiSpacc_SetWindow( int Width, int Height, int Bits, Uint32 Flags );
|
|
MultiSpacc_Surface *MultiSpacc_GetWindowSurface( MultiSpacc_Window *Window );
|
|
|
|
void MultiSpacc_SetAppTitle( MultiSpacc_Window *Window, const char Title[] );
|
|
void MultiSpacc_SetAppIcon( MultiSpacc_Window *Window, MultiSpacc_Surface *Icon );
|
|
|
|
MultiSpacc_Surface *MultiSpacc_LoadImage( char FilePath[], MultiSpacc_Surface *Screen, Uint32 *ColorKey );
|
|
int MultiSpacc_SetColorKey( MultiSpacc_Surface *Surface, bool Flag, Uint32 Key );
|
|
|
|
int MultiSpacc_PollEvent( MultiSpacc_Event *Event );
|
|
|
|
void MultiSpacc_PrintString( char Text[], MultiSpacc_Surface *Surface, int ScreenWidth, int ScreenHeight, int x, int y, MultiSpacc_Surface *Tiles /*, int FontSize, int Color */ ); // WIP
|