• R/O
  • HTTP
  • SSH
  • HTTPS

hengbandosx: 提交

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.


Commit MetaInfo

修訂f7d202b4cad4249d270b701cf2d9dc32a30ebc03 (tree)
時間2021-01-21 02:26:50
作者Eric Branlund <ebranlund@fast...>
CommiterEric Branlund

Log Message

Given the way Hengband organizes the code for 3.*, move grafmode.h and grafmode.c (added to support the Mac interface) to system.

Change Summary

差異

--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -932,7 +932,11 @@ EXTRA_DIST = \
932932 $(cocoa_ja_strings_files)
933933
934934 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
936940 AM_CFLAGS = -mmacosx-version-min=10.8 -Wunguarded-availability
937941 AM_OBJCFLAGS = -fobjc-arc -mmacosx-version-min=10.8 -Wunguarded-availability
938942 hengband_LDFLAGS = -framework cocoa $(AM_LDFLAGS)
@@ -970,7 +974,7 @@ appendir = $(APPRES)/en.lproj
970974 appja_DATA = $(cocoa_ja_strings_files)
971975 appjadir = $(APPRES)/ja.lproj
972976 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 \
974978 cocoa/AppDelegate.h
975979 hengband_LINK = $(LINK)
976980 endif
--- a/src/main-cocoa.m
+++ b/src/main-cocoa.m
@@ -18,7 +18,7 @@
1818
1919 #include "system/angband.h"
2020 /* This is not included in angband.h in Hengband. */
21-#include "grafmode.h"
21+#include "system/grafmode.h"
2222
2323 #include "cmd-visual/cmd-draw.h"
2424 #include "cmd-io/cmd-save.h"
Show on old repository browser