ui-score.c File Reference

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"


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...

Detailed Description

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.

Function Documentation

◆ display_scores_aux()

static void display_scores_aux ( const high_score  scores[],
int  from,
int  to,
int  highlight 

◆ predict_score()

void predict_score ( void  )

Predict the players location, and display it.

References build_score(), display_scores_aux(), highscore_add(), highscore_read(), highscore_where(), player::is_dead, MAX_HISCORES, and N_ELEMENTS.

Referenced by close_game(), and show_scores().

◆ show_scores()

void show_scores ( void  )