38 lines
814 B
C
38 lines
814 B
C
/*
|
|
* This software is licensed under the terms of the MIT-License
|
|
* See COPYING for further information.
|
|
* ---
|
|
* Copyright (c) 2011-2019, Lukas Weber <laochailan@web.de>.
|
|
* Copyright (c) 2012-2019, Andrei Alexeyev <akari@alienslab.net>.
|
|
*/
|
|
|
|
#ifndef IGUARD_difficulty_h
|
|
#define IGUARD_difficulty_h
|
|
|
|
#include "taisei.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)
|
|
attr_pure attr_returns_nonnull;
|
|
|
|
const char* difficulty_sprite_name(Difficulty diff)
|
|
attr_pure attr_returns_nonnull;
|
|
|
|
const Color* difficulty_color(Difficulty diff)
|
|
attr_pure attr_returns_nonnull;
|
|
|
|
void difficulty_preload(void);
|
|
|
|
#endif // IGUARD_difficulty_h
|