ソースを読む際に役に立つかもしれない、関数名と役割などの簡単なメモです。皆さんでどんどん付け加えていってくださると嬉しいです。
abl-show.cc: * Summary: Functions related to special abilities.
abyss.cc: * Summary: Misc functions (most of which don't appear to be related to priests).
acr.cc: * Summary: Main entry point, event loop, and some initialization functions
beam.cc: * Summary: Functions related to ranged attacks.
- 遠距離攻撃の命中判定など
- 攻撃の属性を指定するzappy()
- モンスターに対する攻撃判定を扱うaffect_monster()
- キャラクターに対する攻撃判定を扱うaffect_player()
cloud.cc: * Summary: Functions related to clouds.
command.cc: * Summary: Misc commands.
decks.cc: * Summary: Functions with decks of cards.
delay.cc: * Summary: Functions for handling multi-turn actions.
direct.cc: * Summary: Functions used when picking squares.
dungeon.cc: * Summary: Functions used when building new levels.
- アイテムの生成を扱うitems()とgive_item()
effects.cc: * Summary: Misc stuff.
- acquirement():神からの武器・防具・本の下賜、獲得の巻物などの処理。
fight.cc: * Summary: Functions used during combat.
- 近接戦闘の命中・ダメージ判定など。
- you_attack()がキャラクター側の攻撃。変数your_to_hitが命中値。
food.cc: * Summary: Functions for eating and butchering.
- make_hungry():満腹度の減少処理。
- lessen_hunger():満腹度の回復処理。
- butchery():肉を捌く際の処理。
- food_change():満腹度に応じてメッセージを表示したり、グールの満腹度の上限を設定。
- describe_food_change():「あなたは<>満腹感が増した」。
- eat_from_floor():床に落ちている食料を食べる際の処理。
- eat_chunk():死肉の効果。
- ghoul_eat_flesh():グールが肉を食べたときの効果。
- eating():食料の栄養価が記載されている。
- can_ingest():ある食料を食べられるかどうか。肉食・草食の制限等。
it_use2.cc: * Summary: Functions for using wands, potions, and weapon/armour removal.4\3
it_use3.cc: * Summary: Functions for using some of the wackier inventory items.
item_use.cc: * Summary: Functions for making use of inventory items.
itemname.cc: * Summary: Misc functions.
- init_properties() アイテムの基本データの初期化。ゲーム開始時に一度だけ呼ばれる。
- property() init_properties()で設定されたアイテムのデータを返す。
items.cc: * Summary: Misc (mostly) inventory related functions.
- なぜか時間経過を取り扱うhandle_time()が載ってる。
- handle_time()の中に地獄でのランダムイベント発生なども収録。
lev-pand.cc: * Summary: Functions used in Pandemonium.
maps.cc: * Summary: Functions used to create vaults.
message.cc: * Summary: Functions used to print messages.
misc.cc: * Summary: Misc functions.
mon-pick.cc: * Summary: Functions used to help determine which monsters should appear.
- 各分岐で出現するモンスターを載せてある。monplace.ccも参考にしよう。
mon-util.cc: * Summary: Misc monster related functions.
monplace.cc: * Summary: Functions used when placing monsters in the dungeon.
monspeak.cc: * Summary: Functions to handle speaking monsters
- mons_speaks():モンスターの発言とか細かい仕草。
monstuff.cc: * Summary: Misc monster related functions.
- 個々のモンスターの行動を仕切るhandle_monsters()
- モンスターの特殊能力を扱うhandle_special_ability()
- モンスターの呪文を扱うhandle_spell()
mstuff2.cc: * Summary: Misc monster related functions.
mutation.cc: * Summary: Functions for handling player mutations.
newgame.cc: * Summary: Functions used when starting a new game.
ouch.cc: * Summary: Functions used when Bad Things happen to the player.
- 敵からの属性攻撃に対する耐性の効果を示すcheck_your_resist()
- ダメージによるHP減少を扱うouch()。神の庇護によるピンチ時のダメージ無効化も扱う。
player.cc: * Summary: Player related functions.
- プレイヤーキャラクターに関わる情報を返す。
- キャラクターのAC player_AC()
- キャラクターの回避力 player_evasion()
randart.cc: * Summary: Random and unrandom artifact functions.
religion.cc: * Summary: Misc religion related functions.
- 宗教関係の処理が載っている。
- 善行の種類とその信仰値増加量を示すdone_good()
- 禁忌の種類と、その量を示すnaughty()
- 神の処罰を扱うdivine_retribution()
- ゾムの気まぐれを扱うXom_acts()
- 時間経過による信仰値の変化、懲罰、ゾムの気まぐれの発動などを扱うhandle_god_time()
shopping.cc: * Summary: Shop keeper functions.
skills.cc: * Summary: Skill exercising functions.
skills2.cc: * Summary: More skill related functions.
spells1.cc: * Summary: Implementations of some additional spells.
spells2.cc: * Summary: Implementations of some additional spells.
spells3.cc: * Summary: Implementations of some additional spells.
spells4.cc: * Summary: new spells, focusing on transmigration, divination and
spl-book.cc: * Summary: Spellbook/Staff contents array and management functions
spl-cast.cc: * Summary: Spell casting and miscast functions.
- 呪文威力の計算を行なうcalc_spell_power()
- 呪文の失敗可能性を計算するspell_fail() ←実際の確率ではないことに注意!
- 呪文の発動を仕切っているyour_spells()
spl-util.cc: * Summary: data handlers for player-avilable spell list *
stuff.cc: * Summary: Misc stuff.
transfor.cc: * Summary: Misc function related to player transformations.
wpn-misc.cc: * Summary: temporary home for weapon f(x) until struct'ed *
最終更新:2023年03月11日 18:25