MantisBT - Zandronum
View Issue Details
0004303Zandronum[All Projects] Suggestionpublic2024-06-03 14:392025-03-03 14:18
BinaryCode 
 
normalfeaturehave not tried
resolvedfixed 
3.1 
3.23.2 
0004303: Add "additivelump" flag to SBARINFO
Since ACS-based SBAR is kind of annoying, I had this idea for SBARINFO to allow for modular code.

additivelump normal, fullscreenoffsets //last 2 args are same as the statusbar
{
    // code goes here
}

I would assume GZDoom would need the same change, however it is deprecated so not sure if they would consider adding it.
No tags attached.
patch AppendStatusBar-0.patch (3,252) 2024-10-03 16:21
https://zandronum.com/tracker/file_download.php?file_id=3138&type=bug
? Zan-AppendStatusBar-0.pk3 (663) 2024-10-03 16:43
https://zandronum.com/tracker/file_download.php?file_id=3139&type=bug
patch AppendStatusBar-1.patch (3,579) 2024-10-05 12:08
https://zandronum.com/tracker/file_download.php?file_id=3140&type=bug
patch AppendStatusBar-1b.patch (3,655) 2024-10-05 12:15
https://zandronum.com/tracker/file_download.php?file_id=3141&type=bug
patch AppendStatusBar-2.patch (3,524) 2024-11-16 05:18
https://zandronum.com/tracker/file_download.php?file_id=3170&type=bug
patch AppendStatusBar-2b.patch (3,671) 2024-11-18 17:55
https://zandronum.com/tracker/file_download.php?file_id=3173&type=bug
patch AppendStatusBar-2c.patch (3,715) 2024-11-23 16:25
https://zandronum.com/tracker/file_download.php?file_id=3174&type=bug
? Zan-AppendStatusBar-1.pk3 (643) 2024-11-24 21:32
https://zandronum.com/tracker/file_download.php?file_id=3177&type=bug
Issue History
2024-06-03 14:39BinaryCodeNew Issue
2024-07-29 18:23BasingaNote Added: 0023853
2024-10-03 16:21BinaryCodeFile Added: AppendStatusBar-0.patch
2024-10-03 16:22BinaryCodeNote Added: 0024051
2024-10-03 16:43BinaryCodeFile Added: Zan-AppendStatusBar-0.pk3
2024-10-03 16:51BinaryCodeNote Edited: 0024051bug_revision_view_page.php?bugnote_id=24051#r14387
2024-10-05 12:08BinaryCodeFile Added: AppendStatusBar-1.patch
2024-10-05 12:09BinaryCodeNote Added: 0024052
2024-10-05 12:15BinaryCodeFile Added: AppendStatusBar-1b.patch
2024-10-05 12:16BinaryCodeNote Edited: 0024052bug_revision_view_page.php?bugnote_id=24052#r14389
2024-10-08 19:15BinaryCodeNote Added: 0024055
2024-10-19 17:52BinaryCodeNote Edited: 0024055bug_revision_view_page.php?bugnote_id=24055#r14406
2024-11-16 05:18BinaryCodeFile Added: AppendStatusBar-2.patch
2024-11-16 05:18BinaryCodeNote Added: 0024149
2024-11-18 13:26DrinkyBirdNote Added: 0024153
2024-11-18 13:26DrinkyBirdStatusnew => acknowledged
2024-11-18 17:55BinaryCodeFile Added: AppendStatusBar-2b.patch
2024-11-18 17:55BinaryCodeNote Added: 0024154
2024-11-23 16:25BinaryCodeFile Added: AppendStatusBar-2c.patch
2024-11-24 21:18DrinkyBirdNote Added: 0024156
2024-11-24 21:18DrinkyBirdStatusacknowledged => needs testing
2024-11-24 21:19DrinkyBirdTarget Version => 3.2
2024-11-24 21:32BinaryCodeFile Added: Zan-AppendStatusBar-1.pk3
2024-11-24 21:32BinaryCodeNote Added: 0024157
2024-11-24 21:33BinaryCodeNote Edited: 0024157bug_revision_view_page.php?bugnote_id=24157#r14443
2025-03-03 14:18Ru5tK1ngNote Added: 0024225
2025-03-03 14:18Ru5tK1ngStatusneeds testing => resolved
2025-03-03 14:18Ru5tK1ngResolutionopen => fixed
2025-03-03 14:18Ru5tK1ngProduct Version => 3.1
2025-03-03 14:18Ru5tK1ngFixed in Version => 3.2

Notes
(0023853)
Basinga   
2024-07-29 18:23   
Strongly supporting this.
Multi class multiplayer mods would benefit, as an example.
(0024051)
BinaryCode   
2024-10-03 16:22   
(edited on: 2024-10-03 16:51)
Uploaded a patch that should add the feature, using the name "AppendStatusBar" instead of the one I suggested, as well as a example PK3 file that should draw two "Hello World" strings along with the "base Doom" HUD.

(0024052)
BinaryCode   
2024-10-05 12:09   
(edited on: 2024-10-05 12:16)
Updated the patch to include changes requested in the GZdoom PR:'https://github.com/ZDoom/gzdoom/pull/2742/ [^]'

(updated again: forgot a comment in one of the lines, oops)

(0024055)
BinaryCode   
2024-10-08 19:15   
(edited on: 2024-10-19 17:52)
The solutions in the PR di not work in the current 3.2 source.

(0024149)
BinaryCode   
2024-11-16 05:18   
I uploaded a patch that SHOULD work fine in current source.
(0024153)
DrinkyBird   
2024-11-18 13:26   
I brought this up in last night's developer meeting - it was agreed it'd be best to wait until the GZDoom PR reaches a conclusion, so we know what they think and won't have to worry about compatibility if we merge it.
(0024154)
BinaryCode   
2024-11-18 17:55   
Added error-checking for no HUD existing and made it actually work this time. (oops)

The PR for GZDoom has also been updated to use the same code, so you can just transplant that if it gets added.
(0024156)
DrinkyBird   
2024-11-24 21:18   
It's in:'https://foss.heptapod.net/zandronum/zandronum-stable/-/commit/468982a7cdfe0fdd6033d3ff8bc9213ce1b7552e [^]'
(0024157)
BinaryCode   
2024-11-24 21:32   
(edited on: 2024-11-24 21:33)
Lazily updated the example file since the old one would cause a crash.

(0024225)
Ru5tK1ng   
2025-03-03 14:18   
I tested the example pk3 with the latest changes online and offline. The SBARINFO worked as described in the comments.