HudMessage right align text
Moderator: GZDoom Developers
-
Nash
-

- Posts: 17512
- Joined: Mon Oct 27, 2003 12:07 am
- Location: Kuala Lumpur, Malaysia
HudMessage right align text
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
Couldn't you do that with the help of [wiki]SetHudSize[/wiki]? (See the "Coordinate Behavior" section in that article)
-
Nash
-

- Posts: 17512
- Joined: Mon Oct 27, 2003 12:07 am
- Location: Kuala Lumpur, Malaysia
Re: HudMessage right align text
That doesn't align text to the right.
This isn't possible in ZDoom:

This isn't possible in ZDoom:

-
randi
- Site Admin
- Posts: 7749
- Joined: Wed Jul 09, 2003 10:30 pm
Re: HudMessage right align text
Unfortunately, the way this sort of information is passed to HudMessage is really stupid, and I can't easily add this.
-
Nash
-

- Posts: 17512
- Joined: Mon Oct 27, 2003 12:07 am
- Location: Kuala Lumpur, Malaysia
Re: HudMessage right align text
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
-
Graf Zahl
- Lead GZDoom+Raze Developer

- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: HudMessage right align text
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.
But I guess that's for 2.7.1, not 2.7.0.