HudMessage right align text

Moderator: GZDoom Developers

User avatar
Nash
 
 
Posts: 17512
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

HudMessage right align text

Post by Nash »

IS it possible to have an option to right-align the text drawn with HudMessage?
Blue Shadow
Posts: 5046
Joined: Sun Nov 14, 2010 12:59 am

Re: HudMessage right align text

Post by Blue Shadow »

Couldn't you do that with the help of [wiki]SetHudSize[/wiki]? (See the "Coordinate Behavior" section in that article)
User avatar
Nash
 
 
Posts: 17512
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: HudMessage right align text

Post by Nash »

That doesn't align text to the right.

This isn't possible in ZDoom:

Image
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm

Re: HudMessage right align text

Post by randi »

Unfortunately, the way this sort of information is passed to HudMessage is really stupid, and I can't easily add this.
User avatar
Nash
 
 
Posts: 17512
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: HudMessage right align text

Post by Nash »

I see. I vaguely remember there being talks of the intention to make a new, more robust text function that doesn't do things awkwardly like HudMessage? Or was I just dreaming? Anyway, if such were the case then I don't mind waiting... whenever that may be, haha. :D
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: HudMessage right align text

Post by Graf Zahl »

HudMessage is in desperate need to be deprecated and superseded by a function that uses sane parameter conventions.

But I guess that's for 2.7.1, not 2.7.0.

Return to “Closed Feature Suggestions [GZDoom]”