#chronicle command */
| 2529 | |
| 2530 | /* #chronicle command */ |
| 2531 | int |
| 2532 | do_gamelog(void) |
| 2533 | { |
| 2534 | #ifdef CHRONICLE |
| 2535 | if (gg.gamelog) { |
| 2536 | show_gamelog(ENL_GAMEINPROGRESS); |
| 2537 | } else { |
| 2538 | pline("No chronicled events."); |
| 2539 | } |
| 2540 | #else |
| 2541 | pline("Chronicle was turned off during compile-time."); |
| 2542 | #endif /* !CHRONICLE */ |
| 2543 | return ECMD_OK; |
| 2544 | } |
| 2545 | |
| 2546 | /* 'major' events for dumplog; inclusion or exclusion here may need tuning */ |
| 2547 | #define LL_majors (0L \ |
nothing calls this directly
no test coverage detected