Functions | Variables

dump.c File Reference

#include "hack.h"
#include "date.h"
Include dependency graph for dump.c:

Functions

void dump_exit ()
void dump (char *pre, char *str) const
void dump_html (char *format, char *str) const
void dump_text (char *format, char *str) const
void dump_line (char *pre, char *str) const
void dump_object (char c, const char *str) const
void dump_subtitle (char *str) const
void dump_title (char *str)
void dump_list_start ()
void dump_list_item (char *str) const
void dump_list_end ()
void dump_blockquote_start ()
void dump_blockquote_end ()
void dump_definition_list_start ()
void dump_definition_list_dt (char *str) const
void dump_definition_list_dd (char *str) const
void dump_definition_list_end ()
void dump_header_html (char *title) const
char * html_escape_character (const char c)

Variables

static char html_escape_buf [BUFSZ]

Function Documentation

void dump ( char *  pre,
char *  str 
) const
void dump_blockquote_end (  )

Ends a blockquote in the dump.

References dump_html(), and dump_text().

Referenced by done().

Here is the call graph for this function:

Here is the caller graph for this function:

void dump_blockquote_start (  )

Starts a blockquote in the dump.

Referenced by done().

Here is the caller graph for this function:

void dump_definition_list_dd ( char *  str ) const

Dumps a definition list item.

Referenced by print_mapseen().

Here is the caller graph for this function:

void dump_definition_list_dt ( char *  str ) const

Dumps a definition list item.

Referenced by print_mapseen().

Here is the caller graph for this function:

void dump_definition_list_end (  )

Ends a list in the dump.

References dump_html().

Referenced by print_mapseen().

Here is the call graph for this function:

Here is the caller graph for this function:

void dump_definition_list_start (  )

Starts a definition list in the dump.

Referenced by print_mapseen().

Here is the caller graph for this function:

void dump_exit (  )

References dump_html().

Here is the call graph for this function:

void dump_header_html ( char *  title ) const

Dumps the HTML header.

References dump_html(), DUMP_HTML_CSS_FILE, iso8601(), and VERSION_STRING.

Referenced by done().

Here is the call graph for this function:

Here is the caller graph for this function:

void dump_html ( char *  format,
char *  str 
) const

Outputs a string only into the html dump.

Referenced by done(), dump_blockquote_end(), dump_definition_list_end(), dump_exit(), dump_header_html(), dump_list_end(), dump_spells(), dump_subtitle(), enhance_skill(), print_mapseen(), and topten().

Here is the caller graph for this function:

void dump_line ( char *  pre,
char *  str 
) const

Dumps one line as is.

Referenced by container_contents(), done(), and list_genocided().

Here is the caller graph for this function:

void dump_list_end (  )

Ends a list in the dump.

References dump_html().

Referenced by container_contents(), enlightenment(), list_genocided(), and show_conduct().

Here is the call graph for this function:

Here is the caller graph for this function:

void dump_list_item ( char *  str ) const

Dumps a list item.

Referenced by container_contents(), enlght_line(), and list_genocided().

Here is the caller graph for this function:

void dump_list_start (  )

Starts a list in the dump.

Referenced by container_contents(), enlightenment(), list_genocided(), and show_conduct().

Here is the caller graph for this function:

void dump_object ( char  c,
const char *  str 
) const

Dumps an object from the inventory.

References color, and iflags.

Referenced by display_pickinv().

Here is the caller graph for this function:

void dump_subtitle ( char *  str ) const

Dumps a secondary title.

References dump_html(), and dump_text().

Referenced by container_contents(), and display_pickinv().

Here is the call graph for this function:

Here is the caller graph for this function:

void dump_text ( char *  format,
char *  str 
) const

Outputs a string only into the text dump.

Referenced by dump_blockquote_end(), dump_spells(), dump_subtitle(), enhance_skill(), and print_mapseen().

Here is the caller graph for this function:

void dump_title ( char *  str )

Dump a title. Strips : from the end of str.

Referenced by display_pickinv(), done(), dump_spells(), enhance_skill(), enlightenment(), list_genocided(), and show_conduct().

Here is the caller graph for this function:

char* html_escape_character ( const char  c )

Escape a single character for HTML.

References html_escape_buf.


Variable Documentation

char html_escape_buf[BUFSZ] [static]

Referenced by html_escape_character().