OSDN Git Service

hengbandforosx/hengbandosx.git
3 years agoRevert "Changed to NSMenuItem's parentItem (added in 10.6) rather than the locally...
Eric Branlund [Wed, 26 Aug 2020 16:58:35 +0000 (09:58 -0700)]
Revert "Changed to NSMenuItem's parentItem (added in 10.6) rather than the locally declared superitem."

This reverts commit e273b164018da2474055ba69bb6ec26e3210f6b0.

3 years agoRevert "Removed AngbandContext's validateMenuItem since it does not host setGraphicsM...
Eric Branlund [Wed, 26 Aug 2020 16:58:27 +0000 (09:58 -0700)]
Revert "Removed AngbandContext's validateMenuItem since it does not host setGraphicsMode and the application delegate handles the validation."

This reverts commit 63334f3f3e48735e8ae9631591966a3782eaa996.

3 years agoRevert "Removed AngbandContext's endGame since it is not called."
Eric Branlund [Wed, 26 Aug 2020 16:58:13 +0000 (09:58 -0700)]
Revert "Removed AngbandContext's endGame since it is not called."

This reverts commit c4c1bfac7c25b37e3d6276102861262d19eab480.

3 years agoRevert "Changed declaration order and white space in spell_RF6_HASTE and spell_RF6_HE...
Eric Branlund [Wed, 26 Aug 2020 16:58:04 +0000 (09:58 -0700)]
Revert "Changed declaration order and white space in spell_RF6_HASTE and spell_RF6_HEAL to match what's been done in the For2.2.2-Refactoring branch."

This reverts commit 21560138a0905abd2f5b8f5c93e3c9c25460657a.

3 years agoRevert "Corrected error in merge: expanding game_datadir rather than the game_libpat...
Eric Branlund [Wed, 26 Aug 2020 16:57:23 +0000 (09:57 -0700)]
Revert "Corrected error in merge:  expanding game_datadir rather than the game_libpath from the change."

This reverts commit d68b6451677403a7f6e0664db9e4f8f788c6a2ca.

3 years agoRevert "In create_needed_dirs(), don't make ANGBAND_DIR_SCRIPT since with PHO's patch...
Eric Branlund [Wed, 26 Aug 2020 16:57:14 +0000 (09:57 -0700)]
Revert "In create_needed_dirs(), don't make ANGBAND_DIR_SCRIPT since with PHO's patch it isn't one of the directories that may be writable."

This reverts commit 460e955b5524f34bd6c38869c3708a0ac5a70e40.

3 years agoRevert "Changed create_needed_dirs() so that as called by main.c it acts like main...
Eric Branlund [Wed, 26 Aug 2020 16:57:04 +0000 (09:57 -0700)]
Revert "Changed create_needed_dirs() so that as called by main.c it acts like main.c did before the changes I made for init_file_paths():  only attempts to create the user directory when PRIVATE_USER_PATH is set."

This reverts commit cd0db3a857a0812a94bc0f8f62ff6305b79b8c69.

3 years agoRevert "In init.c's dir_create() and create_needed_dirs(), expanded internal fixed...
Eric Branlund [Wed, 26 Aug 2020 16:56:50 +0000 (09:56 -0700)]
Revert "In init.c's dir_create() and create_needed_dirs(), expanded internal fixed-size buffers to match what's used in init_file_paths()."

This reverts commit 52f628e83a13c4e6bf4eb7d3143bb51d5ad35080.

3 years agoRevert "Added comments on preprocessor conditional parts to match what's in the For2...
Eric Branlund [Wed, 26 Aug 2020 16:56:40 +0000 (09:56 -0700)]
Revert "Added comments on preprocessor conditional parts to match what's in the For2.2.2-Refactoring branch."

This reverts commit 0cf7b940d61f7041c0516b179427869b35e19192.

3 years agoRevert "Made white space changes to better match what's in the For2.2.2-Refactoring...
Eric Branlund [Wed, 26 Aug 2020 16:56:31 +0000 (09:56 -0700)]
Revert "Made white space changes to better match what's in the For2.2.2-Refactoring branch."

This reverts commit f335368a82799608f99238a0671c08cef8238534.

3 years agoRevert "Amended fix for minimum content size regression to simplify the code."
Eric Branlund [Wed, 26 Aug 2020 16:56:18 +0000 (09:56 -0700)]
Revert "Amended fix for minimum content size regression to simplify the code."

This reverts commit 067d66e47ba747bbbdce8dc2b10ea0f7d78b6f50.

3 years agoRevert "Protected against CGBitmapContextCreate() failing while loading a tile set."
Eric Branlund [Wed, 26 Aug 2020 16:56:08 +0000 (09:56 -0700)]
Revert "Protected against CGBitmapContextCreate() failing while loading a tile set."

This reverts commit deb013e83091f2b15754766721116c10e13d3ac1.

