Skip to content

Instantly share code, notes, and snippets.

View zturtleman's full-sized avatar
💭
I may be slow to respond.

Zack Middleton zturtleman

💭
I may be slow to respond.
View GitHub Profile
@zturtleman
zturtleman / wip_per-player_menus.diff
Last active August 29, 2015 14:01
Per-player menu drawing for mint-arena. Doesn't handle /separate/ menus, draws the same menu in all viewports.
diff --git a/code/cgame/cg_main.c b/code/cgame/cg_main.c
index 148011a..d985645 100644
--- a/code/cgame/cg_main.c
+++ b/code/cgame/cg_main.c
@@ -2687,14 +2687,15 @@ void CG_Refresh( int serverTime, stereoFrame_t stereoView, qboolean demoPlayback
UI_SetActiveMenu( UIMENU_MAIN );
}
- if ( state >= CA_LOADING && state != CA_CINEMATIC && !UI_IsFullscreen() ) {
+ if ( state >= CA_LOADING && state != CA_CINEMATIC ) {
@zturtleman
zturtleman / README
Last active February 5, 2024 14:30
Patch for ioquake3 to allow aspect correct HUD/FOV and scaling or disabling parts of the HUD using cvars. And replace head on HUD with health item.
This github gist is no longer maintained. See web pages below.
webpage: https://clover.moe/flexible-hud-for-ioq3/
git branch: https://github.com/zturtleman/ioq3/tree/flexible_hud
----
New cvars:
cg_stretch [0 - 1] stretch 4:3 HUD to fit screen (default: 1)