ui-history.c File Reference

Character auto-history display UI. More...

#include "angband.h"
#include "player-history.h"
#include "ui-input.h"
#include "ui-output.h"


static void print_history_header (void)
 Print the header for the history display.
void history_display (void)
 Handles all of the display functionality for the history list.
void dump_history (ang_file *file)
 Dump character history to a file, which we assume is already open.

Detailed Description

Character auto-history display UI.

Copyright (c) 2007 J.D. White

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.

Function Documentation

void dump_history ( ang_file file)

Dump character history to a file, which we assume is already open.

References buf, history_info::dlev, history_info::event, file_put(), file_putf(), hist_has, history_get_list(), history_list, i, my_strcat(), strnfmt(), turn, and type.

Referenced by write_character_dump().

void history_display ( void  )
static void print_history_header ( void  )

Print the header for the history display.

References c_put_str(), COLOUR_L_BLUE, and COLOUR_WHITE.

Referenced by history_display().