Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
8e1566938a | |||
![]() |
570556f0a6 | ||
![]() |
4c2dbd7be5 | ||
![]() |
0a04a3c480 | ||
![]() |
c30b5204a6 |
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -16,7 +16,7 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
name: Build
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Source Code
|
||||
uses: actions/checkout@v4
|
||||
|
@ -5,9 +5,16 @@ mainprefix = "z"
|
||||
|
||||
[files]
|
||||
include = [
|
||||
"forge_mod_version.json",
|
||||
"*.paa",
|
||||
"userconfig/**/*"
|
||||
"*.json",
|
||||
"userconfig/**/*",
|
||||
"mod.cpp",
|
||||
"README.md",
|
||||
"LICENSE",
|
||||
"icon_64_ca.paa",
|
||||
"icon_128_ca.paa",
|
||||
"icon_128_highlight_ca.paa",
|
||||
"title_co.paa"
|
||||
]
|
||||
|
||||
[version]
|
||||
|
1
addons/audio/$PBOPREFIX$
Normal file
1
addons/audio/$PBOPREFIX$
Normal file
@ -0,0 +1 @@
|
||||
z\forge\addons\audio
|
19
addons/audio/CfgEventHandlers.hpp
Normal file
19
addons/audio/CfgEventHandlers.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
class Extended_PreStart_EventHandlers {
|
||||
class ADDON {
|
||||
init = QUOTE(call COMPILE_FILE(XEH_preStart));
|
||||
};
|
||||
};
|
||||
|
||||
class Extended_PreInit_EventHandlers {
|
||||
class ADDON {
|
||||
init = QUOTE(call COMPILE_FILE(XEH_preInit));
|
||||
serverInit = QUOTE(call COMPILE_FILE(XEH_preInit_server));
|
||||
};
|
||||
};
|
||||
|
||||
class Extended_PostInit_EventHandlers {
|
||||
class ADDON {
|
||||
init = QUOTE(call COMPILE_FILE(XEH_postInit));
|
||||
clientInit = QUOTE(call COMPILE_FILE(XEH_postInit_client));
|
||||
};
|
||||
};
|
1
addons/audio/CfgSentences.hpp
Normal file
1
addons/audio/CfgSentences.hpp
Normal file
@ -0,0 +1 @@
|
||||
class CfgSentences {};
|
24
addons/audio/CfgSounds.hpp
Normal file
24
addons/audio/CfgSounds.hpp
Normal file
@ -0,0 +1,24 @@
|
||||
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[] = {};
|
||||
};
|
||||
};
|
||||
class CfgSFX {};
|
16
addons/audio/CfgVehicles.hpp
Normal file
16
addons/audio/CfgVehicles.hpp
Normal file
@ -0,0 +1,16 @@
|
||||
class CfgVehicles {
|
||||
class All;
|
||||
class Sound: All {
|
||||
author = "FORGE";
|
||||
mapSize = 1;
|
||||
_generalMacro = "Sound";
|
||||
scope = 0;
|
||||
side = -1;
|
||||
animated = 0;
|
||||
vehicleClass = "Sounds";
|
||||
icon = "iconSound";
|
||||
faction = "none";
|
||||
editorCategory = "forge";
|
||||
editorSubcategory = "forge_audio";
|
||||
};
|
||||
};
|
0
addons/audio/XEH_PREP.hpp
Normal file
0
addons/audio/XEH_PREP.hpp
Normal file
1
addons/audio/XEH_postInit.sqf
Normal file
1
addons/audio/XEH_postInit.sqf
Normal file
@ -0,0 +1 @@
|
||||
#include "script_component.hpp"
|
1
addons/audio/XEH_postInit_client.sqf
Normal file
1
addons/audio/XEH_postInit_client.sqf
Normal file
@ -0,0 +1 @@
|
||||
#include "script_component.hpp"
|
8
addons/audio/XEH_preInit.sqf
Normal file
8
addons/audio/XEH_preInit.sqf
Normal file
@ -0,0 +1,8 @@
|
||||
#include "script_component.hpp"
|
||||
ADDON = false;
|
||||
|
||||
PREP_RECOMPILE_START;
|
||||
#include "XEH_PREP.hpp"
|
||||
PREP_RECOMPILE_END;
|
||||
|
||||
ADDON = true;
|
1
addons/audio/XEH_preInit_server.sqf
Normal file
1
addons/audio/XEH_preInit_server.sqf
Normal file
@ -0,0 +1 @@
|
||||
#include "script_component.hpp"
|
2
addons/audio/XEH_preStart.sqf
Normal file
2
addons/audio/XEH_preStart.sqf
Normal file
@ -0,0 +1,2 @@
|
||||
#include "script_component.hpp"
|
||||
#include "XEH_PREP.hpp"
|
19
addons/audio/config.cpp
Normal file
19
addons/audio/config.cpp
Normal file
@ -0,0 +1,19 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
class CfgPatches {
|
||||
class ADDON {
|
||||
name = COMPONENT_NAME;
|
||||
units[] = {};
|
||||
weapons[] = {};
|
||||
requiredVersion = REQUIRED_VERSION;
|
||||
requiredAddons[] = {"forge_main"};
|
||||
authors[] = {"J. Schmidt", "Creedcoder"};
|
||||
author = "IDSolutions";
|
||||
VERSION_CONFIG;
|
||||
};
|
||||
};
|
||||
|
||||
#include "CfgEventHandlers.hpp"
|
||||
#include "CfgSounds.hpp"
|
||||
#include "CfgSentences.hpp"
|
||||
#include "CfgVehicles.hpp"
|
16
addons/audio/script_component.hpp
Normal file
16
addons/audio/script_component.hpp
Normal file
@ -0,0 +1,16 @@
|
||||
#define COMPONENT audio
|
||||
#define COMPONENT_BEAUTIFIED Audio
|
||||
#include "..\main\script_mod.hpp"
|
||||
|
||||
// #define DEBUG_MODE_FULL
|
||||
// #define DISABLE_COMPILE_CACHE
|
||||
|
||||
#ifdef DEBUG_ENABLED_AUDIO
|
||||
#define DEBUG_MODE_FULL
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG_SETTINGS_AUDIO
|
||||
#define DEBUG_SETTINGS DEBUG_SETTINGS_AUDIO
|
||||
#endif
|
||||
|
||||
#include "..\main\script_macros.hpp"
|
BIN
addons/audio/sounds/defused.wav
Normal file
BIN
addons/audio/sounds/defused.wav
Normal file
Binary file not shown.
BIN
addons/audio/sounds/timerClick.wav
Normal file
BIN
addons/audio/sounds/timerClick.wav
Normal file
Binary file not shown.
BIN
addons/audio/sounds/timerClickShort.wav
Normal file
BIN
addons/audio/sounds/timerClickShort.wav
Normal file
Binary file not shown.
BIN
addons/audio/sounds/timerEnd.wav
Normal file
BIN
addons/audio/sounds/timerEnd.wav
Normal file
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
#define MAINPREFIX z
|
||||
#define PREFIX sof
|
||||
#define PREFIX forge
|
||||
|
||||
#include "script_version.hpp"
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
#define REQUIRED_VERSION 2.12
|
||||
|
||||
#ifdef COMPONENT_BEAUTIFIED
|
||||
#define COMPONENT_NAME QUOTE(SOF Mod - COMPONENT_BEAUTIFIED)
|
||||
#define COMPONENT_NAME QUOTE(FORGE Mod - COMPONENT_BEAUTIFIED)
|
||||
#else
|
||||
#define COMPONENT_NAME QUOTE(SOF Mod - COMPONENT)
|
||||
#define COMPONENT_NAME QUOTE(FORGE Mod - COMPONENT)
|
||||
#endif
|
@ -1,4 +1,4 @@
|
||||
#define MAJOR 1
|
||||
#define MINOR 0
|
||||
#define PATCH 0
|
||||
#define BUILD 3
|
||||
#define BUILD 2
|
||||
|
@ -1,4 +1,4 @@
|
||||
class FORGE_CfgPhones {
|
||||
class CfgPhone {
|
||||
class themes {
|
||||
class bg_dark01 {
|
||||
themeName = "Dark"; // Name of theme
|
||||
|
@ -1,4 +1,4 @@
|
||||
class FORGE_CfgPhones {
|
||||
class CfgPhone {
|
||||
class themes {
|
||||
class bg_dark01 {
|
||||
themeName = "Dark"; // Name of theme
|
||||
|
Loading…
x
Reference in New Issue
Block a user