()
| 145 | * ====================== CL_RegisterSounds ====================== |
| 146 | */ |
| 147 | public static void RegisterSounds() { |
| 148 | S.BeginRegistration(); |
| 149 | CL_tent.RegisterTEntSounds(); |
| 150 | for (int i = 1; i < Defines.MAX_SOUNDS; i++) { |
| 151 | if (ClientGlobals.cl.configstrings[Defines.CS_SOUNDS + i] == null |
| 152 | || ClientGlobals.cl.configstrings[Defines.CS_SOUNDS + i] |
| 153 | .equals("") |
| 154 | || ClientGlobals.cl.configstrings[Defines.CS_SOUNDS + i] |
| 155 | .equals("\0")) |
| 156 | break; |
| 157 | ClientGlobals.cl.sound_precache[i] = S |
| 158 | .RegisterSound(ClientGlobals.cl.configstrings[Defines.CS_SOUNDS |
| 159 | + i]); |
| 160 | CL.SendKeyEvents(); // pump message loop |
| 161 | } |
| 162 | S.EndRegistration(); |
| 163 | } |
| 164 | |
| 165 | /* |
| 166 | * ===================== CL_ParseDownload |
no test coverage detected