• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision1c75cd872af7c9d4705e3f84266753388e5a84ba (tree)
Time2019-05-21 21:47:53
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 NIKKI_* 定義を cmd-dump.h へ移動.

Change Summary

Incremental Difference

--- a/src/cmd-dump.h
+++ b/src/cmd-dump.h
@@ -1,5 +1,34 @@
11 #pragma once
22
3+#define NIKKI_HIGAWARI 0
4+#define NIKKI_BUNSHOU 1
5+#define NIKKI_ART 2
6+#define NIKKI_UNIQUE 3
7+#define NIKKI_FIX_QUEST_C 4
8+#define NIKKI_FIX_QUEST_F 5
9+#define NIKKI_RAND_QUEST_C 6
10+#define NIKKI_RAND_QUEST_F 7
11+#define NIKKI_MAXDEAPTH 8
12+#define NIKKI_TRUMP 9
13+#define NIKKI_STAIR 10
14+#define NIKKI_RECALL 11
15+#define NIKKI_TO_QUEST 12
16+#define NIKKI_TELE_LEV 13
17+#define NIKKI_BUY 14
18+#define NIKKI_SELL 15
19+#define NIKKI_ARENA 16
20+#define NIKKI_HANMEI 17
21+#define NIKKI_LEVELUP 18
22+#define NIKKI_GAMESTART 19
23+#define NIKKI_WIZ_TELE 20
24+#define NIKKI_NAMED_PET 21
25+#define NIKKI_PAT_TELE 22
26+#define NIKKI_ART_SCROLL 23
27+
28+#define NIKKI_WIZARD_LOG 24
29+
30+
31+
332 /* cmd4.c */
433 #ifndef JP
534 extern concptr get_ordinal_number_suffix(int num);
--- a/src/defines.h
+++ b/src/defines.h
@@ -2581,33 +2581,6 @@ extern int PlayerUID;
25812581 #define NO_TOWN 6
25822582 #define SECRET_TOWN 5
25832583
2584-#define NIKKI_HIGAWARI 0
2585-#define NIKKI_BUNSHOU 1
2586-#define NIKKI_ART 2
2587-#define NIKKI_UNIQUE 3
2588-#define NIKKI_FIX_QUEST_C 4
2589-#define NIKKI_FIX_QUEST_F 5
2590-#define NIKKI_RAND_QUEST_C 6
2591-#define NIKKI_RAND_QUEST_F 7
2592-#define NIKKI_MAXDEAPTH 8
2593-#define NIKKI_TRUMP 9
2594-#define NIKKI_STAIR 10
2595-#define NIKKI_RECALL 11
2596-#define NIKKI_TO_QUEST 12
2597-#define NIKKI_TELE_LEV 13
2598-#define NIKKI_BUY 14
2599-#define NIKKI_SELL 15
2600-#define NIKKI_ARENA 16
2601-#define NIKKI_HANMEI 17
2602-#define NIKKI_LEVELUP 18
2603-#define NIKKI_GAMESTART 19
2604-#define NIKKI_WIZ_TELE 20
2605-#define NIKKI_NAMED_PET 21
2606-#define NIKKI_PAT_TELE 22
2607-#define NIKKI_ART_SCROLL 23
2608-
2609-#define NIKKI_WIZARD_LOG 24
2610-
26112584
26122585 #define RECORD_NAMED_PET_NAME 0
26132586 #define RECORD_NAMED_PET_UNNAME 1
Show on old repository browser