• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revisionab5040b8684426587efd0c704bdf2f8f710536bf (tree)
Time2019-01-08 22:59:32
AuthorDeskull <deskull@user...>
CommiterDeskull

Log Message

[Refactor] #37353 型の置換。 / Type replacement.

Change Summary

Incremental Difference

--- a/src/types.h
+++ b/src/types.h
@@ -1547,8 +1547,8 @@ typedef struct tag_type tag_type;
15471547
15481548 struct tag_type
15491549 {
1550- int tag;
1551- int index;
1550+ int tag;
1551+ int index;
15521552 };
15531553
15541554 typedef bool (*monsterrace_hook_type)(MONRACE_IDX r_idx);
@@ -1575,24 +1575,24 @@ typedef struct high_score high_score;
15751575
15761576 struct high_score
15771577 {
1578- char what[8]; /* Version info (string) */
1579- char pts[10]; /* Total Score (number) */
1580- char gold[10]; /* Total Gold (number) */
1581- char turns[10]; /* Turns Taken (number) */
1582- char day[10]; /* Time stamp (string) */
1583- char who[16]; /* Player Name (string) */
1584- char uid[8]; /* Player UID (number) */
1585- char sex[2]; /* Player Sex (string) */
1586- char p_r[3]; /* Player Race (number) */
1587- char p_c[3]; /* Player Class (number) */
1588- char p_a[3]; /* Player Seikaku (number) */
1589-
1590- char cur_lev[4]; /* Current Player Level (number) */
1591- char cur_dun[4]; /* Current Dungeon Level (number) */
1592- char max_lev[4]; /* Max Player Level (number) */
1593- char max_dun[4]; /* Max Dungeon Level (number) */
1594-
1595- char how[40]; /* Method of death (string) */
1578+ GAME_TEXT what[8]; /* Version info (string) */
1579+ GAME_TEXT pts[10]; /* Total Score (number) */
1580+ GAME_TEXT gold[10]; /* Total Gold (number) */
1581+ GAME_TEXT turns[10]; /* Turns Taken (number) */
1582+ GAME_TEXT day[10]; /* Time stamp (string) */
1583+ GAME_TEXT who[16]; /* Player Name (string) */
1584+ GAME_TEXT uid[8]; /* Player UID (number) */
1585+ GAME_TEXT sex[2]; /* Player Sex (string) */
1586+ GAME_TEXT p_r[3]; /* Player Race (number) */
1587+ GAME_TEXT p_c[3]; /* Player Class (number) */
1588+ GAME_TEXT p_a[3]; /* Player Seikaku (number) */
1589+
1590+ GAME_TEXT cur_lev[4]; /* Current Player Level (number) */
1591+ GAME_TEXT cur_dun[4]; /* Current Dungeon Level (number) */
1592+ GAME_TEXT max_lev[4]; /* Max Player Level (number) */
1593+ GAME_TEXT max_dun[4]; /* Max Dungeon Level (number) */
1594+
1595+ GAME_TEXT how[40]; /* Method of death (string) */
15961596 };
15971597
15981598
Show on old repository browser