Skip to content
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 in-game on-screen keyboard functionality #212

Merged
merged 5 commits into from
Oct 3, 2015
Merged

Conversation

squeek502
Copy link
Member

Adds the cvars hud_keystate (disabled by default) and hud_keystate_spec (enabled by default)

When hud_keystate is enabled, your own keypresses will be drawn on the screen
When hud_keystate_spec is enabled, the keypresses of your target while spectating in first/third person will be drawn on the screen

Note: This has not been tested in multiplayer yet. It also will need a few script changes that I haven't submitted the PR for yet.

Preview:
keystate1

Also snuck in a few other HUD changes because I'm a ding dong dumbo and was too lazy to decouple them.

 * Fixes speedometer not showing up in sourcetv demos and while spectating in third person
 - Adds cvars:
   hud_keystate (defaulted to 0)
   hud_keystate_spec (defaulted to 1)

 - Closes #201
 * Remove all redundant ShouldDraw implementations
 * Fix HIDEHUD_PLAYERDEAD being incorrectly applied to spectators
 * Add useful new HIDEHUD flags (HIDEHUD_SPECTATING and HIDEHUD_UNASSIGNED)
@alaswell
Copy link
Member

looks great 👍

alaswell added a commit that referenced this pull request Oct 3, 2015
Add in-game on-screen keyboard functionality
@alaswell alaswell merged commit 9e50453 into beta Oct 3, 2015
@squeek502 squeek502 deleted the features/hud_keystate branch May 15, 2016 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants