29 Apr 14, 12:21AM
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.
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.