- It is now possible to have avatars associated to each Deck - Added SFX - Added Music files - Possibility to choose your opponent - Opponents' difficulty is measured according to their number of victories against a given deck
26 lines
470 B
C++
26 lines
470 B
C++
#ifndef _GAME_OPTIONS_H_
|
|
#define _GAME_OPTIONS_H_
|
|
|
|
|
|
#define MAX_OPTIONS 50
|
|
#define OPTIONS_MUSICVOLUME 0
|
|
#define OPTIONS_SFXVOLUME 1
|
|
#define OPTIONS_INTERRUPTATENDOFPHASE_OFFSET 2
|
|
#define OPTIONS_SAVEFILE "Res/settings/options.txt"
|
|
class GameOptions {
|
|
public:
|
|
int values[MAX_OPTIONS];
|
|
static GameOptions * GetInstance();
|
|
static void Destroy();
|
|
int save();
|
|
int load();
|
|
|
|
private:
|
|
GameOptions();
|
|
~GameOptions();
|
|
static GameOptions* mInstance;
|
|
|
|
};
|
|
|
|
#endif
|