How to limit the amount of lines for notification messages?

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
Post Reply
User avatar
Nash
 
 
Posts: 17501
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

How to limit the amount of lines for notification messages?

Post by Nash »

The message at the top of the screen when you pick up stuff and things like that. Currently it's 4 lines. Can I limit it to just a single line, like vanilla Doom?
User avatar
edward850
Posts: 5890
Joined: Tue Jul 19, 2005 9:06 pm
Location: New Zealand
Contact:

Re: How to limit the amount of lines for notification messag

Post by edward850 »

There is no actual setting for that. It's defined by the NotifyStrings array with the size of NUMNOTIFIES (4) in c_console.cpp.
mallo
Posts: 1112
Joined: Sat May 22, 2010 12:49 pm

Re: How to limit the amount of lines for notification messag

Post by mallo »

Feature Request? ;)
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: How to limit the amount of lines for notification messag

Post by wildweasel »

mallo wrote:Feature Request? ;)
Someone's a step or two ahead of you.
User avatar
Nash
 
 
Posts: 17501
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: How to limit the amount of lines for notification messag

Post by Nash »

It's not urgent, I'll just change the hard-coded constant to 1 for my project... when a more robust implementation is available, I'll revert the hard-coded change.
Post Reply

Return to “General”