• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revisionbce484e0bbccaadcc5f4e46e446af97a5e750fce (tree)
Time2019-05-12 10:56:26
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 kamaenaoshi() を cmd-basic.c/h へ移動.

Change Summary

Incremental Difference

--- a/src/cmd-basic.c
+++ b/src/cmd-basic.c
@@ -43,6 +43,7 @@
4343 #include "shoot.h"
4444
4545 #include "cmd-basic.h"
46+#include "cmd-item.h"
4647 #include "floor-save.h"
4748 #include "dungeon-file.h"
4849 #include "files.h"
--- a/src/cmd-basic.h
+++ b/src/cmd-basic.h
@@ -30,3 +30,5 @@ extern void do_cmd_travel(void);
3030 #endif
3131 extern bool easy_open_door(POSITION y, POSITION x);
3232 extern bool do_cmd_disarm_aux(POSITION y, POSITION x, DIRECTION dir);
33+
34+extern void kamaenaoshi(INVENTORY_IDX item);
--- a/src/externs.h
+++ b/src/externs.h
@@ -159,17 +159,3 @@ extern void fsetfileinfo(concptr path, u32b fcreator, u32b ftype);
159159
160160 /* wizard1.c */
161161 extern void spoil_random_artifact(concptr fname);
162-
163-
164-#ifdef JP
165-/* japanese.c */
166-extern void sindarin_to_kana(char *kana, concptr sindarin);
167-extern void jverb( concptr in , char *out , int flag);
168-extern void sjis2euc(char *str);
169-extern void euc2sjis(char *str);
170-extern byte codeconv(char *str);
171-extern bool iskanji2(concptr s, int x);
172-extern void guess_convert_to_system_encoding(char* strbuf, int buflen);
173-#endif
174-
175-extern void kamaenaoshi(INVENTORY_IDX item);
\ No newline at end of file
--- a/src/store.c
+++ b/src/store.c
@@ -15,6 +15,7 @@
1515 #include "term.h"
1616
1717 #include "floor.h"
18+#include "cmd-basic.h"
1819 #include "cmd-dump.h"
1920 #include "cmd-item.h"
2021 #include "cmd-smith.h"
@@ -38,6 +39,7 @@
3839 #include "objectkind.h"
3940 #include "autopick.h"
4041 #include "floor-town.h"
42+#include "japanese.h"
4143
4244 #define MIN_STOCK 12
4345
Show on old repository browser