Hengband Application for macOS
Binaries | English screen shot | Japanese screen shot | Feedback | Source code | 3.0.0 Changes | 2.2.1.7 Changes | 1.6.2 Changes
Changes
- May 4, 2023. 1.6.2e includes the following changes:
- For the Mac frontend, disable sending commands from the command
menu and changing the tile set or wide tile mode when in an in-game
menu.
- For the Mac frontend, avoid file descriptor leaks on macOS 10.15
(Catalina) or later when sound is enabled.
- For the Mac frontend, change some Japanese labels in the menus.
Resolves https://github.com/backwardsEric/hengband/issues/30 .
- For the Mac frontend, cover F17 to F19 in pref-mac.prf. Resolves
https://github.com/backwardsEric/hengband/issues/25 .
- For the Mac frontend, add paranoia about a big cursor extending
beyond a terminal's bounds.
- For the GCU frontend, backport changes from 3.0.0 to avoid
flickering with TERM_XTRA_CLEAR and to increase the maximum
number of terminals.
- Remove dependence on sys/timeb.h so compilation is possible on
OpenBSD 7.2.
- Avoid some compiler warnings from clang.
- The executable was compiled on macOS 12.6.5 rather than 12.5.1.
If you encounter problems with versions of macOS different than
12.6.5, please let me know.
- September 19, 2022. 1.6.2d includes the following changes:
- Port change from Hengband 3.0.0 to avoid accessing before the
start of a buffer in plural_aux() and to more generally handle the
plurals for nouns ending in a vowel followed by 'y'.
- For the GCU front end, port changes from Hengband 3.0.0 and
Angband 4.2.4: avoid assuming a maximum width of 80 columns, fix
flickering cursor, and change color handling (avoids white
backgrounds in lit areas and parts of the character screen and
stats panel when using the default colors on terminals with an
extened color range; by default, use custom colors on terminals
with an extended colors for more accurate colors; to get the old
behavior of looking for the closest matches, use the -K option for
the GCU front end; reset the terminal's clearing color when the
first color in Hengband's color table is changed).
- Port changes from Hengband 3.0.0 for English messages.
- The executable was compiled on macOS 12.5.1 rather than 11.5.1.
If you encounter problems with versions of macOS prior to 12.5.1,
please let me know.
- August 30, 2021. 1.6.2c includes the following changes:
- Fix bug, Hengband for OS X Issue 19,
that a font, specified in the preferences but no longer available
on the system, would cause the application to hang.
- In the display, round the median advance down, rather than up, for
a more compact horizontal layout with some fonts. Change the
default window layout to better match the default font settings and
to accommodate the smallest native screen size for currently
supported Retina Macs (2304 x 1440).
- Make minor changes to the English descriptions for Robin Hood and
unruly horses.
- Reduce the overhead on Macs related to checking for window flag
changes.
- Clean up the Mac-specific code a bit for more consistent handling
of Booleans, fewer compiler warnings, and to better match up with
what's in Angband's version of the Mac front end.
- Change the build system to avoid warnings with recent versions
of autoconf, avoid clang compiler warnings about not recognizing
"-fno-strength-reduce", and to be more consistent with the
distclean and uninstall rules.
- The executable was compiled on macOS 11.5.1 rather than 10.15.7.
If you encounter problems with versions of macOS prior to 11.5.1,
please let me know.
- January 24, 2021. 1.6.2b includes the following changes:
- Include a binary with native support for x86_64 and arm systems.
I don't have access to an arm-based Mac so it's best to treat
running natively on an arm-based Mac as an experimental feature.
- For the Japanese version, fixed bug where an incorrect internal
sanity check led to some characters not being rendered (most
obviously in item names in the stores) or to some characters not
being cleared (seen when switching between screens in the character
sheet).
- No longer use Angband 4's versions of the graphical tiles.
Instead used Hengband's versions converted to PNG with transparency
added.
- For Japanese, no longer use Osaka as the default font since it
is not included with macOS Catalina by default. Instead, use
Hiragino Maru Gothic ProN.
- Don't call Term_activate() from drawRect(). That caused crashes
with Angband on some versions of macOS.
- Changed how the fallback preferences for the font name and size
are set so they'll properly influence the configuration for the
windows.
- Allow for the possibility that a rendered character requires
a surrogate pair when encoded as UTF-16.
- Fixed regression in the macOS interface: wasn't considering the
full GLYPH_COUNT glyphs in updateGlyphInfo().
- Use VERSION_NAME rather than an explicit "Hengband" in more places
in the macOS interface.
- In Term_pict_cocoa(), step through the passed-in arrays in
increments of the tile width scaling. Does not matter in the
current configuration where only one tile at a time is passed to
Term_pict_cocoa().
- Made some comment changes and code rearrangements in the macOS
code so it can be more easily be compared against the code in other
variants.
- The executable was compiled on macOS 10.15.7 rather than
macOS 10.14.6. If you encounter problems with versions of macOS
prior to 10.15 or with macOS 10.16, please let me know.
- April 12, 2020. Initial release, 1.6.2a.
- The macOS front end is nearly the same as in 2.2.1.7. The
changes are:
- Fixed bug: initialize displayed state of the "big tiles"
setting in the menu from the stored value rather than always
setting it to true.
- Configured so the writable game files are put in
~/Documents/Hengband-1.6.2.
- Encoded the splash screen prompt in EUC-JP.
- Initialized the effective group ID and, for good measure,
the effective user ID, before calling init_angband().
- Changed types in terminal hook prototypes to match what's
in 1.6.2.
- The core Hengband code is that tagged as 1.6.2 with the following
changes:
- Changed the Macintosh portion of readme_eng.txt to only have
instructions for the macOS version.
- Changed pref-mac.prf so the keycodes sent by the macOS
interface are recognized as macro triggers. Map the keycodes
sent by the classic interface to the same set of macro triggers
so most of the same macros can be used for both.
- Since the macOS front end uses Angband's versions of the
tile sets, conditonally include workarounds for the differences
in graf-xxx.prf and graf-new.prf.
- If the MACH_O_COCOA preprocessor macro is set, skip the
contents of main.c, allow both Unix and Mac line endings, and
disable both PRIVATE_USER_PATH and SAVEFILE_USE_UID.
- Included habu's November 18, 2012 change in the master branch
to configure fixed-size integer types using stdint.h.
- Avoided compiler warnings by replacing instances of
fprintf(fd, s) with fputs(s, fd) as had been done in the
master branch.
- Avoided compiler warning about 32-bit integers passed to
long integer format specifiers by adding casts, changing the
specifier, or changing the type of a local variable. Made
similar changes for msg_format() and format().
- Ported over PHO's February 2020 patch to 2.2.1.7 for
a --with-varpath option to configure. Added
create_needed_dirs() for creating the writeable directories
as necessary. Used create_needed_dirs() rather than the
previous local function in main.c.
- Included deskull's August 12, 2011 change from the master
branch for curses compatibility.
- Changed to update the inventory window after eating a wand
or staff from the pack.
- Only check for out-of-date temporary files if the save file
name is not an empty string. Avoids spurious warnings when
creating a new character from the macOS front end.
- Made changes for compatibility with modern versions of
autoconf and automake. Those included habu's January 5, 2010
change on the master branch.
- Included lib/help/faq.txt and bootstrap in the output
generated by
make dist
.