Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #1113 from SickheadGames/content2

New VS2010 Content Project Template
  • Loading branch information...
commit 345cddf0c1004e38493118a6bd7590872a6ca488 2 parents 85c671a + ceac203
@dellis1972 dellis1972 authored
Showing with 130 additions and 295 deletions.
  1. +2 −2 MonoGame.ContentPipeline/ContentProcessors/ContentHelper.cs
  2. +1 −1  MonoGame.ContentPipeline/ContentProcessors/MonoGamePlatform.cs
  3. +64 −0 ProjectTemplates/VisualStudio2010/Content/Builder/Builder.csproj
  4. +12 −0 ProjectTemplates/VisualStudio2010/Content/Builder/Builder.vstemplate
  5. +28 −25 ...es/VisualStudio2010/{UnifiedContent/MonoGameContent.contentproj → Content/Content/Content.contentproj}
  6. +14 −0 ProjectTemplates/VisualStudio2010/Content/Content/Content.vstemplate
  7. +9 −9 ...Templates/VisualStudio2010/{UnifiedContent/MyTemplate.vstemplate → Content/MonoGameContent.vstemplate}
  8. 0  ProjectTemplates/VisualStudio2010/{UnifiedContent → Content}/__PreviewImage.png
  9. 0  ProjectTemplates/VisualStudio2010/{ContentBuilder → Content}/__TemplateIcon.png
  10. +0 −85 ProjectTemplates/VisualStudio2010/ContentBuilder/ContentBuilder.csproj
  11. +0 −26 ProjectTemplates/VisualStudio2010/ContentBuilder/ContentBuilder.vstemplate
  12. BIN  ProjectTemplates/VisualStudio2010/ContentBuilder/Game.ico
  13. +0 −91 ProjectTemplates/VisualStudio2010/ContentBuilder/Game1.cs
  14. BIN  ProjectTemplates/VisualStudio2010/ContentBuilder/GameThumbnail.png
  15. BIN  ProjectTemplates/VisualStudio2010/ContentBuilder/Icon.ico
  16. +0 −21 ProjectTemplates/VisualStudio2010/ContentBuilder/Program.cs
  17. +0 −35 ProjectTemplates/VisualStudio2010/ContentBuilder/Properties/AssemblyInfo.cs
  18. BIN  ProjectTemplates/VisualStudio2010/ContentBuilder/__PreviewImage.png
  19. BIN  ProjectTemplates/VisualStudio2010/UnifiedContent/__TemplateIcon.png
