OSDN Git Service

hengbandforosx/hengbandosx.git
4 years agoCorrected typo in "invulnerability".
Eric Branlund [Sat, 7 Sep 2019 23:51:49 +0000 (16:51 -0700)]
Corrected typo in "invulnerability".

4 years agoFixed usage error: heroes is plural want "hero's" for the singular possessive.
Eric Branlund [Sat, 7 Sep 2019 23:50:10 +0000 (16:50 -0700)]
Fixed usage error:  heroes is plural want "hero's" for the singular possessive.

4 years agoThe normal idiom is "in the long run" rather than "on the long run".
Eric Branlund [Sat, 7 Sep 2019 23:49:03 +0000 (16:49 -0700)]
The normal idiom is "in the long run" rather than "on the long run".

4 years agoAdded missing apostrophe for possesive.
Eric Branlund [Sat, 7 Sep 2019 23:48:10 +0000 (16:48 -0700)]
Added missing apostrophe for possesive.

4 years agoRemoved "a" or "an" in combination with "mail" or "armor" to match normal English...
Eric Branlund [Sat, 7 Sep 2019 23:45:17 +0000 (16:45 -0700)]
Removed "a" or "an" in combination with "mail" or "armor" to match normal English usage.

4 years agoPrevious change was not enough to ensure that the correct food item was removed after...
Eric Branlund [Sat, 7 Sep 2019 17:59:38 +0000 (10:59 -0700)]
Previous change was not enough to ensure that the correct food item was removed after eating:  set_food() causes handle_stuff() to be called and can reorder the pack.  Modified to set the update flags which would change the pack after the calls to set_food().

4 years agoThe English version of monster recall mentioned the character level twice when descri...
Eric Branlund [Sat, 7 Sep 2019 17:54:04 +0000 (10:54 -0700)]
The English version of monster recall mentioned the character level twice when describing the expected experience.  Removed the first to make the text clearer.

4 years agoAdded a big cursor hook since it's used if the cursor points at a kanji character...
Eric Branlund [Fri, 6 Sep 2019 18:40:04 +0000 (11:40 -0700)]
Added a big cursor hook since it's used if the cursor points at a kanji character, even if big tile mode is not otherwise in effect.

4 years agoMove setting never_frosh on the terminal to term_data_link() since the other one...
Eric Branlund [Fri, 6 Sep 2019 18:10:56 +0000 (11:10 -0700)]
Move setting never_frosh on the terminal to term_data_link() since the other one-time only settings are there.

4 years agoDisable notifications about row flushes since nothing is done for them.
Eric Branlund [Thu, 5 Sep 2019 22:15:07 +0000 (15:15 -0700)]
Disable notifications about row flushes since nothing is done for them.

4 years agoIn the English version, the displayed player level in the main window wasn't aligned...
Eric Branlund [Thu, 5 Sep 2019 21:10:24 +0000 (14:10 -0700)]
In the English version, the displayed player level in the main window wasn't aligned with the stats below it.

4 years agoModified so that using an unidentified staff from the pack delays reordering of the...
Eric Branlund [Thu, 5 Sep 2019 20:35:56 +0000 (13:35 -0700)]
Modified so that using an unidentified staff from the pack delays reordering of the pack so that charge will be deducted from the correct item.

4 years agoIn English version, a store's page indicator cuts off the last character of "Item...
Eric Branlund [Thu, 5 Sep 2019 01:43:13 +0000 (18:43 -0700)]
In English version, a store's page indicator cuts off the last character of "Item Description".

4 years agoModified so that zapping an unidentified wand from the pack will deduct the charge...
Eric Branlund [Wed, 4 Sep 2019 17:07:32 +0000 (10:07 -0700)]
Modified so that zapping an unidentified wand from the pack will deduct the charge from the correct item.

4 years agoAdjust so eating an unidentified piece of food from the pack removes that piece of...
Eric Branlund [Wed, 4 Sep 2019 15:16:33 +0000 (08:16 -0700)]
Adjust so eating an unidentified piece of food from the pack removes that piece of food and not something else.

4 years agoAdjust so reading an unidentified scroll from the pack removes that scroll and not...
Eric Branlund [Wed, 4 Sep 2019 06:36:04 +0000 (23:36 -0700)]
Adjust so reading an unidentified scroll from the pack removes that scroll and not another scroll.

4 years agoRemoved push_pixel(), crack_rect(), and push_options() since they were no longer...
Eric Branlund [Tue, 3 Sep 2019 20:56:27 +0000 (13:56 -0700)]
Removed push_pixel(), crack_rect(), and push_options() since they were no longer being used.

