<MatzeB> -cleanup in resource management functions
authorIngo Ruhnke <grumbel@gmx.de>
Mon, 26 Apr 2004 12:21:23 +0000 (12:21 +0000)
committerIngo Ruhnke <grumbel@gmx.de>
Mon, 26 Apr 2004 12:21:23 +0000 (12:21 +0000)
commit2ec1be264110139466ab70422b8f4fd9c22e5c8c
tree70be42faf8b8e452aea9a9e73c05bfc7f730f02a
parent9efa4f462d69443874d49ca606751b0b6d693b0f
<MatzeB> -cleanup in resource management functions
<MatzeB> -fixes 3 potential crashs (deleting Sprite classes, using member function in
<MatzeB>     BadGuy class after removing it)
<MatzeB> -cleans up sound init code and hopes that calling Mix_AllocateChannel will make
<MatzeB>  SDL_mixer happy...
<MatzeB> -fix paths that missed a / after DATADIR
<MatzeB> at least valgrind doesn't report any errors anymore when you apply that patch
<MatzeB> (memory errors though, not memory leaks)

SVN-Revision: 737
19 files changed:
src/badguy.cpp
src/level.cpp
src/lispreader.cpp
src/resources.cpp
src/setup.cpp
src/sound.cpp
src/sound.h
src/special.cpp
src/sprite.cpp
src/sprite.h
src/sprite_manager.cpp
src/sprite_manager.h
src/supertux.cpp
src/texture.cpp
src/texture.h
src/tile.cpp
src/tile.h
src/world.cpp
src/worldmap.cpp