First commit

This commit is contained in:
octospacc 2022-08-06 01:07:35 +02:00
commit 8bb663a7be
5 changed files with 40 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.o

10
MultiSpacc.h Normal file
View File

@ -0,0 +1,10 @@
#pragma once
#include <stdbool.h>
#ifdef MultiSpacc_Target_SDL12
#include "SDL12/SDL.h"
#endif
#ifdef MultiSpacc_Target_SDL20
#include "SDL20/SDL.h"
#endif

5
SDL12/SDL.c Normal file
View File

@ -0,0 +1,5 @@
#include <stddef.h>
void MultiSpacc_SetAppTitle( const char *Title ) {
SDL_WM_SetCaption( Title, NULL );
}

13
SDL12/SDL.h Normal file
View File

@ -0,0 +1,13 @@
#pragma once
#ifndef MultiSpacc_Target_SDL12
#define MultiSpacc_Target_SDL12
#endif
#include "../MultiSpacc.h"
#include "SDL/SDL.h"
#include "SDL/SDL_image.h"
#include "SDL/SDL_mixer.h"
#include "SDL/SDL_ttf.h"
void MultiSpacc_SetAppTitle( const char *Title );

11
SDL20/SDL.h Normal file
View File

@ -0,0 +1,11 @@
#pragma once
#ifndef MultiSpacc_Target_SDL20
#define MultiSpacc_Target_SDL20
#endif
#include "../MultiSpacc.h"
#include "SDL2/SDL.h"
#include "SDL2/SDL_image.h"
#include "SDL2/SDL_mixer.h"
#include "SDL2/SDL_ttf.h"