mirror of
https://github.com/DrBeef/Raze.git
synced 2024-12-15 23:21:21 +00:00
22 lines
443 B
C
22 lines
443 B
C
|
// SDL interface layer
|
||
|
// for the Build Engine
|
||
|
// by Jonathon Fowler (jonof@edgenetwk.com)
|
||
|
|
||
|
#ifndef __build_interface_layer__
|
||
|
#define __build_interface_layer__ SDL
|
||
|
|
||
|
#include "baselayer.h"
|
||
|
|
||
|
struct sdlappicon {
|
||
|
int width,height;
|
||
|
unsigned int *pixels;
|
||
|
unsigned char *mask;
|
||
|
};
|
||
|
|
||
|
#else
|
||
|
#if (__build_interface_layer__ != SDL)
|
||
|
#error "Already using the " __build_interface_layer__ ". Can't now use SDL."
|
||
|
#endif
|
||
|
#endif // __build_interface_layer__
|
||
|
|