2017-02-27 15:27:48 +01:00
|
|
|
/*
|
|
|
|
* This software is licensed under the terms of the MIT-License
|
|
|
|
* See COPYING for further information.
|
|
|
|
* ---
|
2017-09-12 03:28:15 +02:00
|
|
|
* Copyright (c) 2011-2017, Lukas Weber <laochailan@web.de>.
|
|
|
|
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
|
2017-02-27 15:27:48 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef DIFFICULTY_H
|
|
|
|
#define DIFFICULTY_H
|
|
|
|
|
|
|
|
#include "color.h"
|
|
|
|
|
|
|
|
typedef enum {
|
|
|
|
D_Any = 0,
|
|
|
|
D_Easy,
|
|
|
|
D_Normal,
|
|
|
|
D_Hard,
|
|
|
|
D_Lunatic,
|
|
|
|
D_Extra // reserved for later
|
|
|
|
} Difficulty;
|
|
|
|
|
|
|
|
#define NUM_SELECTABLE_DIFFICULTIES D_Lunatic
|
|
|
|
|
|
|
|
const char* difficulty_name(Difficulty diff);
|
2017-03-10 16:26:10 +01:00
|
|
|
const char* difficulty_tex(Difficulty diff);
|
2017-02-26 21:59:51 +01:00
|
|
|
Color difficulty_color(Difficulty diff);
|
2017-03-11 04:41:57 +01:00
|
|
|
void difficulty_preload(void);
|
2017-02-27 15:27:48 +01:00
|
|
|
|
|
|
|
#endif
|