1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
2 "http://www.w3.org/TR/1998/REC-html40-19980424/strict.dtd">
5 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
6 <TITLE>Hengband Application for macOS: Changes in 2.2.1.7 Version</TITLE>
10 <H1>Hengband Application for macOS</H1>
11 <P><A HREF="index.html.en">Binaries</A> | <A HREF="HengbandEnglishScreenshot.html.en">English screen shot</A> | <A HREF="HengbandJapaneseScreenshot.html.en">Japanese screen shot</A> | <A HREF="HengbandFeedback.html.en">Feedback</A> | <A HREF="HengbandSourceCode.html.en">Source code</A> | 2.2.1.7 Changes | <A HREF="HengbandChangeLog-1-6-2.html.en">1.6.2 Changes</A>
14 <LI>January 24, 2021. 2.2.1.7f includes the following changes:
16 <LI>Include a binary with native support for x86_64 and arm systems.
17 I don't have access to an arm-based Mac so it's best to treat
18 running natively on an arm-based Mac as an experimental feature.
19 <LI>For the Japanese version, fixed regression introduced in 2.2.1.7d:
20 incorrect internal sanity check led to some characters not being
21 rendered (most obviously in item names in the stores) or to some
22 characters not being cleared (seen when switching between screens
23 in the character sheet).
24 <LI>For the Japanese version, fixed garbled characters for some spells
26 <LI>No longer use Angband 4's versions of the graphical tiles.
27 Instead used Hengband's versions converted to PNG with transparency
29 <LI>For Japanese, no longer use Osaka as the default font since it
30 is not included with macOS Catalina by default. Instead, use
31 Hiragino Maru Gothic ProN.
32 <LI>Don't call Term_activate() from drawRect(). That caused crashes
33 with Angband on some versions of macOS.
34 <LI>Changed how the fallback preferences for the font name and size
35 are set so they'll properly influence the configuration for the
37 <LI>Changed to avoid a compilation error with recent versions of
39 <LI>Allow for the possibility that a rendered character requires
40 a surrogate pair when encoded as UTF-16.
41 <LI>Fixed regression in the macOS interface: wasn't considering the
42 full GLYPH_COUNT glyphs in updateGlyphInfo().
43 <LI>Use VERSION_NAME rather than an explicit "Hengband" in more places
44 in the macOS interface.
45 <LI>In Term_pict_cocoa(), step through the passed-in arrays in
46 increments of the tile width scaling. Does not matter in the
47 current configuration where only one tile at a time is passed to
49 <LI>Made some comment changes and code rearrangements in the macOS
50 code so it can be more easily be compared against the code in other
52 <LI>The executable was compiled on macOS 10.15.7 rather than
53 10.15.5. If you encounter problems with versions of macOS prior
54 to 10.15 or with macOS 10.16, please let me know.
56 <LI>July 2, 2020. 2.2.1.7e includes the following changes:
58 <LI>Fixed bug: initialize displayed state of the "big tiles" setting
59 in the menu from the stored value rather than always setting it to
61 <LI>Configured so the writable game files are put in
62 <CODE>~/Documents/Hengband-2.2.1</CODE> rather than
63 <CODE>~/Documents/Hengband</CODE>. You may delete
64 <CODE>~/Documents/Hengband</CODE> if you don't want to retain the
65 high scores file and previously saved games. If you want to carry
66 over the high scores file or previously saved games you could
68 <LI>Rename <CODE>~/Documents/Hengband</CODE> to
69 <CODE>~/Documents/Hengband-2.2.1</CODE> prior to running the new
71 <LI>Copy the contents of <CODE>~/Documents/Hengband/apex</CODE> to
72 <CODE>~/Documents/Hengband-2.2.1/apex</CODE> and the contents of
73 <CODE>~/Documents/Hengband/save</CODE> to
74 <CODE>~/Documents/Hengband-2.2.1/save</CODE> after running the
77 <LI>The executable was compiled on macOS 10.15.5 rather than
78 macOS 10.14.6. If you encounter problems with versions of
79 macOS prior to 10.15, please let me know.
80 <LI>Made minor changes to English messages:
82 <LI>The short description for the Trump realm wasn't cleared
83 properly on the birth screen.
84 <LI>Changed English diary entries about gender and personality
85 selection so "gender" appears in the one for gender and
86 "personality" in the one about personality.
87 <LI>Changed diary entry about realm selection to put "and" between
88 the realms if there are two and to pluralize "realm" as
90 <LI>Corrected typo in a rumor.
91 <LI>Dropped period in a knowledge menu item for consistency with
94 <LI>Changed to initialize the effective group ID and effective user
95 ID before calling init_angband(). Has no apparent effect with
96 Hengband 2.2.1.7 but is necessary for Hengband 1.6.2.
98 <LI>March 28, 2020. 2.2.1.7d includes the following changes:
100 <LI>Fixed regression: changing the font or tile set during character
101 generation in the macOS front end would cause a crash.
102 <LI>For <A HREF="https://osdn.net/projects/hengbandforosx/ticket/40204">ticket 40204</A>,
103 configured terminals other than the main one in the macOS
104 front end as non-floating panels so they have narrower title bars.
105 Has the side effect that those terminals will automatically hide
106 when one switches to another application.
107 <LI>For <A HREF="https://osdn.net/projects/hengbandforosx/ticket/40203">ticket 40203</A>,
108 added the dimensions, in rows and columns, to the title bar for
109 each terminal window shown in the macOS front end.
110 <LI>For <A HREF="https://osdn.net/projects/hengbandforosx/ticket/40060">ticket 40060</A>,
111 changed the kanji for the File menu's "New" entry in the Japanese
112 version of the macOS front end.
113 <LI>For <A HREF="https://osdn.net/projects/hengbandforosx/ticket/40202">ticket 40202</A>,
114 changed so the prompt to select new or open on the splash screen
115 for the macOS front end always has the same position relative
116 to the rest of the splash screen text regardless of the dimensions
118 <LI>For <A HREF="https://osdn.net/projects/hengbandforosx/ticket/39940">ticket 39940</A>,
119 changed English diary entries to consistently use simple past
120 tense. Also omitted the subject in the diary entries when it was
121 "you". Made some changes in the entries to be more idiomatic.
122 <LI>For the macOS front end, brought over changes from Angband
123 to improve the drawing speed.
124 <LI>For the macOS front end, modified so user changes to a
125 window's width are in increments of the width of a column and
126 user changes to a window's height are in increments of the height
128 <LI>For the macOS front end, changed to round down when
129 calculating the number of columns for a given size so a font change
130 can leave blank space at the end of a row rather than a partially
132 <LI>Changed readme_eng.txt to bring it up to date.
133 <LI>Changed some English game messages to fix a typo on the first
134 birth screen and improve some the notifications about the player's
135 aura damaging monsters.
136 <LI>For the Japanese version of the macOS front end, changed the
137 copyright string to match the line crediting Mr. Hoge from
140 <LI>February 24, 2020. 2.2.1.7c includes the following changes:
142 <LI>The new version now requires 10.8 or later since the application
143 makes use of "Base localization" for internalionalization.
144 <LI>Changed the encoding of the keycode and option modifier in macro
145 triggers generated by the Cocoa interface in response to
146 keypresses. Removed direct mapping of some keys (cursor keys, help
147 function key, and delete function key) to the underlying command
148 set and instead pass those through the macro trigger mechanism.
149 Those changes allow the cursor keys to work in the editor for the
150 autopick settings and allow more modifiers (like shift for running)
151 to work with the numeric keypad. Added trigger names to match the
152 macro triggers generated by the Cocoa interface in pref-mac.prf.
153 If you had set up custom macro triggers based on the old encoding
154 of the keycode, those will have to be redone.
155 <LI>Corrected regression that caused the main window's minimum size
156 to not be correctly set at startup.
157 <LI>The response to font changes in the main window does a better
158 job of keeping the player in the bounds of the window.
159 <LI>Corrected handling of full screen mode: exiting while in
160 fullscreen mode no longer leaves the main window acting as if it
161 was still in fullscreen mode when the application is restarted.
162 <LI>Keep the save and command menu items disabled during character
163 generation since they aren't useful until the character enters
164 the world. Also keep the save menu entry disabled while on the
166 <LI>Made some additional English message changes including a
167 correction for the message about a weaponsmith adding an essence to
168 an item and more English descriptions of artifacts that were
169 missing descriptions.
170 <LI>Merged in upstream's changes for building on non-Windows
171 platforms, including the new --with-varpath=PATH option to
173 <LI>For developing the application, made it easier to change the
174 user interface with Xcode's Interface Builder.
175 <LI>Tile set rendering changes:
177 <LI>Since use Angband's version of the tile sets on the Mac, added
178 workarounds in the preference files for the cases where those
179 tile sets differ from Hengband's versions. Especially for
180 terrain, that makes tiles more useful in the Mac version.
181 <LI>Added support for big tile mode in the Mac interface. It is
182 enabled by default and can be turned on or off from the Settings
184 <LI>Corrected regression that objects and creatures were always
185 shown with a black background.
186 <LI>Changed to better handle if an error occurs while loading or
187 converting the tile set image.
188 <LI>Changed so that blending is used if the tile set has an
190 <LI>As an optimization, don't draw the foreground if it is the
191 same as the background.
194 <LI>December 31, 2019. Plugged memory leak in autopick_autoregister().
195 Changed init_saved_floors() to only check for out-of-date saved
196 floors if savefile is not an empty string; that prevents spurious
197 messages about old temporary files when "New" is selected in the
198 Cocoa front-end for macOS. Redid earlier change for English
199 message crashes in spell_RF6_HEAL() to be more compact. Made many
200 adjustments to the text of English messages especially in monster and
201 item descriptions. To better match the source material, the base
202 object for the crown of Amber is now a Jewel Encrusted Crown rather
204 <LI>December 1, 2019. Changed Cocoa rendering so text is rendered
205 more compactly and to avoid deprecated
206 CGContextShowGlyphsWithAdvances.
207 <LI>November 12, 2019. Ported upstream's correction for a
208 division by zero exception when choosing monsters for arena battles.
209 Corrected English spelling mistakes in the Hunter's office and one
210 ability description. Changed the English description of the ranger
212 <LI>October 24, 2019. Added upstream's modification for the update
213 monster list option. Made several changes to English messages,
214 primarily for character generation, the in-game help, and
215 explanations in the autopick editor.
216 <LI>October 2, 2019. Changed to use upstream's fix for rivers in
217 dungeons: levels in Yeek's den can have rivers of water. Changed
218 to avoid crash in English version if "Merfolk" is selected as the
219 race. Changed to avoid crash if "Auto" selected when destroying an
220 item and neither autopick preference file is present. For English,
221 adjusted layout in character screen so the row for sustains
222 experience aligns with the others. Made many adjustments, primarily
223 for spell and ability descriptions or messages, to English game
224 messages. For the macOS interface, changed to disable "Window"
225 menu entries until the backend is ready. That prevents crashes if
226 the item is selected before a character is selected. Also changed
227 to recompute the minimum window size after changing the font and to
228 coerce the current window size at least as large as the minimum size
230 <LI>September 16, 2019. Changed floor-generate.c to avoid patches
231 of unidentified terrain and crashes in dungeons like Yeek's den.
232 Changes spells2.c to avoid an uninitialized variable and potential
233 crash in one branch of probing(). Changed cmd-smith.c to correct a
234 misleading English message about enhancing multiple items. For the
235 English version, modified monster1.c to avoid missing output in
236 monster recall and compiler warnings about unused expressions.
237 Made several changes for grammar or clarity in English messages.
238 Changed a cast in files.c to avoid a compiler warning. For the
239 macOS interface, changed the names for the terminal windows in
240 the Window menu to match the names in the windows' title bars.
241 Localized Info.plist for Japanese and changed the Japanese version
242 of the menus to use 変愚蛮怒 instead of hengband. Adjusted some
243 of the automake files to carry over more files when "make dist" is
244 run. Changed the handling of Objective C in configure.ac for better
245 portability. Also reduced the number of library dependencies for the
247 <LI>September 10, 2019. Corrected two more English game messages that
248 could cause crashes (from spell_RF6_HASTE() and spell_RF6_HEAL() in
249 mspells4.c). Changed so that eating an unidentified item from the
250 pack or reading an unidentified scroll from the pack would not have
251 the potential to remove a different item from the pack. Changed so
252 that aiming an unidentified wand from the pack or using an
253 unidentified staff from the pack would not have the potential to
254 remove a charge from a different item. Corrected some typos in the
255 English version ("less" in some messages increasing a statistic;
256 duplicated character level in monster recall; some corrections in
257 the rumors). In the English version, made minor layout adjustments
258 for the level indicator in the main screen, page indicator in the
259 shops, and for the digging and infravision proficiencies in the
260 character screen. For the macOS interface, changed the rendering
261 to reduce the clearing and clipping artifacts with fonts like Snell
262 Roundhand and Zapfino. That will change the number of rows and
263 columns that can be displayed in a given space with most fonts so
264 you'll likely have to adjust your window layout. Added a
265 bigcurs_hook implementation so that the cursor over a kanji
266 character in the Japanese version will encompass the character.
267 <LI>August 29, 2019. Corrected three English game messages that could
268 could cause crashes (from castle_quest() in bldg.c,
269 spell_RF6_HEAL() in mspells4.c, and project_m() in spells1.c).
270 Replaced more instances of "current_world_ptr->game_turn" with
271 "turn" in English messages. Changed macOS interface to avoid
272 clearing artifacts along the tops of characters when using the
273 Rockwell or DIN Condensed fonts. That change will mean less rows
274 for a given terminal height with some fonts. There still are
275 clearing artifacts on the right side of "@" with the Snell Roundhand
277 <LI>August 27, 2019. Initial release