working on getting ARC_Spritesheet and ARC_Sprite for SDL moved over from old ARC_SDL
This commit is contained in:
parent
d3dd85cd5e
commit
845b80329e
3 changed files with 8 additions and 16 deletions
|
|
@ -3,10 +3,6 @@
|
||||||
|
|
||||||
#ifdef ARC_SDL
|
#ifdef ARC_SDL
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
#include "arc/graphics/renderer.h"
|
#include "arc/graphics/renderer.h"
|
||||||
#include "arc/graphics/window.h"
|
#include "arc/graphics/window.h"
|
||||||
|
|
@ -28,10 +24,6 @@ struct ARC_RenderInfo {
|
||||||
Uint32 flags;
|
Uint32 flags;
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif // ARC_SDL
|
#endif // ARC_SDL
|
||||||
|
|
||||||
#endif // ARC_SDL_RENDERER_H_
|
#endif // ARC_SDL_RENDERER_H_
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,6 @@
|
||||||
|
|
||||||
#ifdef ARC_SDL
|
#ifdef ARC_SDL
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
#include "arc/graphics/window.h"
|
#include "arc/graphics/window.h"
|
||||||
|
|
||||||
|
|
@ -29,10 +25,6 @@ struct ARC_WindowInfo {
|
||||||
Uint32 flags;
|
Uint32 flags;
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif // ARC_SDL
|
#endif // ARC_SDL
|
||||||
|
|
||||||
#endif // ARC_SDL_WINDOW_H_
|
#endif // ARC_SDL_WINDOW_H_
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,10 @@
|
||||||
#ifndef ARC_GRAPHICS_WINDOW_H_
|
#ifndef ARC_GRAPHICS_WINDOW_H_
|
||||||
#define ARC_GRAPHICS_WINDOW_H_
|
#define ARC_GRAPHICS_WINDOW_H_
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct ARC_Window ARC_Window;
|
typedef struct ARC_Window ARC_Window;
|
||||||
|
|
||||||
typedef struct ARC_WindowInfo ARC_WindowInfo;
|
typedef struct ARC_WindowInfo ARC_WindowInfo;
|
||||||
|
|
@ -21,4 +25,8 @@ void ARC_Window_Create(ARC_Window **window, ARC_WindowInfo *info);
|
||||||
*/
|
*/
|
||||||
void ARC_Window_Destroy(ARC_Window *window);
|
void ARC_Window_Destroy(ARC_Window *window);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // !ARC_GRAPHICS_WINDOW_H_
|
#endif // !ARC_GRAPHICS_WINDOW_H_
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue