Skip to content

Commit

Permalink
Goggles/Fire - Fix adding a RscPicture to RscTitles (#10386)
Browse files Browse the repository at this point in the history
Fix #10382
  • Loading branch information
PabstMirror authored Oct 10, 2024
1 parent 16e5b4a commit c1d4ecf
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 28 deletions.
3 changes: 2 additions & 1 deletion addons/fire/RscTitles.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
class RscPicture;

class RscTitles {
class RscPicture;
class GVAR(onFire1) {
idd = -1;
movingEnable = "true";
Expand Down
16 changes: 14 additions & 2 deletions addons/goggles/RscTitles.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
class RscTitles {
#include "define.hpp"
class RscPicture;

class RscTitles {
class RscACE_Goggles_BaseTitle {
idd = -1;
onLoad = "uiNamespace setVariable ['ACE_Goggles_Display', _this select 0]";
Expand All @@ -19,6 +19,10 @@ class RscTitles {
class controls {
class gogglesImage: RscPicture {
idc = 10650;
x = "safeZoneX";
y = "safeZoneY";
w = "safeZoneW";
h = "safeZoneH";
};
};
};
Expand All @@ -33,9 +37,17 @@ class RscTitles {
class controls {
class dirtImage: RscPicture {
idc = 10660;
x = "safeZoneX";
y = "safeZoneY";
w = "safeZoneW";
h = "safeZoneH";
};
class dustImage: RscPicture {
idc = 10662;
x = "safeZoneX";
y = "safeZoneY";
w = "safeZoneW";
h = "safeZoneH";
};
};
};
Expand Down
25 changes: 0 additions & 25 deletions addons/goggles/define.hpp

This file was deleted.

0 comments on commit c1d4ecf

Please sign in to comment.