Skip to content

Commit d7bda7e

Browse files
authored
Add Splash component (#305)
1 parent d2b55fa commit d7bda7e

File tree

5 files changed

+42
-0
lines changed

5 files changed

+42
-0
lines changed

addons/splash/$PBOPREFIX$

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
x\tacgt\addons\splash

addons/splash/RscDisplayStart.hpp

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
class RscStandardDisplay;
2+
class RscPictureKeepAspect;
3+
class RscControlsGroup;
4+
class RscDisplayStart: RscStandardDisplay {
5+
class controls {
6+
class LoadingStart: RscControlsGroup {
7+
class controls {
8+
class Logo: RscPictureKeepAspect {
9+
idc = 1200;
10+
text = QPATHTOF(data\theseus_ca.paa);
11+
x = "0.25 * safezoneW";
12+
y = "0.3125 * safezoneH";
13+
w = "0.5 * safezoneW";
14+
h = "0.25 * safezoneH";
15+
};
16+
};
17+
};
18+
};
19+
};

addons/splash/config.cpp

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#include "script_component.hpp"
2+
3+
class CfgPatches {
4+
class ADDON {
5+
name = COMPONENT_NAME;
6+
units[] = {};
7+
weapons[] = {};
8+
requiredVersion = REQUIRED_VERSION;
9+
requiredAddons[] = {"tacgt_main", "tacgt_theseus"};
10+
skipWhenMissingDependencies = 1;
11+
author = ECSTRING(main,Author);
12+
authors[] = {"Mike"};
13+
url = ECSTRING(main,URL);
14+
VERSION_CONFIG;
15+
};
16+
};
17+
18+
#include "RscDisplayStart.hpp"

addons/splash/data/theseus_ca.paa

61.9 KB
Binary file not shown.

addons/splash/script_component.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#define COMPONENT splash
2+
#define COMPONENT_BEAUTIFIED Splash
3+
#include "\x\tacgt\addons\main\script_mod.hpp"
4+
#include "\x\tacgt\addons\main\script_macros.hpp"

0 commit comments

Comments
 (0)