From 0892c963fbee41e711510f53d7f5cbbaf5dc99e8 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 11 Jun 2003 01:49:01 +0000 Subject: [PATCH] comment --- stepmania/src/BannerCache.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/stepmania/src/BannerCache.cpp b/stepmania/src/BannerCache.cpp index b44e10a63e..4371c26b2f 100644 --- a/stepmania/src/BannerCache.cpp +++ b/stepmania/src/BannerCache.cpp @@ -11,6 +11,19 @@ #include "Banner.h" +/* Call CacheSongBanner to cache a song banner by path. (Actually, this could be + * a course banner, too.) Currently, this will waste time if the banner is already + * cached, but since we only do this during the initial cache phase of song loads + * this is OK for now. + * + * Call LoadAllBanners to load all precached song banners. + * + * Call LoadCachedSongBanner to load a banner into a texture and retrieve an ID + * for it. You can check if the banner was actually preloaded by calling + * TEXTUREMAN->IsTextureRegistered() on the ID; it might not be if the banner cache + * is missing or disabled. + */ + BannerCache *BANNERCACHE;