Convert Strife HUD to SBARINFO

Moderator: GZDoom Developers

Post Reply
User avatar
jpalomo
Posts: 772
Joined: Mon May 17, 2010 9:45 am

Convert Strife HUD to SBARINFO

Post 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.
Attachments
strife_sbar.pk3
(2.59 KiB) Downloaded 107 times
Last edited by jpalomo on Sun Feb 14, 2016 4:00 pm, edited 1 time in total.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49223
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Convert Strife HUD to SBARINFO

Post by Graf Zahl »

This obviously needs some actual coding to be fully functional.
User avatar
Major Cooke
Posts: 8206
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town
Contact:

Re: Convert Strife HUD to SBARINFO

Post 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.
User avatar
jpalomo
Posts: 772
Joined: Mon May 17, 2010 9:45 am

Re: Convert Strife HUD to SBARINFO

Post 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.
User avatar
Major Cooke
Posts: 8206
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town
Contact:

Re: Convert Strife HUD to SBARINFO

Post 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)).
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49223
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Convert Strife HUD to SBARINFO

Post 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++
. ;)
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”