*** empty log message ***
authorNolan Eakins <nolan@eakins.net>
Fri, 2 Jan 2004 09:55:54 +0000 (09:55 +0000)
committerNolan Eakins <nolan@eakins.net>
Fri, 2 Jan 2004 09:55:54 +0000 (09:55 +0000)
pong.tgz
src/Makefile
src/Mixer.cpp
src/Resource.cpp

index 0db92e2..a1d5547 100644 (file)
Binary files a/pong.tgz and b/pong.tgz differ
index 4d1fa8b..c11c39c 100644 (file)
@@ -14,7 +14,7 @@ BOOSTPATH=/home/nolan/src/boost-1.30.2
 
 ifdef RELEASE
 CFLAGS=-O4 -Wall -I$(BOOSTPATH) $(SDLCFLAGS)
-LDFLAGS=-static $(SDLLIBS) -lSDL_mixer
+LDFLAGS=$(SDLLIBS) -lSDL_mixer
 else
 ifdef PROFILE
 CFLAGS=-O4 -pg -Wall -I$(BOOSTPATH) $(SDLCFLAGS)
index 98ac544..d62a1b5 100644 (file)
@@ -1,4 +1,4 @@
-/* $Header: /home/cvsroot/pong/src/Mixer.cpp,v 1.6 2003/12/19 22:07:06 nolan Exp $
+/* $Header: /home/cvsroot/pong/src/Mixer.cpp,v 1.7 2004/01/02 09:56:13 nolan Exp $
  */
 #include <iostream>
 #include <SDL_mixer.h>
@@ -28,9 +28,9 @@ SDLMixer::SDLMixer(ConfigFile &config)
   };
 
   for(int i = 0; i < NUM_SOUNDS; i++) {
-#ifdef DEBUG
+    //#ifdef DEBUG
     cout << "Loading sound: " << paths[i] << endl;
-#endif
+    //#endif
     _sounds[i].chunk = (void *)Mix_LoadWAV(paths[i]);
     if(_sounds[i].chunk == NULL) {
       cerr << "Error loading \"" << paths[i] << "\"" << endl;
index 022f636..f081250 100644 (file)
@@ -35,9 +35,9 @@ SDL_Surface *ResourceCache::load(const char *path)
                return resource->surface;
        }
 
-#ifdef DEBUG
+       //#ifdef DEBUG
        cout << "Loading image: " << path << endl;
-#endif
+       //#endif
 
        SDL_Surface *image = SDL_LoadBMP(path);
        if(!image)