3 years agoRevert "In case a tile set fails to load, provide feedback to the user in the form...
Eric Branlund [Wed, 26 Aug 2020 16:55:58 +0000 (09:55 -0700)]
Revert "In case a tile set fails to load, provide feedback to the user in the form of an alert dialog and updating which graphics option is marked in the menu."

This reverts commit 2d01414a9600ea1bc557493296b4fdd78561eb33.

3 years agoRevert "Angband 4.2's version of the original tiles, 8x8.png, does not always line...
Eric Branlund [Wed, 26 Aug 2020 16:55:41 +0000 (09:55 -0700)]
Revert "Angband 4.2's version of the original tiles, 8x8.png, does not always line up with Hengband's 8x8.bmp.  Since 8x8.png is used on the Mac, added workarounds in lib/pref/graf-ori.prf which is conditionally included in graf-xxx.prf."

This reverts commit e06236f9b4379fd0c72420ddcb45f0547e5935ff.

3 years agoRevert "Corrected typo in English description for Rhan-Tegoth."
Eric Branlund [Wed, 26 Aug 2020 16:55:31 +0000 (09:55 -0700)]
Revert "Corrected typo in English description for Rhan-Tegoth."

This reverts commit aa1ff7a9f4985854487f88d38ce74b4c6c913fae.

3 years agoRevert "Anband's version of Adam Bolt's tiles does not always line up with Hengband...
Eric Branlund [Wed, 26 Aug 2020 16:55:22 +0000 (09:55 -0700)]
Revert "Anband's version of Adam Bolt's tiles does not always line up with Hengband's version.  Since use Angband's version on the Mac, added workarounds in lib/pref/graf-abt.prf which is conditionally included in graf-new.prf."

This reverts commit b2e701d9c86ef018fa09fe475546ed13c59bfdd4.

3 years agoRevert "Adjusted logic in Term_pict_cocoa() to handle big tile mode."
Eric Branlund [Wed, 26 Aug 2020 16:55:09 +0000 (09:55 -0700)]
Revert "Adjusted logic in Term_pict_cocoa() to handle big tile mode."

This reverts commit 1d123c5c5efc78beaa93d263123fe97150979f4d.

3 years agoRevert "Adjusted logic in query_before_text() to handle big tile mode. query_after_t...
Eric Branlund [Wed, 26 Aug 2020 16:54:59 +0000 (09:54 -0700)]
Revert "Adjusted logic in query_before_text() to handle big tile mode.  query_after_text() does not require modification since it will see the left side, the one marked as a tile, of an area rendered with a tile."

This reverts commit 13a0e2c24a94ae3299a1dbab42dbc629052d6e85.

3 years agoRevert "Load the possible graphics modes before loading the preferences so can approp...
Eric Branlund [Wed, 26 Aug 2020 16:54:49 +0000 (09:54 -0700)]
Revert "Load the possible graphics modes before loading the preferences so can appropriately choose whether or not to enable big tile mode in load_prefs()."

This reverts commit 11168f5d61f1f22276314041244716706840d960.

3 years agoRevert "Adjusted logic in Term_xtra_cocoa_fresh() to support big tile mode."
Eric Branlund [Wed, 26 Aug 2020 16:54:04 +0000 (09:54 -0700)]
Revert "Adjusted logic in Term_xtra_cocoa_fresh() to support big tile mode."

This reverts commit f12c944dd025f3cae5bcd7020105b0ae95f463a4.

3 years agoRevert "Corrected workaround for flower entry."
Eric Branlund [Wed, 26 Aug 2020 16:53:53 +0000 (09:53 -0700)]
Revert "Corrected workaround for flower entry."

This reverts commit 49f62a12c76159651138bcea3f995e36748d3a30.

3 years agoRevert "Added menu item and backing value stored in the preferences to control whethe...
Eric Branlund [Wed, 26 Aug 2020 16:53:44 +0000 (09:53 -0700)]
Revert "Added menu item and backing value stored in the preferences to control whether big tile mode is enabled in the Cocoa front end."

This reverts commit d97d359231982cc5ef4915c0ba0b301fa92716f1.

3 years agoRevert "Changed Cocoa terminal hook prototypes to match those in z-term.h."
Eric Branlund [Wed, 26 Aug 2020 16:53:32 +0000 (09:53 -0700)]
Revert "Changed Cocoa terminal hook prototypes to match those in z-term.h."

This reverts commit 0f66d9f2029f546ca841a2ce6068e509920768c7.

3 years agoRevert "Changed Japanese translation for "New" to match what was suggested in hengban...
Eric Branlund [Wed, 26 Aug 2020 16:53:17 +0000 (09:53 -0700)]
Revert "Changed Japanese translation for "New" to match what was suggested in hengbandforosx ticket 40060; that also matches what Pages uses for "New" (without the ellipsis) in its menus."

This reverts commit 3d4e323165062b24feb6b556062acaa165379d01.

