Refactor code structure for improved readability and maintainability
This commit is contained in:
parent
df719041dd
commit
d9404f2d60
23
arma/client/addons/common/CfgSounds.hpp
Normal file
23
arma/client/addons/common/CfgSounds.hpp
Normal file
@ -0,0 +1,23 @@
|
||||
class CfgSounds {
|
||||
sounds[] = {};
|
||||
class FORGE_timerBeep {
|
||||
name = "FORGE_timerBeep";
|
||||
sound[] = {QUOTE(PATHTOF(sounds\timerClick.wav)), 1, 3};
|
||||
titles[] = {};
|
||||
};
|
||||
class FORGE_timerBeepShort {
|
||||
name = "FORGE_timerBeepShort";
|
||||
sound[] = {QUOTE(PATHTOF(sounds\timerClickShort.wav)), 1, 3};
|
||||
titles[] = {};
|
||||
};
|
||||
class FORGE_timerEnd {
|
||||
name = "FORGE_timerEnd";
|
||||
sound[] = {QUOTE(PATHTOF(sounds\timerEnd.wav)), 1, 3};
|
||||
titles[] = {};
|
||||
};
|
||||
class FORGE_defused {
|
||||
name = "FORGE_defused";
|
||||
sound[] = {QUOTE(PATHTOF(sounds\defused.wav)), 1, 3};
|
||||
titles[] = {};
|
||||
};
|
||||
};
|
||||
@ -17,4 +17,5 @@ class CfgPatches {
|
||||
};
|
||||
|
||||
#include "CfgEventHandlers.hpp"
|
||||
#include "CfgSounds.hpp"
|
||||
#include "CfgVehicles.hpp"
|
||||
|
||||
BIN
arma/client/addons/common/sounds/defused.wav
Normal file
BIN
arma/client/addons/common/sounds/defused.wav
Normal file
Binary file not shown.
BIN
arma/client/addons/common/sounds/timerClick.wav
Normal file
BIN
arma/client/addons/common/sounds/timerClick.wav
Normal file
Binary file not shown.
BIN
arma/client/addons/common/sounds/timerClickShort.wav
Normal file
BIN
arma/client/addons/common/sounds/timerClickShort.wav
Normal file
Binary file not shown.
BIN
arma/client/addons/common/sounds/timerEnd.wav
Normal file
BIN
arma/client/addons/common/sounds/timerEnd.wav
Normal file
Binary file not shown.
23
arma/server/addons/common/CfgSounds.hpp
Normal file
23
arma/server/addons/common/CfgSounds.hpp
Normal file
@ -0,0 +1,23 @@
|
||||
class CfgSounds {
|
||||
sounds[] = {};
|
||||
class FORGE_timerBeep {
|
||||
name = "FORGE_timerBeep";
|
||||
sound[] = {QUOTE(PATHTOF(sounds\timerClick.wav)), 1, 3};
|
||||
titles[] = {};
|
||||
};
|
||||
class FORGE_timerBeepShort {
|
||||
name = "FORGE_timerBeepShort";
|
||||
sound[] = {QUOTE(PATHTOF(sounds\timerClickShort.wav)), 1, 3};
|
||||
titles[] = {};
|
||||
};
|
||||
class FORGE_timerEnd {
|
||||
name = "FORGE_timerEnd";
|
||||
sound[] = {QUOTE(PATHTOF(sounds\timerEnd.wav)), 1, 3};
|
||||
titles[] = {};
|
||||
};
|
||||
class FORGE_defused {
|
||||
name = "FORGE_defused";
|
||||
sound[] = {QUOTE(PATHTOF(sounds\defused.wav)), 1, 3};
|
||||
titles[] = {};
|
||||
};
|
||||
};
|
||||
@ -17,4 +17,5 @@ class CfgPatches {
|
||||
};
|
||||
|
||||
#include "CfgEventHandlers.hpp"
|
||||
#include "CfgSounds.hpp"
|
||||
#include "CfgVehicles.hpp"
|
||||
|
||||
BIN
arma/server/addons/common/sounds/defused.wav
Normal file
BIN
arma/server/addons/common/sounds/defused.wav
Normal file
Binary file not shown.
BIN
arma/server/addons/common/sounds/timerClick.wav
Normal file
BIN
arma/server/addons/common/sounds/timerClick.wav
Normal file
Binary file not shown.
BIN
arma/server/addons/common/sounds/timerClickShort.wav
Normal file
BIN
arma/server/addons/common/sounds/timerClickShort.wav
Normal file
Binary file not shown.
BIN
arma/server/addons/common/sounds/timerEnd.wav
Normal file
BIN
arma/server/addons/common/sounds/timerEnd.wav
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user