Further cleanups to texture caching, from bug 523:
authorflorianf <florianf@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Sat, 30 Jan 2010 11:13:25 +0000 (11:13 +0000)
committerflorianf <florianf@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Sat, 30 Jan 2010 11:13:25 +0000 (11:13 +0000)
commiteb54891c08ad716431b0c2e8c91ab989946c3ab2
treefe94c4df90d02527039b3365d887d0d29fcec1d7
parentb80f7241c1614e67d49aa41a93949cc2988754af
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.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6294 837edb03-e0f3-0310-88ca-d4d4e8b29345
src/video/texture.hpp
src/video/texture_manager.cpp
src/video/texture_manager.hpp