Hengband  2.2.1
関数 | 変数
world.c ファイル
#include "angband.h"
#include "world.h"
world.c の依存先関係図:

関数

bool is_daytime (void)
 ゲーム時間が日中かどうかを返す / Whether daytime or not [詳解]
 
void extract_day_hour_min (int *day, int *hour, int *min)
 現在の日数、時刻を返す / Extract day, hour, min [詳解]
 

変数

world_type world
 
world_typecurrent_world_ptr = &world
 

関数詳解

◆ extract_day_hour_min()

void extract_day_hour_min ( int *  day,
int *  hour,
int *  min 
)

現在の日数、時刻を返す / Extract day, hour, min

引数
day日数を返すための参照ポインタ
hour時数を返すための参照ポインタ
min分数を返すための参照ポインタ

◆ is_daytime()

bool is_daytime ( void  )

ゲーム時間が日中かどうかを返す / Whether daytime or not

戻り値
日中ならばTRUE、夜ならばFALSE

変数詳解

◆ current_world_ptr

world_type* current_world_ptr = &world

◆ world

world_type world