| 186 | } |
| 187 | |
| 188 | static int HacksComp_ParseFlagInt(const char* flagRaw, struct HacksComp* hacks) { |
| 189 | cc_string raw = HacksComp_UNSAFE_FlagValue(flagRaw, hacks); |
| 190 | int value; |
| 191 | |
| 192 | if (!raw.length || Game_ClassicMode) return 1; |
| 193 | if (!Convert_ParseInt(&raw, &value)) return 1; |
| 194 | return value; |
| 195 | } |
| 196 | |
| 197 | static void HacksComp_ParseFlag(struct HacksComp* hacks, const char* include, const char* exclude, cc_bool* target) { |
| 198 | cc_string* joined = &hacks->HacksFlags; |
no test coverage detected