| 1343 | } |
| 1344 | |
| 1345 | void cheat_addLife() |
| 1346 | { |
| 1347 | if (s_lifeCount < 9) |
| 1348 | { |
| 1349 | s_lifeCount++; |
| 1350 | const char* msg = TFE_System::getMessage(TFE_MSG_ADDLIFE); |
| 1351 | if (msg) { hud_sendTextMessage(msg, 1); } |
| 1352 | } |
| 1353 | else |
| 1354 | { |
| 1355 | const char* msg = TFE_System::getMessage(TFE_MSG_ADDLIFEFAIL); |
| 1356 | if (msg) { hud_sendTextMessage(msg, 1); } |
| 1357 | } |
| 1358 | } |
| 1359 | |
| 1360 | void cheat_subLife() |
| 1361 | { |
no test coverage detected