C&C Remastered Map Editor

Initial commit of C&C Remastered Map Editor code
master
PG-SteveT 2 years ago
parent 1f6350fe6e
commit e37e174be1

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="MobiusEditor.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
</sectionGroup>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="MobiusEditor.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/>
</startup>
<applicationSettings>
<MobiusEditor.Properties.Settings>
<setting name="Quality" serializeAs="String">
<value>2</value>
</setting>
</MobiusEditor.Properties.Settings>
</applicationSettings>
<userSettings>
<MobiusEditor.Properties.Settings>
<setting name="ToolDialogPosition" serializeAs="String">
<value>0, 0</value>
</setting>
<setting name="ShowInviteWarning" serializeAs="String">
<value>True</value>
</setting>
</MobiusEditor.Properties.Settings>
</userSettings>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin" />
</assemblyBinding>
</runtime>
</configuration>

@ -0,0 +1,536 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="15.0">
<Import Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{397CEF00-8930-4EC8-B15F-F7CF7193FB22}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>MobiusEditor</RootNamespace>
<AssemblyName Condition="'$(Configuration)'=='Debug'">CnCTDRAMapEditorD</AssemblyName>
<AssemblyName Condition="'$(Configuration)'=='Release'">CnCTDRAMapEditor</AssemblyName>
<AssemblyName Condition="'$(Configuration)'=='Gold'">CnCTDRAMapEditor</AssemblyName>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
<SccProjectName>SAK</SccProjectName>
<SccLocalPath>SAK</SccLocalPath>
<SccAuxPath>SAK</SccAuxPath>
<SccProvider>SAK</SccProvider>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>x64</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>TRACE;DEBUG;STEAMWORKS_WIN;STEAMWORKS_X64;DEVELOPER</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>7.3</LangVersion>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>x64</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE;STEAMWORKS_WIN;STEAMWORKS_X64;DEVELOPER</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>7.3</LangVersion>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Gold|AnyCPU'">
<OutputPath>bin\Gold\</OutputPath>
<DefineConstants>TRACE;STEAMWORKS_WIN;STEAMWORKS_X64</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>Resources\GameIcon00.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.IO.Compression" />
<Reference Include="System.IO.Compression.FileSystem" />
<Reference Include="System.Numerics" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Controls\BasicSettings.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Controls\BasicSettings.Designer.cs">
<DependentUpon>BasicSettings.cs</DependentUpon>
</Compile>
<Compile Include="Controls\BriefingSettings.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Controls\BriefingSettings.Designer.cs">
<DependentUpon>BriefingSettings.cs</DependentUpon>
</Compile>
<Compile Include="Controls\ImageTooltip.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="Controls\ImageTooltip.Designer.cs">
<DependentUpon>ImageTooltip.cs</DependentUpon>
</Compile>
<Compile Include="Controls\MapPanel.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="Controls\MapPanel.Designer.cs">
<DependentUpon>MapPanel.cs</DependentUpon>
</Compile>
<Compile Include="Controls\MenuButton.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="Controls\MenuButton.Designer.cs">
<DependentUpon>MenuButton.cs</DependentUpon>
</Compile>
<Compile Include="Controls\PropertiesComboBox.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="Controls\PropertiesComboBox.Designer.cs">
<DependentUpon>PropertiesComboBox.cs</DependentUpon>
</Compile>
<Compile Include="Controls\TerrainProperties.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Controls\TerrainProperties.Designer.cs">
<DependentUpon>TerrainProperties.cs</DependentUpon>
</Compile>
<Compile Include="Controls\ObjectProperties.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Controls\ObjectProperties.Designer.cs">
<DependentUpon>ObjectProperties.cs</DependentUpon>
</Compile>
<Compile Include="Controls\PlayerSettings.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Controls\PlayerSettings.Designer.cs">
<DependentUpon>PlayerSettings.cs</DependentUpon>
</Compile>
<Compile Include="Controls\TypeComboBox.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="Controls\TypeComboBox.Designer.cs">
<DependentUpon>TypeComboBox.cs</DependentUpon>
</Compile>
<Compile Include="Dialogs\ErrorMessageBox.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Dialogs\ErrorMessageBox.Designer.cs">
<DependentUpon>ErrorMessageBox.cs</DependentUpon>
</Compile>
<Compile Include="Dialogs\InviteMessageBox.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Dialogs\InviteMessageBox.Designer.cs">
<DependentUpon>InviteMessageBox.cs</DependentUpon>
</Compile>
<Compile Include="Dialogs\MapSettingsDialog.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Dialogs\MapSettingsDialog.Designer.cs">
<DependentUpon>MapSettingsDialog.cs</DependentUpon>
</Compile>
<Compile Include="Dialogs\NewMapDialog.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Dialogs\NewMapDialog.Designer.cs">
<DependentUpon>NewMapDialog.cs</DependentUpon>
</Compile>
<Compile Include="Dialogs\SteamDialog.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Dialogs\SteamDialog.Designer.cs">
<DependentUpon>SteamDialog.cs</DependentUpon>
</Compile>
<Compile Include="Dialogs\TriggersDialog.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Dialogs\TriggersDialog.Designer.cs">
<DependentUpon>TriggersDialog.cs</DependentUpon>
</Compile>
<Compile Include="Dialogs\TeamTypesDialog.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Dialogs\TeamTypesDialog.Designer.cs">
<DependentUpon>TeamTypesDialog.cs</DependentUpon>
</Compile>
<Compile Include="Event\RenderEventArgs.cs" />
<Compile Include="Event\UndoRedoEventArgs.cs" />
<Compile Include="Globals.cs" />
<Compile Include="Interface\IBrowsableType.cs" />
<Compile Include="Interface\ICellOccupier.cs" />
<Compile Include="Interface\ICellOverlapper.cs" />
<Compile Include="Interface\IGamePlugin.cs" />
<Compile Include="Interface\INamedType.cs" />
<Compile Include="Interface\ITechnoType.cs" />
<Compile Include="Interface\ITool.cs" />
<Compile Include="Interface\IWidget.cs" />
<Compile Include="MainForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="MainForm.Designer.cs">
<DependentUpon>MainForm.cs</DependentUpon>
</Compile>
<Compile Include="Model\BasicSection.cs" />
<Compile Include="Model\BriefingSection.cs" />
<Compile Include="Model\Building.cs" />
<Compile Include="Model\CellGrid.cs" />
<Compile Include="Model\CellMetrics.cs" />
<Compile Include="Model\CellTrigger.cs" />
<Compile Include="Model\DirectionType.cs" />
<Compile Include="Model\House.cs" />
<Compile Include="Model\HouseType.cs" />
<Compile Include="Model\BuildingType.cs" />
<Compile Include="Model\Infantry.cs" />
<Compile Include="Model\Map.cs" />
<Compile Include="Model\MapSection.cs" />
<Compile Include="Model\OccupierSet.cs" />
<Compile Include="Model\OverlapperSet.cs" />
<Compile Include="Model\Overlay.cs" />
<Compile Include="Model\OverlayType.cs" />
<Compile Include="Model\Smudge.cs" />
<Compile Include="Model\SmudgeType.cs" />
<Compile Include="Model\SteamSection.cs" />
<Compile Include="Model\TeamType.cs" />
<Compile Include="Model\Template.cs" />
<Compile Include="Model\TemplateType.cs" />
<Compile Include="Model\Terrain.cs" />
<Compile Include="Model\TerrainType.cs" />
<Compile Include="Model\TheaterType.cs" />
<Compile Include="Model\Trigger.cs" />
<Compile Include="Model\InfantryType.cs" />
<Compile Include="Model\TypeItem.cs" />
<Compile Include="Model\Unit.cs" />
<Compile Include="Model\UnitType.cs" />
<Compile Include="Model\Waypoint.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="RedAlert\ActionDataTypes.cs" />
<Compile Include="RedAlert\ActionTypes.cs" />
<Compile Include="RedAlert\BasicSection.cs" />
<Compile Include="RedAlert\BuildingTypes.cs" />
<Compile Include="RedAlert\Constants.cs" />
<Compile Include="RedAlert\DirectionTypes.cs" />
<Compile Include="RedAlert\EventTypes.cs" />
<Compile Include="RedAlert\GamePlugin.cs" />
<Compile Include="RedAlert\House.cs" />
<Compile Include="RedAlert\HouseTypes.cs" />
<Compile Include="RedAlert\InfantryTypes.cs" />
<Compile Include="RedAlert\MissionTypes.cs" />
<Compile Include="RedAlert\OverlayTypes.cs" />
<Compile Include="RedAlert\SmudgeTypes.cs" />
<Compile Include="RedAlert\TeamMissionTypes.cs" />
<Compile Include="RedAlert\TemplateTypes.cs" />
<Compile Include="RedAlert\TerrainTypes.cs" />
<Compile Include="RedAlert\TheaterTypes.cs" />
<Compile Include="RedAlert\UnitTypes.cs" />
<Compile Include="Render\MapRenderer.cs" />
<Compile Include="Steamworks.NET\autogen\isteamapplist.cs" />
<Compile Include="Steamworks.NET\autogen\isteamapps.cs" />
<Compile Include="Steamworks.NET\autogen\isteamclient.cs" />
<Compile Include="Steamworks.NET\autogen\isteamcontroller.cs" />
<Compile Include="Steamworks.NET\autogen\isteamfriends.cs" />
<Compile Include="Steamworks.NET\autogen\isteamgameserver.cs" />
<Compile Include="Steamworks.NET\autogen\isteamgameserverapps.cs" />
<Compile Include="Steamworks.NET\autogen\isteamgameserverclient.cs" />
<Compile Include="Steamworks.NET\autogen\isteamgameserverhttp.cs" />
<Compile Include="Steamworks.NET\autogen\isteamgameserverinventory.cs" />
<Compile Include="Steamworks.NET\autogen\isteamgameservernetworking.cs" />
<Compile Include="Steamworks.NET\autogen\isteamgameserverstats.cs" />
<Compile Include="Steamworks.NET\autogen\isteamgameserverugc.cs" />
<Compile Include="Steamworks.NET\autogen\isteamgameserverutils.cs" />
<Compile Include="Steamworks.NET\autogen\isteamhtmlsurface.cs" />
<Compile Include="Steamworks.NET\autogen\isteamhttp.cs" />
<Compile Include="Steamworks.NET\autogen\isteaminput.cs" />
<Compile Include="Steamworks.NET\autogen\isteaminventory.cs" />
<Compile Include="Steamworks.NET\autogen\isteammatchmaking.cs" />
<Compile Include="Steamworks.NET\autogen\isteammusic.cs" />
<Compile Include="Steamworks.NET\autogen\isteammusicremote.cs" />
<Compile Include="Steamworks.NET\autogen\isteamnetworking.cs" />
<Compile Include="Steamworks.NET\autogen\isteamparentalsettings.cs" />
<Compile Include="Steamworks.NET\autogen\isteamremoteplay.cs" />
<Compile Include="Steamworks.NET\autogen\isteamremotestorage.cs" />
<Compile Include="Steamworks.NET\autogen\isteamscreenshots.cs" />
<Compile Include="Steamworks.NET\autogen\isteamugc.cs" />
<Compile Include="Steamworks.NET\autogen\isteamunifiedmessages.cs" />
<Compile Include="Steamworks.NET\autogen\isteamuser.cs" />
<Compile Include="Steamworks.NET\autogen\isteamuserstats.cs" />
<Compile Include="Steamworks.NET\autogen\isteamutils.cs" />
<Compile Include="Steamworks.NET\autogen\isteamvideo.cs" />
<Compile Include="Steamworks.NET\autogen\NativeMethods.cs" />
<Compile Include="Steamworks.NET\autogen\SteamCallbacks.cs" />
<Compile Include="Steamworks.NET\autogen\SteamConstants.cs" />
<Compile Include="Steamworks.NET\autogen\SteamEnums.cs" />
<Compile Include="Steamworks.NET\autogen\SteamStructs.cs" />
<Compile Include="Steamworks.NET\CallbackDispatcher.cs" />
<Compile Include="Steamworks.NET\CallbackIdentity.cs" />
<Compile Include="Steamworks.NET\InteropHelp.cs" />
<Compile Include="Steamworks.NET\ISteamMatchmakingResponses.cs" />
<Compile Include="Steamworks.NET\Packsize.cs" />
<Compile Include="Steamworks.NET\Steam.cs" />
<Compile Include="Steamworks.NET\types\MatchmakingTypes\gameserveritem_t.cs" />
<Compile Include="Steamworks.NET\types\MatchmakingTypes\servernetadr_t.cs" />
<Compile Include="Steamworks.NET\types\SteamClientPublic\CGameID.cs" />
<Compile Include="Steamworks.NET\types\SteamClientPublic\CSteamID.cs" />
<Compile Include="Steamworks.NET\types\SteamClientPublic\HAuthTicket.cs" />
<Compile Include="Steamworks.NET\types\SteamClient\SteamAPIWarningMessageHook_t.cs" />
<Compile Include="Steamworks.NET\types\SteamClient\SteamAPI_CheckCallbackRegistered_t.cs" />
<Compile Include="Steamworks.NET\types\SteamClient\SteamAPI_PostAPIResultInProcess_t.cs" />
<Compile Include="Steamworks.NET\types\SteamController\ControllerActionSetHandle_t.cs" />
<Compile Include="Steamworks.NET\types\SteamController\ControllerAnalogActionHandle_t.cs" />
<Compile Include="Steamworks.NET\types\SteamController\ControllerDigitalActionHandle_t.cs" />
<Compile Include="Steamworks.NET\types\SteamController\ControllerHandle_t.cs" />
<Compile Include="Steamworks.NET\types\SteamFriends\FriendsGroupID_t.cs" />
<Compile Include="Steamworks.NET\types\SteamHTMLSurface\HHTMLBrowser.cs" />
<Compile Include="Steamworks.NET\types\SteamHTTP\HTTPCookieContainerHandle.cs" />
<Compile Include="Steamworks.NET\types\SteamHTTP\HTTPRequestHandle.cs" />
<Compile Include="Steamworks.NET\types\SteamInput\InputActionSetHandle_t.cs" />
<Compile Include="Steamworks.NET\types\SteamInput\InputAnalogActionHandle_t.cs" />
<Compile Include="Steamworks.NET\types\SteamInput\InputDigitalActionHandle_t.cs" />
<Compile Include="Steamworks.NET\types\SteamInput\InputHandle_t.cs" />
<Compile Include="Steamworks.NET\types\SteamInventory\SteamInventoryResult_t.cs" />
<Compile Include="Steamworks.NET\types\SteamInventory\SteamInventoryUpdateHandle_t.cs" />
<Compile Include="Steamworks.NET\types\SteamInventory\SteamItemDef_t.cs" />
<Compile Include="Steamworks.NET\types\SteamInventory\SteamItemInstanceID_t.cs" />
<Compile Include="Steamworks.NET\types\SteamMatchmaking\HServerListRequest.cs" />
<Compile Include="Steamworks.NET\types\SteamMatchmaking\HServerQuery.cs" />
<Compile Include="Steamworks.NET\types\SteamNetworking\SNetListenSocket_t.cs" />
<Compile Include="Steamworks.NET\types\SteamNetworking\SNetSocket_t.cs" />
<Compile Include="Steamworks.NET\types\SteamRemoteStorage\PublishedFileId_t.cs" />
<Compile Include="Steamworks.NET\types\SteamRemoteStorage\PublishedFileUpdateHandle_t.cs" />
<Compile Include="Steamworks.NET\types\SteamRemoteStorage\UGCFileWriteStreamHandle_t.cs" />
<Compile Include="Steamworks.NET\types\SteamRemoteStorage\UGCHandle_t.cs" />
<Compile Include="Steamworks.NET\types\SteamScreenshots\ScreenshotHandle.cs" />
<Compile Include="Steamworks.NET\types\SteamTypes\AccountID_t.cs" />
<Compile Include="Steamworks.NET\types\SteamTypes\AppId_t.cs" />
<Compile Include="Steamworks.NET\types\SteamTypes\DepotId_t.cs" />
<Compile Include="Steamworks.NET\types\SteamTypes\ManifestId_t.cs" />
<Compile Include="Steamworks.NET\types\SteamTypes\PartyBeaconID_t.cs" />
<Compile Include="Steamworks.NET\types\SteamTypes\RTime32.cs" />
<Compile Include="Steamworks.NET\types\SteamTypes\SiteId_t.cs" />
<Compile Include="Steamworks.NET\types\SteamTypes\SteamAPICall_t.cs" />
<Compile Include="Steamworks.NET\types\SteamUGC\UGCQueryHandle_t.cs" />
<Compile Include="Steamworks.NET\types\SteamUGC\UGCUpdateHandle_t.cs" />
<Compile Include="Steamworks.NET\types\SteamUnifiedMessages\ClientUnifiedMessageHandle.cs" />
<Compile Include="Steamworks.NET\types\SteamUserStats\SteamLeaderboardEntries_t.cs" />
<Compile Include="Steamworks.NET\types\SteamUserStats\SteamLeaderboard_t.cs" />
<Compile Include="Steamworks.NET\types\Steam_api_common\HSteamPipe.cs" />
<Compile Include="Steamworks.NET\types\Steam_api_common\HSteamUser.cs" />
<Compile Include="TiberianDawn\ActionTypes.cs" />
<Compile Include="TiberianDawn\BasicSection.cs" />
<Compile Include="TiberianDawn\Constants.cs" />
<Compile Include="TiberianDawn\DirectionTypes.cs" />
<Compile Include="TiberianDawn\EventTypes.cs" />
<Compile Include="TiberianDawn\GamePlugin.cs" />
<Compile Include="TiberianDawn\House.cs" />
<Compile Include="TiberianDawn\HouseTypes.cs" />
<Compile Include="TiberianDawn\BuildingTypes.cs" />
<Compile Include="TiberianDawn\MissionTypes.cs" />
<Compile Include="TiberianDawn\OverlayTypes.cs" />
<Compile Include="TiberianDawn\SmudgeTypes.cs" />
<Compile Include="TiberianDawn\TeamMissionTypes.cs" />
<Compile Include="TiberianDawn\TemplateTypes.cs" />
<Compile Include="TiberianDawn\TerrainTypes.cs" />
<Compile Include="TiberianDawn\TheaterTypes.cs" />
<Compile Include="TiberianDawn\InfantryTypes.cs" />
<Compile Include="TiberianDawn\UnitTypes.cs" />
<Compile Include="Tools\BuildingTool.cs" />
<Compile Include="Tools\Dialogs\ResourcesToolDialog.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Tools\Dialogs\ResourcesToolDialog.Designer.cs">
<DependentUpon>ResourcesToolDialog.cs</DependentUpon>
</Compile>
<Compile Include="Tools\Dialogs\ObjectToolDialog.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Tools\Dialogs\ObjectToolDialog.Designer.cs">
<DependentUpon>ObjectToolDialog.cs</DependentUpon>
</Compile>
<Compile Include="Tools\Dialogs\GenericToolDialog.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Tools\Dialogs\GenericToolDialog.Designer.cs">
<DependentUpon>GenericToolDialog.cs</DependentUpon>
</Compile>
<Compile Include="Tools\Dialogs\TerrainToolDialog.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Tools\Dialogs\TerrainToolDialog.Designer.cs">
<DependentUpon>TerrainToolDialog.cs</DependentUpon>
</Compile>
<Compile Include="Tools\Dialogs\TemplateToolDialog.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Tools\Dialogs\TemplateToolDialog.Designer.cs">
<DependentUpon>TemplateToolDialog.cs</DependentUpon>
</Compile>
<Compile Include="Tools\Dialogs\CellTriggersToolDialog.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Tools\Dialogs\CellTriggersToolDialog.Designer.cs">
<DependentUpon>CellTriggersToolDialog.cs</DependentUpon>
</Compile>
<Compile Include="Tools\Dialogs\WaypointsToolDialog.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Tools\Dialogs\WaypointsToolDialog.Designer.cs">
<DependentUpon>WaypointsToolDialog.cs</DependentUpon>
</Compile>
<Compile Include="Tools\InfantryTool.cs" />
<Compile Include="Tools\OverlaysTool.cs" />
<Compile Include="Tools\ResourcesTool.cs" />
<Compile Include="Tools\SmudgeTool.cs" />
<Compile Include="Tools\TemplateTool.cs" />
<Compile Include="Tools\TerrainTool.cs" />
<Compile Include="Tools\UnitTool.cs" />
<Compile Include="Tools\ViewTool.cs" />
<Compile Include="Tools\WallsTool.cs" />
<Compile Include="Tools\CellTriggersTool.cs" />
<Compile Include="Tools\WaypointsTool.cs" />
<Compile Include="Utility\CRC.cs" />
<Compile Include="Utility\ExtensionMethods.cs" />
<Compile Include="Utility\GameTextManager.cs" />
<Compile Include="Utility\INI.cs" />
<Compile Include="Utility\Megafile.cs" />
<Compile Include="Utility\MegafileBuilder.cs" />
<Compile Include="Utility\MegafileManager.cs" />
<Compile Include="Utility\MRU.cs" />
<Compile Include="Utility\PropertyTracker.cs" />
<Compile Include="Utility\SteamworksUGC.cs" />
<Compile Include="Utility\TeamColor.cs" />
<Compile Include="Utility\TeamColorManager.cs" />
<Compile Include="Utility\TextureManager.cs" />
<Compile Include="Utility\TGASharpLib.cs" />
<Compile Include="Utility\Tileset.cs" />
<Compile Include="Utility\TilesetManager.cs" />
<Compile Include="Utility\UndoRedoList.cs" />
<Compile Include="Utility\WWCompression.cs" />
<Compile Include="Widgets\NavigationWidget.cs" />
<EmbeddedResource Include="Controls\BasicSettings.resx">
<DependentUpon>BasicSettings.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Controls\BriefingSettings.resx">
<DependentUpon>BriefingSettings.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Controls\MapPanel.resx">
<DependentUpon>MapPanel.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Controls\TerrainProperties.resx">
<DependentUpon>TerrainProperties.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Controls\ObjectProperties.resx">
<DependentUpon>ObjectProperties.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Controls\PlayerSettings.resx">
<DependentUpon>PlayerSettings.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Dialogs\ErrorMessageBox.resx">
<DependentUpon>ErrorMessageBox.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Dialogs\InviteMessageBox.resx">
<DependentUpon>InviteMessageBox.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Dialogs\MapSettingsDialog.resx">
<DependentUpon>MapSettingsDialog.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Dialogs\NewMapDialog.resx">
<DependentUpon>NewMapDialog.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Dialogs\SteamDialog.resx">
<DependentUpon>SteamDialog.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Dialogs\TriggersDialog.resx">
<DependentUpon>TriggersDialog.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Dialogs\TeamTypesDialog.resx">
<DependentUpon>TeamTypesDialog.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="MainForm.resx">
<DependentUpon>MainForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<EmbeddedResource Include="Tools\Dialogs\ResourcesToolDialog.resx">
<DependentUpon>ResourcesToolDialog.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Tools\Dialogs\ObjectToolDialog.resx">
<DependentUpon>ObjectToolDialog.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Tools\Dialogs\GenericToolDialog.resx">
<DependentUpon>GenericToolDialog.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Tools\Dialogs\TerrainToolDialog.resx">
<DependentUpon>TerrainToolDialog.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Tools\Dialogs\TemplateToolDialog.resx">
<DependentUpon>TemplateToolDialog.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Tools\Dialogs\CellTriggersToolDialog.resx">
<DependentUpon>CellTriggersToolDialog.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Tools\Dialogs\WaypointsToolDialog.resx">
<DependentUpon>WaypointsToolDialog.cs</DependentUpon>
</EmbeddedResource>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Resources\GameIcon00.ico" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\UI_CustomMissionPreviewDefault.png" />
<Content Include="Steamworks.NET\redist\steam_api.dll" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json">
<Version>12.0.3</Version>
</PackageReference>
<PackageReference Include="Pfim">
<Version>0.9.1</Version>
</PackageReference>
<PackageReference Include="System.ValueTuple">
<Version>4.5.0</Version>
</PackageReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

@ -0,0 +1,518 @@
//
// Copyright 2020 Electronic Arts Inc.
//
// The Command & Conquer Map Editor and corresponding source code is free
// software: you can redistribute it and/or modify it under the terms of
// the GNU General Public License as published by the Free Software Foundation,
// either version 3 of the License, or (at your option) any later version.
// The Command & Conquer Map Editor and corresponding source code is distributed
// in the hope that it will be useful, but with permitted additional restrictions
// under Section 7 of the GPL. See the GNU General Public License in LICENSE.TXT
// distributed with this program. You should have received a copy of the
// GNU General Public License along with permitted additional restrictions
// with this program. If not, see https://github.com/electronicarts/CnC_Remastered_Collection
namespace MobiusEditor.Controls
{
partial class BasicSettings
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Component Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.label10 = new System.Windows.Forms.Label();
this.loseComboBox = new System.Windows.Forms.ComboBox();
this.isSinglePlayerCheckBox = new System.Windows.Forms.CheckBox();
this.win4ComboBox = new System.Windows.Forms.ComboBox();
this.win3ComboBox = new System.Windows.Forms.ComboBox();
this.win2ComboBox = new System.Windows.Forms.ComboBox();
this.winComboBox = new System.Windows.Forms.ComboBox();
this.actionComboBox = new System.Windows.Forms.ComboBox();
this.briefComboBox = new System.Windows.Forms.ComboBox();
this.introComboBox = new System.Windows.Forms.ComboBox();
this.win4Label = new System.Windows.Forms.Label();
this.win3Label = new System.Windows.Forms.Label();
this.win2Label = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.buildLevelLabel = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.nameTxt = new System.Windows.Forms.TextBox();
this.playerComboBox = new System.Windows.Forms.ComboBox();
this.buidLevelNud = new System.Windows.Forms.NumericUpDown();
this.percentNud = new System.Windows.Forms.NumericUpDown();
this.carryOverMoneyNud = new System.Windows.Forms.NumericUpDown();
this.label6 = new System.Windows.Forms.Label();
this.authorTxt = new System.Windows.Forms.TextBox();
this.baseLabel = new System.Windows.Forms.Label();
this.baseComboBox = new System.Windows.Forms.ComboBox();
this.tableLayoutPanel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.buidLevelNud)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.percentNud)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.carryOverMoneyNud)).BeginInit();
this.SuspendLayout();
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.AutoSize = true;
this.tableLayoutPanel1.ColumnCount = 2;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel1.Controls.Add(this.label10, 0, 15);
this.tableLayoutPanel1.Controls.Add(this.loseComboBox, 1, 15);
this.tableLayoutPanel1.Controls.Add(this.isSinglePlayerCheckBox, 1, 16);
this.tableLayoutPanel1.Controls.Add(this.win4ComboBox, 1, 14);
this.tableLayoutPanel1.Controls.Add(this.win3ComboBox, 1, 13);
this.tableLayoutPanel1.Controls.Add(this.win2ComboBox, 1, 12);
this.tableLayoutPanel1.Controls.Add(this.winComboBox, 1, 11);
this.tableLayoutPanel1.Controls.Add(this.actionComboBox, 1, 10);
this.tableLayoutPanel1.Controls.Add(this.briefComboBox, 1, 9);
this.tableLayoutPanel1.Controls.Add(this.introComboBox, 1, 8);
this.tableLayoutPanel1.Controls.Add(this.win4Label, 0, 14);
this.tableLayoutPanel1.Controls.Add(this.win3Label, 0, 13);
this.tableLayoutPanel1.Controls.Add(this.win2Label, 0, 12);
this.tableLayoutPanel1.Controls.Add(this.label9, 0, 11);
this.tableLayoutPanel1.Controls.Add(this.label8, 0, 10);
this.tableLayoutPanel1.Controls.Add(this.label7, 0, 9);
this.tableLayoutPanel1.Controls.Add(this.label1, 0, 8);
this.tableLayoutPanel1.Controls.Add(this.buildLevelLabel, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.label2, 0, 1);
this.tableLayoutPanel1.Controls.Add(this.label3, 0, 2);
this.tableLayoutPanel1.Controls.Add(this.label4, 0, 3);
this.tableLayoutPanel1.Controls.Add(this.label5, 0, 4);
this.tableLayoutPanel1.Controls.Add(this.nameTxt, 1, 2);
this.tableLayoutPanel1.Controls.Add(this.playerComboBox, 1, 4);
this.tableLayoutPanel1.Controls.Add(this.buidLevelNud, 1, 0);
this.tableLayoutPanel1.Controls.Add(this.percentNud, 1, 3);
this.tableLayoutPanel1.Controls.Add(this.carryOverMoneyNud, 1, 1);
this.tableLayoutPanel1.Controls.Add(this.label6, 0, 5);
this.tableLayoutPanel1.Controls.Add(this.authorTxt, 1, 5);
this.tableLayoutPanel1.Controls.Add(this.baseLabel, 0, 6);
this.tableLayoutPanel1.Controls.Add(this.baseComboBox, 1, 6);
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 17;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(300, 403);
this.tableLayoutPanel1.TabIndex = 1;
//
// label10
//
this.label10.Dock = System.Windows.Forms.DockStyle.Fill;
this.label10.Location = new System.Drawing.Point(2, 355);
this.label10.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(87, 25);
this.label10.TabIndex = 35;
this.label10.Text = "Lose";
this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// loseComboBox
//
this.loseComboBox.Dock = System.Windows.Forms.DockStyle.Fill;
this.loseComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.loseComboBox.FormattingEnabled = true;
this.loseComboBox.Location = new System.Drawing.Point(93, 357);
this.loseComboBox.Margin = new System.Windows.Forms.Padding(2);
this.loseComboBox.Name = "loseComboBox";
this.loseComboBox.Size = new System.Drawing.Size(205, 21);
this.loseComboBox.TabIndex = 34;
//
// isSinglePlayerCheckBox
//
this.isSinglePlayerCheckBox.AutoSize = true;
this.isSinglePlayerCheckBox.Location = new System.Drawing.Point(93, 382);
this.isSinglePlayerCheckBox.Margin = new System.Windows.Forms.Padding(2);
this.isSinglePlayerCheckBox.Name = "isSinglePlayerCheckBox";
this.isSinglePlayerCheckBox.Size = new System.Drawing.Size(87, 17);
this.isSinglePlayerCheckBox.TabIndex = 32;
this.isSinglePlayerCheckBox.Text = "Single-Player";
this.isSinglePlayerCheckBox.UseVisualStyleBackColor = true;
this.isSinglePlayerCheckBox.CheckedChanged += new System.EventHandler(this.isSinglePlayerCheckBox_CheckedChanged);
//
// win4ComboBox
//
this.win4ComboBox.Dock = System.Windows.Forms.DockStyle.Fill;
this.win4ComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.win4ComboBox.FormattingEnabled = true;
this.win4ComboBox.Location = new System.Drawing.Point(93, 332);
this.win4ComboBox.Margin = new System.Windows.Forms.Padding(2);
this.win4ComboBox.Name = "win4ComboBox";
this.win4ComboBox.Size = new System.Drawing.Size(205, 21);
this.win4ComboBox.TabIndex = 31;
//
// win3ComboBox
//
this.win3ComboBox.Dock = System.Windows.Forms.DockStyle.Fill;
this.win3ComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.win3ComboBox.FormattingEnabled = true;
this.win3ComboBox.Location = new System.Drawing.Point(93, 307);
this.win3ComboBox.Margin = new System.Windows.Forms.Padding(2);
this.win3ComboBox.Name = "win3ComboBox";
this.win3ComboBox.Size = new System.Drawing.Size(205, 21);
this.win3ComboBox.TabIndex = 30;
//
// win2ComboBox
//
this.win2ComboBox.Dock = System.Windows.Forms.DockStyle.Fill;
this.win2ComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.win2ComboBox.FormattingEnabled = true;
this.win2ComboBox.Location = new System.Drawing.Point(93, 282);
this.win2ComboBox.Margin = new System.Windows.Forms.Padding(2);
this.win2ComboBox.Name = "win2ComboBox";
this.win2ComboBox.Size = new System.Drawing.Size(205, 21);
this.win2ComboBox.TabIndex = 29;
//
// winComboBox
//
this.winComboBox.Dock = System.Windows.Forms.DockStyle.Fill;
this.winComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.winComboBox.FormattingEnabled = true;
this.winComboBox.Location = new System.Drawing.Point(93, 257);
this.winComboBox.Margin = new System.Windows.Forms.Padding(2);
this.winComboBox.Name = "winComboBox";
this.winComboBox.Size = new System.Drawing.Size(205, 21);
this.winComboBox.TabIndex = 28;
//
// actionComboBox
//
this.actionComboBox.Dock = System.Windows.Forms.DockStyle.Fill;
this.actionComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.actionComboBox.FormattingEnabled = true;
this.actionComboBox.Location = new System.Drawing.Point(93, 232);
this.actionComboBox.Margin = new System.Windows.Forms.Padding(2);
this.actionComboBox.Name = "actionComboBox";
this.actionComboBox.Size = new System.Drawing.Size(205, 21);
this.actionComboBox.TabIndex = 27;
//
// briefComboBox
//
this.briefComboBox.Dock = System.Windows.Forms.DockStyle.Fill;
this.briefComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.briefComboBox.FormattingEnabled = true;
this.briefComboBox.Location = new System.Drawing.Point(93, 207);
this.briefComboBox.Margin = new System.Windows.Forms.Padding(2);
this.briefComboBox.Name = "briefComboBox";
this.briefComboBox.Size = new System.Drawing.Size(205, 21);
this.briefComboBox.TabIndex = 26;
//
// introComboBox
//
this.introComboBox.Dock = System.Windows.Forms.DockStyle.Fill;
this.introComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.introComboBox.FormattingEnabled = true;
this.introComboBox.Location = new System.Drawing.Point(93, 182);
this.introComboBox.Margin = new System.Windows.Forms.Padding(2);
this.introComboBox.Name = "introComboBox";
this.introComboBox.Size = new System.Drawing.Size(205, 21);
this.introComboBox.TabIndex = 25;
//
// win4Label
//
this.win4Label.Dock = System.Windows.Forms.DockStyle.Fill;
this.win4Label.Location = new System.Drawing.Point(2, 330);
this.win4Label.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.win4Label.Name = "win4Label";
this.win4Label.Size = new System.Drawing.Size(87, 25);
this.win4Label.TabIndex = 24;
this.win4Label.Text = "Win4";
this.win4Label.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// win3Label
//
this.win3Label.Dock = System.Windows.Forms.DockStyle.Fill;
this.win3Label.Location = new System.Drawing.Point(2, 305);
this.win3Label.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.win3Label.Name = "win3Label";
this.win3Label.Size = new System.Drawing.Size(87, 25);
this.win3Label.TabIndex = 23;
this.win3Label.Text = "Win3";
this.win3Label.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// win2Label
//
this.win2Label.Dock = System.Windows.Forms.DockStyle.Fill;
this.win2Label.Location = new System.Drawing.Point(2, 280);
this.win2Label.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.win2Label.Name = "win2Label";
this.win2Label.Size = new System.Drawing.Size(87, 25);
this.win2Label.TabIndex = 22;
this.win2Label.Text = "Win2";
this.win2Label.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label9
//
this.label9.Dock = System.Windows.Forms.DockStyle.Fill;
this.label9.Location = new System.Drawing.Point(2, 255);
this.label9.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(87, 25);
this.label9.TabIndex = 21;
this.label9.Text = "Win";
this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label8
//
this.label8.Dock = System.Windows.Forms.DockStyle.Fill;
this.label8.Location = new System.Drawing.Point(2, 230);
this.label8.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(87, 25);
this.label8.TabIndex = 20;
this.label8.Text = "Action";
this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label7
//
this.label7.Dock = System.Windows.Forms.DockStyle.Fill;
this.label7.Location = new System.Drawing.Point(2, 205);
this.label7.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(87, 25);
this.label7.TabIndex = 19;
this.label7.Text = "Brief";
this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label1
//
this.label1.Dock = System.Windows.Forms.DockStyle.Fill;
this.label1.Location = new System.Drawing.Point(2, 180);
this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(87, 25);
this.label1.TabIndex = 18;
this.label1.Text = "Intro";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// buildLevelLabel
//
this.buildLevelLabel.Dock = System.Windows.Forms.DockStyle.Fill;
this.buildLevelLabel.Location = new System.Drawing.Point(3, 0);
this.buildLevelLabel.Name = "buildLevelLabel";
this.buildLevelLabel.Size = new System.Drawing.Size(85, 26);
this.buildLevelLabel.TabIndex = 0;
this.buildLevelLabel.Text = "Build Level";
this.buildLevelLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label2
//
this.label2.Dock = System.Windows.Forms.DockStyle.Fill;
this.label2.Location = new System.Drawing.Point(3, 26);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(85, 26);
this.label2.TabIndex = 2;
this.label2.Text = "Carryover Money";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label3
//
this.label3.Dock = System.Windows.Forms.DockStyle.Fill;
this.label3.Location = new System.Drawing.Point(3, 52);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(85, 26);
this.label3.TabIndex = 3;
this.label3.Text = "Name";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label4
//
this.label4.Dock = System.Windows.Forms.DockStyle.Fill;
this.label4.Location = new System.Drawing.Point(3, 78);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(85, 26);
this.label4.TabIndex = 4;
this.label4.Text = "Percent";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label5
//
this.label5.Dock = System.Windows.Forms.DockStyle.Fill;
this.label5.Location = new System.Drawing.Point(3, 104);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(85, 27);
this.label5.TabIndex = 5;
this.label5.Text = "Player";
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// nameTxt
//
this.nameTxt.Dock = System.Windows.Forms.DockStyle.Fill;
this.nameTxt.Location = new System.Drawing.Point(94, 55);
this.nameTxt.Name = "nameTxt";
this.nameTxt.Size = new System.Drawing.Size(203, 20);
this.nameTxt.TabIndex = 7;
//
// playerComboBox
//
this.playerComboBox.Dock = System.Windows.Forms.DockStyle.Fill;
this.playerComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.playerComboBox.FormattingEnabled = true;
this.playerComboBox.Location = new System.Drawing.Point(94, 107);
this.playerComboBox.Name = "playerComboBox";
this.playerComboBox.Size = new System.Drawing.Size(203, 21);
this.playerComboBox.TabIndex = 9;
//
// buidLevelNud
//
this.buidLevelNud.Dock = System.Windows.Forms.DockStyle.Fill;
this.buidLevelNud.Location = new System.Drawing.Point(94, 3);
this.buidLevelNud.Name = "buidLevelNud";
this.buidLevelNud.Size = new System.Drawing.Size(203, 20);
this.buidLevelNud.TabIndex = 10;
//
// percentNud
//
this.percentNud.Dock = System.Windows.Forms.DockStyle.Fill;
this.percentNud.Location = new System.Drawing.Point(94, 81);
this.percentNud.Name = "percentNud";
this.percentNud.Size = new System.Drawing.Size(203, 20);
this.percentNud.TabIndex = 11;
//
// carryOverMoneyNud
//
this.carryOverMoneyNud.Dock = System.Windows.Forms.DockStyle.Fill;
this.carryOverMoneyNud.Location = new System.Drawing.Point(94, 29);
this.carryOverMoneyNud.Name = "carryOverMoneyNud";
this.carryOverMoneyNud.Size = new System.Drawing.Size(203, 20);
this.carryOverMoneyNud.TabIndex = 12;
//
// label6
//
this.label6.Dock = System.Windows.Forms.DockStyle.Fill;
this.label6.Location = new System.Drawing.Point(2, 131);
this.label6.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(87, 24);
this.label6.TabIndex = 13;
this.label6.Text = "Author";
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// authorTxt
//
this.authorTxt.Dock = System.Windows.Forms.DockStyle.Fill;
this.authorTxt.Location = new System.Drawing.Point(93, 133);
this.authorTxt.Margin = new System.Windows.Forms.Padding(2);
this.authorTxt.Name = "authorTxt";
this.authorTxt.Size = new System.Drawing.Size(205, 20);
this.authorTxt.TabIndex = 14;
//
// baseLabel
//
this.baseLabel.Dock = System.Windows.Forms.DockStyle.Fill;
this.baseLabel.Location = new System.Drawing.Point(2, 155);
this.baseLabel.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.baseLabel.Name = "baseLabel";
this.baseLabel.Size = new System.Drawing.Size(87, 25);
this.baseLabel.TabIndex = 15;
this.baseLabel.Text = "Base";
this.baseLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// baseComboBox
//
this.baseComboBox.Dock = System.Windows.Forms.DockStyle.Fill;
this.baseComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.baseComboBox.FormattingEnabled = true;
this.baseComboBox.Location = new System.Drawing.Point(93, 157);
this.baseComboBox.Margin = new System.Windows.Forms.Padding(2);
this.baseComboBox.Name = "baseComboBox";
this.baseComboBox.Size = new System.Drawing.Size(205, 21);
this.baseComboBox.TabIndex = 16;
//
// BasicSettings
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.tableLayoutPanel1);
this.Name = "BasicSettings";
this.Size = new System.Drawing.Size(300, 403);
this.tableLayoutPanel1.ResumeLayout(false);
this.tableLayoutPanel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.buidLevelNud)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.percentNud)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.carryOverMoneyNud)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private System.Windows.Forms.Label buildLevelLabel;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.TextBox nameTxt;
private System.Windows.Forms.ComboBox playerComboBox;
private System.Windows.Forms.NumericUpDown buidLevelNud;
private System.Windows.Forms.NumericUpDown percentNud;
private System.Windows.Forms.NumericUpDown carryOverMoneyNud;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.TextBox authorTxt;
private System.Windows.Forms.Label baseLabel;
private System.Windows.Forms.ComboBox baseComboBox;
private System.Windows.Forms.Label win4Label;
private System.Windows.Forms.Label win3Label;
private System.Windows.Forms.Label win2Label;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.CheckBox isSinglePlayerCheckBox;
private System.Windows.Forms.ComboBox win4ComboBox;
private System.Windows.Forms.ComboBox win3ComboBox;
private System.Windows.Forms.ComboBox win2ComboBox;
private System.Windows.Forms.ComboBox winComboBox;
private System.Windows.Forms.ComboBox actionComboBox;
private System.Windows.Forms.ComboBox briefComboBox;
private System.Windows.Forms.ComboBox introComboBox;
private System.Windows.Forms.ComboBox loseComboBox;
private System.Windows.Forms.Label label10;
}
}

@ -0,0 +1,80 @@
//
// Copyright 2020 Electronic Arts Inc.
//
// The Command & Conquer Map Editor and corresponding source code is free
// software: you can redistribute it and/or modify it under the terms of
// the GNU General Public License as published by the Free Software Foundation,
// either version 3 of the License, or (at your option) any later version.
// The Command & Conquer Map Editor and corresponding source code is distributed
// in the hope that it will be useful, but with permitted additional restrictions
// under Section 7 of the GPL. See the GNU General Public License in LICENSE.TXT
// distributed with this program. You should have received a copy of the
// GNU General Public License along with permitted additional restrictions
// with this program. If not, see https://github.com/electronicarts/CnC_Remastered_Collection
using MobiusEditor.Interface;
using System;
using System.Data;
using System.Linq;
using System.Windows.Forms;
namespace MobiusEditor.Controls
{
public partial class BasicSettings : UserControl
{
public BasicSettings(IGamePlugin plugin, dynamic basicSection)
{
InitializeComponent();
playerComboBox.DataSource = plugin.Map.Houses.Select(h => h.Type.Name).ToArray();
baseComboBox.DataSource = plugin.Map.Houses.Select(h => h.Type.Name).ToArray();
introComboBox.DataSource = plugin.Map.MovieTypes.ToArray();
briefComboBox.DataSource = plugin.Map.MovieTypes.ToArray();
actionComboBox.DataSource = plugin.Map.MovieTypes.ToArray();
winComboBox.DataSource = plugin.Map.MovieTypes.ToArray();
win2ComboBox.DataSource = plugin.Map.MovieTypes.ToArray();
win3ComboBox.DataSource = plugin.Map.MovieTypes.ToArray();
win4ComboBox.DataSource = plugin.Map.MovieTypes.ToArray();
loseComboBox.DataSource = plugin.Map.MovieTypes.ToArray();
carryOverMoneyNud.DataBindings.Add("Value", basicSection, "CarryOverMoney");
nameTxt.DataBindings.Add("Text", basicSection, "Name");
percentNud.DataBindings.Add("Value", basicSection, "Percent");
playerComboBox.DataBindings.Add("SelectedItem", basicSection, "Player");
authorTxt.DataBindings.Add("Text", basicSection, "Author");
isSinglePlayerCheckBox.DataBindings.Add("Checked", basicSection, "SoloMission");
introComboBox.DataBindings.Add("SelectedItem", basicSection, "Intro");
briefComboBox.DataBindings.Add("SelectedItem", basicSection, "Brief");
actionComboBox.DataBindings.Add("SelectedItem", basicSection, "Action");
winComboBox.DataBindings.Add("SelectedItem", basicSection, "Win");
loseComboBox.DataBindings.Add("SelectedItem", basicSection, "Lose");
switch (plugin.GameType)
{
case GameType.TiberianDawn:
buidLevelNud.DataBindings.Add("Value", basicSection, "BuildLevel");
baseLabel.Visible = baseComboBox.Visible = false;
win2Label.Visible = win2ComboBox.Visible = false;
win3Label.Visible = win3ComboBox.Visible = false;
win4Label.Visible = win4ComboBox.Visible = false;
break;
case GameType.RedAlert:
buidLevelNud.Visible = buildLevelLabel.Visible = false;
baseComboBox.DataBindings.Add("SelectedItem", basicSection, "BasePlayer");
win2ComboBox.DataBindings.Add("SelectedItem", basicSection, "Win2");
win3ComboBox.DataBindings.Add("SelectedItem", basicSection, "Win3");
win4ComboBox.DataBindings.Add("SelectedItem", basicSection, "Win4");
break;
}
introComboBox.Enabled = briefComboBox.Enabled = actionComboBox.Enabled = loseComboBox.Enabled = isSinglePlayerCheckBox.Checked;
winComboBox.Enabled = win2ComboBox.Enabled = win3ComboBox.Enabled = win4ComboBox.Enabled = isSinglePlayerCheckBox.Checked;
}
private void isSinglePlayerCheckBox_CheckedChanged(object sender, EventArgs e)
{
introComboBox.Enabled = briefComboBox.Enabled = actionComboBox.Enabled = loseComboBox.Enabled = isSinglePlayerCheckBox.Checked;
winComboBox.Enabled = win2ComboBox.Enabled = win3ComboBox.Enabled = win4ComboBox.Enabled = isSinglePlayerCheckBox.Checked;
}
}
}

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

