return SHOTTYPE_HITWORLD;
}
-void CSQC_common_hud(void);
-
void PostInit(void);
void CSQC_Demo_Camera();
float HUD_WouldDrawScoreboard();
if(autocvar_r_letterbox == 0)
if(autocvar_viewsize < 120)
- CSQC_common_hud();
+ {
+ if(!(gametype == MAPINFO_TYPE_RACE || gametype == MAPINFO_TYPE_CTS))
+ Accuracy_LoadLevels();
+
+ HUD_Main();
+ HUD_Vehicle();
+ HUD_DrawScoreboard();
+
+ if (scoreboard_active || intermission == 2)
+ HUD_Reset();
+ }
// crosshair goes VERY LAST
UpdateDamage();
setproperty(VF_SIZE, '1 0 0' * w + '0 1 0' * h);
}
-void CSQC_common_hud(void)
-{
- if(!(gametype == MAPINFO_TYPE_RACE || gametype == MAPINFO_TYPE_CTS))
- Accuracy_LoadLevels();
-
- HUD_Main(); // always run these functions for alpha checks
- HUD_Vehicle();
- HUD_DrawScoreboard();
-
- // scoreboard/accuracy, map/gametype voting screen
- if (scoreboard_active || intermission == 2)
- HUD_Reset();
-}
-
// following vectors must be global to allow seamless switching between camera modes
vector camera_offset, current_camera_offset, mouse_angles, current_angles, current_origin, current_position;