/* * This software is licensed under the terms of the MIT License. * See COPYING for further information. * --- * Copyright (c) 2011-2019, Lukas Weber . * Copyright (c) 2012-2019, Andrei Alexeyev . */ #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); double difficulty_value(double easy, double normal, double hard, double lunatic) attr_pure; #endif // IGUARD_difficulty_h