X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGlobals.cpp;h=be2a006d633eddc0f4f4d18a061bbe90d8125596;hb=a04b9ae281db1ca19937c0c30e138e9ed57b0d21;hp=b40ace082575574246169dc92e858500b1cd0e6c;hpb=44146d06c780d3aaa283672fedb08b8870ebe1b9;p=lugaru.git diff --git a/Source/Globals.cpp b/Source/Globals.cpp index b40ace0..be2a006 100644 --- a/Source/Globals.cpp +++ b/Source/Globals.cpp @@ -19,29 +19,28 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#if USE_SDL +#include "SDL.h" +#endif + #include "gamegl.h" #include "Quaternions.h" #include "Lights.h" #include "Skeleton.h" -#include "fmod.h" #include "Terrain.h" #include "Sprites.h" -//#include #include "Frustum.h" #include "Objects.h" #include "Weapons.h" #include "Person.h" #include "TGALoader.h" +#include "openal_wrapper.h" #include "Constants.h" -#if USE_SDL -#include "SDL.h" -#endif - bool visibleloading = 0; -FSOUND_SAMPLE *samp[100] = {0}; -FSOUND_STREAM * strm[20] = {0}; +OPENAL_SAMPLE *samp[100] = {0}; +OPENAL_STREAM * strm[20] = {0}; int channels[100] = {0}; float volume = 0;bool buttons[3] = {0};