Further cleanups to texture caching, from bug 523:
authorFlorian Forster <supertux@octo.it>
Sat, 30 Jan 2010 11:13:25 +0000 (11:13 +0000)
committerFlorian Forster <supertux@octo.it>
Sat, 30 Jan 2010 11:13:25 +0000 (11:13 +0000)
commit0594f8e8dd1a5e2e3410b408441eeab3baad19f7
treefe94c4df90d02527039b3365d887d0d29fcec1d7
parent8b1192b6a6c6f69b95a753d83e0c64851410c554
Further cleanups to texture caching, from bug 523:

- Texture::filename was used for only one purpose, so we might as well
  make that clear.

- Set the filename in just one place: before a texture is added to the
  cache.  This is intended to be obviously correct.

- Other minor adjustments.

Thanks to Matt McCutchen for this patch.

SVN-Revision: 6294
src/video/texture.hpp
src/video/texture_manager.cpp
src/video/texture_manager.hpp