15 lines
407 B
C++
15 lines
407 B
C++
#include "ailment.hpp"
|
|
|
|
#define S reinterpret_cast<const uint8_t *>
|
|
|
|
const ailment_t ailments[] = {
|
|
[ailment_t::ok] = { .name = S("OK") },
|
|
[ailment_t::poison] = { .name = S("PSN") },
|
|
[ailment_t::burn] = { .name = S("BRN") },
|
|
[ailment_t::freeze] = { .name = S("FRZ") },
|
|
[ailment_t::paralysis] = { .name = S("PAR") },
|
|
[ailment_t::sleep] = { .name = S("SLP") },
|
|
};
|
|
|
|
#undef S
|