resonance 1.0.1
Loading...
Searching...
No Matches
albumcache.h
Go to the documentation of this file.
1#pragma once
2
3#include "os/hxstr.h"
4
19int IsAlbumLevel(const HxStr &name);
20
33int GetAlbumLevelStage(const HxStr &name);
34
47int GetAlbumLevelValue(int nLevel, int nDifficulty);
48
59
int GetAlbumLevelStage(const HxStr &name)
Report the stage a level belongs to, reading it once and caching it.
int GetAlbumLevelValue(int nLevel, int nDifficulty)
Report one value of configuration code 0x27d for a level and difficulty, cached.
int GetAlbumJukeboxValue()
Report the value of configuration code 0x514, cached.
void ClearAlbumCache()
Empty all three caches.
int IsAlbumLevel(const HxStr &name)
Report whether a level counts toward the campaign album.
Heap-allocated NUL-terminated string.
Definition hxstr.h:41