diff --git a/src/game/game_text.hpp b/src/game/game_text.hpp --- a/src/game/game_text.hpp +++ b/src/game/game_text.hpp @@ -12,6 +12,7 @@ struct StringParam { enum ParamType { + UNUSED, RAW_STRING, STRING, OTHER @@ -19,8 +20,9 @@ struct StringParam { ParamType type; uint8_t consumes; + const char *cmd; - StringParam(ParamType type, uint8_t consumes) : type(type), consumes(consumes) {} + StringParam(ParamType type, uint8_t consumes, const char *cmd) : type(type), consumes(consumes), cmd(cmd) {} }; using StringParams = std::vector; using StringParamsList = std::vector;