Refactor code structure for improved readability and maintainability

This commit is contained in:
Jacob Schmidt 2026-04-28 06:55:16 -05:00
parent df719041dd
commit d9404f2d60
12 changed files with 48 additions and 0 deletions

View 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[] = {};
};
};

View File

@ -17,4 +17,5 @@ class CfgPatches {
};
#include "CfgEventHandlers.hpp"
#include "CfgSounds.hpp"
#include "CfgVehicles.hpp"

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View 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[] = {};
};
};

View File

@ -17,4 +17,5 @@ class CfgPatches {
};
#include "CfgEventHandlers.hpp"
#include "CfgSounds.hpp"
#include "CfgVehicles.hpp"

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.