Angband
|
Highscore display for Angband. More...
#include "angband.h"
#include "buildid.h"
#include "game-world.h"
#include "score.h"
#include "ui-input.h"
#include "ui-output.h"
#include "ui-score.h"
#include "ui-term.h"
Functions | |
static void | display_scores_aux (const high_score scores[], int from, int to, int highlight) |
Display the scores in a given range. More... | |
void | predict_score (void) |
Predict the players location, and display it. More... | |
void | show_scores (void) |
Show scores. More... | |
Highscore display for Angband.
Copyright (c) 1997 Ben Harrison, James E. Wilson, Robert A. Koeneke
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.
|
static |
Display the scores in a given range.
References c_put_str(), keypress::code, COLOUR_L_GREEN, COLOUR_WHITE, high_score::cur_dun, high_score::cur_lev, high_score::day, ESCAPE, format(), high_score::gold, high_score::how, inkey(), high_score::max_dun, MAX_HISCORES, high_score::max_lev, my_strcat(), player_race::name, player_class::name, high_score::p_c, high_score::p_r, player_id2class(), player_id2race(), prt(), high_score::pts, put_str(), strnfmt(), Term_clear(), high_score::turns, high_score::uid, VERSION_NAME, and high_score::who.
Referenced by predict_score(), and show_scores().
Predict the players location, and display it.
References build_score(), display_scores_aux(), highscore_add(), highscore_read(), highscore_where(), player::is_dead, MAX_HISCORES, N_ELEMENTS, and NULL.
Referenced by close_game(), and show_scores().
Show scores.
References character_generated, display_scores_aux(), highscore_read(), MAX_HISCORES, N_ELEMENTS, predict_score(), screen_load(), screen_save(), and Term_fresh().
Referenced by death_scores(), and do_cmd_knowledge_scores().