Compare commits

...

5 Commits

Author SHA1 Message Date
8e1566938a Update .github/workflows/build.yml 2025-02-22 13:54:29 -06:00
github-actions
570556f0a6 v1.0.0 Build 2 2025-01-05 23:01:43 +00:00
Jacob Schmidt
4c2dbd7be5 Added Audio
Some checks failed
Build / Build (push) Failing after 52s
2025-01-05 17:01:34 -06:00
github-actions
0a04a3c480 v1.0.0 Build 1 2025-01-05 01:28:24 +00:00
Jacob Schmidt
c30b5204a6 Major Hotfix 01042025@1925
Some checks failed
Build / Build (push) Failing after 52s
2025-01-04 19:27:20 -06:00
23 changed files with 125 additions and 9 deletions

View File

@ -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

View File

@ -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
View File

@ -0,0 +1 @@
z\forge\addons\audio

View 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));
};
};

View File

@ -0,0 +1 @@
class CfgSentences {};

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

View 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";
};
};

View File

View File

@ -0,0 +1 @@
#include "script_component.hpp"

View File

@ -0,0 +1 @@
#include "script_component.hpp"

View File

@ -0,0 +1,8 @@
#include "script_component.hpp"
ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true;

View File

@ -0,0 +1 @@
#include "script_component.hpp"

View File

@ -0,0 +1,2 @@
#include "script_component.hpp"
#include "XEH_PREP.hpp"

19
addons/audio/config.cpp Normal file
View 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"

View 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"

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -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

View File

@ -1,4 +1,4 @@
#define MAJOR 1
#define MINOR 0
#define PATCH 0
#define BUILD 3
#define BUILD 2

View File

@ -1,4 +1,4 @@
class FORGE_CfgPhones {
class CfgPhone {
class themes {
class bg_dark01 {
themeName = "Dark"; // Name of theme

View File

@ -1,4 +1,4 @@
class FORGE_CfgPhones {
class CfgPhone {
class themes {
class bg_dark01 {
themeName = "Dark"; // Name of theme