mirror of
https://gitlab.com/octospacc/MultiSpaccSDK
synced 2025-04-02 13:20:04 +02:00
First commit
This commit is contained in:
commit
8bb663a7be
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
*.o
|
10
MultiSpacc.h
Normal file
10
MultiSpacc.h
Normal 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
5
SDL12/SDL.c
Normal 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
13
SDL12/SDL.h
Normal 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
11
SDL20/SDL.h
Normal 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"
|
Loading…
x
Reference in New Issue
Block a user