OSDN Git Service

[Refactor] #1447 Replaced 'typedef struct player_attack_type player_attack_type;...
authorHourier <grapefox.whitelucifer.0408@gmail.com>
Sat, 4 Sep 2021 07:05:55 +0000 (16:05 +0900)
committerHourier <grapefox.whitelucifer.0408@gmail.com>
Sat, 4 Sep 2021 07:05:55 +0000 (16:05 +0900)
src/combat/attack-accuracy.h
src/combat/attack-criticality.h
src/mind/mind-ninja.h
src/mind/mind-samurai.h
src/mind/monk-attack.h
src/object-enchant/vorpal-weapon.h
src/player-attack/attack-chaos-effect.h
src/player-attack/blood-sucking-processor.h
src/specific-object/death-scythe.h

index 154a190..dad5d8b 100644 (file)
@@ -2,7 +2,7 @@
 
 #include "system/angband.h"
 
-typedef struct player_attack_type player_attack_type;
+struct player_attack_type;
 struct player_type;
 bool test_hit_norm(player_type *attacker_ptr, int chance, ARMOUR_CLASS ac, bool visible);
 PERCENTAGE hit_chance(player_type *attacker_ptr, int chance, ARMOUR_CLASS ac);
index 7982694..d3ccbc7 100644 (file)
@@ -6,7 +6,7 @@
 
 #include <tuple>
 
-typedef struct player_attack_type player_attack_type;
+struct player_attack_type;
 struct player_type;
 std::tuple<HIT_POINT, concptr, sound_type> apply_critical_norm_damage(int k, HIT_POINT base_dam);
 HIT_POINT critical_norm(player_type *attacker_ptr, WEIGHT weight, int plus, HIT_POINT dam, int16_t meichuu, combat_options mode, bool impact = false);
index 130c2d7..6c3e4e2 100644 (file)
@@ -1,6 +1,6 @@
 #pragma once
 
-typedef struct player_attack_type player_attack_type;
+struct player_attack_type;
 struct player_type;
 bool kawarimi(player_type *caster_ptr, bool success);
 bool rush_attack(player_type *attacker_ptr, bool *mdeath);
index 8cb86c4..b2481c5 100644 (file)
@@ -5,7 +5,7 @@
 
 typedef struct monap_type monap_type;
 struct monster_type;
-typedef struct player_attack_type player_attack_type;
+struct player_attack_type;
 struct player_type;
 MULTIPLY mult_hissatsu(player_type *attacker_ptr, MULTIPLY mult, const TrFlags &flgs, monster_type *m_ptr, combat_options mode);
 void concentration(player_type *creature_ptr);
index bfc78a4..1d70347 100644 (file)
@@ -1,6 +1,6 @@
 #pragma once
 
-typedef struct player_attack_type player_attack_type;
+struct player_attack_type;
 struct player_type;
 void process_monk_attack(player_type *attacker_ptr, player_attack_type *pa_ptr);
 bool double_attack(player_type *creature_ptr);
index 4ec1cbf..ede2f3d 100644 (file)
@@ -1,5 +1,5 @@
 #pragma once
 
-typedef struct player_attack_type player_attack_type;
+struct player_attack_type;
 struct player_type;
 void process_vorpal_attack(player_type *attacker_ptr, player_attack_type *pa_ptr, const bool vorpal_cut, const int vorpal_chance);
index bf53a50..8b2a279 100644 (file)
@@ -2,6 +2,6 @@
 
 #include "system/angband.h"
 
-typedef struct player_attack_type player_attack_type;
+struct player_attack_type;
 struct player_type;
 void change_monster_stat(player_type *attacker_ptr, player_attack_type *pa_ptr, const POSITION y, const POSITION x, int *num);
index 9a22fb8..83c0075 100644 (file)
@@ -1,6 +1,6 @@
 #pragma once
 
-typedef struct player_attack_type player_attack_type;
+struct player_attack_type;
 struct player_type;
 void decide_blood_sucking(player_type *attacker_ptr, player_attack_type *pa_ptr);
 void calc_drain(player_attack_type *pa_ptr);
index aa6801a..fd2a33c 100644 (file)
@@ -1,5 +1,5 @@
 #pragma once
 
-typedef struct player_attack_type player_attack_type;
+struct player_attack_type;
 struct player_type;
 void process_death_scythe_reflection(player_type *attacker_ptr, player_attack_type *pa_ptr);