Skip to content

Commit

Permalink
Remove unused dialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
theace0296 committed Sep 6, 2021
1 parent 9b7d8d5 commit 7cc775b
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 326 deletions.
62 changes: 1 addition & 61 deletions RandFramework/GUI/dialogs.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,6 @@ class TRGM_VAR_DialogSetupParams
};



class TRGM_VAR_DialogSetupParamsAdvanced
{
idd = 6000;
Expand Down Expand Up @@ -583,6 +582,7 @@ class TRGM_VAR_DialogRequests
};
};


class TRGM_VAR_DialogRequests_VehicleCustomization
{
idd = 8080;
Expand Down Expand Up @@ -884,66 +884,6 @@ class TRGM_VAR_DialogRequests_VehicleCustomization
};



class TRGM_VAR_DialogSetupEnemyFaction
{
idd = 7000;
movingEnabled = false;

class controls {

////////////////////////////////////////////////////////
// GUI EDITOR OUTPUT START (by treendy, v1.063, #Nazety)
////////////////////////////////////////////////////////

class RscPicture_7901: RscPicture
{
idc = 7901;
text = "RandFramework\Media\table1.paa";
x = 0.226718 * safezoneW + safezoneX;
y = 0.0446 * safezoneH + safezoneY;
w = 0.531094 * safezoneW;
h = 0.935 * safezoneH;
};

//class RscText_6933: RscText
//{
// idc = 6933;
// text = "Advanced Options"; //--- ToDo: Localize;
// x = 0.298 * safezoneW + safezoneX;
// y = 0.236 * safezoneH + safezoneY;
// w = 0.175341 * safezoneW;
// h = 0.0659856 * safezoneH;
// colorText[] = {0,1,0,1};
//};


class btnAdvanced: RscButton
{
idc = 7903;
text = $STR_TRGM2_defines_Cancel; //--- ToDo: Localize;
x = 0.608281 * safezoneW + safezoneX;
y = 0.7442 * safezoneH + safezoneY;
w = 0.0773437 * safezoneW;
h = 0.022 * safezoneH;
colorBackground[] = {1,0,0,1};
colorActive[] = {1,0,0,1};
action = "[] spawn TRGM_GUI_fnc_openDialogAdvancedMissionSettings; false";
};




////////////////////////////////////////////////////////
// GUI EDITOR OUTPUT END
////////////////////////////////////////////////////////



};
};


class KeypadDefuse
{
idd = -1;
Expand Down
145 changes: 0 additions & 145 deletions RandFramework/GUI/fn_openDialogEnemyFaction.sqf

This file was deleted.

118 changes: 0 additions & 118 deletions RandFramework/GUI/fn_openDialogTeamLoadouts.sqf

This file was deleted.

2 changes: 0 additions & 2 deletions RandFramework/functions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,8 @@ class TRGM_GUI {
class initNotifications {};
class missionTypeSelection {};
class openDialogAdvancedMissionSettings {};
class openDialogEnemyFaction {};
class openDialogMissionSelection {};
class openDialogRequests {};
class openDialogTeamLoadouts {};
class openVehicleCustomizationDialog {};
class setParamsAndBegin {};
class timeSliderOnChange {};
Expand Down

0 comments on commit 7cc775b

Please sign in to comment.