3 years agoRevert "Made beginGame() an instance method of AngbandAppDelegate rather than a class...
Eric Branlund [Wed, 26 Aug 2020 16:53:08 +0000 (09:53 -0700)]
Revert "Made beginGame() an instance method of AngbandAppDelegate rather than a class method for AngbandContext.  That's intended to simplify converting to automatic reference counting (will have access to the AngbandAppDelegate* through self). Made the class methods of AngbandContext which set up directories into file-level static functions (want easy access to them from beginGame but don't need to include them in the AngbandAppDelegate class)."

This reverts commit d40fff86cfaaa9e50cd57661348f43906112ef88.

3 years agoRevert "To make further changes easier (to better match with current Apple documentat...
Eric Branlund [Wed, 26 Aug 2020 16:52:53 +0000 (09:52 -0700)]
Revert "To make further changes easier (to better match with current Apple documentation and code generated with Xcode), converted to automatic reference counting (ARC).  To simplify cleanup, made some plain C structs (the storage for sound and pending changes to a terminal) into Objective-C classes.  For similar reasons, and for better encapsulation, moved some file global variables into classes and promoted some instance variables in AngbandContext to full properties.  For ease of access to the application deleget, made some static functions into instance functions of the application delegate."

This reverts commit 8665f47487e76b7317eca28aa7a5e26bb4223a3d.

3 years agoRevert "To reduce the differences with Angband 4.2's version, initialize new_game...
Eric Branlund [Wed, 26 Aug 2020 16:52:43 +0000 (09:52 -0700)]
Revert "To reduce the differences with Angband 4.2's version, initialize new_game to FALSE and move its declaration."

This reverts commit 1bfcf960b47020bf6c75010d33770bc298e2df0d.

3 years agoRevert "The release notes for Core Foundation say that as of 10.10 the synchronize...
Eric Branlund [Wed, 26 Aug 2020 16:52:25 +0000 (09:52 -0700)]
Revert "The release notes for Core Foundation say that as of 10.10 the synchronize method on the defaults should be avoid in general because it has limited utility.  Therefore, removed the calls to it."

This reverts commit 7e95f0da73e45791ef914da39c7ae9523a13516c.

3 years agoRevert "Since the user repsonse to the alert dialogs is not used, don't bother storin...
Eric Branlund [Wed, 26 Aug 2020 16:52:15 +0000 (09:52 -0700)]
Revert "Since the user repsonse to the alert dialogs is not used, don't bother storing it."

This reverts commit 1e45f48f4ccbe342996486a7a5701f3656a49052.

3 years agoRevert "Since 10.6 is no longer of interest, removed the redeclarations that were...
Eric Branlund [Wed, 26 Aug 2020 16:52:06 +0000 (09:52 -0700)]
Revert "Since 10.6 is no longer of interest, removed the redeclarations that were used for it."

This reverts commit 3e54e9e21f183c1217606e1fe2a7f7ba79f2ffcc.

3 years agoRevert "Corrected typo in comment."
Eric Branlund [Wed, 26 Aug 2020 16:51:40 +0000 (09:51 -0700)]
Revert "Corrected typo in comment."

This reverts commit 545a73981257c7cf534c6cdacaff2237a2eff870.

3 years agoRevert "Removed function, not called anywhere, that was inadvertently left in the...
Eric Branlund [Wed, 26 Aug 2020 16:51:20 +0000 (09:51 -0700)]
Revert "Removed function, not called anywhere, that was inadvertently left in the changes for automatic reference counting."

This reverts commit 6b1bc1848eb1244aa7e0af184f559280145ec3fd.

3 years agoRevert "Changed to do additional cleanup in hook_quit: nuke the terminals and set...
Eric Branlund [Wed, 26 Aug 2020 16:51:11 +0000 (09:51 -0700)]
Revert "Changed to do additional cleanup in hook_quit:  nuke the terminals and set to nil the shared sound catalog and default font for the context."

This reverts commit 641788d32f97f3250a17b1bed9f8196c5f843514.

3 years agoRevert "Removed AngbandSoundCatalog's dispose() method: not necessary."
Eric Branlund [Wed, 26 Aug 2020 16:51:00 +0000 (09:51 -0700)]
Revert "Removed AngbandSoundCatalog's dispose() method:  not necessary."

This reverts commit 5d2181c2531f099fc1d929a0569e16a94b218846.

3 years agoRevert "Adjusted Japanese splash screen prompt to match the relabeled menu item for...
Eric Branlund [Wed, 26 Aug 2020 16:50:51 +0000 (09:50 -0700)]
Revert "Adjusted Japanese splash screen prompt to match the relabeled menu item for a new game."

This reverts commit 5d390b0a230f2544f761f4cdcac89a2047592279.

3 years agoRevert "Position the splash screen prompt in relation to the assumed size of the...
Eric Branlund [Wed, 26 Aug 2020 16:50:38 +0000 (09:50 -0700)]
Revert "Position the splash screen prompt in relation to the assumed size of the splash screen text rather than based on the dimensions of the window so the prompt remains close to the rest of the splash screen text regardless of the window size."

