#include "Banner.h"
#define CACHE_DIR BASE_PATH "Cache" SLASH
#define CACHE_DIR GENTOO_CACHE_DIR
/* Call CacheBanner to cache a banner by path. If the banner is already
* cached, it'll be recreated. This is efficient if the banner hasn't changed,
#include <set>
const int FILE_CACHE_VERSION = 129; // increment this when Song or Steps changes to invalidate cache
#include "song.h"
#include "arch/arch.h"
SongCacheIndex *SONGINDEX;
try {
ASSERT( Handle == NULL );
Handle = dlopen( DirOfExecutable + "/" + "GtkModule.so", RTLD_NOW );
Handle = dlopen( CString(GENTOO_LIBDIR) + "/" + "GtkModule.so", RTLD_NOW );
if( Handle == NULL )
RageException::Throw("dlopen(): %s", dlerror());
#if defined(_XBOX)
#define BASE_PATH "D:\\"
#else
#define BASE_PATH ""
#define BASE_PATH GENTOO_BASE_PATH
#endif