| 1439 | }; |
| 1440 | |
| 1441 | static bool _show_help_special(int key) |
| 1442 | { |
| 1443 | switch (key) |
| 1444 | { |
| 1445 | case ':': |
| 1446 | // If the game has begun, show notes. |
| 1447 | if (crawl_state.need_save) |
| 1448 | display_notes(); |
| 1449 | return true; |
| 1450 | case '#': |
| 1451 | // If the game has begun, show dump. |
| 1452 | if (crawl_state.need_save) |
| 1453 | display_char_dump(); |
| 1454 | return true; |
| 1455 | case '/': |
| 1456 | keyhelp_query_descriptions(CMD_DISPLAY_COMMANDS); |
| 1457 | return true; |
| 1458 | case 'q': |
| 1459 | _handle_FAQ(); |
| 1460 | return true; |
| 1461 | case 'v': |
| 1462 | _print_version(); |
| 1463 | return true; |
| 1464 | case '!': |
| 1465 | _display_diag(); |
| 1466 | return true; |
| 1467 | default: |
| 1468 | return false; |
| 1469 | } |
| 1470 | } |
| 1471 | |
| 1472 | void show_help(int section, string highlight_string) |
| 1473 | { |
no test coverage detected