This reverts commit f5ce061e3d3277b49f2cae94f577a1e0220fc8a1.

3 years agoRevert "Use #import (to be more idiomatic with Objective C) rather than #include...
Eric Branlund [Wed, 26 Aug 2020 16:50:27 +0000 (09:50 -0700)]
Revert "Use #import (to be more idiomatic with Objective C) rather than #include for cocoa/AppDelegate.h and quotes (since its not in the system's include path) rather than brackets.  That also lines up the code with Angband's version of main-cocoa.m."

This reverts commit dc476ccd14cca0205a4434e3157524f18cbf8d35.

3 years agoRevert "Create the Angband terminals other than terminal zero as utility panels:...
Eric Branlund [Wed, 26 Aug 2020 16:50:15 +0000 (09:50 -0700)]
Revert "Create the Angband terminals other than terminal zero as utility panels:  makes the title bar thinner.  Also implies some other behavioral changes which are not inconsistent with how those terminals are used.  Addresses the hengbandforosx's ticket 40204."

This reverts commit dc902631e5115d6b8fed8f3b6c12bf28dd161533.

3 years agoRevert "Per hengbandforosx ticket 40203, include the dimensions, as rows and columns...
Eric Branlund [Wed, 26 Aug 2020 16:50:01 +0000 (09:50 -0700)]
Revert "Per hengbandforosx ticket 40203, include the dimensions, as rows and columns, in the title bars for the terminal windows."

This reverts commit aedcfe2fa539be422189618d1df0963a977a23ed.

3 years agoRevert "Changing the font or tile set during character generation would cause a crash...
Eric Branlund [Wed, 26 Aug 2020 16:49:53 +0000 (09:49 -0700)]
Revert "Changing the font or tile set during character generation would cause a crash.  Fixed."

This reverts commit 18c7f306431994887fb0a3be2e5e37973bf4e8a6.

3 years agoRevert "Adopted change from Angband: don't change the window visibility because...
Eric Branlund [Wed, 26 Aug 2020 16:49:42 +0000 (09:49 -0700)]
Revert "Adopted change from Angband:  don't change the window visibility because a window is closed when the application exits.  That fixes an issue in Angband, but Hengband currently doesn't seem to be affected."

This reverts commit e8008879d2cacb4e806a4c2e9492167f0532ba57.

3 years agoRevert "Corrected some comments to match the For2.2.2-Refactoring-Cocoa2 branch."
Eric Branlund [Wed, 26 Aug 2020 16:49:29 +0000 (09:49 -0700)]
Revert "Corrected some comments to match the For2.2.2-Refactoring-Cocoa2 branch."

This reverts commit 3e2207573b998797bc46d87bfa06fbb8fae3ba1b.

3 years agoRevert "Changed to match the For2.2.2-Refactoring-Cocoa2 branch. Put se_maoudamashii...
Eric Branlund [Wed, 26 Aug 2020 16:49:19 +0000 (09:49 -0700)]
Revert "Changed to match the For2.2.2-Refactoring-Cocoa2 branch.  Put se_maoudamashii_voice_monster01.wav with the rest of the sound files though it still isn't mentioned in sound.cfg."

This reverts commit 575767bcb6802c3f72239ea5da3eaa1892c8f43a.

3 years agoRevert "Modified comment for init_file_paths to match up with the For2.2.2-Refactorin...
Eric Branlund [Wed, 26 Aug 2020 16:49:09 +0000 (09:49 -0700)]
Revert "Modified comment for init_file_paths to match up with the For2.2.2-Refactoring-Cocoa2 branch."

This reverts commit 51dce04526e25eb3d428e78bddc6ae5a76b4f656.

3 years agoRevert "Changed the order of the directories in init_file_paths to match what's in...
Eric Branlund [Wed, 26 Aug 2020 16:48:49 +0000 (09:48 -0700)]
Revert "Changed the order of the directories in init_file_paths to match what's in the For2.2.2-Refactoring-Cocoa2 branch (which used the ordering from PHO's patch)."

This reverts commit 00d45514b753d19b181e5fb8a3b9ccd76eda9bbc.

3 years agoRevert "Corrected typo: "Mac OS X 7" instead of the intended "Mac OS X 10.7"."
Eric Branlund [Wed, 26 Aug 2020 16:48:36 +0000 (09:48 -0700)]
Revert "Corrected typo: "Mac OS X 7" instead of the intended "Mac OS X 10.7"."

This reverts commit 3e340b95f6c63d99c2adec8d46d3b7f49725af6f.

3 years agoRevert "Changed to 10.8 since the current Cocoa client uses Base internationalization...
Eric Branlund [Wed, 26 Aug 2020 16:48:25 +0000 (09:48 -0700)]
Revert "Changed to 10.8 since the current Cocoa client uses Base internationalization which is supported on 10.8 or later."

This reverts commit e31fdcc88eee15874da1c2d8b1d958aee4cedcc5.

3 years agoRevert "Use "Xcode" rather than "XCode" to be consistent how Apple capitalizes it."
Eric Branlund [Wed, 26 Aug 2020 16:48:15 +0000 (09:48 -0700)]
Revert "Use "Xcode" rather than "XCode" to be consistent how Apple capitalizes it."

This reverts commit ea3db2680ed6f6c9a86a8d6462612eb9e45e2034.

3 years agoRevert "Added instructions about how to set an exception for the hengband application...
Eric Branlund [Wed, 26 Aug 2020 16:48:02 +0000 (09:48 -0700)]
Revert "Added instructions about how to set an exception for the hengband application since it is not signed."

This reverts commit d807ad7ac7903c76ddb29669cd4aadfebebf2f7e.

3 years agoRevert "Changed to use the line from news_j.txt as the Japanese string for the copyri...
Eric Branlund [Wed, 26 Aug 2020 16:47:51 +0000 (09:47 -0700)]
Revert "Changed to use the line from news_j.txt as the Japanese string for the copyright."

This reverts commit 46d01ef6413eb29b37875a4cb1e0ddd8b9f2608d.

3 years agoRevert "Refactored some tests of the graphics mode. Replaced a direct test of curren...
Eric Branlund [Wed, 26 Aug 2020 16:47:34 +0000 (09:47 -0700)]
Revert "Refactored some tests of the graphics mode.  Replaced a direct test of current_graphics_mode with a call to graphics_are_enabled().  Added an analogue to graphics_are_enabled() which tests the requested graphics mode."

This reverts commit 9ced36561bb8a1fd0f6e54dc1a58283d2abf28ed.

3 years agoRevert "Put the do_cmd_redraw() and wakeup_event_loop() combination in a separate...
Eric Branlund [Wed, 26 Aug 2020 16:47:18 +0000 (09:47 -0700)]
Revert "Put the do_cmd_redraw() and wakeup_event_loop() combination in a separate function.  Also, character_generated always implies game_in_progress, so don't need to test the latter when testing the former."

This reverts commit 6405094c415b57044ac39a5505ff301fafc7ab74.

3 years agoRevert "Changed so the auxiliary windows are not floating panels; otherwise they...
Eric Branlund [Wed, 26 Aug 2020 16:47:04 +0000 (09:47 -0700)]
Revert "Changed so the auxiliary windows are not floating panels; otherwise they're always in front of the main window, which is annoying."

This reverts commit 0aa90418d6e7679c84c61cf7a25ef5037b64d09c.

3 years agoRevert "Changed to user changes to the window size are in increments of the current...
Eric Branlund [Wed, 26 Aug 2020 16:46:51 +0000 (09:46 -0700)]
Revert "Changed to user changes to the window size are in increments of the current width for a column or the current height for a row.  Requires at least 10.3 for NSWindow's contentResizeIncrements."

This reverts commit e4511ee5b7ea994f4d49591d277dda4e0c032a8f.

3 years agoRevert "When calculating the number of columns, round down as is done with the number...
Eric Branlund [Wed, 26 Aug 2020 16:46:37 +0000 (09:46 -0700)]
Revert "When calculating the number of columns, round down as is done with the number of rows:  prefer blank space to partially cut off character in both directions."

This reverts commit 52ba263a6d103607c7ecea7a22f14b594bdf3171.

3 years agoRevert "Ported faster rendering strategy for OS X from Angband."
Eric Branlund [Wed, 26 Aug 2020 16:46:26 +0000 (09:46 -0700)]
Revert "Ported faster rendering strategy for OS X from Angband."

This reverts commit f5c01e4c5732513687c041f017bdfd0f2ef76357.

3 years agoRevert "Corrected spelling in English description of the hatchet of Elmi the Murderer."
Eric Branlund [Wed, 26 Aug 2020 16:46:15 +0000 (09:46 -0700)]
Revert "Corrected spelling in English description of the hatchet of Elmi the Murderer."

This reverts commit 65a562db38dce411c160b280fb1d0efdb30fe6a3.

3 years agoRevert "It's not currently used in hengband, but bring over the change to mouse event...
Eric Branlund [Wed, 26 Aug 2020 16:45:56 +0000 (09:45 -0700)]
Revert "It's not currently used in hengband, but bring over the change to mouse event handling from Angband that prevents clicks on the title bar from being passed to the core."

This reverts commit 2c751de0350284cf64edd6a478436c11a3dfa243.

3 years agoRevert "For consistency, changed English diary entries to use simple past tense....
Eric Branlund [Wed, 26 Aug 2020 16:45:36 +0000 (09:45 -0700)]
Revert "For consistency, changed English diary entries to use simple past tense.  Also omitted the subject in most (since it's implicitly the adventurer).  Made a couple of changes in the diary text to be more idiomatic."

This reverts commit 8953b337cac1d029b77499bd379d5ced01e7b4be.

3 years agoRevert "Corrected English typo on first birth screen."
Eric Branlund [Wed, 26 Aug 2020 16:45:22 +0000 (09:45 -0700)]
Revert "Corrected English typo on first birth screen."

This reverts commit 4fe51f218de881acae95f09ce0d0c9409cfaaee3.

3 years agoRevert "Made "cinder" plural in English message for electric aura to be more idiomatic."
Eric Branlund [Wed, 26 Aug 2020 16:45:12 +0000 (09:45 -0700)]
Revert "Made "cinder" plural in English message for electric aura to be more idiomatic."

This reverts commit 7ee1cf0521a49dcabb143a32f3965b8b5dbe477a.

3 years agoRevert "For the English messages related to damage from the dust robe, changed the...
Eric Branlund [Wed, 26 Aug 2020 16:44:56 +0000 (09:44 -0700)]
Revert "For the English messages related to damage from the dust robe, changed the tense on the destruction message to match the other destruction messages and changed the damage message from "gets zapped" to "gets sliced" to better indicate the nature of the damage."

This reverts commit c47f732bb64b8108760f1a7838f2ceee42f768a0.

3 years agoRevert "Corrected English typo ('Arane' rather than 'Arena' in diary messages)."
Eric Branlund [Wed, 26 Aug 2020 16:44:45 +0000 (09:44 -0700)]
Revert "Corrected English typo ('Arane' rather than 'Arena' in diary messages)."

This reverts commit d925e018d7303bbe973658015e9fd0cf359c2ebd.

3 years agoRevert "Since terminals other than terminal zero are configured to be panels and...
Eric Branlund [Wed, 26 Aug 2020 16:44:34 +0000 (09:44 -0700)]
Revert "Since terminals other than terminal zero are configured to be panels and can not become the main window, test the keyWindow property for deciding where to apply font changes."

This reverts commit 8704d6894245042ab2a57afe9b20929306f9d521.

3 years agoRevert "In the English version, the period at the end of the Trump realm short descri...
Eric Branlund [Wed, 26 Aug 2020 16:43:50 +0000 (09:43 -0700)]
Revert "In the English version, the period at the end of the Trump realm short description wasn't being cleared on the birth realm selection screen (an earlier change made it longer and it then exceeded the length of the string used for clearing).  To fix that, use prt() to clear to the end of the line when displaying the selected realm and realm short description.  Also share more code between the Japanese and English versions for that display."

This reverts commit 0bff6006e9cecf3a4bc1d374f266472176450c45.

3 years agoRevert "Corrected English diary entry about realm selection to put "and" between...
Eric Branlund [Wed, 26 Aug 2020 16:43:40 +0000 (09:43 -0700)]
Revert "Corrected English diary entry about realm selection to put "and" between the realms if there are two and use "realm" or "realms" as appropriate."

This reverts commit c5d50581468f850fa53d67875c3dfefd48c46503.

3 years agoRevert "Changed the English diary entries about the gender and personality selections...
Eric Branlund [Wed, 26 Aug 2020 16:42:45 +0000 (09:42 -0700)]
Revert "Changed the English diary entries about the gender and personality selections so "gender" appears in the one about gender, rather than the "personality" that was there before, and "personality" appears in the one about personality."

This reverts commit 6730981bc799df88895068173a34a8089bdf27e1.

3 years agoRevert "Corrected typo: "price" instead of the intended "prize"."
Eric Branlund [Wed, 26 Aug 2020 16:42:34 +0000 (09:42 -0700)]
Revert "Corrected typo:  "price" instead of the intended "prize"."

This reverts commit d13a083b48dd9ab3b8622e92adb6ddca5ebf1226.

3 years agoRevert "Set player_egid before calling init_angband(). For good measure also set...
Eric Branlund [Wed, 26 Aug 2020 16:42:23 +0000 (09:42 -0700)]
Revert "Set player_egid before calling init_angband().  For good measure also set player_euid as well.  Does not appear to have an effect with Hengband 2.2.1.7 but was necessary with Hengband 1.6.4."

This reverts commit 24e908fc62e39571c6a1bf036b5ad2f2c635a742.

3 years agoRevert "Changed to mark the writeable files directory (~/Documents/Hengband previousl...
Eric Branlund [Wed, 26 Aug 2020 16:41:58 +0000 (09:41 -0700)]
Revert "Changed to mark the writeable files directory (~/Documents/Hengband previously) with a version number (so it's now ~/Documents/Hengband-2.2.1).  That's to make it harder to load an incompatible save file since the plan is to put out the new Mac OS X interface with the old code base, 1.6.2, and presumably at some point put out a version for the code being called 2.2.2."

This reverts commit 8d104a7b16985d94cb97b69032d554134f43f61a.

3 years agoRevert "The setting for big tiles initially shown in the menu wasn't being initialize...
Eric Branlund [Wed, 26 Aug 2020 16:41:47 +0000 (09:41 -0700)]
Revert "The setting for big tiles initially shown in the menu wasn't being initialized from the stored value in the settings and was always shown as big tiles enabled.  Fixed."

This reverts commit 794f7105da2ac47d0d3756b3ffae3bbee7f85fab.

3 years agoRevert "Dropped period in English knowledge menu entry for consistency with the other...
Eric Branlund [Wed, 26 Aug 2020 16:41:34 +0000 (09:41 -0700)]
Revert "Dropped period in English knowledge menu entry for consistency with the other entries."

This reverts commit d72d2685c01c30d77a8767c0cb8ee746f3cf9267.

3 years agoRevert "In Term_pict_cocoa(), step through the passed in arrays in increments of...
Eric Branlund [Wed, 26 Aug 2020 16:41:00 +0000 (09:41 -0700)]
Revert "In Term_pict_cocoa(), step through the passed in arrays in increments of the tile width scaling (i.e. 2 in big tile mode; 1 otherwise).  Does not matter in the current configuration, with always_pict off, but would matter if always_pict was on or if the core terminal code was modified to pass more than one tile at a time when higher_pict is on."

This reverts commit e94ce447fa7197a1267f8699447329f2c67dc526.

3 years agoRevert "Updated comment for create_angband_image() since it no longer looks up the...
Eric Branlund [Wed, 26 Aug 2020 16:40:48 +0000 (09:40 -0700)]
Revert "Updated comment for create_angband_image() since it no longer looks up the path in the bundle directory."

This reverts commit a35cdbb7af051df09bdfadd814e5d4be768c5146.

3 years agoRevert "Changed to remove the empty .deps directory in 'make distclean'."
Eric Branlund [Wed, 26 Aug 2020 16:40:33 +0000 (09:40 -0700)]
Revert "Changed to remove the empty .deps directory in 'make distclean'."

This reverts commit 6cfe2157fd724cbb993aa491308f64023cbd7c41.

3 years agoChanged to remove the empty .deps directory in 'make distclean'.
Eric Branlund [Sun, 23 Aug 2020 02:15:20 +0000 (19:15 -0700)]
Changed to remove the empty .deps directory in 'make distclean'.

3 years agoUpdated comment for create_angband_image() since it no longer looks up the path in...
Eric Branlund [Sat, 15 Aug 2020 06:17:20 +0000 (23:17 -0700)]
Updated comment for create_angband_image() since it no longer looks up the path in the bundle directory.

3 years agoIn Term_pict_cocoa(), step through the passed in arrays in increments of the tile...
Eric Branlund [Sat, 15 Aug 2020 06:05:47 +0000 (23:05 -0700)]
In Term_pict_cocoa(), step through the passed in arrays in increments of the tile width scaling (i.e. 2 in big tile mode; 1 otherwise).  Does not matter in the current configuration, with always_pict off, but would matter if always_pict was on or if the core terminal code was modified to pass more than one tile at a time when higher_pict is on.

4 years agoDropped period in English knowledge menu entry for consistency with the other entries. v2.2.1.7e vmacos2.2.1-7e
Eric Branlund [Thu, 2 Jul 2020 15:50:32 +0000 (08:50 -0700)]
Dropped period in English knowledge menu entry for consistency with the other entries.

4 years agoThe setting for big tiles initially shown in the menu wasn't being initialized from...
Eric Branlund [Mon, 6 Apr 2020 00:33:28 +0000 (17:33 -0700)]
The setting for big tiles initially shown in the menu wasn't being initialized from the stored value in the settings and was always shown as big tiles enabled.  Fixed.

