aboutsummaryrefslogtreecommitdiff
path: root/smelt/sdl/smelt_internal.hpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-10-25 22:28:57 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-10-25 22:28:57 +0800
commit6206029f2d0af3ef76a0a61ef024ca758307ba19 (patch)
tree3c5d558a8f2d8271cbf0cc5b827e3f2165402dc7 /smelt/sdl/smelt_internal.hpp
parent12ac4db50e8c2b131d992733bb93b554e2cbd7d0 (diff)
downloadSMELT-6206029f2d0af3ef76a0a61ef024ca758307ba19.tar.xz
Add more options to the config file.
Diffstat (limited to 'smelt/sdl/smelt_internal.hpp')
-rw-r--r--smelt/sdl/smelt_internal.hpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/smelt/sdl/smelt_internal.hpp b/smelt/sdl/smelt_internal.hpp
index a14e151..c7a77fd 100644
--- a/smelt/sdl/smelt_internal.hpp
+++ b/smelt/sdl/smelt_internal.hpp
@@ -21,11 +21,15 @@
#include <dirent.h>
#include <unistd.h>
#include <SDL2/SDL.h>
+#ifndef ENABLE_DUMB
#include <AL/al.h>
#include <AL/alc.h>
#include <AL/alext.h>
+#ifdef ENABLE_OGG_SUPPORT
#include <ogg/ogg.h>
#include <vorbis/vorbisfile.h>
+#endif
+#endif
#ifdef WIN32
#include <windows.h>
#include <intrin.h>
@@ -225,12 +229,14 @@ public:
DWORD* decodeImage(BYTE *data,const char *fn,DWORD size,int &w,int &h);
void *pOpenALDevice;
+ bool mute,lpp;
bool initOAL();
void finiOAL();
- bool mute,lpp;
+#ifndef ENABLE_DUMB
int scnt;
ALuint src[SRC_MAX];
ALuint getSource();
+#endif
int posz,lkey;
float posx,posy;