#include "AppHdr.h"#include "stuff.h"#include "areas.h"#include "beam.h"#include "cio.h"#include "colour.h"#include "coord.h"#include "coordit.h"#include "database.h"#include "directn.h"#include "dungeon.h"#include "env.h"#include "libutil.h"#include "los.h"#include "menu.h"#include "message.h"#include "misc.h"#include "mon-place.h"#include "terrain.h"#include "state.h"#include "travel.h"#include "view.h"#include "viewchar.h"#include "viewgeom.h"#include <cstdarg>#include <sstream>#include <iomanip>#include <algorithm>#include <errno.h>#include <stdlib.h>#include <stdio.h>#include <string.h>#include <ctype.h>#include <time.h>#include <stack>#include "libunix.h"#include "branch.h"#include "delay.h"#include "externs.h"#include "options.h"#include "items.h"#include "macro.h"#include "mon-stuff.h"#include "mon-util.h"#include "notes.h"#include "output.h"#include "player.h"#include "religion.h"#include "hints.h"

Functions | |
| std::string | make_time_string (time_t abs_time, bool terse) |
| std::string | make_file_time (time_t when) |
| void | set_redraw_status (uint64_t flags) |
| void | tag_followers () |
| void | untag_followers () |
| unsigned char | get_ch () |
| void | cio_init () |
| void | cio_cleanup () |
| void | clear_globals_on_exit () |
| NORETURN void | end (int exit_code, bool print_error, const char *format,...) |
| NORETURN void | game_ended () |
| NORETURN void | game_ended_with_error (const std::string &message) |
| bool | print_error_screen (const char *message,...) |
| void | redraw_screen (void) |
| int | stepdown_value (int base_value, int stepping, int first_step, int last_step, int ceiling_value) |
| int | skill_bump (int skill) |
| int | stat_mult (int stat_level, int value, int div, int shift) |
| int | div_round_up (int num, int den) |
| void | canned_msg (canned_message_type which_message) |
| bool | yes_or_no (const char *fmt,...) |
| bool | yesno (const char *str, bool safe, int safeanswer, bool clear_after, bool interrupt_delays, bool noprompt, const explicit_keymap *map, GotoRegion region) |
| int | yesnoquit (const char *str, bool safe, int safeanswer, bool allow_all, bool clear_after, char alt_yes, char alt_yes2) |
| bool | player_can_hear (const coord_def &p, int hear_distance) |
| char | index_to_letter (int the_index) |
| int | letter_to_index (int the_letter) |
| int | near_stairs (const coord_def &p, int max_dist, dungeon_char_type &stair_type, branch_type &branch) |
| void | zap_los_monsters (bool items_also) |
| int | random_rod_subtype () |
| maybe_bool | frombool (bool b) |
| bool | tobool (maybe_bool mb) |
| bool | tobool (maybe_bool mb, bool def) |
| coord_def | get_random_stair () |
| int | prompt_for_int (const char *prompt, bool nonneg) |
Variables | |
| bool | CrawlIsExiting = false |
| bool | CrawlIsCrashing = false |
| void canned_msg | ( | canned_message_type | which_message | ) |

| void cio_cleanup | ( | ) |

| void cio_init | ( | ) |

| void clear_globals_on_exit | ( | ) |

| int div_round_up | ( | int | num, | |
| int | den | |||
| ) |
| NORETURN void end | ( | int | exit_code, | |
| bool | print_error, | |||
| const char * | format, | |||
| ... | ||||
| ) |

| maybe_bool frombool | ( | bool | b | ) |
| NORETURN void game_ended | ( | ) |

| NORETURN void game_ended_with_error | ( | const std::string & | message | ) |

| unsigned char get_ch | ( | ) |

| coord_def get_random_stair | ( | ) |

| char index_to_letter | ( | int | the_index | ) |
| int letter_to_index | ( | int | the_letter | ) |
| std::string make_file_time | ( | time_t | when | ) |

| std::string make_time_string | ( | time_t | abs_time, | |
| bool | terse | |||
| ) |
| int near_stairs | ( | const coord_def & | p, | |
| int | max_dist, | |||
| dungeon_char_type & | stair_type, | |||
| branch_type & | branch | |||
| ) |

| bool player_can_hear | ( | const coord_def & | p, | |
| int | hear_distance | |||
| ) |

| bool print_error_screen | ( | const char * | message, | |
| ... | ||||
| ) |

| int prompt_for_int | ( | const char * | prompt, | |
| bool | nonneg | |||
| ) |

| int random_rod_subtype | ( | ) |

| void redraw_screen | ( | void | ) |

| void set_redraw_status | ( | uint64_t | flags | ) |
| int skill_bump | ( | int | skill | ) |
| int stat_mult | ( | int | stat_level, | |
| int | value, | |||
| int | div, | |||
| int | shift | |||
| ) |
| int stepdown_value | ( | int | base_value, | |
| int | stepping, | |||
| int | first_step, | |||
| int | last_step, | |||
| int | ceiling_value | |||
| ) |
| void tag_followers | ( | ) |

| bool tobool | ( | maybe_bool | mb, | |
| bool | def | |||
| ) |
| bool tobool | ( | maybe_bool | mb | ) |
| void untag_followers | ( | ) |
| bool yes_or_no | ( | const char * | fmt, | |
| ... | ||||
| ) |

| bool yesno | ( | const char * | str, | |
| bool | safe, | |||
| int | safeanswer, | |||
| bool | clear_after, | |||
| bool | interrupt_delays, | |||
| bool | noprompt, | |||
| const explicit_keymap * | map, | |||
| GotoRegion | region | |||
| ) |

| int yesnoquit | ( | const char * | str, | |
| bool | safe, | |||
| int | safeanswer, | |||
| bool | allow_all, | |||
| bool | clear_after, | |||
| char | alt_yes, | |||
| char | alt_yes2 | |||
| ) |

| void zap_los_monsters | ( | bool | items_also | ) |

| bool CrawlIsCrashing = false |
| bool CrawlIsExiting = false |
1.5.6