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