![]() |
#121 |
Prophet
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,767
Donated: $40
![]() |
The message only occurs when you cross the threshold. Going further over it is silent.
|
![]() |
![]() |
![]() |
#122 |
Adept
Join Date: Jul 2019
Location: Seattle, WA USA
Posts: 149
![]() |
|
![]() |
![]() |
![]() |
#123 |
Swordsman
Join Date: Aug 2019
Posts: 348
![]() |
If you had directly opened it (or, to use wobbly's phrase, booted it) the trap immunity would have bypassed the trap. To me, that's another argument, besides how it works for floor traps, for applying it when disarming.
|
![]() |
![]() |
![]() |
#124 |
Prophet
Join Date: Apr 2008
Posts: 2,955
![]() |
Item ignoring setup is bugged, the tags are incorrect. Commit 3126eb4 missed a I2A -> all_letters_nohjkl change in tag_options_item() and added a pointless menu.selections in do_cmd_options_item() since the menu is managed by a menu_iter.
(expected: a-b-c-d-e-f-g-i-m-n-o-p-q-r-s-t-u-(blank)-Q-E-T; displayed: a-b-c-d-e-f-g-i-m-n-o-p-q-r-s-t-u-(v)-w-x-y)
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant! |
![]() |
![]() |
![]() |
#125 |
Prophet
Join Date: Apr 2008
Posts: 2,955
![]() |
Commit a318f61 removed the call to open_audio_hook(), surely this disabled sound completely no?
Also if you use ogg files and ogg format is supported but not mp3 format, code in open_audio_sdl() will now check for mp3 and reject sound instead of loading the ogg files.
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant! Last edited by PowerWyrm; June 8, 2022 at 14:22. |
![]() |
![]() |
![]() |
#126 | |
Swordsman
Join Date: Aug 2019
Posts: 348
![]() |
Quote:
|
|
![]() |
![]() |
![]() |
#127 | |
Prophet
Join Date: Apr 2008
Posts: 2,955
![]() |
Quote:
Code:
if (!hooks.open_audio_hook) return 1; Code:
if (!hooks.open_audio_hook()) return 1;
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant! |
|
![]() |
![]() |
![]() |
#128 |
Prophet
Join Date: Apr 2008
Posts: 2,955
![]() |
Effect READ_MINDS returns false if no monster with a mind is found, which is not the same as any other detection/mapping effect which always return true. This has a weird side effect of preventing putting the effect on any object, because if there's no monster with a mind around, the object will not be consumed.
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant! |
![]() |
![]() |
![]() |
#129 | |
Prophet
Join Date: Apr 2008
Posts: 2,955
![]() |
Quote:
If there are file descriptor leaks, it must be another non related issue. For example, load_sample_sdl() calls Mix_LoadMUS() and stores the return value in the "loaded" boolean. Here we can't tell samples not loaded from samples where loading caused an error, maybe the boolean should be changed to an enum (not loaded, loaded, error). In case an error occured and the game tries to reload the sample, the "error" state should tell that the sample cannot be loaded and prevent calling Mix_LoadMUS() again.
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant! |
|
![]() |
![]() |
![]() |
#130 |
Swordsman
Join Date: Aug 2019
Posts: 348
![]() |
Out of curiosity, is that because that environment has a default external command configured to play the MP3 file (or perhaps it's related to this part of the changes list for SDL Mixer 2.0.3: "Fixed regression where Mix_Init() would return 0 for available music formats")? In any case, trying to Mix_Init() to workaround the resource leaks doesn't seem useful.
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|