Hengband  2.2.1
関数
realm-song.c ファイル
#include "angband.h"
#include "util.h"
#include "realm-song.h"
#include "cmd-spell.h"
#include "spells.h"
#include "spells-status.h"
#include "spells-floor.h"
#include "player-effects.h"
#include "targeting.h"
#include "view-mainwindow.h"
realm-song.c の依存先関係図:

関数

static void start_singing (SPELL_IDX spell, MAGIC_NUM1 song)
 歌の開始を処理する / Start singing if the player is a Bard [詳解]
 
concptr do_music_spell (player_type *caster_ptr, SPELL_IDX spell, BIT_FLAGS mode)
 歌の各処理を行う [詳解]
 

関数詳解

◆ do_music_spell()

concptr do_music_spell ( player_type caster_ptr,
SPELL_IDX  spell,
BIT_FLAGS  mode 
)

歌の各処理を行う

引数
spell歌ID
mode処理内容 (SPELL_NAME / SPELL_DESC / SPELL_INFO / SPELL_CAST / SPELL_FAIL / SPELL_CONT / SPELL_STOP)
戻り値
SPELL_NAME / SPELL_DESC / SPELL_INFO 時には文字列ポインタを返す。SPELL_CAST / SPELL_FAIL / SPELL_CONT / SPELL_STOP 時はNULL文字列を返す。
呼び出し関係図:

◆ start_singing()

static void start_singing ( SPELL_IDX  spell,
MAGIC_NUM1  song 
)
static

歌の開始を処理する / Start singing if the player is a Bard

引数
spell領域魔法としてのID
song魔法効果のID
戻り値
なし
呼び出し関係図:
被呼び出し関係図: