OSDN Git Service
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.
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.
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.
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.
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.
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.
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.
Eric Branlund [Wed, 26 Aug 2020 16:51:40 +0000 (09:51 -0700)]
Revert "Corrected typo in comment."
This reverts commit
545a73981257c7cf534c6cdacaff2237a2eff870.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Eric Branlund [Sun, 23 Aug 2020 02:15:20 +0000 (19:15 -0700)]
Changed to remove the empty .deps directory in 'make distclean'.
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.
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.
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.
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.
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.
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.
Eric Branlund [Sun, 29 Mar 2020 20:54:36 +0000 (13:54 -0700)]
Corrected typo: "price" instead of the intended "prize".
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.
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.
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.
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.
Eric Branlund [Wed, 25 Mar 2020 07:50:21 +0000 (00:50 -0700)]
Corrected English typo ('Arane' rather than 'Arena' in diary messages).
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.
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.
Eric Branlund [Tue, 24 Mar 2020 15:56:09 +0000 (08:56 -0700)]
Corrected English typo on first birth screen.
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.
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.
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.
Eric Branlund [Fri, 20 Mar 2020 02:35:20 +0000 (19:35 -0700)]
Ported faster rendering strategy for OS X from Angband.
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.
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.
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.
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.
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.
Eric Branlund [Sat, 7 Mar 2020 22:18:08 +0000 (14:18 -0800)]
Changed to use the line from news_j.txt as the Japanese string for the copyright.
Eric Branlund [Sat, 7 Mar 2020 22:02:18 +0000 (14:02 -0800)]
Added instructions about how to set an exception for the hengband application since it is not signed.
Eric Branlund [Sat, 7 Mar 2020 21:54:11 +0000 (13:54 -0800)]
Use "Xcode" rather than "XCode" to be consistent how Apple capitalizes it.
Eric Branlund [Sat, 7 Mar 2020 21:51:51 +0000 (13:51 -0800)]
Changed to 10.8 since the current Cocoa client uses Base internationalization which is supported on 10.8 or later.
Eric Branlund [Sat, 7 Mar 2020 21:50:57 +0000 (13:50 -0800)]
Corrected typo: "Mac OS X 7" instead of the intended "Mac OS X 10.7".
Eric Branlund [Sat, 7 Mar 2020 20:58:36 +0000 (12:58 -0800)]
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).
Eric Branlund [Sat, 7 Mar 2020 20:55:50 +0000 (12:55 -0800)]
Modified comment for init_file_paths to match up with the For2.2.2-Refactoring-Cocoa2 branch.
Eric Branlund [Sat, 7 Mar 2020 20:47:43 +0000 (12:47 -0800)]
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.
Eric Branlund [Sat, 7 Mar 2020 20:43:48 +0000 (12:43 -0800)]
Corrected some comments to match the For2.2.2-Refactoring-Cocoa2 branch.
Eric Branlund [Fri, 6 Mar 2020 23:14:31 +0000 (15:14 -0800)]
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.
Eric Branlund [Fri, 6 Mar 2020 21:21:34 +0000 (13:21 -0800)]
Changing the font or tile set during character generation would cause a crash. Fixed.
Eric Branlund [Fri, 28 Feb 2020 22:16:58 +0000 (14:16 -0800)]
Per hengbandforosx ticket 40203, include the dimensions, as rows and columns, in the title bars for the terminal windows.
Eric Branlund [Fri, 28 Feb 2020 21:39:38 +0000 (13:39 -0800)]
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.
Eric Branlund [Fri, 28 Feb 2020 20:36:11 +0000 (12:36 -0800)]
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.
Eric Branlund [Thu, 27 Feb 2020 19:08:54 +0000 (11:08 -0800)]
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.
Eric Branlund [Thu, 27 Feb 2020 18:52:22 +0000 (10:52 -0800)]
Adjusted Japanese splash screen prompt to match the relabeled menu item for a new game.
Eric Branlund [Wed, 26 Feb 2020 08:54:43 +0000 (00:54 -0800)]
Removed AngbandSoundCatalog's dispose() method: not necessary.
Eric Branlund [Wed, 26 Feb 2020 08:51:54 +0000 (00:51 -0800)]
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.
Eric Branlund [Wed, 26 Feb 2020 08:26:28 +0000 (00:26 -0800)]
Removed function, not called anywhere, that was inadvertently left in the changes for automatic reference counting.
Eric Branlund [Wed, 26 Feb 2020 08:19:45 +0000 (00:19 -0800)]
Corrected typo in comment.
Eric Branlund [Wed, 26 Feb 2020 07:20:36 +0000 (23:20 -0800)]
Since 10.6 is no longer of interest, removed the redeclarations that were used for it.
Eric Branlund [Wed, 26 Feb 2020 06:10:45 +0000 (22:10 -0800)]
Since the user repsonse to the alert dialogs is not used, don't bother storing it.
Eric Branlund [Wed, 26 Feb 2020 06:04:33 +0000 (22:04 -0800)]
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.