• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revisionb76eb955c45ce8f56bd7edecd7795a655b4a2d8b (tree)
Time2019-08-13 23:47:45
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #39321 cmutation_power_aux() を exe_mutation_power() に改名.

Change Summary

Incremental Difference

--- a/src/mutation.c
+++ b/src/mutation.c
@@ -2086,7 +2086,7 @@ int calc_mutant_regenerate_mod(player_type *creature_ptr)
20862086 * @param power 発動させる突然変異レイシャルのID
20872087 * @return レイシャルを実行した場合TRUE、キャンセルした場合FALSEを返す
20882088 */
2089-bool mutation_power_aux(player_type *creature_ptr, int power)
2089+bool exe_mutation_power(player_type *creature_ptr, int power)
20902090 {
20912091 DIRECTION dir = 0;
20922092 PLAYER_LEVEL lvl = creature_ptr->lev;
--- a/src/mutation.h
+++ b/src/mutation.h
@@ -5,5 +5,5 @@ extern void lose_all_mutations(player_type *creature_ptr);
55 extern void dump_mutations(player_type *creature_ptr, FILE *OutFile);
66 extern void do_cmd_knowledge_mutations(player_type *creature_ptr);
77 extern int calc_mutant_regenerate_mod(player_type *creature_ptr);
8-extern bool mutation_power_aux(player_type *creature_ptr, int power);
8+extern bool exe_mutation_power(player_type *creature_ptr, int power);
99 extern void become_living_trump(player_type *creature_ptr);
--- a/src/racial.c
+++ b/src/racial.c
@@ -2001,7 +2001,7 @@ if (!repeat_pull(&i) || i<0 || i>=num) {
20012001 if (power_desc[i].number < 0)
20022002 cast = exe_racial_power(p_ptr, power_desc[i].number);
20032003 else
2004- cast = mutation_power_aux(p_ptr, power_desc[i].number);
2004+ cast = exe_mutation_power(p_ptr, power_desc[i].number);
20052005 break;
20062006 case 0:
20072007 cast = FALSE;
Show on old repository browser