Page 1 of 1

Convert Strife HUD to SBARINFO

Posted: Sun Sep 06, 2015 3:59 pm
by jpalomo
Following up from here:
Graf Zahl wrote:First the Strife status bar needs to be converted to SBARINFO. Before that isn't done it's pointless to discuss this any further.
I've started on it, but it isn't completely done. The only issue I've noticed is that the spacing on the font is a little different (see spacing between 1 and 0 with 100 health). I'm not sure how to fix that. I've attached what is done so far. Things that still need to be done:
  • health bars
  • popup windows
  • fullscreen hud
I'm sure I can probably figure the health bars out, but I have no idea what to do about the popup windows.

Re: Convert Strife HUD to SBARINFO

Posted: Sun Sep 06, 2015 4:45 pm
by Graf Zahl
This obviously needs some actual coding to be fully functional.

Re: Convert Strife HUD to SBARINFO

Posted: Sun Sep 06, 2015 7:17 pm
by Major Cooke
Also, jpalomo, you may want to know this.
Blzut3 wrote:We prefer GitHub pull requests
Please consider getting a GitHub account and forking the ZDoom repository. It is not a requirement as you can submit patches via this forum, but it makes our lives easier. Make things easier for us and your code is more likely to be accepted.

Re: Convert Strife HUD to SBARINFO

Posted: Sun Sep 06, 2015 7:29 pm
by jpalomo
I know, I saw that topic. It isn't done yet though. I recently had to reinstall Windows 7 after my computer bluescreened downgrading from Windows 10 to Windows 7, so I have to set everything up again. If I ever finish this, I'll make a pull request and report this topic to have it moved to code submissions.

Re: Convert Strife HUD to SBARINFO

Posted: Sun Sep 06, 2015 8:53 pm
by Major Cooke
(Unrelated, the reason I encountered blue screens was because of programs like Breakaway Audio Enhancer. Though, yeah I know, too late now. (Kernel security check failure)).

Re: Convert Strife HUD to SBARINFO

Posted: Thu Jan 12, 2017 11:41 am
by Graf Zahl
With my plans to deprecate SBARINFO and potentially reinstating the old code for the other status bars in scripted form, I'm just glad this is still C++
. ;)