add the achievement or conduct comma-separated to string */
| 477 | |
| 478 | /* add the achievement or conduct comma-separated to string */ |
| 479 | staticfn void |
| 480 | add_achieveX(char *buf, const char *achievement, boolean condition) |
| 481 | { |
| 482 | if (condition) { |
| 483 | if (buf[0] != '\0') { |
| 484 | Strcat(buf, ","); |
| 485 | } |
| 486 | Strcat(buf, achievement); |
| 487 | } |
| 488 | } |
| 489 | |
| 490 | staticfn char * |
| 491 | encode_extended_achievements(char *buf) |
no outgoing calls
no test coverage detected