openAL and Assaultcube
#3
Sorry I've been a bit out of it because of engineering final projects and exams (give me another week).

I'm trying to refactor the code so that it makes more sense. However, moving portions of cube.h into files with names that make more sense (sound.cpp, etc) seems to lead to some (dependency, linking) errors. So I looked at the included libraries and tried to figure out exactly what section of code depends on what library. However, after trying to isolate audiomanager.cpp (this may or may not be a good idea, I realized later) from cube.h, I started getting openAL linking errors because it says that certain openAL variables are not defined in the correct scope. Hence, I was trying to track down where exactly the openAL library is included in cube.h so that I can play around with and see if I can accomplish this properly.

Does that make more sense? If not, give me a couple days sleep.
Thanks given by:


Messages In This Thread
openAL and Assaultcube - by Mousikos - 28 Apr 14, 06:02AM
RE: openAL and Assaultcube - by TheNihilanth - 28 Apr 14, 11:59PM
RE: openAL and Assaultcube - by Mousikos - 29 Apr 14, 12:21AM
RE: openAL and Assaultcube - by Mousikos - 01 May 14, 06:19AM
RE: openAL and Assaultcube - by TheNihilanth - 01 May 14, 08:13PM
RE: openAL and Assaultcube - by Mousikos - 01 May 14, 08:46PM
RE: openAL and Assaultcube - by Ronald_Reagan - 02 May 14, 07:58AM