### Sources
set(LUGARU_SRCS
+ ${SRCDIR}/main.cpp
${SRCDIR}/Frustum.cpp
${SRCDIR}/Account.cpp
+ ${SRCDIR}/ConsoleCmds.cpp
${SRCDIR}/Game.cpp
${SRCDIR}/GameDraw.cpp
${SRCDIR}/GameInitDispose.cpp
${SRCDIR}/Terrain.cpp
${SRCDIR}/Texture.cpp
${SRCDIR}/Text.cpp
- ${SRCDIR}/TGALoader.cpp
+ ${SRCDIR}/ImageIO.cpp
${SRCDIR}/unpack.c
${SRCDIR}/Weapons.cpp
- ${SRCDIR}/OpenGL_Windows.cpp
${SRCDIR}/openal_wrapper.cpp
${SRCDIR}/Input.cpp
${SRCDIR}/Settings.cpp
set(LUGARU_H
${SRCDIR}/Frustum.h
${SRCDIR}/Account.h
+ ${SRCDIR}/ConsoleCmds.h
${SRCDIR}/Game.h
${SRCDIR}/Lights.h
${SRCDIR}/Menu.h
${SRCDIR}/Skeleton.h
${SRCDIR}/Skybox.h
${SRCDIR}/Sprite.h
- ${SRCDIR}/TGALoader.h
+ ${SRCDIR}/ImageIO.h
${SRCDIR}/Terrain.h
${SRCDIR}/Texture.h
${SRCDIR}/Text.h
${SRCDIR}/Weapons.h
${SRCDIR}/Input.h
- ${SRCDIR}/alstubs.h
${SRCDIR}/binio.h
${SRCDIR}/openal_wrapper.h
${SRCDIR}/gamegl.h
target_link_libraries(lugaru ${LUGARU_LIBS})
if(WIN32)
- add_definitions(-DUSE_OPENAL=1 -DUSE_SDL=1 -DBinIO_STDINT_HEADER=<stdint.h>)
+ add_definitions(-DBinIO_STDINT_HEADER=<stdint.h>)
if(MINGW)
# An alternative would be to use _WIN32 consistently instead of WIN32
add_definitions(-DWIN32)
endif(MINGW)
else(WIN32)
- add_definitions(-DPLATFORM_LINUX=1 -DPLATFORM_UNIX=1 -DUSE_OPENAL=1 -DUSE_SDL=1 -DBinIO_STDINT_HEADER=<stdint.h>)
+ add_definitions(-DPLATFORM_LINUX=1 -DPLATFORM_UNIX=1 -DBinIO_STDINT_HEADER=<stdint.h>)
endif(WIN32)