Important Dates

Latest Posts

Topic: Developer

Nordfriese
Avatar
Joined: 2017-01-17, 18:07
Posts: 2041
OS: Debian Testing
Version: Latest master
Ranking
One Elder of Players
Location: 0x55555d3a34c0
Posted at: Yesterday 20:24

Careful – SoundOptions is shared between both the main menu Options menu (src/ui_fsmenu/options.h) and the in-game GameOptionsSoundMenu. So any changes made there will appear in the main menu Options as well.

So in-game-specific sound functionality needs to be added to the GameOptionsSoundMenu, not the SoundOptions.

Resource usage in terms of panel count is not much of a concern, any non-trivial UI layout can easily consist of a lot of deeply nested boxes.


Top Quote
andersand.net
Avatar
Topic Opener
Joined: 2024-11-12, 19:48
Posts: 9
OS: Linux
Version: Latest main branch
Ranking
Pry about Widelands
Location: Norway
Posted at: Yesterday 20:27

Nordfriese wrote:

Careful – SoundOptions is shared between both the main menu Options menu (src/ui_fsmenu/options.h) and the in-game GameOptionsSoundMenu. So any changes made there will appear in the main menu Options as well.

So in-game-specific sound functionality needs to be added to the GameOptionsSoundMenu, not the SoundOptions.

Resource usage in terms of panel count is not much of a concern, any non-trivial UI layout can easily consist of a lot of deeply nested boxes.

Good to know. I'll go for option 2 then face-smile.png


Top Quote