SBARINFO

Moderator: GZDoom Developers

Blzut3
 
 
Posts: 3219
Joined: Wed Nov 24, 2004 12:59 pm
Operating System Version (Optional): Kubuntu
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Re: SBARINFO

Post by Blzut3 »

I thought everyone here would like to see this: custom Strife popups in action. Currently there are no transition effects though.
http://blzut3.maniacsvault.net/popup.png

In addition to all popups working the next update will contain:
  • Aspect ratio detection
  • Inventory item checks
  • Ability to turn off the lower health cap
  • Printing of global ACS variables (currently untested)
User avatar
Kate
... in rememberance ...
Posts: 2975
Joined: Tue Jul 15, 2003 8:06 pm

Re: SBARINFO

Post by Kate »

Looks like the doom press release beta =p
User avatar
Project Shadowcat
Posts: 9369
Joined: Thu Jul 14, 2005 8:33 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: Blacksburg, SC USA

Re: SBARINFO

Post by Project Shadowcat »

SnowKate709 wrote:Looks like the doom press release beta =p
Knowing us, however, the graphics would be spruced up a great deal, even for that. Perhaps an "enhanced beta", with its treasure gobbling and everything back. Would be neat if anything.

Sir, you have been making leaps and bounds with this. Keep up the great work. ;)
User avatar
Nash
 
 
Posts: 17511
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: SBARINFO

Post by Nash »

Nice work, Blzut!
User avatar
Jimmy
 
 
Posts: 4728
Joined: Mon Apr 10, 2006 1:49 pm
Preferred Pronouns: He/Him

Re: SBARINFO

Post by Jimmy »

Blzut3 wrote:custom Strife popups
YES
Blzut3 wrote:Inventory item checks
YES
Blzut3 wrote:Printing of global ACS variables (currently untested)
YES

THANK YOU VERY MUCHLY. :D Looking forward to seeing if this feature can possibly get any more powerful. :)
Blzut3
 
 
Posts: 3219
Joined: Wed Nov 24, 2004 12:59 pm
Operating System Version (Optional): Kubuntu
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Re: SBARINFO

Post by Blzut3 »

And here is the update:

Code: Select all

- Fixed: Monospacing fonts wasn't quite correct.
- Fixed: The new mug shot code forgot to use the first arg of drawmugshot (the
  one that picks the default sprite prefix).
- Added: lowerHealthCap variable to SBarInfo, which is set to true by default.
- Added: ininventory event to SBarInfo to detect if one or two items are in (or
  not in) the player's inventory.
- Added: The ability to print global vars using drawnumber.  I need someone to 
  test it though.
- Added: aspectratio command to detect what the user's aspect ratio is.
- Added: missing spacing argument to drawstring.
- Changed the sbarinfo display routine for drawnumber to not use cmd.value to 
  store what it is about to display.  Now it uses a new variable.
- More conversions from DrawImage to screen->DrawTexture.  I think only the
  inventory bar drawing functions have to be changed now.
All of the following need to be [Added]'d.
http://forum.zdoom.org/viewtopic.php?f=15&t=16691
http://forum.zdoom.org/viewtopic.php?f=15&t=16690
http://forum.zdoom.org/viewtopic.php?f=15&t=16689
http://forum.zdoom.org/viewtopic.php?f=15&t=16684
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: SBARINFO

Post by Graf Zahl »

patch added
User avatar
Enjay
 
 
Posts: 27491
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Re: SBARINFO

Post by Enjay »

Hmmm, with r845 at 640x480 I'm getting a 1 pixel line under my status bar that wasn't there before. It's not too obvious until you bring up the menu then cancel it again but then the yellow fade of the menu screen gets left below the status bar.

Image
Blzut3
 
 
Posts: 3219
Joined: Wed Nov 24, 2004 12:59 pm
Operating System Version (Optional): Kubuntu
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Re: SBARINFO

Post by Blzut3 »

Apparently screen->VirtualToRealCoordsInt() returns values with a 1px difference for the height than DrawImage's method. Something for Randy or Graf to fix?
StasBFG[iddqd]
Posts: 36
Joined: Mon Dec 26, 2005 10:14 am
Location: Moscow, Russia

Re: SBARINFO

Post by StasBFG[iddqd] »

Enjay wrote:Hmmm, with r845 at 640x480 I'm getting a 1 pixel line under my status bar that wasn't there before. It's not too obvious until you bring up the menu then cancel it again but then the yellow fade of the menu screen gets left below the status bar.
I always had this problem and also with standard hud. It's most likely OpenGL related, works fine in software.
User avatar
Remmirath
Posts: 2562
Joined: Sun Dec 23, 2007 3:53 am
Graphics Processor: nVidia with Vulkan support
Location: My house

Re: SBARINFO

Post by Remmirath »

SnowKate709 wrote:Looks like the doom press release beta =p
Agree. It'd be nice to add as a feature... :)
User avatar
Enjay
 
 
Posts: 27491
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Re: SBARINFO

Post by Enjay »

StasBFG[iddqd] wrote:I always had this problem and also with standard hud. It's most likely OpenGL related, works fine in software.
I've had it in the past too. The point this time though is that something in a recent revision made this happen because it was fine until recently. Oh, and it's not just an OpenGl thing. It happens in software too.
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: SBARINFO

Post by Gez »

Blzut3 wrote:Apparently screen->VirtualToRealCoordsInt() returns values with a 1px difference for the height than DrawImage's method. Something for Randy or Graf to fix?
I suspect a rounding inconsistency.
User avatar
MartinHowe
Posts: 2103
Joined: Mon Aug 11, 2003 1:50 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Linux Mint
Graphics Processor: nVidia with Vulkan support
Location: East Suffolk (UK)

Re: SBARINFO

Post by MartinHowe »

I am having trouble with custom statusbars that draw faces - if a regular SKIN that includes a face replacement is in use, the game crashes. This is with my current experimental build, but I suspect that there is some overall discrepancy between the global consoleplayers variable and the statusbar CPlayer variable. Not saying this is purely an SBARINFO problem, but if anybody here knows what the difference between consoleplayers and CPlayer is it'd be agreat help.
User avatar
wildweasel
Posts: 21705
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed

Re: SBARINFO

Post by wildweasel »

Enjay wrote:
StasBFG[iddqd] wrote:I always had this problem and also with standard hud. It's most likely OpenGL related, works fine in software.
I've had it in the past too. The point this time though is that something in a recent revision made this happen because it was fine until recently. Oh, and it's not just an OpenGl thing. It happens in software too.
Is it perhaps possible to draw a row of black pixels at the 201st horizontal line on screen? Normally this line would be invisible (i.e. exactly one pixel off screen), but it may help against the "gap" that Enjay et al are experiencing.

Note: I'm no programmer, so I don't know if this is even technically feasible.

Return to “Closed Feature Suggestions [GZDoom]”