ranking of new status conditions

This commit is contained in:
nhmall
2020-02-08 19:51:04 -05:00
parent ce235dc94b
commit 67cc0183b0
4 changed files with 90 additions and 61 deletions

View File

@@ -118,7 +118,7 @@ enum blconditions {
/* clang-format on */
struct conditions_t {
int priority;
int ranking;
long mask;
enum blconditions c;
const char *text[3];
@@ -135,6 +135,7 @@ struct condtests_t {
};
extern struct condtests_t condtests[CONDITION_COUNT];
extern int cond_idx[CONDITION_COUNT];
#define BEFORE 0
#define NOW 1