Xonotic
item.qc File Reference
#include "item.qh"
#include "item/container.qh"
#include "item/borderimage.qh"
+ Include dependency graph for item.qc:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void m_play_focus_sound ()
 

Variables

int autocvar_menu_showboxes
 

Function Documentation

◆ m_play_focus_sound()

void m_play_focus_sound ( )

Definition at line 988 of file menu.qc.

989 {
990  static float menuLastFocusSoundTime;
991  if (cvar("menu_sounds") < 2) return;
992  if (time - menuLastFocusSoundTime <= 0.25) return;
994  menuLastFocusSoundTime = time;
995 }
float time
Definition: csprogsdefs.qc:16

Variable Documentation

◆ autocvar_menu_showboxes

int autocvar_menu_showboxes

Definition at line 24 of file item.qc.