Tíquete #39945

For2.2.2-Refactoring: angband_sound_name replacement

: 2020-01-22 02:27 Última Atualização: 2020-01-25 21:42

Relator:
Dono:
Estado:
Aberto [Owner assigned]
Componente:
(Nenhum)
Prioridade:
3
Gravidade:
3
Resolução:
Nenhum
Arquivo:
Nenhum

Details

The removal of angband_sound_name as a global in the For2.2.2-Refactoring branch looks like it will lead to repetition of code (i.e. the definition of angband_sound_name currently in main_win.c) for every front end that wants to support sound. Would it be possible to restore angband_sound_name as a global or introduce a replacement interface which would allow front ends to support sound without each having to repeat the list of standard sound names?

Ticket History (3/3 Histories)

2020-01-22 02:27 Updated by: backwardseric
  • New Ticket "For2.2.2-Refactoring: angband_sound_name replacement" created
2020-01-23 01:01 Updated by: deskull
2020-01-25 21:42 Updated by: deskull
Comentário

I see. Now 'angband_sound_name' is only in main-win.c and main-x11.c. Therefore how about unifying those and moving to util.c/h?

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