Files
itgmania212121/stepmania/src/BannerCache.h
T

33 lines
641 B
C++
Raw Normal View History

2003-06-04 22:34:08 +00:00
#ifndef BANNER_CACHE_H
#define BANNER_CACHE_H
#include "IniFile.h"
2003-06-04 22:34:08 +00:00
#include "RageTexture.h"
class LoadingWindow;
2003-06-04 22:34:08 +00:00
class BannerCache
{
IniFile BannerData;
static CString GetBannerCachePath( CString BannerPath );
void UnloadAllBanners();
2003-06-15 01:53:51 +00:00
void CacheBannerInternal( CString BannerPath );
2003-06-04 22:34:08 +00:00
public:
BannerCache();
~BannerCache();
2003-06-15 00:57:05 +00:00
RageTextureID LoadCachedBanner( CString BannerPath );
void CacheBanner( CString BannerPath );
void UncacheBanner( CString BannerPath );
void LoadBanner( CString BannerPath );
void OutputStats() const;
2003-06-04 22:34:08 +00:00
};
extern BannerCache *BANNERCACHE; // global and accessable from anywhere in our program
#endif