4 years agoIn Term_pict_cocoa(), update the destination rectangle if more than one tile is drawn...
Eric Branlund [Tue, 3 Sep 2019 20:24:54 +0000 (13:24 -0700)]
In Term_pict_cocoa(), update the destination rectangle if more than one tile is drawn.  Removed rounding of the destination rectangle borders since the tile size has been rounded already.  Set the bounding rectangle for the changed area to encompass the full range drawn and not just the first tile.

4 years agoChanged strategy for handling text drawing: use a clipping rectangle to cut off...
Eric Branlund [Tue, 3 Sep 2019 16:48:00 +0000 (09:48 -0700)]
Changed strategy for handling text drawing:  use a clipping rectangle to cut off stuff that could get left behind and not get cleared, round the tile size up to an integer number of pixels so that the clipping/clearing rectangles are aligned on pixel boundaries, and, when computing the tile size or ascenders/descenders add a bit of padding to account for subpixel positioning or antialiasing in the glyph rendering.  This does not handle the calligraphic fonts (Snell Roundhand, Trattatello, Zapfino) well since the bounding box in x for some characters extends far beyond the advance.  That leads to at least three artifacts:  a character at the beginning or end of a rendered sequence can be noticeably clipped by the clipping rectangle, clearing problems in the middle of a sequence where a character extends into its neighbor and while that character changes the neighbor does not so the extension isn't cleared, and clearing artifacts at the end of a sequence (did not determine the exact cause for those).  To resolve those, would likely need to record what changes need to be made in Term_text_cocoa() and Term_wipe_cocoa() and then apply them all at once (going at least one past the ends of the changes to handle how the characters extend into their neighbors) in the TERM_XTRA_FRESH case in Term_xtra_cocoa().

4 years agoIn preparation for some more changes which will need the graphics context in Term_tex...
Eric Branlund [Tue, 3 Sep 2019 16:41:59 +0000 (09:41 -0700)]
In preparation for some more changes which will need the graphics context in Term_text_cocoa(), record the context returned by lockFocus() and, since it's available, pass it to drawWChar() so that drawWChar() doesn't need to make additional calls to get it.

4 years agoWhen increasing a stat, use "more" rather than "less" in the English message.
Eric Branlund [Tue, 3 Sep 2019 02:32:56 +0000 (19:32 -0700)]
When increasing a stat, use "more" rather than "less" in the English message.

4 years agoReplaced current_world_ptr->game_turn with turn in comments where the latter makes...
Eric Branlund [Tue, 3 Sep 2019 02:20:33 +0000 (19:20 -0700)]
Replaced current_world_ptr->game_turn with turn in comments where the latter makes more sense.

4 years agoSaw clearing artifacts along the tops of characters with the Rockwell and "DIN Conden...
Eric Branlund [Fri, 30 Aug 2019 22:56:12 +0000 (15:56 -0700)]
Saw clearing artifacts along the tops of characters with the Rockwell and "DIN Condensed" fonts in 10.14.  In both, the top of the bounding box for "@" relative to the baseline is above the reported ascent for the font.  To avoid the clearing artifacts, get the overall bounding box for the glyphs examined in updateGlyphInfo() and override the reported ascent and descent if the bounding box goes beyond that range.  There are still clearing artifacts with the "Snell Roundhand" and Zapfino fonts in 10.14, but those artifacts are on the righthand side of "@" and not along the top.

4 years agoReplaced "tiles set" with "tile set" in error message.
Eric Branlund [Fri, 30 Aug 2019 22:51:40 +0000 (15:51 -0700)]
Replaced "tiles set" with "tile set" in error message.

4 years agoChanged "current_world_ptr->game_turn" to "turn" in comments where it seemed like...
Eric Branlund [Fri, 30 Aug 2019 22:38:38 +0000 (15:38 -0700)]
Changed "current_world_ptr->game_turn" to "turn" in comments where it seemed like "turn" was what was intended.

4 years agoReplaced "current_world_ptr->game_turn" with "turn" in English messages to the player...
Eric Branlund [Fri, 30 Aug 2019 22:00:33 +0000 (15:00 -0700)]
Replaced "current_world_ptr->game_turn" with "turn" in English messages to the player where "turn" seemed like the intended word.

4 years agoEnglish message has swapped order for string and integer parameters but was given...
Eric Branlund [Fri, 30 Aug 2019 21:13:53 +0000 (14:13 -0700)]
English message has swapped order for string and integer parameters but was given them in the same order as the Japanese message.  Fixed.

