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:
Lee Salzman
2008-04-11 09:33:11 +00:00
parent db8eb4a0e9
commit b7044939de
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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 \
+4 -4
View File
@@ -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);
}