4 years agoChanged to mark the writeable files directory (~/Documents/Hengband previously) with...
Eric Branlund [Mon, 6 Apr 2020 00:18:58 +0000 (17:18 -0700)]
Changed to mark the writeable files directory (~/Documents/Hengband previously) with a version number (so it's now ~/Documents/Hengband-2.2.1).  That's to make it harder to load an incompatible save file since the plan is to put out the new Mac OS X interface with the old code base, 1.6.2, and presumably at some point put out a version for the code being called 2.2.2.

4 years agoSet player_egid before calling init_angband(). For good measure also set player_euid...
Eric Branlund [Sun, 5 Apr 2020 23:58:23 +0000 (16:58 -0700)]
Set player_egid before calling init_angband().  For good measure also set player_euid as well.  Does not appear to have an effect with Hengband 2.2.1.7 but was necessary with Hengband 1.6.4.

4 years agoCorrected typo: "price" instead of the intended "prize".
Eric Branlund [Sun, 29 Mar 2020 20:54:36 +0000 (13:54 -0700)]
Corrected typo:  "price" instead of the intended "prize".

4 years agoChanged the English diary entries about the gender and personality selections so...
Eric Branlund [Sun, 29 Mar 2020 18:43:17 +0000 (11:43 -0700)]
Changed the English diary entries about the gender and personality selections so "gender" appears in the one about gender, rather than the "personality" that was there before, and "personality" appears in the one about personality.

4 years agoCorrected English diary entry about realm selection to put "and" between the realms...
Eric Branlund [Sun, 29 Mar 2020 18:40:34 +0000 (11:40 -0700)]
Corrected English diary entry about realm selection to put "and" between the realms if there are two and use "realm" or "realms" as appropriate.

4 years agoIn the English version, the period at the end of the Trump realm short description...
Eric Branlund [Sun, 29 Mar 2020 17:20:51 +0000 (10:20 -0700)]
In the English version, the period at the end of the Trump realm short description wasn't being cleared on the birth realm selection screen (an earlier change made it longer and it then exceeded the length of the string used for clearing).  To fix that, use prt() to clear to the end of the line when displaying the selected realm and realm short description.  Also share more code between the Japanese and English versions for that display.

4 years agoSince terminals other than terminal zero are configured to be panels and can not... v2.2.1.7d vmacos2.2.1-7d
Eric Branlund [Fri, 27 Mar 2020 03:43:21 +0000 (20:43 -0700)]
Since terminals other than terminal zero are configured to be panels and can not become the main window, test the keyWindow property for deciding where to apply font changes.

4 years agoCorrected English typo ('Arane' rather than 'Arena' in diary messages).
Eric Branlund [Wed, 25 Mar 2020 07:50:21 +0000 (00:50 -0700)]
Corrected English typo ('Arane' rather than 'Arena' in diary messages).

4 years agoFor the English messages related to damage from the dust robe, changed the tense...
Eric Branlund [Tue, 24 Mar 2020 16:03:17 +0000 (09:03 -0700)]
For the English messages related to damage from the dust robe, changed the tense on the destruction message to match the other destruction messages and changed the damage message from "gets zapped" to "gets sliced" to better indicate the nature of the damage.

4 years agoMade "cinder" plural in English message for electric aura to be more idiomatic.
Eric Branlund [Tue, 24 Mar 2020 15:59:57 +0000 (08:59 -0700)]
Made "cinder" plural in English message for electric aura to be more idiomatic.

4 years agoCorrected English typo on first birth screen.
Eric Branlund [Tue, 24 Mar 2020 15:56:09 +0000 (08:56 -0700)]
Corrected English typo on first birth screen.

4 years agoFor consistency, changed English diary entries to use simple past tense. Also omitte...
Eric Branlund [Tue, 24 Mar 2020 04:14:58 +0000 (21:14 -0700)]
For consistency, changed English diary entries to use simple past tense.  Also omitted the subject in most (since it's implicitly the adventurer).  Made a couple of changes in the diary text to be more idiomatic.

4 years agoIt's not currently used in hengband, but bring over the change to mouse event handlin...
Eric Branlund [Sun, 22 Mar 2020 19:02:28 +0000 (12:02 -0700)]
It's not currently used in hengband, but bring over the change to mouse event handling from Angband that prevents clicks on the title bar from being passed to the core.

4 years agoCorrected spelling in English description of the hatchet of Elmi the Murderer.
Eric Branlund [Fri, 20 Mar 2020 03:49:54 +0000 (20:49 -0700)]
Corrected spelling in English description of the hatchet of Elmi the Murderer.

4 years agoPorted faster rendering strategy for OS X from Angband.
Eric Branlund [Fri, 20 Mar 2020 02:35:20 +0000 (19:35 -0700)]
Ported faster rendering strategy for OS X from Angband.

4 years agoWhen calculating the number of columns, round down as is done with the number of...
Eric Branlund [Wed, 18 Mar 2020 06:32:29 +0000 (23:32 -0700)]
When calculating the number of columns, round down as is done with the number of rows:  prefer blank space to partially cut off character in both directions.

4 years agoChanged to user changes to the window size are in increments of the current width...
Eric Branlund [Wed, 18 Mar 2020 05:32:54 +0000 (22:32 -0700)]
Changed to user changes to the window size are in increments of the current width for a column or the current height for a row.  Requires at least 10.3 for NSWindow's contentResizeIncrements.

4 years agoChanged so the auxiliary windows are not floating panels; otherwise they're always...
Eric Branlund [Tue, 10 Mar 2020 01:03:19 +0000 (18:03 -0700)]
Changed so the auxiliary windows are not floating panels; otherwise they're always in front of the main window, which is annoying.

4 years agoPut the do_cmd_redraw() and wakeup_event_loop() combination in a separate function...
Eric Branlund [Mon, 9 Mar 2020 16:19:59 +0000 (09:19 -0700)]
Put the do_cmd_redraw() and wakeup_event_loop() combination in a separate function.  Also, character_generated always implies game_in_progress, so don't need to test the latter when testing the former.

4 years agoRefactored some tests of the graphics mode. Replaced a direct test of current_graphi...
Eric Branlund [Mon, 9 Mar 2020 15:19:33 +0000 (08:19 -0700)]
Refactored some tests of the graphics mode.  Replaced a direct test of current_graphics_mode with a call to graphics_are_enabled().  Added an analogue to graphics_are_enabled() which tests the requested graphics mode.