4 years agoEnglish message is missing string argument. Added it.
Eric Branlund [Fri, 30 Aug 2019 21:12:07 +0000 (14:12 -0700)]
English message is missing string argument.  Added it.

4 years agoEnglish message was missing a string argument causing a segmentation fault when displ...
Eric Branlund [Fri, 30 Aug 2019 21:10:40 +0000 (14:10 -0700)]
English message was missing a string argument causing a segmentation fault when displayed.  Fixed.

4 years agoDon't create lib/xtra in the application bundle since rules in lib will do so.
Eric Branlund [Thu, 29 Aug 2019 20:03:32 +0000 (13:03 -0700)]
Don't create lib/xtra in the application bundle since rules in lib will do so.

4 years agoRemove designable_translated.nib since it was mistakenly included (was a copy of...
Eric Branlund [Wed, 28 Aug 2019 01:29:18 +0000 (18:29 -0700)]
Remove designable_translated.nib since it was mistakenly included (was a copy of designable.nib while going through and putting in translations for menu labels).

4 years agoLocalized the one case where main-cocoa.m sends a string through the z-term interface...
Eric Branlund [Tue, 27 Aug 2019 19:30:09 +0000 (12:30 -0700)]
Localized the one case where main-cocoa.m sends a string through the z-term interface.  To handle that, adjusted the make rules so main-cocoa.m gets processed by gcc-wrap.  Since automake issued a warning when OBJCCOMPILE was set only in the condition part for Cocoa builds, it is set, along with COMPILE, regardless of whether building the Cocoa version.

4 years agoChanged the recommended destination for bug reports to match that listed in lib/file...
Eric Branlund [Tue, 27 Aug 2019 19:26:42 +0000 (12:26 -0700)]
Changed the recommended destination for bug reports to match that listed in lib/file/news.txt.

4 years agoCorrections for compiler errors introduced by commit 9843a18bde263d35049e3a19056fbb4e...
Eric Branlund [Tue, 27 Aug 2019 19:23:17 +0000 (12:23 -0700)]
Corrections for compiler errors introduced by commit 9843a18bde263d35049e3a19056fbb4e8f980eba when the source had been configured with Japanese disabled.

4 years agoThese are the message catalogs and changes to the installation rules that should...
Eric Branlund [Tue, 27 Aug 2019 19:21:40 +0000 (12:21 -0700)]
These are the message catalogs and changes to the installation rules that should been included with commit 3f92bafc41eef036e71bff827c03041413eb4cda.

4 years agoLocalized the two alert dialogs that are displayed. I believe that finishes the...
Eric Branlund [Tue, 27 Aug 2019 17:27:36 +0000 (10:27 -0700)]
Localized the two alert dialogs that are displayed.  I believe that finishes the user-facing text that doesn't go through the Angband term display.  The alert dialogs were also changed to use NSAlert since NSRunAlertPanel was deprecated in 10.10 and NSAlert has been available since 10.3.

4 years agoCommit 98de7b628e457c82a9607f3d1fb7b1ed266d7d86 for rendering Japanese characters...
Eric Branlund [Tue, 27 Aug 2019 17:22:44 +0000 (10:22 -0700)]
Commit 98de7b628e457c82a9607f3d1fb7b1ed266d7d86 for rendering Japanese characters left off a necessary ++i to avoid an infinite loop.

4 years agoUse the Angband global, angband_term_name, as the source for the terminal names so...
Eric Branlund [Tue, 27 Aug 2019 17:12:38 +0000 (10:12 -0700)]
Use the Angband global, angband_term_name, as the source for the terminal names so that they are consistent with what is shown by Angband's command to configure the contents of the terminals.

4 years agoWhen the JP preprocessor macro is set, detect and render EUC-JP encoded characters...
Eric Branlund [Tue, 27 Aug 2019 17:07:21 +0000 (10:07 -0700)]
When the JP preprocessor macro is set, detect and render EUC-JP encoded characters in Term_text_cocoa().

4 years agoAdded comments for some of the methods the application delegate implements from NSObj...
Eric Branlund [Tue, 27 Aug 2019 00:06:29 +0000 (17:06 -0700)]
Added comments for some of the methods the application delegate implements from NSObject and how the application delegate declaration will eventually have to change because of a dperecation in 10.14.

4 years agoUpdated the makefile rules to install the Japanese localization.
Eric Branlund [Mon, 26 Aug 2019 23:39:57 +0000 (16:39 -0700)]
Updated the makefile rules to install the Japanese localization.

4 years agoAdded a Japanese localization for the Mac OS X cocoa interface. It will likely need...
Eric Branlund [Mon, 26 Aug 2019 23:32:52 +0000 (16:32 -0700)]
Added a Japanese localization for the Mac OS X cocoa interface.  It will likely need tidying up by someone who can speak the language.  I didn't find out how to separate the localizable strings from the rest of the nib file, so the full nib file was copied to ja.lproj, the relevant strings in designable.nib changed, and then the nib directory for ja.lproj was opened and saved in XCode to get the updated keyedobjects.nib.

4 years agoSo the dynamically added entries in the Command and Graphics menu can be localized...
Eric Branlund [Mon, 26 Aug 2019 23:28:19 +0000 (16:28 -0700)]
So the dynamically added entries in the Command and Graphics menu can be localized, look up the name to use in either CommandMenu.strings (for the Command menu) or GraphicsMenu.strings (for the Graphics menu).  Those files are kept in the <language_code>.lproj directory of the application bundle.

4 years agoForgot to include the nib files in commit e24ebf8eb45351cf7fad395339a92df93d0e3522...
Eric Branlund [Mon, 26 Aug 2019 23:25:58 +0000 (16:25 -0700)]
Forgot to include the nib files in commit e24ebf8eb45351cf7fad395339a92df93d0e3522.  Here they are.

4 years agoSince localization to Japanese should be supported, don't test instead for the name...
Eric Branlund [Mon, 26 Aug 2019 23:16:55 +0000 (16:16 -0700)]
Since localization to Japanese should be supported, don't test instead for the name of the graphics menu in menuNeedsUpdate(), instead test against a reference to the graphics menu stored in the application delegate.  Modified the nib file to handle that.

4 years agoIf asked by the OS to open a file, pass FALSE to new_game().
Eric Branlund [Mon, 26 Aug 2019 23:12:31 +0000 (16:12 -0700)]
If asked by the OS to open a file, pass FALSE to new_game().

4 years agoSet up file-level constants for the keys to look up the frame rate and graphics mode...
Eric Branlund [Mon, 26 Aug 2019 23:10:21 +0000 (16:10 -0700)]
Set up file-level constants for the keys to look up the frame rate and graphics mode in the user settings.

4 years agoHengband does not appear to have the equivalent of Angband's "List Monsters" and...
Eric Branlund [Mon, 26 Aug 2019 23:06:23 +0000 (16:06 -0700)]
Hengband does not appear to have the equivalent of Angband's "List Monsters" and "List Items" commands so do not put those in the Command menu.

4 years agoModified configure.ac to add a --enable-cocoa option which builds the new Mac OS...
Eric Branlund [Mon, 26 Aug 2019 02:31:53 +0000 (19:31 -0700)]
Modified configure.ac to add a --enable-cocoa option which builds the new Mac OS X interface.  Modified readme_eng.txt to briefly describe how the installation could be done on OS X.  Changed the Makefile.am files so that make install will assembled a directory tree, called hengband.app, which can be used as a Mac application.

4 years agoAdded Visual Studio files to the list of files to distribute. Should the markdown...
Eric Branlund [Mon, 26 Aug 2019 01:51:38 +0000 (18:51 -0700)]
Added Visual Studio files to the list of files to distribute.  Should the markdown and doxygen files be distributed as well?

4 years agoWhen installing to the top-level of the sources, have configure substitute the curren...
Eric Branlund [Mon, 26 Aug 2019 01:43:32 +0000 (18:43 -0700)]
When installing to the top-level of the sources, have configure substitute the current working directory for configure rather than "..":  the former makes it easier to write the installation rules for stuff that isn't one directory below the top-level directory.

4 years agoCHanged version to match H_VER_* in defines.h.
Eric Branlund [Mon, 26 Aug 2019 01:36:12 +0000 (18:36 -0700)]
CHanged version to match H_VER_* in defines.h.

4 years agoThis is the result of merging in what the current Angband, 4.2, has for main-cocoa...
Eric Branlund [Mon, 26 Aug 2019 00:29:52 +0000 (17:29 -0700)]
This is the result of merging in what the current Angband, 4.2, has for main-cocoa.m and hacking the result to work with Hengband.  Since the key handling in Hengband is not like what Angband and poschengband have, adopted a strategy similar to what's used in main-win.c and main-mac.c:  keys that fall in the ASCII range (0 - 127) get sent as is, certain special keys are mapped to the equivalent in the original keyet (arrow keys going to '2', '4', '6', '8'; help function key to '?'; delete function key to '\b'; return and keypad enter to '\r'; escape, tab, and delete to '\033', '\t', and '\b', respectively), others are converted to a macro trigger which includes the modifiers and two characters encoding the key, still others just get mapped to a null character before sending since it wasn't clear to me that it was possible to encode the 16-bit value that the application gets for the key into something that would fit in a macro trigger.  Another significant change from the poschengband/Angband version is that their use of overdraws had a bad artifacts when used without modification.  I ended up dropping the overdraws and instead use a slightly larger clear rectangle in Term_text_cocoa() and use the same logic for the clear rectangle in Term_wipe_cocoa() as in Term_text_cocoa().

4 years agoThe NIB file was opened in XCode 10.3, modified, and saved. The settings for it...
Eric Branlund [Mon, 26 Aug 2019 00:18:09 +0000 (17:18 -0700)]
The NIB file was opened in XCode 10.3, modified, and saved.  The settings for it were "opens in Latest Xcode (10.0)" and "builds for macOS 10.6 and Later" so this modified version probably won't open in earlier versions of Xcode.  The changes made to the main menu were:  changed Angband to Hengband in menu strings, changed "Edit Font" to "Choose Font..." since the latter seemed to better indicate what the item does, folded the "Animation speed" menu into the "Settings" menu and renamed it "Frame Rate", changed the entries in that menu to use "per second" rather than "fps", changed the first entry in the "Frame Rate" menu to be "Unlimited (no animation)" rather than "Infinite (no animation)", and added a "Toggle Sound" entry in the Settings menu which targets a new action on the AppDelegate.

4 years agoRenamed Angband_Icons.icns to hengband_Icons.icns since that will make the installati...
Eric Branlund [Mon, 26 Aug 2019 00:10:32 +0000 (17:10 -0700)]
Renamed Angband_Icons.icns to hengband_Icons.icns since that will make the installation rules simpler.  The icons themselves are still the same and have not been customized for Hengband.

4 years agoMoved English.lproj to en.lproj and changed the language code in Angband-Cocoa.xml...
Eric Branlund [Mon, 26 Aug 2019 00:04:00 +0000 (17:04 -0700)]
Moved English.lproj to en.lproj and changed the language code in Angband-Cocoa.xml from English to en.  Evidently in Mac OS X 10.4 there was a change to prefer the ISO 639-1 codes (i.e. "en") and mark the verbose ones ("English") as deprecated.  That said, Mac OS X 10.14 didn't complain about the use of "English" instead of "en".

4 years agoRemoved .deps files from the files imported from poschengband to support a Cocoa...
Eric Branlund [Sun, 25 Aug 2019 23:59:38 +0000 (16:59 -0700)]
Removed .deps files from the files imported from poschengband to support a Cocoa interface on OS X.  Also removed the binary localization file, English.lproj/InfoPlist.strings.

4 years agoImported a Mac OS X Cocoa interface from poschengband , https://github.com/NickMcConn...
Eric Branlund [Sun, 25 Aug 2019 23:45:58 +0000 (16:45 -0700)]
Imported a Mac OS X Cocoa interface from poschengband , https://github.com/NickMcConnell/poschengband , since that should be closer to Hengband than the current Angband.  The files were grabbed in August 2019, but most of the files date from far earlier than that.  The related commit numbers are:  5b6dca1 for main-cocoa.m and cocoa/Angband-Cocoa.xml ; d8e30ff for cocoa/Angband_Icons.icns, cocoa/CommandMenu.plist, cocoa/Data.icns, cocoa/Edit.icns, cocoa/Save.icns, cocoa/English.lproj/InfoPlist.strings, cocoa/English.lproj/MainMenu.nib/designable.nib, and cocoa/English.lproj/MainMenu.nib/keyedobjects.nib.

4 years agoIn preparation for adding a new Mac interface which will define a preprocessor macro...
Eric Branlund [Sun, 25 Aug 2019 22:44:33 +0000 (15:44 -0700)]
In preparation for adding a new Mac interface which will define a preprocessor macro, MACH_O_COCOA, modified the header and source files where that preprocessor macro would be relevant.  The new Mac interface doesn't try to use things like creator codes (OS X still accepts them but no longer does anything with them) so there are places where the Mac interface doesn't follow what's set for MACH_O_CARBON.  Did not use MACH_O_CARBON for the new interface in case there's still interest for compiling Hengband for Macs running older versions of OS X.

4 years agoIn preparation for adding a new Mac interface, changed prototype of init_file_paths...
Eric Branlund [Sun, 25 Aug 2019 16:56:32 +0000 (09:56 -0700)]
In preparation for adding a new Mac interface, changed prototype of init_file_paths() to take three paths, all read-only, for cases where a system does not want to store everything in lib.  That brings over a change that was made in poschengband.  Pass the same path for all three to get the same effect as the previous version of create_init_paths().  Added create_needed_dirs() so those platforms which do store things separately can create the writeable directories if they do not already exist.  Modified main-win.c and main-mac.c to match the form of create_needed_dirs().  For main.c, changed it to match the new form of init_needed_paths() and replaced the private function which handled creating directories for the PRIVATE_USER_PATH case to use create_needed_dirs() instead.

4 years agoRemoved comment that appeared to be extraneous: it was not related to the nearby...
Eric Branlund [Sun, 25 Aug 2019 16:30:54 +0000 (09:30 -0700)]
Removed comment that appeared to be extraneous: it was not related to the nearby code.

4 years agoAdded graf field since Hengband does not ANGBAND_GRAF to store the preference file...
Eric Branlund [Sun, 25 Aug 2019 16:13:18 +0000 (09:13 -0700)]
Added graf field since Hengband does not ANGBAND_GRAF to store the preference file name.

4 years agoAdded comment about how Hengband handles the directory for the tile sets and where...
Eric Branlund [Sun, 25 Aug 2019 16:10:34 +0000 (09:10 -0700)]
Added comment about how Hengband handles the directory for the tile sets and where it puts the prf files.

4 years agoCommented out the tile sets which don't already have .prf files in Hengband.
Eric Branlund [Sun, 25 Aug 2019 16:08:55 +0000 (09:08 -0700)]
Commented out the tile sets which don't already have .prf files in Hengband.

4 years agoBrought over the tile set configuration file lib/tiles/list.txt from Angband and...
Eric Branlund [Sun, 25 Aug 2019 16:02:00 +0000 (09:02 -0700)]
Brought over the tile set configuration file lib/tiles/list.txt from Angband and the two tile sets, lib/tiles/adam-bolt/16x16.png and lib/tiles/old/8x8.png, that Angband uses that are also used by Hengband.  For placement in the Hengband directory, replace "lib/tiles" in the path names with "lib/xtra/graf".  Did not bring over Angband's prf files for the two tile sets:  use Hengband's versions in lib/pref.

4 years agoSince ANGBAND_GRAF in Hengband is not the preference file name, added an extra field...
Eric Branlund [Sun, 25 Aug 2019 07:30:24 +0000 (00:30 -0700)]
Since ANGBAND_GRAF in Hengband is not the preference file name, added an extra field in the configuration to be what ANGBAND_GRAF will be assigned for a tile set.  Largely replaced the implementation in grafmode.c with something that will work with Hengband's routines.  If Hengband chooses to adopt the datafile.h/datafile.c parsing from Angband, then it would make sense to go back to Angband's version of grafmode.c.

4 years agoFor now, keep the GRAPHICS_NONE preprocessor macro in defines.h: comment out the...
Eric Branlund [Sun, 25 Aug 2019 07:12:15 +0000 (00:12 -0700)]
For now, keep the GRAPHICS_NONE preprocessor macro in defines.h:  comment out the equivalent definition in grafmode.h.

4 years agoAdded comment to explain relationship with the rest of Hengband.
Eric Branlund [Sun, 25 Aug 2019 07:10:52 +0000 (00:10 -0700)]
Added comment to explain relationship with the rest of Hengband.

4 years agoImported from Angband 4 to support an OS X main program, main-cocoa.m, which expected...
Eric Branlund [Sun, 25 Aug 2019 07:01:57 +0000 (00:01 -0700)]
Imported from Angband 4 to support an OS X main program, main-cocoa.m, which expected that style of tile set configuration.  These are the upstream versions, commit 6cbfed5 for grafmode.c and commit 6583275 for grafmode.h in the angband/angband respository, https://github.com/angband/angband .

4 years agoAfter running ./configure, make distcheck fails: it uses a VPATH build where the...
Eric Branlund [Sun, 25 Aug 2019 06:23:02 +0000 (23:23 -0700)]
After running ./configure, make distcheck fails:  it uses a VPATH build where the build directory is separate from the sources.  Using $(srcdir)/gcc-wrap instead of ./gcc-wrap fixes that while still allowing builds in the same directory as the source.

4 years agoAdded gcc-wrap to the list of files to distribute in Makefile.am.
Eric Branlund [Sun, 25 Aug 2019 06:14:41 +0000 (23:14 -0700)]
Added gcc-wrap to the list of files to distribute in Makefile.am.

4 years agoAfter running ./configure, make distcheck would fail because src/Makefile.am listed...
Eric Branlund [Sun, 25 Aug 2019 06:11:14 +0000 (23:11 -0700)]
After running ./configure, make distcheck would fail because src/Makefile.am listed the non-existent file, monster-process.h as a source.  Fixed.

4 years agoAfter running ./configure, make dist generates a distribution without lib/sound/readm...
Eric Branlund [Sun, 25 Aug 2019 05:49:41 +0000 (22:49 -0700)]
After running ./configure, make dist generates a distribution without lib/sound/readme.txt and the individual sound files.  Added those to the list of files to distribute.  Call out se_maoudamashii_voice_monster01.wav separately since it isn't mentioned in sound.cfg.

4 years agoAfter running ./configure, make dist generates a distribution missing lib/xtra/music...
Eric Branlund [Sun, 25 Aug 2019 05:47:51 +0000 (22:47 -0700)]
After running ./configure, make dist generates a distribution missing lib/xtra/music/music.cfg.  Added it to the list of files to distribute since src/win-main.c references it.

4 years agoAfter running ./configure, make dist generates a distribution missing lib/pref/graf...
Eric Branlund [Sun, 25 Aug 2019 05:45:22 +0000 (22:45 -0700)]
After running ./configure, make dist generates a distribution missing lib/pref/graf-ne2.prf.   Fixed.

4 years agoAfter running ./configure. make dist generates a distribution without lib/help/faq...
Eric Branlund [Sun, 25 Aug 2019 05:43:15 +0000 (22:43 -0700)]
After running ./configure.  make dist generates a distribution without lib/help/faq.txt.  Fixed.

4 years agoAfter running ./configure, make dist generated a distribution without lib/file/sname...
Eric Branlund [Sun, 25 Aug 2019 05:41:07 +0000 (22:41 -0700)]
After running ./configure, make dist generated a distribution without lib/file/sname.txt.  Fixed.

4 years agoAfter using ./configure, make dist generated a distribution without lib/edit/q0dumpwi...
Eric Branlund [Sun, 25 Aug 2019 05:37:59 +0000 (22:37 -0700)]
After using ./configure, make dist generated a distribution without lib/edit/q0dumpwitness.txt.  Fixed.

4 years agoCorrected English message for typo ("powerfull" instead of "powerful") and subjet...
Eric Branlund [Sun, 25 Aug 2019 05:20:09 +0000 (22:20 -0700)]
Corrected English message for typo ("powerfull" instead of "powerful") and subjet/verb agreement.  It still is a bit garbled, but I'm reluctant to reword it without knowing what the Japanese version says.

4 years agoCorrected typo ("enugh" instead of "enough") in English message.
Eric Branlund [Sun, 25 Aug 2019 05:16:55 +0000 (22:16 -0700)]
Corrected typo ("enugh" instead of "enough") in English message.

4 years agoIn English inventory display, ranged weapons have the string "/current_world_ptr...
Eric Branlund [Sun, 25 Aug 2019 05:13:00 +0000 (22:13 -0700)]
In English inventory display, ranged weapons have the string "/current_world_ptr->game_turn" in the damage summary.  Changed that to "/turn" instead.

4 years agoThe English prompt to select a stat to boost at level 10 uses the same letter, 'a...
Eric Branlund [Sun, 25 Aug 2019 05:00:55 +0000 (22:00 -0700)]
The English prompt to select a stat to boost at level 10 uses the same letter, 'a', for each stat.  Changed to used 'a' through 'f'.

4 years agoCorrected compiler warnings (long format specifier with int parameter) when the ...
Eric Branlund [Sun, 25 Aug 2019 04:35:46 +0000 (21:35 -0700)]
Corrected compiler warnings (long format specifier with int parameter) when the  source is configured with --disable-japanese and built with Apple's cc (version 10.0.1).

4 years agoCorrected compiler warning (unrecognized escape sequence) when the source is configur...
Eric Branlund [Sun, 25 Aug 2019 04:32:37 +0000 (21:32 -0700)]
Corrected compiler warning (unrecognized escape sequence) when the source is configured with --disable-japanese and compiled with Apple's cc (version 10.0.1).

4 years agoMakefile.am did not include term.c and term.h in the sources leading to a missing...
Eric Branlund [Sun, 25 Aug 2019 03:57:02 +0000 (20:57 -0700)]
Makefile.am did not include term.c and term.h in the sources leading to a missing object when linking.  Fixed.

4 years agoAfter configuring with ./configure --disable-japanese, linking failed due to missing...
Eric Branlund [Sun, 25 Aug 2019 03:51:54 +0000 (20:51 -0700)]
After configuring with ./configure --disable-japanese, linking failed due to missing objects.  Escaping a newline in src/Makefile.am fixes most of those.

4 years agoOn OS X 10.14.6 with Apple's cc, version 10.0.1, there were some compiler errors...
Eric Branlund [Sun, 25 Aug 2019 03:46:45 +0000 (20:46 -0700)]
On OS X 10.14.6 with Apple's cc, version 10.0.1, there were some compiler errors after the source was configured with --disable-japanese.  These changes eliminate those errors.

5 years ago[fix] #37353 "floor" 変数がリリースビルド時のmath.hと重複していたので修正。
deskull [Wed, 10 Apr 2019 10:50:13 +0000 (19:50 +0900)]
[fix] #37353 "floor" 変数がリリースビルド時のmath.hと重複していたので修正。

5 years ago[Fix] #37285 ティボルトのUNIQUE属性付加忘れを修正。
deskull [Wed, 3 Apr 2019 14:57:16 +0000 (23:57 +0900)]
[Fix] #37285 ティボルトのUNIQUE属性付加忘れを修正。

5 years ago[fix] #38790 チャージマンが分裂処理とあやしい影の時はジュラル星人と誤認しないよう処理を追加。
deskull [Wed, 3 Apr 2019 14:51:42 +0000 (23:51 +0900)]
[fix] #38790 チャージマンが分裂処理とあやしい影の時はジュラル星人と誤認しないよう処理を追加。

5 years ago[Refactor] #39076 /* Check for quest completion */ と /* Reset sleep counter */ を削除。
deskull [Wed, 3 Apr 2019 00:28:42 +0000 (09:28 +0900)]
[Refactor]  #39076 /* Check for quest completion */ と /* Reset sleep counter */ を削除。

5 years ago[Refactor] monster_name() で一部 cmd2.c の投擲対象処理を整理。
deskull [Wed, 3 Apr 2019 00:07:06 +0000 (09:07 +0900)]
[Refactor] monster_name() で一部 cmd2.c の投擲対象処理を整理。

5 years ago[Refactor] #37353 chest_traps を trap.c へ移動。
deskull [Tue, 2 Apr 2019 14:51:36 +0000 (23:51 +0900)]
[Refactor] #37353 chest_traps を trap.c へ移動。

5 years ago[Refactor] #37353 未使用関数宣言 create_name() を削除。
deskull [Tue, 2 Apr 2019 14:42:36 +0000 (23:42 +0900)]
[Refactor] #37353 未使用関数宣言 create_name() を削除。

5 years ago[Refactor] #37353 monster_name() を monster.h へ移動。
deskull [Tue, 2 Apr 2019 14:38:23 +0000 (23:38 +0900)]
[Refactor] #37353 monster_name() を monster.h へ移動。

5 years ago[Refactor] #37353 cmd-mane.h を作成して変数宣言移動。 mane.c を cmd-mane.c に改名。
deskull [Tue, 2 Apr 2019 01:12:25 +0000 (10:12 +0900)]
[Refactor] #37353 cmd-mane.h を作成して変数宣言移動。 mane.c を cmd-mane.c に改名。

5 years ago[Refactor] #37353 cmd-hissatsu.h を作成して変数宣言移動。
deskull [Mon, 1 Apr 2019 23:54:52 +0000 (08:54 +0900)]
[Refactor] #37353 cmd-hissatsu.h を作成して変数宣言移動。

5 years ago[Refactor] #37353 cnv_stat() と modify_stat_value() を player-status.c/h へ移動。
deskull [Mon, 1 Apr 2019 14:40:54 +0000 (23:40 +0900)]
[Refactor] #37353 cnv_stat() と modify_stat_value() を player-status.c/h へ移動。

5 years ago[Refactor] #37353 horror_desc, funny_desc, funny_comments を player-status.c に移動。
deskull [Mon, 1 Apr 2019 14:30:25 +0000 (23:30 +0900)]
[Refactor] #37353 horror_desc, funny_desc, funny_comments を player-status.c に移動。

5 years ago[Refactor] #39076 object-hook.c のコメント一部削除。
deskull [Mon, 1 Apr 2019 14:19:36 +0000 (23:19 +0900)]
[Refactor] #39076 object-hook.c のコメント一部削除。