Procházet zdrojové kódy

Add PSM v1.11 app.xml files for the samples and kill the dead app.cfg files.

Kevin Gadd před 12 roky
rodič
revize
f07cf4c1c6

+ 3 - 1
Aiming/Aiming.PSMobile.csproj

@@ -50,7 +50,6 @@
     <Content Include="Content\spotlight.png">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </Content>
-    <Content Include="app.cfg" />
   </ItemGroup>
   <ItemGroup>
     <ProjectReference Include="..\..\MonoGame.Framework\MonoGame.Framework.PSMobile.csproj">
@@ -58,4 +57,7 @@
       <Name>MonoGame.Framework.PSMobile</Name>
     </ProjectReference>
   </ItemGroup>
+  <ItemGroup>
+    <PsmMetadata Include="app.xml" />
+  </ItemGroup>
 </Project>

+ 0 - 8
Aiming/app.cfg

@@ -1,8 +0,0 @@
-memory:
-    resource_heap_size : 16384
-    managed_heap_size : 16384
-
-input:
-    gamepad : false
-    touch : false
-    motion : false

+ 10 - 0
Aiming/app.xml

@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<application project_name="Aiming" version="1.00" runtime_version="1.11" sdk_version="1.11.00" default_locale="en-US">
+  <runtime_config>
+    <memory managed_heap_size="32768" resource_heap_size="65536" />
+    <display max_screen_size="1920x1200" />
+    <camera max_capture_resolution="2048x1536" />
+  </runtime_config>
+  <feature_list>
+  </feature_list>
+</application>

+ 3 - 0
ChaseAndEvade/ChaseAndEvade.PSMobile.csproj

@@ -63,4 +63,7 @@
       <Name>MonoGame.Framework.PSMobile</Name>
     </ProjectReference>
   </ItemGroup>
+  <ItemGroup>
+    <PsmMetadata Include="app.xml" />
+  </ItemGroup>
 </Project>

+ 10 - 0
ChaseAndEvade/app.xml

@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<application project_name="ChaseAndEvade" version="1.00" runtime_version="1.11" sdk_version="1.11.00" default_locale="en-US">
+  <runtime_config>
+    <memory managed_heap_size="32768" resource_heap_size="65536" />
+    <display max_screen_size="1920x1200" />
+    <camera max_capture_resolution="2048x1536" />
+  </runtime_config>
+  <feature_list>
+  </feature_list>
+</application>

+ 3 - 1
Draw2D/Draw2D.PSMobile.csproj

@@ -57,7 +57,6 @@
     <Content Include="Content\spriteFont1.xnb">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </Content>
-    <Content Include="app.cfg" />
   </ItemGroup>
   <ItemGroup>
     <ProjectReference Include="..\..\MonoGame.Framework\MonoGame.Framework.PSMobile.csproj">
@@ -65,4 +64,7 @@
       <Name>MonoGame.Framework.PSMobile</Name>
     </ProjectReference>
   </ItemGroup>
+  <ItemGroup>
+    <PsmMetadata Include="app.xml" />
+  </ItemGroup>
 </Project>

+ 0 - 8
Draw2D/app.cfg

@@ -1,8 +0,0 @@
-memory:
-    resource_heap_size : 16384
-    managed_heap_size : 16384
-
-input:
-    gamepad : false
-    touch : false
-    motion : false

+ 10 - 0
Draw2D/app.xml

@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<application project_name="Draw2D" version="1.00" runtime_version="1.11" sdk_version="1.11.00" default_locale="en-US">
+  <runtime_config>
+    <memory managed_heap_size="32768" resource_heap_size="65536" />
+    <display max_screen_size="1920x1200" />
+    <camera max_capture_resolution="2048x1536" />
+  </runtime_config>
+  <feature_list>
+  </feature_list>
+</application>