-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add hud_watermark command #191
Add hud_watermark command #191
Conversation
cl_dll/hud_watermark.cpp
Outdated
gEngfuncs.pfnDrawString(ScreenWidth / 20, gHUD.m_scrinfo.iCharHeight, "OpenAG client build " __DATE__, r, g, b); | ||
gEngfuncs.pfnDrawString(ScreenWidth / 20, gHUD.m_scrinfo.iCharHeight * 2, "j.mp/OpenAG", r, g, b); | ||
|
||
if (update_is_available) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe if an update is available, then this part of the HUD should be shown regardless of hud_watermark? What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe if an update is available, then this part of the HUD should be shown regardless of hud_watermark? What do you think?
Perhaps the update disclaimer can be shown for a shorter time if hud_watermark == 0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes have been pushed
Please apply all suggestions, then it's good. |
No worries I'll do it when I'm home from work and squash the commits so it's tidier
|
hud_watermark <0|1> (1 by default) Controls whether the watermark & server-settings will display or not. The update disclaimer will display regardless, but only for 5 seconds if hud_watermark is set to 0. Co-Authored-By: Ivan Molodetskikh <[email protected]>
bb825e4
to
793f88a
Compare
@YaLTeR changes have been pushed and squashed into 1 tidy commit. |
Thanks |
Command to toggle the HUD watermark that displays upon connecting to a server. Default value is 1.