View
4 MonoGame.ContentPipeline/ContentProcessors/ContentHelper.cs
@@ -36,8 +36,8 @@ static public MonoGamePlatform GetMonoGamePlatform()
return MonoGamePlatform.Linux;
case "OSX":
return MonoGamePlatform.OSX;
- case "PSS":
- return MonoGamePlatform.PSS;
+ case "PSM":
+ return MonoGamePlatform.PSM;
default:
throw new PipelineException("Unexpected MonoGame platform '{0}'!", platform);
View
2  MonoGame.ContentPipeline/ContentProcessors/MonoGamePlatform.cs
@@ -14,6 +14,6 @@ public enum MonoGamePlatform
Android,
Linux,
OSX,
- PSS
+ PSM
};
}
View
64 ProjectTemplates/VisualStudio2010/Content/Builder/Builder.csproj
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
+ <Import Project="$(MSBuildExtensionsPath)\MonoGame\v3.0\MonoGame.ContentPipeline.targets" />
+ <PropertyGroup>
+ <ProjectGuid>$guid1$</ProjectGuid>
+ <ProjectTypeGuids>{6D335F3A-9D43-41b4-9D22-F6F17C4BE596};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+ <Configuration Condition=" '$(Configuration)' == '' ">Windows</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>ContentBuilder</RootNamespace>
+ <AssemblyName>IgnoreMe</AssemblyName>
+ <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+ <TargetFrameworkProfile>Client</TargetFrameworkProfile>
+ <XnaFrameworkVersion>v4.0</XnaFrameworkVersion>
+ <OutputPath>bin\$(Configuration)</OutputPath>
+ <XnaPlatform>Windows</XnaPlatform>
+ <XnaProfile>HiDef</XnaProfile>
+ <XnaCrossPlatformGroupID>$guid2$</XnaCrossPlatformGroupID>
+ <XnaOutputType>Library</XnaOutputType>
+ <PlatformTarget>x86</PlatformTarget>
+ <UseVSHostingProcess>false</UseVSHostingProcess>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)' == 'Windows' ">
+ <MonoGamePlatform>Windows</MonoGamePlatform>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)' == 'Windows8' ">
+ <MonoGamePlatform>Windows8</MonoGamePlatform>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)' == 'Android' ">
+ <MonoGamePlatform>Android</MonoGamePlatform>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)' == 'iOS' ">
+ <MonoGamePlatform>iOS</MonoGamePlatform>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)' == 'OSX' ">
+ <MonoGamePlatform>OSX</MonoGamePlatform>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)' == 'Linux' ">
+ <MonoGamePlatform>Linux</MonoGamePlatform>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)' == 'PSM' ">
+ <MonoGamePlatform>PSM</MonoGamePlatform>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="mscorlib" />
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\$safeprojectname$Content\$safeprojectname$Content.contentproj">
+ <Name>$safeprojectname$Content</Name>
+ <XnaReferenceType>Content</XnaReferenceType>
+ </ProjectReference>
+ </ItemGroup>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+ <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\Microsoft.Xna.GameStudio.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>
View
12 ProjectTemplates/VisualStudio2010/Content/Builder/Builder.vstemplate
@@ -0,0 +1,12 @@
+<VSTemplate Version="3.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" Type="Project">
+ <TemplateData>
+ <ProjectType>CSharp</ProjectType>
+ <SortOrder>1000</SortOrder>
+ <CreateNewFolder>true</CreateNewFolder>
+ <DefaultName>Builder</DefaultName>
+ <ProvideDefaultName>true</ProvideDefaultName>
+ </TemplateData>
+ <TemplateContent>
+ <Project File="Builder.csproj" ReplaceParameters="true" />
+ </TemplateContent>
+</VSTemplate>
View
53 ...nifiedContent/MonoGameContent.contentproj → ...o2010/Content/Content/Content.contentproj
@@ -1,46 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
- <ProjectGuid>{324159A1-008A-48C8-9ADB-9C1FDB1F90FC}</ProjectGuid>
+ <ProjectGuid>$guid1$</ProjectGuid>
<ProjectTypeGuids>{96E2B04D-8817-42c6-938A-82C39BA4D311};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<Configuration Condition=" '$(Configuration)' == '' ">Windows</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>$safeprojectname$Content</RootNamespace>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<XnaFrameworkVersion>v4.0</XnaFrameworkVersion>
- <OutputPath>bin\$(Platform)\$(Configuration)</OutputPath>
+ <OutputPath>bin\$(Configuration)</OutputPath>
<MonoGamePlatform>Windows</MonoGamePlatform>
<ContentRootDirectory>Content</ContentRootDirectory>
- </PropertyGroup>
+ <PlatformTarget>x86</PlatformTarget>
+ </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Windows' ">
- <MonoGamePlatform>Windows</MonoGamePlatform>
+ <MonoGamePlatform>Windows</MonoGamePlatform>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Windows8' ">
- <MonoGamePlatform>Windows8</MonoGamePlatform>
+ <MonoGamePlatform>Windows8</MonoGamePlatform>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Android' ">
- <MonoGamePlatform>Android</MonoGamePlatform>
+ <MonoGamePlatform>Android</MonoGamePlatform>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'iOS' ">
- <MonoGamePlatform>iOS</MonoGamePlatform>
+ <MonoGamePlatform>iOS</MonoGamePlatform>
</PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)' == 'Mac' ">
- <MonoGamePlatform>Mac</MonoGamePlatform>
+ <PropertyGroup Condition=" '$(Configuration)' == 'OSX' ">
+ <MonoGamePlatform>OSX</MonoGamePlatform>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Linux' ">
- <MonoGamePlatform>Linux</MonoGamePlatform>
+ <MonoGamePlatform>Linux</MonoGamePlatform>
</PropertyGroup>
- <PropertyGroup>
- <RootNamespace>MonoGameContent</RootNamespace>
+ <PropertyGroup Condition=" '$(Configuration)' == 'PSM' ">
+ <MonoGamePlatform>PSM</MonoGamePlatform>
</PropertyGroup>
<ItemGroup>
- <Reference Include="Microsoft.Xna.Framework.Content.Pipeline.EffectImporter, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=MSIL" />
- <Reference Include="Microsoft.Xna.Framework.Content.Pipeline.FBXImporter, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=MSIL" />
- <Reference Include="Microsoft.Xna.Framework.Content.Pipeline.TextureImporter, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=MSIL" />
- <Reference Include="Microsoft.Xna.Framework.Content.Pipeline.XImporter, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=MSIL" />
- <Reference Include="Microsoft.Xna.Framework.Content.Pipeline.AudioImporters, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=MSIL" />
- <Reference Include="Microsoft.Xna.Framework.Content.Pipeline.VideoImporters, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=MSIL" />
+ <Reference Include="Microsoft.Xna.Framework.Content.Pipeline.EffectImporter" />
+ <Reference Include="Microsoft.Xna.Framework.Content.Pipeline.FBXImporter" />
+ <Reference Include="Microsoft.Xna.Framework.Content.Pipeline.TextureImporter" />
+ <Reference Include="Microsoft.Xna.Framework.Content.Pipeline.XImporter" />
+ <Reference Include="Microsoft.Xna.Framework.Content.Pipeline.AudioImporters" />
+ <Reference Include="Microsoft.Xna.Framework.Content.Pipeline.VideoImporters" />
<Reference Include="MonoGameContentProcessors">
<HintPath>$(MSBuildExtensionsPath)\MonoGame\v3.0\MonoGameContentProcessors.dll</HintPath>
</Reference>
@@ -48,11 +50,12 @@
<ItemGroup>
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.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>
- -->
+ <!--
+ 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>
View
14 ProjectTemplates/VisualStudio2010/Content/Content/Content.vstemplate
@@ -0,0 +1,14 @@
+<VSTemplate Version="3.0.0" Type="Project" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005">
+ <TemplateData>
+ <ProjectType>CSharp</ProjectType>
+ <SortOrder>1000</SortOrder>
+ <CreateNewFolder>true</CreateNewFolder>
+ <DefaultName>Content</DefaultName>
+ <ProvideDefaultName>true</ProvideDefaultName>
+ <PromptForSaveOnCreation>true</PromptForSaveOnCreation>
+ <RequiredFrameworkVersion>4.0</RequiredFrameworkVersion>
+ </TemplateData>
+ <TemplateContent>
+ <Project File="Content.contentproj" ReplaceParameters="true" />
+ </TemplateContent>
+</VSTemplate>
View
18 ...2010/UnifiedContent/MyTemplate.vstemplate → ...io2010/Content/MonoGameContent.vstemplate
@@ -1,22 +1,22 @@
-<VSTemplate Version="3.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" Type="Project">
+<VSTemplate Version="3.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" Type="ProjectGroup">
<TemplateData>
- <Name>MonoGame Content Project for All Platforms</Name>
- <Description>MonoGame Content Template in Visual Studio 2010</Description>
+ <Name>MonoGame Content Project</Name>
+ <Description>An empty MonoGame content project targeting one or more platforms.</Description>
<ProjectType>CSharp</ProjectType>
- <NumberOfParentCategoriesToRollUp>1</NumberOfParentCategoriesToRollUp>
- <ProjectSubType>
- </ProjectSubType>
<SortOrder>1000</SortOrder>
<CreateNewFolder>true</CreateNewFolder>
- <DefaultName>MonoGameWindowsContent</DefaultName>
+ <DefaultName>ProjectName</DefaultName>
<ProvideDefaultName>true</ProvideDefaultName>
<LocationField>Enabled</LocationField>
<EnableLocationBrowseButton>true</EnableLocationBrowseButton>
<Icon>__TemplateIcon.png</Icon>
+ <NumberOfParentCategoriesToRollUp>1</NumberOfParentCategoriesToRollUp>
<PreviewImage>__PreviewImage.png</PreviewImage>
</TemplateData>
<TemplateContent>
- <Project TargetFileName="MonoGameContent.contentproj" File="MonoGameContent.contentproj" ReplaceParameters="true">
- </Project>
+ <ProjectCollection>
+ <ProjectTemplateLink ProjectName="$safeprojectname$">Builder\Builder.vstemplate</ProjectTemplateLink>
+ <ProjectTemplateLink ProjectName="$safeprojectname$Content">Content\Content.vstemplate</ProjectTemplateLink>
+ </ProjectCollection>
</TemplateContent>
</VSTemplate>
View
0  ...dio2010/UnifiedContent/__PreviewImage.png → ...sualStudio2010/Content/__PreviewImage.png
File renamed without changes
View
0  ...dio2010/ContentBuilder/__TemplateIcon.png → ...sualStudio2010/Content/__TemplateIcon.png
File renamed without changes
View
85 ProjectTemplates/VisualStudio2010/ContentBuilder/ContentBuilder.csproj
@@ -1,85 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <Import Project="$(MSBuildExtensionsPath)\MonoGame\v3.0\MonoGame.ContentPipeline.targets" />
- <PropertyGroup>
- <ProjectGuid>$guid1$</ProjectGuid>
- <ProjectTypeGuids>{6D335F3A-9D43-41b4-9D22-F6F17C4BE596};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
- <OutputType>WinExe</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>$safeprojectname$</RootNamespace>
- <AssemblyName>$safeprojectname$</AssemblyName>
- <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
- <TargetFrameworkProfile>Client</TargetFrameworkProfile>
- <XnaFrameworkVersion>v4.0</XnaFrameworkVersion>
- <XnaPlatform>Windows</XnaPlatform>
- <XnaProfile>HiDef</XnaProfile>
- <XnaCrossPlatformGroupID>3e373063-50e5-4165-8264-1f7139c86e71</XnaCrossPlatformGroupID>
- <XnaOutputType>Game</XnaOutputType>
- <MonoGamePlatform>Windows</MonoGamePlatform>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)' == 'Windows' ">
- <DefineConstants>DEBUG;TRACE;WINDOWS</DefineConstants>
- <XnaCompressContent>true</XnaCompressContent>
- <MonoGamePlatform>Windows</MonoGamePlatform>
- <OutputPath>bin\Windows\Release</OutputPath>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)' == 'Windows8' ">
- <DefineConstants>DEBUG;TRACE;WINDOWS</DefineConstants>
- <XnaCompressContent>true</XnaCompressContent>
- <MonoGamePlatform>Windows8</MonoGamePlatform>
- <OutputPath>bin\Windows8\Release</OutputPath>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)' == 'Android' ">
- <DefineConstants>DEBUG;TRACE;WINDOWS</DefineConstants>
- <XnaCompressContent>true</XnaCompressContent>
- <MonoGamePlatform>Android</MonoGamePlatform>
- <OutputPath>bin\Android\Release</OutputPath>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)' == 'iOS' ">
- <DefineConstants>DEBUG;TRACE;WINDOWS</DefineConstants>
- <XnaCompressContent>true</XnaCompressContent>
- <MonoGamePlatform>iOS</MonoGamePlatform>
- <OutputPath>bin\iOS\Release</OutputPath>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)' == 'Mac' ">
- <DefineConstants>DEBUG;TRACE;WINDOWS</DefineConstants>
- <XnaCompressContent>true</XnaCompressContent>
- <MonoGamePlatform>Mac</MonoGamePlatform>
- <OutputPath>bin\Mac\Release</OutputPath>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)' == 'Linux' ">
- <DefineConstants>DEBUG;TRACE;WINDOWS</DefineConstants>
- <XnaCompressContent>true</XnaCompressContent>
- <MonoGamePlatform>Linux</MonoGamePlatform>
- <OutputPath>bin\Linux\Release</OutputPath>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="Microsoft.Xna.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86" />
- <Reference Include="Microsoft.Xna.Framework.Game, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86" />
- <Reference Include="Microsoft.Xna.Framework.Graphics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86" />
- <Reference Include="Microsoft.Xna.Framework.GamerServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86" />
- <Reference Include="mscorlib" />
- <Reference Include="System" />
- <Reference Include="System.Xml" />
- <Reference Include="System.Core" />
- <Reference Include="System.Xml.Linq" />
- <Reference Include="System.Net" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="Properties\AssemblyInfo.cs" />
- <Compile Include="Program.cs" />
- <Compile Include="Game1.cs" />
- </ItemGroup>
- <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
- <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\Microsoft.Xna.GameStudio.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>
View
26 ProjectTemplates/VisualStudio2010/ContentBuilder/ContentBuilder.vstemplate
@@ -1,26 +0,0 @@
-<VSTemplate Version="3.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" Type="Project">
- <TemplateData>
- <Name>MonoGame Content Builder Project</Name>
- <Description>A project for Compiling Content for MonoGame</Description>
- <ProjectType>CSharp</ProjectType>
- <ProjectSubType>
- </ProjectSubType>
- <SortOrder>1000</SortOrder>
- <CreateNewFolder>true</CreateNewFolder>
- <DefaultName>ContentBuilder</DefaultName>
- <ProvideDefaultName>true</ProvideDefaultName>
- <LocationField>Enabled</LocationField>
- <EnableLocationBrowseButton>true</EnableLocationBrowseButton>
- <Icon>__TemplateIcon.png</Icon>
- <PreviewImage>__PreviewImage.png</PreviewImage>
- </TemplateData>
- <TemplateContent>
- <Project TargetFileName="ContentBuilder1.csproj" File="ContentBuilder.csproj" ReplaceParameters="true">
- <ProjectItem ReplaceParameters="true" TargetFileName="Program.cs">Program.cs</ProjectItem>
- <ProjectItem ReplaceParameters="true" TargetFileName="Game1.cs">Game1.cs</ProjectItem>
- <Folder Name="Properties" TargetFolderName="Properties">
- <ProjectItem ReplaceParameters="true" TargetFileName="AssemblyInfo.cs">AssemblyInfo.cs</ProjectItem>
- </Folder>
- </Project>
- </TemplateContent>
-</VSTemplate>
View
BIN  ProjectTemplates/VisualStudio2010/ContentBuilder/Game.ico
Binary file not shown
View
91 ProjectTemplates/VisualStudio2010/ContentBuilder/Game1.cs
@@ -1,91 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using Microsoft.Xna.Framework;
-using Microsoft.Xna.Framework.Audio;
-using Microsoft.Xna.Framework.Content;
-using Microsoft.Xna.Framework.GamerServices;
-using Microsoft.Xna.Framework.Graphics;
-using Microsoft.Xna.Framework.Input;
-using Microsoft.Xna.Framework.Media;
-
-namespace $safeprojectname$
-{
- /// <summary>
- /// This is the main type for your game
- /// </summary>
- public class Game1 : Microsoft.Xna.Framework.Game
- {
- GraphicsDeviceManager graphics;
- SpriteBatch spriteBatch;
-
- public Game1()
- {
- graphics = new GraphicsDeviceManager(this);
- Content.RootDirectory = "Content";
- }
-
- /// <summary>
- /// Allows the game to perform any initialization it needs to before starting to run.
- /// This is where it can query for any required services and load any non-graphic
- /// related content. Calling base.Initialize will enumerate through any components
- /// and initialize them as well.
- /// </summary>
- protected override void Initialize()
- {
- // TODO: Add your initialization logic here
-
- base.Initialize();
- }
-
- /// <summary>
- /// LoadContent will be called once per game and is the place to load
- /// all of your content.
- /// </summary>
- protected override void LoadContent()
- {
- // Create a new SpriteBatch, which can be used to draw textures.
- spriteBatch = new SpriteBatch(GraphicsDevice);
-
- // TODO: use this.Content to load your game content here
- }
-
- /// <summary>
- /// UnloadContent will be called once per game and is the place to unload
- /// all content.
- /// </summary>
- protected override void UnloadContent()
- {
- // TODO: Unload any non ContentManager content here
- }
-
- /// <summary>
- /// Allows the game to run logic such as updating the world,
- /// checking for collisions, gathering input, and playing audio.
- /// </summary>
- /// <param name="gameTime">Provides a snapshot of timing values.</param>
- protected override void Update(GameTime gameTime)
- {
- // Allows the game to exit
- if (GamePad.GetState(PlayerIndex.One).Buttons.Back == ButtonState.Pressed)
- this.Exit();
-
- // TODO: Add your update logic here
-
- base.Update(gameTime);
- }
-
- /// <summary>
- /// This is called when the game should draw itself.
- /// </summary>
- /// <param name="gameTime">Provides a snapshot of timing values.</param>
- protected override void Draw(GameTime gameTime)
- {
- GraphicsDevice.Clear(Color.CornflowerBlue);
-
- // TODO: Add your drawing code here
-
- base.Draw(gameTime);
- }
- }
-}
View
BIN  ProjectTemplates/VisualStudio2010/ContentBuilder/GameThumbnail.png
Deleted file not rendered
View
BIN  ProjectTemplates/VisualStudio2010/ContentBuilder/Icon.ico
Binary file not shown
View
21 ProjectTemplates/VisualStudio2010/ContentBuilder/Program.cs
@@ -1,21 +0,0 @@
-using System;
-
-namespace $safeprojectname$
-{
-#if WINDOWS || XBOX
- static class Program
- {
- /// <summary>
- /// The main entry point for the application.
- /// </summary>
- static void Main(string[] args)
- {
- using (Game1 game = new Game1())
- {
- game.Run();
- }
- }
- }
-#endif
-}
-
View
35 ProjectTemplates/VisualStudio2010/ContentBuilder/Properties/AssemblyInfo.cs
@@ -1,35 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("$projectname$")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("$registeredorganization$")]
-[assembly: AssemblyProduct("$projectname$")]
-[assembly: AssemblyCopyright("Copyright © $registeredorganization$ $year$")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type. Only Windows
-// assemblies support COM.
-[assembly: ComVisible(false)]
-
-// On Windows, the following GUID is for the ID of the typelib if this
-// project is exposed to COM. On other platforms, it unique identifies the
-// title storage container when deploying this assembly to the device.
-[assembly: Guid("$guid1$")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-[assembly: AssemblyVersion("1.0.0.0")]
View
BIN  ProjectTemplates/VisualStudio2010/ContentBuilder/__PreviewImage.png
Deleted file not rendered
View
BIN  ProjectTemplates/VisualStudio2010/UnifiedContent/__TemplateIcon.png
Deleted file not rendered
Please sign in to comment.
Something went wrong with that request. Please try again.