![]() |
#11 | |
Swordsman
Join Date: Aug 2019
Posts: 434
![]() |
Quote:
The changes to main-cocoa.m, from git format-patch, are attached. They do have the disadvantage of taking up more screen real estate to show the same information: the rectangle for one grid location will typically be two pixels wider and taller than in 4.2.0. The changes also don't do anything to address the request to allow the tile size to be separated from the text size. The profiling results are below. All used an 80 x 24 main window in 13 pt Verdana Bold along with message and inventory windows, both in 10 pt Verdana Bold. The show_target and hp_changes_color display options were on; other system-independent display options were off. The hardware was an early 2015 MacBook Pro (13' Retina, Intel Iris Graphics 6100). The XCode Instruments, either Counters or Time Profiler, were run with the default options. No attempt was made to keep the rendered content the same between runs - the half-troll warrior got progressively deeper in the dungeon and acquired better light sources and telepathy along the way. Code:
% of total time in Term_fresh() and its children Instrument Tiles Run# 4.2.0 Modified Counters None 1 19.7% 11.2% Counters None 2 22.0% 13.8% Counters Original 1 22.2% 17.8% Time Profiler None 1 21.2% 18.1% |
|
![]() |
![]() |
![]() |
#12 | |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 58
Posts: 9,561
Donated: $60
![]() ![]() |
Quote:
While I have the attention of someone with current macOS programming knowledge - I don't suppose you have any idea why the lore.txt and window.prf files are filing to rewrite on Catalina, do you? I suspect it's not liking writing lore.txt.new when lore.txt already exists, but am not sure. I think I have a couple of ideas for a workaround, but any extra info would help.
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
|
![]() |
![]() |
![]() |
#13 | |
Swordsman
Join Date: Aug 2019
Posts: 434
![]() |
Quote:
, has some discussion about what's implicitly allowed for access in ~/Documents and what will trigger a user prompt. The Info.plist key that's described there is listed as optional so I doubt that its absence in Angband's Info.plist is causing the problem. The console messages could indicate which file access is getting blocked (i.e. whether it's writing the *.new version or the renaming) and why a user prompt to allow access doesn't appear. I haven't installed Catalina so that's all the possibly useful information I have. |
|
![]() |
![]() |
![]() |
#14 | |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 58
Posts: 9,561
Donated: $60
![]() ![]() |
Quote:
![]()
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
|
![]() |
![]() |
![]() |
#15 |
Swordsman
Join Date: Jul 2015
Location: Seattle, WA
Posts: 316
![]() |
I still have Catalina installed so if you need me to try something, let me know.
|
![]() |
![]() |
![]() |
Tags |
font size, graphics, text size, tiles |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
v4 osx crash | saarn | v4 | 5 | June 19, 2012 15:50 |
Cocoa build on OSX | Derakon | Development | 9 | December 21, 2011 23:33 |
getting started on OSX | cinereaste | Development | 8 | August 6, 2010 04:13 |
OSX Tileset help? | ZorroRoaster | Variants | 1 | March 31, 2009 00:09 |
Graphics glitch in OSX version | willpax | Vanilla | 5 | January 15, 2009 15:07 |