The master and develop branches track hengband.
OS X development happens on the macos-1-6-2, macos-2-2-1, and macos-develop branches.
修訂 | f7d202b4cad4249d270b701cf2d9dc32a30ebc03 (tree) |
---|---|
時間 | 2021-01-21 02:26:50 |
作者 | Eric Branlund <ebranlund@fast...> |
Commiter | Eric Branlund |
Given the way Hengband organizes the code for 3.*, move grafmode.h and grafmode.c (added to support the Mac interface) to system.
@@ -932,7 +932,11 @@ EXTRA_DIST = \ | ||
932 | 932 | $(cocoa_ja_strings_files) |
933 | 933 | |
934 | 934 | if COCOA |
935 | -hengband_SOURCES += main-cocoa.m grafmode.h grafmode.c cocoa/AppDelegate.h | |
935 | +hengband_SOURCES += \ | |
936 | + main-cocoa.m \ | |
937 | + system/grafmode.h \ | |
938 | + system/grafmode.c \ | |
939 | + cocoa/AppDelegate.h | |
936 | 940 | AM_CFLAGS = -mmacosx-version-min=10.8 -Wunguarded-availability |
937 | 941 | AM_OBJCFLAGS = -fobjc-arc -mmacosx-version-min=10.8 -Wunguarded-availability |
938 | 942 | hengband_LDFLAGS = -framework cocoa $(AM_LDFLAGS) |
@@ -970,7 +974,7 @@ appendir = $(APPRES)/en.lproj | ||
970 | 974 | appja_DATA = $(cocoa_ja_strings_files) |
971 | 975 | appjadir = $(APPRES)/ja.lproj |
972 | 976 | else |
973 | -EXTRA_hengband_SOURCES += main-cocoa.m grafmode.h grafmode.c \ | |
977 | +EXTRA_hengband_SOURCES += main-cocoa.m system/grafmode.h system/grafmode.c \ | |
974 | 978 | cocoa/AppDelegate.h |
975 | 979 | hengband_LINK = $(LINK) |
976 | 980 | endif |
@@ -18,7 +18,7 @@ | ||
18 | 18 | |
19 | 19 | #include "system/angband.h" |
20 | 20 | /* This is not included in angband.h in Hengband. */ |
21 | -#include "grafmode.h" | |
21 | +#include "system/grafmode.h" | |
22 | 22 | |
23 | 23 | #include "cmd-visual/cmd-draw.h" |
24 | 24 | #include "cmd-io/cmd-save.h" |