X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FAwards.cpp;h=160ec45cb2f86b56d60f3a1060ccc2902d5c6f32;hb=e2cad9c4ba05196efe03ab2fed8e51bafda53759;hp=95fd129c40e034c845d92cc424ca86895ea76b9a;hpb=50e0eedf09400b0a8d51a9e4342b5e436b8c54a1;p=lugaru.git diff --git a/Source/Awards.cpp b/Source/Awards.cpp index 95fd129..160ec45 100644 --- a/Source/Awards.cpp +++ b/Source/Awards.cpp @@ -30,6 +30,18 @@ float startbonustotal; float bonustime; float bonusnum[100]; +const char *bonus_names[bonus_count] = { +#define DECLARE_BONUS(id, name, ...) name, +#include "Bonuses.def" +#undef DECLARE_BONUS +}; + +const char *award_names[award_count] = { +#define DECLARE_AWARD(id, name) name, +#include "Awards.def" +#undef DECLARE_AWARD +}; + static const int bonus_values[bonus_count] = { #define DECLARE_BONUS(id, name, value, ...) value, #include "Bonuses.def"