24 static Sound* mfd_mode = 0;
25 static Sound* nav_mode = 0;
26 static Sound* wep_mode = 0;
27 static Sound* wep_disp = 0;
28 static Sound* hud_mode = 0;
29 static Sound* hud_widget = 0;
30 static Sound* shield_level = 0;
31 static Sound* red_alert = 0;
32 static Sound* tac_accept = 0;
33 static Sound* tac_reject = 0;
37 static void LoadInterfaceSound(
DataLoader* loader,
const char* wave,
Sound*& s)
48 LoadInterfaceSound(loader,
"mfd_mode.wav", mfd_mode);
49 LoadInterfaceSound(loader,
"nav_mode.wav", nav_mode);
50 LoadInterfaceSound(loader,
"wep_mode.wav", wep_mode);
51 LoadInterfaceSound(loader,
"wep_disp.wav", wep_disp);
52 LoadInterfaceSound(loader,
"hud_mode.wav", hud_mode);
53 LoadInterfaceSound(loader,
"hud_widget.wav", hud_widget);
54 LoadInterfaceSound(loader,
"shield_level.wav", shield_level);
55 LoadInterfaceSound(loader,
"alarm.wav", red_alert);
56 LoadInterfaceSound(loader,
"tac_accept.wav", tac_accept);
57 LoadInterfaceSound(loader,
"tac_reject.wav", tac_reject);