Deal with UI only command processing. More...
|Redraw the screen. More...|
|Display the options and redraw afterward. More...|
|Invoked when the command isn't recognised. More...|
|Print the version and copyright notice. More...|
|Verify the suicide command. More...|
|Verify use of "debug" mode. More...|
|void||html_screenshot (const char *path, int mode)|
|Take an html screenshot. More...|
|Hack – save a screen dump to a file. More...|
|Get input for the rest command. More...|
|Quit the game. More...|
Deal with UI only command processing.
Copyright (c) 1997-2014 Angband developers
This work is free software; you can redistribute it and/or modify it under the terms of either:
a) the GNU General Public License as published by the Free Software Foundation, version 2, or
b) the "Angband licence": This software may be copied and distributed for educational, research, and not for profit purposes provided that this copyright and statement are included in all such copies. Other copyrights may also apply.
Redraw the screen.
This command performs various low level updates, clears all the "extra" windows, does a total redraw of the main window, and requests all of the interesting updates and redraws that I can think of.
This command is also used to "instantiate" the results of the user selecting various things, such as graphics mode, so it must call the "TERM_XTRA_REACT" hook before redrawing the windows.
References angband_term, ANGBAND_TERM_MAX, character_dungeon, EVENT_INPUT_FLUSH, event_signal(), handle_stuff(), move_cursor_relative(), player_upkeep::notice, OPT, PN_COMBINE, PR_BASIC, PR_EQUIP, PR_EXTRA, PR_INVEN, PR_ITEMLIST, PR_MAP, PR_MESSAGE, PR_MONLIST, PR_MONSTER, PR_OBJECT, PU_BONUS, PU_HP, PU_INVEN, PU_MONSTERS, PU_SPELLS, PU_TORCH, PU_UPDATE_VIEW, player::px, player::py, player_upkeep::redraw, row, target_get(), target_sighted(), Term, Term_activate(), Term_clear(), Term_flush(), Term_fresh(), Term_redraw(), Term_xtra(), TERM_XTRA_REACT, player_upkeep::update, player::upkeep, and verify_panel().
Take an html screenshot.
References angband_color_table, BG_BLACK, BG_DARK, BG_MAX, BG_SAME, buildid, COLOUR_DARK, COLOUR_SHADE, COLOUR_WHITE, file_close(), file_open(), file_putf(), fp, FTYPE_TEXT, MAX_COLORS, MODE_WRITE, plog_fmt(), Term_get_size(), Term_what(), void(), and write_html_escape_char().
Referenced by do_cmd_save_screen_html().