compile fixes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1768 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ INCLUDES=-I/usr/X11R6/include -I../enet/include -I../src `sdl-config --cflags`
|
||||
CXXFLAGS=$(CXXOPTFLAGS) $(INCLUDES) -fsigned-char -Wall -Wno-deprecated
|
||||
|
||||
PLATFORM_PREFIX=native
|
||||
CLIENT_LIBS=-L/usr/X11R6/lib -L../enet -lenet `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL -lGLU
|
||||
CLIENT_LIBS=-L/usr/X11R6/lib -L../enet -lenet `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL -lGLU -lopenal -lalut -lvorbisfile
|
||||
CLIENT_OBJS= \
|
||||
client.o \
|
||||
clientgame.o \
|
||||
|
||||
@@ -7,12 +7,12 @@ bool nosound = true;
|
||||
VARP(musicvol, 0, 128, 255);
|
||||
VARP(soundvol, 0, 255, 255);
|
||||
|
||||
#include "al/al.h"
|
||||
#include "al/alc.h"
|
||||
#include "al/alut.h"
|
||||
#include "AL/al.h"
|
||||
#include "AL/alc.h"
|
||||
#include "AL/alut.h"
|
||||
#include "vorbis/vorbisfile.h"
|
||||
|
||||
void alerr(ALenum error, char *note)
|
||||
void alerr(ALenum error, const char *note)
|
||||
{
|
||||
conoutf("OpenAL %s (%s) %X", alutGetErrorString(error), note, error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user