• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revisiona90f6f664e23665721d456bd9df4d31d07691ede (tree)
Time2019-05-02 20:19:24
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 monster_power を monster-spell.h へ移動.

Change Summary

Incremental Difference

--- a/src/monster-spell.h
+++ b/src/monster-spell.h
@@ -1,5 +1,20 @@
11 #pragma once
22
3+
4+/* Imitator */
5+typedef struct monster_power monster_power;
6+struct monster_power
7+{
8+ PLAYER_LEVEL level;
9+ MANA_POINT smana;
10+ PERCENTAGE fail;
11+ int manedam;
12+ int manefail;
13+ int use_stat;
14+ concptr name;
15+};
16+
17+
318 /* Monster Spells */
419 #define MS_SHRIEK 0
520 #define MS_XXX1 1
--- a/src/types.h
+++ b/src/types.h
@@ -248,21 +248,6 @@ struct kamae
248248 };
249249
250250
251-/* Imitator */
252-
253-typedef struct monster_power monster_power;
254-struct monster_power
255-{
256- PLAYER_LEVEL level;
257- MANA_POINT smana;
258- PERCENTAGE fail;
259- int manedam;
260- int manefail;
261- int use_stat;
262- concptr name;
263-};
264-
265-
266251 /*
267252 * Sort-array element
268253 */
Show on old repository browser