@ -0,0 +1,75 @@
//
// Copyright 2020 Electronic Arts Inc.
//
// The Command & Conquer Map Editor and corresponding source code is free
// software: you can redistribute it and/or modify it under the terms of
// the GNU General Public License as published by the Free Software Foundation,
// either version 3 of the License, or (at your option) any later version.
// The Command & Conquer Map Editor and corresponding source code is distributed
// in the hope that it will be useful, but with permitted additional restrictions
// under Section 7 of the GPL. See the GNU General Public License in LICENSE.TXT
// distributed with this program. You should have received a copy of the
// GNU General Public License along with permitted additional restrictions
// with this program. If not, see https://github.com/electronicarts/CnC_Remastered_Collection
namespace MobiusEditor.Controls
{
partial class BriefingSettings
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Component Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.briefingTxt = new System.Windows.Forms.TextBox();
this.SuspendLayout();
//
// briefingTxt
//
this.briefingTxt.Dock = System.Windows.Forms.DockStyle.Fill;
this.briefingTxt.Location = new System.Drawing.Point(0, 0);
this.briefingTxt.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.briefingTxt.Multiline = true;
this.briefingTxt.Name = "briefingTxt";
this.briefingTxt.Size = new System.Drawing.Size(600, 400);
this.briefingTxt.TabIndex = 0;
//
// BriefingSettings
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.briefingTxt);
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.Name = "BriefingSettings";
this.Size = new System.Drawing.Size(600, 400);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.TextBox briefingTxt;
}
}

@ -0,0 +1,29 @@
//
// Copyright 2020 Electronic Arts Inc.
//
// The Command & Conquer Map Editor and corresponding source code is free
// software: you can redistribute it and/or modify it under the terms of
// the GNU General Public License as published by the Free Software Foundation,
// either version 3 of the License, or (at your option) any later version.
// The Command & Conquer Map Editor and corresponding source code is distributed
// in the hope that it will be useful, but with permitted additional restrictions
// under Section 7 of the GPL. See the GNU General Public License in LICENSE.TXT
// distributed with this program. You should have received a copy of the
// GNU General Public License along with permitted additional restrictions
// with this program. If not, see https://github.com/electronicarts/CnC_Remastered_Collection
using MobiusEditor.Interface;
using System.Windows.Forms;
namespace MobiusEditor.Controls
{
public partial class BriefingSettings : UserControl
{
public BriefingSettings(IGamePlugin plugin, dynamic briefingSection)
{
InitializeComponent();
briefingTxt.DataBindings.Add("Text", briefingSection, "Briefing");
}
}
}