Files
itgmania212121/stepmania/src/BannerCache.h
T
2003-06-15 01:53:51 +00:00

33 lines
641 B
C++

#ifndef BANNER_CACHE_H
#define BANNER_CACHE_H
#include "IniFile.h"
#include "RageTexture.h"
class LoadingWindow;
class BannerCache
{
IniFile BannerData;
static CString GetBannerCachePath( CString BannerPath );
void UnloadAllBanners();
void CacheBannerInternal( CString BannerPath );
public:
BannerCache();
~BannerCache();
RageTextureID LoadCachedBanner( CString BannerPath );
void CacheBanner( CString BannerPath );
void UncacheBanner( CString BannerPath );
void LoadBanner( CString BannerPath );
void OutputStats() const;
};
extern BannerCache *BANNERCACHE; // global and accessable from anywhere in our program
#endif