Hengband  2.2.1
データ構造 | マクロ定義 | 型定義 | 関数 | 変数
scores.h ファイル
被依存関係図:

[ソースコード]

データ構造

struct  high_score
 

マクロ定義

#define MAX_HISCORES   999
 スコア情報保存の最大数 / Maximum number of high scores in the high score file [詳解]
 

型定義

typedef struct high_score high_score
 

関数

void display_scores_aux (int from, int to, int note, high_score *score)
 指定された順位範囲でスコアを並べて表示する / Display the scores in a given range. [詳解]
 
void display_scores (int from, int to)
 スコア表示処理メインルーチン / Hack – Display the scores in a given range and quit. [詳解]
 
void kingly (player_type *winner_ptr)
 勝利者用の引退演出処理 / Change the player into a King! -RAK- [詳解]
 
bool send_world_score (bool do_send)
 スコアサーバへの転送処理 [詳解]
 
errr top_twenty (player_type *current_player_ptr)
 スコアの過去二十位内ランキングを表示する Enters a players name on a hi-score table, if "legal", and in any case, displays some relevant portion of the high score list. [詳解]
 
errr predict_score (player_type *creature_ptr)
 プレイヤーの現在のスコアをランキングに挟む / Predict the players location, and display it. [詳解]
 
void race_legends (void)
 スコアランキングの簡易表示(種族毎)メインルーチン / Race Legends -KMW- [詳解]
 
void race_score (int race_num)
 スコアランキングの簡易表示(種族毎)サブルーチン / Race Legends -KMW- [詳解]
 
void show_highclass (player_type *current_player_ptr)
 スコアランキングの簡易表示 / show_highclass - selectively list highscores based on class -KMW- [詳解]
 
bool check_score (void)
 スコアファイル出力 Display some character info [詳解]
 

変数

int highscore_fd
 

マクロ定義詳解

◆ MAX_HISCORES

#define MAX_HISCORES   999

スコア情報保存の最大数 / Maximum number of high scores in the high score file

型定義詳解

◆ high_score

typedef struct high_score high_score

関数詳解

◆ check_score()

bool check_score ( void  )

スコアファイル出力 Display some character info

戻り値
なし
呼び出し関係図:

◆ display_scores()

void display_scores ( int  from,
int  to 
)

スコア表示処理メインルーチン / Hack – Display the scores in a given range and quit.

引数
from順位先頭
to順位末尾
戻り値
なし
This function is only called from "main.c" when the user asks
to see the "high scores".
呼び出し関係図:

◆ display_scores_aux()

void display_scores_aux ( int  from,
int  to,
int  note,
high_score score 
)

指定された順位範囲でスコアを並べて表示する / Display the scores in a given range.

引数
from順位先頭
to順位末尾
note黄色表示でハイライトする順位
scoreスコア配列参照ポインタ
戻り値
なし
Assumes the high score list is already open.
Only five entries per line, too much info.
Mega-Hack -- allow "fake" entry at the given position.
呼び出し関係図:

◆ kingly()

void kingly ( player_type winner_ptr)

勝利者用の引退演出処理 / Change the player into a King! -RAK-

戻り値
なし
呼び出し関係図:

◆ predict_score()

errr predict_score ( player_type creature_ptr)

プレイヤーの現在のスコアをランキングに挟む / Predict the players location, and display it.

戻り値
エラーコード
呼び出し関係図:

◆ race_legends()

void race_legends ( void  )

スコアランキングの簡易表示(種族毎)メインルーチン / Race Legends -KMW-

戻り値
なし
呼び出し関係図:

◆ race_score()

void race_score ( int  race_num)

スコアランキングの簡易表示(種族毎)サブルーチン / Race Legends -KMW-

引数
race_num種族ID
戻り値
なし
呼び出し関係図:

◆ send_world_score()

bool send_world_score ( bool  do_send)

スコアサーバへの転送処理

引数
do_send実際に転送ア処置を行うか否か
戻り値
転送が成功したらTRUEを返す
呼び出し関係図:

◆ show_highclass()

void show_highclass ( player_type current_player_ptr)

スコアランキングの簡易表示 / show_highclass - selectively list highscores based on class -KMW-

戻り値
なし
呼び出し関係図:

◆ top_twenty()

errr top_twenty ( player_type current_player_ptr)

スコアの過去二十位内ランキングを表示する Enters a players name on a hi-score table, if "legal", and in any case, displays some relevant portion of the high score list.

引数
current_player_ptrスコアに適用するための現在プレイヤークリーチャー参照ポインタ
戻り値
エラーコード

Assumes "signals_ignore_tstp()" has been called.

呼び出し関係図:

変数詳解

◆ highscore_fd

int highscore_fd