Hengband  2.2.1
関数
warning.h ファイル
被依存関係図:

[ソースコード]

関数

object_typechoose_warning_item (void)
 警告を放つアイテムを選択する / Choose one of items that have warning flag Calculate spell damages [詳解]
 
bool process_warning (POSITION xx, POSITION yy)
 プレイヤーが特定地点へ移動した場合に警告を発する処理 / Examine the grid (xx,yy) and warn the player if there are any danger [詳解]
 

関数詳解

◆ choose_warning_item()

object_type* choose_warning_item ( void  )

警告を放つアイテムを選択する / Choose one of items that have warning flag Calculate spell damages

戻り値
警告を行う
呼び出し関係図:

◆ process_warning()

bool process_warning ( POSITION  xx,
POSITION  yy 
)

プレイヤーが特定地点へ移動した場合に警告を発する処理 / Examine the grid (xx,yy) and warn the player if there are any danger

引数
xx危険性を調査するマスのX座標
yy危険性を調査するマスのY座標
戻り値
警告を無視して進むことを選択するかか問題が無ければTRUE、警告に従ったならFALSEを返す。
呼び出し関係図: