- FileManager.GetData() method now checks to ensure that the supplied filename exists prior to attempting to reading data. - Adjusted Game.AutoSaveInterval to 60 minutes instead of 1 minute. - Placed all of the File reading code within Game.Load() into a Try/Catch to prevent exceptions if there was an error restoring the game from saved state. - GameWorld.Load() now places saved Realms that were created at runtime into the Games Realm Collection. This allows for hard-coded and dynamically created Realms to co-exist. - BaseObject.Filename now appends a file extension to the filename if a filename is set but the user forgets to add the file extension. This affects all classes inheriting from BaseObject - BaseCharacter updated to invoke commands by instancing a copy of the command and executing it, instead of injecting commands from the player. - Added EditRealm command. Allows for editing existing Realms properties. Currently has editing of Simple Descriptions, Detailed Descriptions, name and filename fully implemented. Example: EditRealm MyRealmName MudGame: - Removed Cali.Create() call. The MudGame no longer creates a hard-coded world. I want to get away from hard-coded environments all together. They should be built dynamically by admins.
95 lines
No EOL
4.3 KiB
XML
95 lines
No EOL
4.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<ProductVersion>9.0.30729</ProductVersion>
|
|
<SchemaVersion>2.0</SchemaVersion>
|
|
<ProjectGuid>{498943A8-DF5A-4DB0-B506-0BFF44788657}</ProjectGuid>
|
|
<OutputType>Library</OutputType>
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
<RootNamespace>MudEngine</RootNamespace>
|
|
<AssemblyName>MudEngine</AssemblyName>
|
|
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
|
<FileAlignment>512</FileAlignment>
|
|
<FileUpgradeFlags>
|
|
</FileUpgradeFlags>
|
|
<OldToolsVersion>3.5</OldToolsVersion>
|
|
<UpgradeBackupLocation />
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<OutputPath>bin\Debug\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
<DebugType>pdbonly</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>bin\Release\</OutputPath>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="Microsoft.CSharp" />
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Core">
|
|
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
|
</Reference>
|
|
<Reference Include="System.Xml.Linq">
|
|
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
|
</Reference>
|
|
<Reference Include="System.Data.DataSetExtensions">
|
|
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
|
</Reference>
|
|
<Reference Include="System.Data" />
|
|
<Reference Include="System.Xml" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="Commands\CommandRestart.cs" />
|
|
<Compile Include="Commands\CommandLogin.cs" />
|
|
<Compile Include="Commands\CommandSaveWorld.cs" />
|
|
<Compile Include="Commands\CommandEditRealm.cs" />
|
|
<Compile Include="FileSystem\SaveDataPaths.cs" />
|
|
<Compile Include="GameManagement\CommandEngine.cs" />
|
|
<Compile Include="GameManagement\GameTime.cs" />
|
|
<Compile Include="GameManagement\GameWorld.cs" />
|
|
<Compile Include="GameManagement\ICommand.cs" />
|
|
<Compile Include="FileSystem\FileManager.cs" />
|
|
<Compile Include="FileSystem\SaveDataTypes.cs" />
|
|
<Compile Include="FileSystem\XmlSerialization.cs" />
|
|
<Compile Include="GameManagement\Game.cs" />
|
|
<Compile Include="GameManagement\Log.cs" />
|
|
<Compile Include="GameManagement\SecurityRoles.cs" />
|
|
<Compile Include="GameObjects\Bag.cs" />
|
|
<Compile Include="GameObjects\BaseObject.cs" />
|
|
<Compile Include="GameObjects\Characters\BaseCharacter.cs" />
|
|
<Compile Include="GameObjects\Characters\BaseStats.cs" />
|
|
<Compile Include="GameObjects\Environment\Door.cs" />
|
|
<Compile Include="GameObjects\Environment\Realm.cs" />
|
|
<Compile Include="GameObjects\Environment\Room.cs" />
|
|
<Compile Include="GameObjects\Environment\StartingLocation.cs" />
|
|
<Compile Include="GameObjects\Environment\TravelDirections.cs" />
|
|
<Compile Include="GameObjects\Environment\Zone.cs" />
|
|
<Compile Include="GameObjects\Items\BaseItem.cs" />
|
|
<Compile Include="GameObjects\Currency.cs" />
|
|
<Compile Include="Networking\Server.cs" />
|
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
<Compile Include="Scripting\GameObject.cs" />
|
|
<Compile Include="Scripting\GameObjectCollection.cs" />
|
|
<Compile Include="Scripting\ScriptEngine.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup />
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
|
Other similar extension points exist, see Microsoft.Common.targets.
|
|
<Target Name="BeforeBuild">
|
|
</Target>
|
|
<Target Name="AfterBuild">
|
|
</Target>
|
|
-->
|
|
</Project> |