Tíquete #39517

Version targeting Mac OS X 10.7+ / Mac OSX版対応参考先について

: 2019-08-28 16:26 Última Atualização: 2020-02-23 03:30

Relator:
Dono:
Tipo:
Estado:
Fechado
Componente:
(Nenhum)
Marcos:
(Nenhum)
Prioridade:
1 - Lowest
Gravidade:
1 - Lowest
Resolução:
Nenhum
Arquivo:
Nenhum

Details

Since there was some interest on the English Angband forums, http://angband.oook.cz/forum/showthread.php?t=7755 , for a Mac OS X interface to recent versions of Hengband, I put together one from the Mac OS X code in poschengband and Angband. You can find binaries, either compiled for English or Japanese at http://ebranlun.users.sonic.net/HengbandOSX.html . The source code modifications are at the same site. If it's of interest, I can put the source code into a repository on OSDN.net.

Ticket History (3/7 Histories)

2019-08-28 16:26 Updated by: backwardseric
  • New Ticket "Version targeting Mac OS X 10.7+" created
2019-08-28 23:32 Updated by: deskull
Comentário

Thank you for providing information. We have made a ticket for mac version as #28488 but searching guidance for development quite a while. I should seek English website such as angband.oook.cz. I'll reference or feedback that.

2019-08-28 23:33 Updated by: deskull
  • Dono Update from (Nenhum) to deskull
  • Summary Updated
2019-12-12 22:33 Updated by: backwardseric
Comentário

I've put the source code on OSDN.net: https://osdn.net/projects/hengbandforosx/scm/git/hengbandosx/ . The master branch there is based off of your master branch and has all of my changes: the Cocoa interface, English message changes, and others. If it's of interest, I can create a separate branch which only has the changes relevant to the Cocoa interface relative to your master branch. The For2.2.2-Refactoring-Cocoa branch is based off of your For2.2.2-Refactoring branch. It has changes so that the configure/automake system will work on the Mac, the changes so that the X11 and curses interface will build on the Mac, the changes to the rest of Hengband I made to handle the addition of the Cocoa interface, and the changes for the Cocoa interface itself. I'll try to keep that branch up to date with your changes.

One change in For2.2.2-Refactoring, the removal of angband_sound_name as a global variable, looks like it will lead to repetition of code for every front-end that wants to support sound. Rather than repeat the definition of angband_sound_name from main-win.c in main-x11.c and main-cocoa.m, I commented out the code in main-x11.c and main-cocoa.m that depends on angband_sound_name. It would be nice to have some sort of interface so that main-win.c, main-x11.c, and main-cocoa.m can access the mapping of the sound name to the integer index give by the SOUND_* constant.

2019-12-12 23:59 Updated by: deskull
Comentário

Sorry my poor correspondent and poor English spell.

Still even I know little of Mac Development. Truly glad, and I want to announce your project and contribution at Hengband official. Including previous your ticket and advice, I request your continued support.

2019-12-19 04:11 Updated by: backwardseric
Comentário

Reply To deskull

You don't need to apologize for your English. It's far better than my Japanese. I'll try to provide what support I can for the OS X version.

In the hengbandosx repository, the For2.2.2-Refactoring-All branch incorporates both the changes for English messages and the changes for the updated OS X interface. When you're only interested in the OS X change, the For2.2.2-Refactoring-Cocoa branch is the one to use.

2020-02-23 03:30 Updated by: deskull
  • Estado Update from Aberto to Fechado
Comentário

https://osdn.net/projects/hengbandforosx/simple/

backwardseric氏に本格的にやってもらっているのでチケット完了。

Attachment File List

No attachments

Editar

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login