mirror of
https://github.com/SFML/SFML.git
synced 2024-12-01 15:51:04 +08:00
Fixed output paths in SFML.Net project files
Moved files related to the documentation into /doc git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1384 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
ec524788c9
commit
64aebf0b9f
@ -31,38 +31,38 @@ Here is a short example in C#, to show you how simple it is to use SFML.Net :
|
|||||||
<span style="color:blue">static void</span> Main(<span style="color:blue">string</span>[] args)
|
<span style="color:blue">static void</span> Main(<span style="color:blue">string</span>[] args)
|
||||||
{
|
{
|
||||||
<span style="color:#008000">// Create the main window</span>
|
<span style="color:#008000">// Create the main window</span>
|
||||||
<span style="color:#2B91AF">RenderWindow</span> app = <span style="color:blue">new</span> <span style="color:#2B91AF">RenderWindow</span>(<span style="color:blue">new</span> <span style="color:#2B91AF">VideoMode</span>(800, 600), <span style="color:#A31515">"SFML window"</span>);
|
<span style="color:#2B91AF">RenderWindow</span> window = <span style="color:blue">new</span> <span style="color:#2B91AF">RenderWindow</span>(<span style="color:blue">new</span> <span style="color:#2B91AF">VideoMode</span>(800, 600), <span style="color:#A31515">"SFML window"</span>);
|
||||||
app.Closed += <span style="color:blue">new</span> <span style="color:#2B91AF">EventHandler</span>(OnClose);
|
window.Closed += <span style="color:blue">new</span> <span style="color:#2B91AF">EventHandler</span>(OnClose);
|
||||||
|
|
||||||
<span style="color:#008000">// Load a sprite to display</span>
|
<span style="color:#008000">// Load a sprite to display</span>
|
||||||
<span style="color:#2B91AF">Image</span> image = <span style="color:blue">new</span> <span style="color:#2B91AF">Image</span>(<span style="color:#A31515">"cute_image.jpg"</span>);
|
<span style="color:#2B91AF">Image</span> image = <span style="color:blue">new</span> <span style="color:#2B91AF">Image</span>(<span style="color:#A31515">"cute_image.jpg"</span>);
|
||||||
<span style="color:#2B91AF">Sprite</span> sprite = <span style="color:blue">new</span> <span style="color:#2B91AF">Sprite</span>(image);
|
<span style="color:#2B91AF">Sprite</span> sprite = <span style="color:blue">new</span> <span style="color:#2B91AF">Sprite</span>(image);
|
||||||
|
|
||||||
<span style="color:#008000">// Create a graphical string to display</span>
|
<span style="color:#008000">// Create a graphical string to display</span>
|
||||||
<span style="color:#2B91AF">Font</span> arial = <span style="color:blue">new</span> <span style="color:#2B91AF">Font</span>(<span style="color:#A31515">"arial.ttf"</span>);
|
<span style="color:#2B91AF">Font</span> font = <span style="color:blue">new</span> <span style="color:#2B91AF">Font</span>(<span style="color:#A31515">"arial.ttf"</span>);
|
||||||
<span style="color:#2B91AF">String2D</span> text = <span style="color:blue">new</span> <span style="color:#2B91AF">String2D</span>(<span style="color:#A31515">"Hello SFML.Net"</span>, arial);
|
<span style="color:#2B91AF">Text</span> text = <span style="color:blue">new</span> <span style="color:#2B91AF">Text</span>(<span style="color:#A31515">"Hello SFML.Net"</span>, font);
|
||||||
|
|
||||||
<span style="color:#008000">// Load a music to play</span>
|
<span style="color:#008000">// Load a music to play</span>
|
||||||
<span style="color:#2B91AF">Music</span> music = <span style="color:blue">new</span> Music(<span style="color:#A31515">"nice_music.ogg"</span>);
|
<span style="color:#2B91AF">Music</span> music = <span style="color:blue">new</span> Music(<span style="color:#A31515">"nice_music.ogg"</span>);
|
||||||
music.Play();
|
music.Play();
|
||||||
|
|
||||||
<span style="color:#008000">// Start the game loop</span>
|
<span style="color:#008000">// Start the game loop</span>
|
||||||
<span style="color:blue">while</span> (app.IsOpened())
|
<span style="color:blue">while</span> (window.IsOpened())
|
||||||
{
|
{
|
||||||
<span style="color:#008000">// Process events</span>
|
<span style="color:#008000">// Process events</span>
|
||||||
app.DispatchEvents();
|
window.DispatchEvents();
|
||||||
|
|
||||||
<span style="color:#008000">// Clear screen</span>
|
<span style="color:#008000">// Clear screen</span>
|
||||||
app.Clear();
|
window.Clear();
|
||||||
|
|
||||||
<span style="color:#008000">// Draw the sprite</span>
|
<span style="color:#008000">// Draw the sprite</span>
|
||||||
app.Draw(sprite);
|
window.Draw(sprite);
|
||||||
|
|
||||||
<span style="color:#008000">// Draw the string</span>
|
<span style="color:#008000">// Draw the string</span>
|
||||||
app.Draw(text);
|
window.Draw(text);
|
||||||
|
|
||||||
<span style="color:#008000">// Update the window</span>
|
<span style="color:#008000">// Update the window</span>
|
||||||
app.Display();
|
window.Display();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
31
dotnet/SFML.ndoc → dotnet/doc/build/SFML.ndoc
vendored
31
dotnet/SFML.ndoc → dotnet/doc/build/SFML.ndoc
vendored
@ -1,20 +1,27 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||||
<project SchemaVersion="2.0">
|
<project SchemaVersion="2.0">
|
||||||
<assemblies>
|
<assemblies>
|
||||||
<assembly location=".\lib\sfmlnet-graphics.dll" documentation=".\lib\graphics-doc.xml" />
|
<assembly location="..\..\lib\sfmlnet-audio.dll" documentation=".\audio-doc.xml" />
|
||||||
<assembly location=".\lib\sfmlnet-window.dll" documentation=".\lib\window-doc.xml" />
|
<assembly location="..\..\lib\sfmlnet-graphics.dll" documentation=".\graphics-doc.xml" />
|
||||||
<assembly location=".\lib\sfmlnet-audio.dll" documentation=".\lib\audio-doc.xml" />
|
<assembly location="..\..\lib\sfmlnet-window.dll" documentation=".\window-doc.xml" />
|
||||||
</assemblies>
|
</assemblies>
|
||||||
<documenters>
|
<documenters>
|
||||||
<documenter name="MSDN-Help2">
|
<documenter name="MSDN-Help2">
|
||||||
<property name="PlugInNamespace" value="ms.vscc" />
|
<property name="PlugInNamespace" value="ms.vscc" />
|
||||||
<property name="OutputDirectory" value=".\doc\" />
|
<property name="OutputDirectory" value="..\html\" />
|
||||||
<property name="HtmlHelpName" value="Documentation" />
|
<property name="HtmlHelpName" value="SFML.Net" />
|
||||||
<property name="Title" value="An NDoc documented library" />
|
<property name="Title" value="SFML.Net documentation" />
|
||||||
|
</documenter>
|
||||||
|
<documenter name="XML">
|
||||||
|
<property name="OutputFile" value=".\doc\doc.xml" />
|
||||||
|
</documenter>
|
||||||
|
<documenter name="Intellisense">
|
||||||
|
<property name="OutputDirectory" value="..\intellisense\" />
|
||||||
|
<property name="DocumentProtected" value="False" />
|
||||||
</documenter>
|
</documenter>
|
||||||
<documenter name="MSDN-CHM">
|
<documenter name="MSDN-CHM">
|
||||||
<property name="RootPageFileName" value=".\MainPage.html" />
|
<property name="RootPageFileName" value=".\MainPage.html" />
|
||||||
<property name="OutputDirectory" value=".\doc\" />
|
<property name="OutputDirectory" value="..\" />
|
||||||
<property name="HtmlHelpName" value="SFML.Net" />
|
<property name="HtmlHelpName" value="SFML.Net" />
|
||||||
<property name="Title" value="SFML.Net documentation" />
|
<property name="Title" value="SFML.Net documentation" />
|
||||||
<property name="IncrementalBuild" value="True" />
|
<property name="IncrementalBuild" value="True" />
|
||||||
@ -22,14 +29,10 @@
|
|||||||
<property name="DocumentProtected" value="False" />
|
<property name="DocumentProtected" value="False" />
|
||||||
<property name="CleanIntermediates" value="True" />
|
<property name="CleanIntermediates" value="True" />
|
||||||
</documenter>
|
</documenter>
|
||||||
<documenter name="Intellisense">
|
|
||||||
<property name="OutputDirectory" value=".\intellisense\" />
|
|
||||||
<property name="DocumentProtected" value="False" />
|
|
||||||
</documenter>
|
|
||||||
<documenter name="MSDN-Web">
|
<documenter name="MSDN-Web">
|
||||||
<property name="OutputDirectory" value=".\doc\" />
|
<property name="OutputDirectory" value="..\msdn\" />
|
||||||
<property name="HtmlHelpName" value="Documentation" />
|
<property name="HtmlHelpName" value="SFML.Net" />
|
||||||
<property name="Title" value="An NDoc documented library" />
|
<property name="Title" value="SFML.Net documentation" />
|
||||||
</documenter>
|
</documenter>
|
||||||
</documenters>
|
</documenters>
|
||||||
</project>
|
</project>
|
@ -3,7 +3,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
<ProductVersion>8.0.50727</ProductVersion>
|
<ProductVersion>9.0.21022</ProductVersion>
|
||||||
<SchemaVersion>2.0</SchemaVersion>
|
<SchemaVersion>2.0</SchemaVersion>
|
||||||
<ProjectGuid>{0B202C4D-A457-47FE-84A3-031DD878C6BE}</ProjectGuid>
|
<ProjectGuid>{0B202C4D-A457-47FE-84A3-031DD878C6BE}</ProjectGuid>
|
||||||
<OutputType>Library</OutputType>
|
<OutputType>Library</OutputType>
|
||||||
@ -22,12 +22,12 @@
|
|||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<Optimize>false</Optimize>
|
<Optimize>false</Optimize>
|
||||||
<OutputPath>bin\Debug\</OutputPath>
|
<OutputPath>..\..\lib\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
<DocumentationFile>bin\audio-doc.xml</DocumentationFile>
|
<DocumentationFile>..\..\doc\build\audio-doc.xml</DocumentationFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
@ -37,7 +37,7 @@
|
|||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
<DocumentationFile>bin\audio-doc.xml</DocumentationFile>
|
<DocumentationFile>..\..\doc\build\audio-doc.xml</DocumentationFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
|
@ -22,12 +22,12 @@
|
|||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<Optimize>false</Optimize>
|
<Optimize>false</Optimize>
|
||||||
<OutputPath>bin\Debug\</OutputPath>
|
<OutputPath>..\..\lib\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
<DocumentationFile>bin\graphics-doc.xml</DocumentationFile>
|
<DocumentationFile>..\..\doc\build\graphics-doc.xml</DocumentationFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
@ -37,7 +37,7 @@
|
|||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
<DocumentationFile>bin\graphics-doc.xml</DocumentationFile>
|
<DocumentationFile>..\..\doc\build\graphics-doc.xml</DocumentationFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
|
@ -22,12 +22,12 @@
|
|||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<Optimize>false</Optimize>
|
<Optimize>false</Optimize>
|
||||||
<OutputPath>bin\Debug\</OutputPath>
|
<OutputPath>..\..\lib\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
<DocumentationFile>bin\window-doc.xml</DocumentationFile>
|
<DocumentationFile>..\..\doc\build\window-doc.xml</DocumentationFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
@ -37,7 +37,7 @@
|
|||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
<DocumentationFile>bin\window-doc.xml</DocumentationFile>
|
<DocumentationFile>..\..\doc\build\window-doc.xml</DocumentationFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
|
Loading…
Reference in New Issue
Block a user