Fixed - it is now working
27
.vscode/launch.json
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
// Use IntelliSense to find out which attributes exist for C# debugging
|
||||
// Use hover for the description of the existing attributes
|
||||
// For further information visit https://github.com/dotnet/vscode-csharp/blob/main/debugger-launchjson.md
|
||||
"name": "Launch",
|
||||
"type": "mono",
|
||||
"request": "launch",
|
||||
"preLaunchTask": "build",
|
||||
// If you have changed target frameworks, make sure to update the program path.
|
||||
"program": "${workspaceFolder}/mobile-eggbert-fna/bin/Debug/net4.0/mobile-eggbert-fna.dll",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}/mobile-eggbert-fna",
|
||||
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
|
||||
"env": {
|
||||
"LD_LIBRARY_PATH": "${workspaceRoot}/fnalibs/fnalibs/lib/lib64/"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Attach",
|
||||
"type": "mono",
|
||||
"request": "attach"
|
||||
}
|
||||
]
|
||||
}
|
3
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"dotnet.preferCSharpExtension": true
|
||||
}
|
41
.vscode/tasks.json
vendored
Normal file
@ -0,0 +1,41 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "build",
|
||||
"command": "dotnet",
|
||||
"type": "process",
|
||||
"args": [
|
||||
"build",
|
||||
"${workspaceFolder}/mobile-eggbert-fna.sln",
|
||||
"/property:GenerateFullPaths=true",
|
||||
"/consoleloggerparameters:NoSummary;ForceNoAlign"
|
||||
],
|
||||
"problemMatcher": "$msCompile"
|
||||
},
|
||||
{
|
||||
"label": "publish",
|
||||
"command": "dotnet",
|
||||
"type": "process",
|
||||
"args": [
|
||||
"publish",
|
||||
"${workspaceFolder}/mobile-eggbert-fna.sln",
|
||||
"/property:GenerateFullPaths=true",
|
||||
"/consoleloggerparameters:NoSummary;ForceNoAlign"
|
||||
],
|
||||
"problemMatcher": "$msCompile"
|
||||
},
|
||||
{
|
||||
"label": "watch",
|
||||
"command": "dotnet",
|
||||
"type": "process",
|
||||
"args": [
|
||||
"watch",
|
||||
"run",
|
||||
"--project",
|
||||
"${workspaceFolder}/mobile-eggbert-fna.sln"
|
||||
],
|
||||
"problemMatcher": "$msCompile"
|
||||
}
|
||||
]
|
||||
}
|
210
FNA.patch
Normal file
@ -0,0 +1,210 @@
|
||||
diff --git a/FNA.Core.csproj b/FNA.Core.csproj
|
||||
index 5c4dd1a..335a213 100644
|
||||
--- a/FNA.Core.csproj
|
||||
+++ b/FNA.Core.csproj
|
||||
@@ -1,6 +1,6 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
- <TargetFramework>net8.0</TargetFramework>
|
||||
+ <TargetFramework>net4.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<EnableDefaultItems>false</EnableDefaultItems>
|
||||
diff --git a/abi/Microsoft.Xna.Framework.Game.cs b/abi/Microsoft.Xna.Framework.Game.cs
|
||||
index 18b303a..cfac6a3 100644
|
||||
--- a/abi/Microsoft.Xna.Framework.Game.cs
|
||||
+++ b/abi/Microsoft.Xna.Framework.Game.cs
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
-[assembly: AssemblyVersion("4.0.0.0")]
|
||||
+[assembly: AssemblyVersion("8.0.0.0")]
|
||||
[assembly: TypeForwardedToAttribute(typeof(Microsoft.Xna.Framework.IGameComponent))]
|
||||
[assembly: TypeForwardedToAttribute(typeof(Microsoft.Xna.Framework.IUpdateable))]
|
||||
[assembly: TypeForwardedToAttribute(typeof(Microsoft.Xna.Framework.GameComponent))]
|
||||
diff --git a/abi/Microsoft.Xna.Framework.Game.csproj b/abi/Microsoft.Xna.Framework.Game.csproj
|
||||
index 6873430..c646fb0 100644
|
||||
--- a/abi/Microsoft.Xna.Framework.Game.csproj
|
||||
+++ b/abi/Microsoft.Xna.Framework.Game.csproj
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
+<Project DefaultTargets="Build" ToolsVersion="8.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||
diff --git a/abi/Microsoft.Xna.Framework.GamerServices.cs b/abi/Microsoft.Xna.Framework.GamerServices.cs
|
||||
index 5c1b28c..50b7ac2 100644
|
||||
--- a/abi/Microsoft.Xna.Framework.GamerServices.cs
|
||||
+++ b/abi/Microsoft.Xna.Framework.GamerServices.cs
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
-[assembly: AssemblyVersion("4.0.0.0")]
|
||||
+[assembly: AssemblyVersion("8.0.0.0")]
|
||||
[assembly: TypeForwardedToAttribute(typeof(Microsoft.Xna.Framework.GamerServices.SignedInEventArgs))]
|
||||
[assembly: TypeForwardedToAttribute(typeof(Microsoft.Xna.Framework.GamerServices.SignedOutEventArgs))]
|
||||
[assembly: TypeForwardedToAttribute(typeof(Microsoft.Xna.Framework.GamerServices.InviteAcceptedEventArgs))]
|
||||
diff --git a/abi/Microsoft.Xna.Framework.GamerServices.csproj b/abi/Microsoft.Xna.Framework.GamerServices.csproj
|
||||
index c5382ab..66afa4d 100644
|
||||
--- a/abi/Microsoft.Xna.Framework.GamerServices.csproj
|
||||
+++ b/abi/Microsoft.Xna.Framework.GamerServices.csproj
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
+<Project DefaultTargets="Build" ToolsVersion="8.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||
diff --git a/abi/Microsoft.Xna.Framework.Graphics.cs b/abi/Microsoft.Xna.Framework.Graphics.cs
|
||||
index b71e252..73beede 100644
|
||||
--- a/abi/Microsoft.Xna.Framework.Graphics.cs
|
||||
+++ b/abi/Microsoft.Xna.Framework.Graphics.cs
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
-[assembly: AssemblyVersion("4.0.0.0")]
|
||||
+[assembly: AssemblyVersion("8.0.0.0")]
|
||||
[assembly: TypeForwardedToAttribute(typeof(Microsoft.Xna.Framework.Graphics.RenderTargetBinding))]
|
||||
[assembly: TypeForwardedToAttribute(typeof(Microsoft.Xna.Framework.Graphics.VertexBufferBinding))]
|
||||
[assembly: TypeForwardedToAttribute(typeof(Microsoft.Xna.Framework.Graphics.GraphicsDevice))]
|
||||
diff --git a/abi/Microsoft.Xna.Framework.Graphics.csproj b/abi/Microsoft.Xna.Framework.Graphics.csproj
|
||||
index 1312ccc..e89438c 100644
|
||||
--- a/abi/Microsoft.Xna.Framework.Graphics.csproj
|
||||
+++ b/abi/Microsoft.Xna.Framework.Graphics.csproj
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
+<Project DefaultTargets="Build" ToolsVersion="8.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||
diff --git a/abi/Microsoft.Xna.Framework.Input.Touch.cs b/abi/Microsoft.Xna.Framework.Input.Touch.cs
|
||||
index b7ccfdf..dbf675b 100644
|
||||
--- a/abi/Microsoft.Xna.Framework.Input.Touch.cs
|
||||
+++ b/abi/Microsoft.Xna.Framework.Input.Touch.cs
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
-[assembly: AssemblyVersion("4.0.0.0")]
|
||||
+[assembly: AssemblyVersion("8.0.0.0")]
|
||||
[assembly: TypeForwardedToAttribute(typeof(Microsoft.Xna.Framework.Input.Touch.GestureType))]
|
||||
[assembly: TypeForwardedToAttribute(typeof(Microsoft.Xna.Framework.Input.Touch.GestureSample))]
|
||||
[assembly: TypeForwardedToAttribute(typeof(Microsoft.Xna.Framework.Input.Touch.TouchCollection))]
|
||||
diff --git a/abi/Microsoft.Xna.Framework.Input.Touch.csproj b/abi/Microsoft.Xna.Framework.Input.Touch.csproj
|
||||
index ddcd898..fdfc853 100644
|
||||
--- a/abi/Microsoft.Xna.Framework.Input.Touch.csproj
|
||||
+++ b/abi/Microsoft.Xna.Framework.Input.Touch.csproj
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
+<Project DefaultTargets="Build" ToolsVersion="8.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||
diff --git a/abi/Microsoft.Xna.Framework.Net.cs b/abi/Microsoft.Xna.Framework.Net.cs
|
||||
index 3e133ae..8ca694b 100644
|
||||
--- a/abi/Microsoft.Xna.Framework.Net.cs
|
||||
+++ b/abi/Microsoft.Xna.Framework.Net.cs
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
-[assembly: AssemblyVersion("4.0.0.0")]
|
||||
+[assembly: AssemblyVersion("8.0.0.0")]
|
||||
[assembly: TypeForwardedToAttribute(typeof(Microsoft.Xna.Framework.Net.NetworkSessionEndedEventArgs))]
|
||||
[assembly: TypeForwardedToAttribute(typeof(Microsoft.Xna.Framework.Net.GamerJoinedEventArgs))]
|
||||
[assembly: TypeForwardedToAttribute(typeof(Microsoft.Xna.Framework.Net.GamerLeftEventArgs))]
|
||||
diff --git a/abi/Microsoft.Xna.Framework.Net.csproj b/abi/Microsoft.Xna.Framework.Net.csproj
|
||||
index 1a821e9..8b99048 100644
|
||||
--- a/abi/Microsoft.Xna.Framework.Net.csproj
|
||||
+++ b/abi/Microsoft.Xna.Framework.Net.csproj
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
+<Project DefaultTargets="Build" ToolsVersion="8.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||
diff --git a/abi/Microsoft.Xna.Framework.Storage.cs b/abi/Microsoft.Xna.Framework.Storage.cs
|
||||
index 6061690..e6a1da0 100644
|
||||
--- a/abi/Microsoft.Xna.Framework.Storage.cs
|
||||
+++ b/abi/Microsoft.Xna.Framework.Storage.cs
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
-[assembly: AssemblyVersion("4.0.0.0")]
|
||||
+[assembly: AssemblyVersion("8.0.0.0")]
|
||||
[assembly: TypeForwardedToAttribute(typeof(Microsoft.Xna.Framework.Storage.StorageDevice))]
|
||||
[assembly: TypeForwardedToAttribute(typeof(Microsoft.Xna.Framework.Storage.StorageContainer))]
|
||||
[assembly: TypeForwardedToAttribute(typeof(Microsoft.Xna.Framework.Storage.StorageDeviceNotConnectedException))]
|
||||
\ No newline at end of file
|
||||
diff --git a/abi/Microsoft.Xna.Framework.Storage.csproj b/abi/Microsoft.Xna.Framework.Storage.csproj
|
||||
index 188ca56..c5129ef 100644
|
||||
--- a/abi/Microsoft.Xna.Framework.Storage.csproj
|
||||
+++ b/abi/Microsoft.Xna.Framework.Storage.csproj
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
+<Project DefaultTargets="Build" ToolsVersion="8.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||
diff --git a/abi/Microsoft.Xna.Framework.Video.cs b/abi/Microsoft.Xna.Framework.Video.cs
|
||||
index 04fd033..a476eb6 100644
|
||||
--- a/abi/Microsoft.Xna.Framework.Video.cs
|
||||
+++ b/abi/Microsoft.Xna.Framework.Video.cs
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
-[assembly: AssemblyVersion("4.0.0.0")]
|
||||
+[assembly: AssemblyVersion("8.0.0.0")]
|
||||
[assembly: TypeForwardedToAttribute(typeof(Microsoft.Xna.Framework.Media.VideoSoundtrackType))]
|
||||
[assembly: TypeForwardedToAttribute(typeof(Microsoft.Xna.Framework.Media.Video))]
|
||||
[assembly: TypeForwardedToAttribute(typeof(Microsoft.Xna.Framework.Media.VideoPlayer))]
|
||||
\ No newline at end of file
|
||||
diff --git a/abi/Microsoft.Xna.Framework.Video.csproj b/abi/Microsoft.Xna.Framework.Video.csproj
|
||||
index 3ef8084..47d73c1 100644
|
||||
--- a/abi/Microsoft.Xna.Framework.Video.csproj
|
||||
+++ b/abi/Microsoft.Xna.Framework.Video.csproj
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
+<Project DefaultTargets="Build" ToolsVersion="8.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||
diff --git a/abi/Microsoft.Xna.Framework.Xact.cs b/abi/Microsoft.Xna.Framework.Xact.cs
|
||||
index 36eb974..2bc60c1 100644
|
||||
--- a/abi/Microsoft.Xna.Framework.Xact.cs
|
||||
+++ b/abi/Microsoft.Xna.Framework.Xact.cs
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
-[assembly: AssemblyVersion("4.0.0.0")]
|
||||
+[assembly: AssemblyVersion("8.0.0.0")]
|
||||
[assembly: TypeForwardedToAttribute(typeof(Microsoft.Xna.Framework.Audio.RendererDetail))]
|
||||
[assembly: TypeForwardedToAttribute(typeof(Microsoft.Xna.Framework.Audio.Cue))]
|
||||
[assembly: TypeForwardedToAttribute(typeof(Microsoft.Xna.Framework.Audio.AudioStopOptions))]
|
||||
diff --git a/abi/Microsoft.Xna.Framework.Xact.csproj b/abi/Microsoft.Xna.Framework.Xact.csproj
|
||||
index b467ac6..047ccac 100644
|
||||
--- a/abi/Microsoft.Xna.Framework.Xact.csproj
|
||||
+++ b/abi/Microsoft.Xna.Framework.Xact.csproj
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
+<Project DefaultTargets="Build" ToolsVersion="8.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||
diff --git a/abi/Microsoft.Xna.Framework.cs b/abi/Microsoft.Xna.Framework.cs
|
||||
index eade86d..0077bb1 100644
|
||||
--- a/abi/Microsoft.Xna.Framework.cs
|
||||
+++ b/abi/Microsoft.Xna.Framework.cs
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
-[assembly: AssemblyVersion("4.0.0.0")]
|
||||
+[assembly: AssemblyVersion("8.0.0.0")]
|
||||
[assembly: TypeForwardedToAttribute(typeof(Microsoft.Xna.Framework.Media.MediaState))]
|
||||
[assembly: TypeForwardedToAttribute(typeof(Microsoft.Xna.Framework.Input.Keyboard))]
|
||||
[assembly: TypeForwardedToAttribute(typeof(Microsoft.Xna.Framework.Input.Mouse))]
|
29
README.md
@ -0,0 +1,29 @@
|
||||
# mobile-eggbert-fna
|
||||
|
||||
|
||||
## Init submodules
|
||||
|
||||
git submodule update --init --recursive
|
||||
cd FNA && git submodule update --init --recursive
|
||||
cd ../fnalibs && git submodule update --init --recursive && cd ..
|
||||
|
||||
## Apply patches
|
||||
|
||||
cd FNA && git apply ../FNA.patch
|
||||
cd ../fnalibs && git apply ../fnalibs.patch && cd ..
|
||||
|
||||
## build
|
||||
|
||||
cd mobile-eggbert-fna && dotnet build
|
||||
|
||||
## Add libraries base on the platform
|
||||
|
||||
For Linux, add these files to directory mobile-eggbert-fna/mobile-eggbert-fna/bin/Debug/net4.0
|
||||
|
||||
## Copy directories Content and worlds to directory mobile-eggbert-fna/mobile-eggbert-fna/bin/
|
||||
|
||||
## Run the game
|
||||
|
||||
Go to mobile-eggbert-fna/mobile-eggbert-fna/bin/ and run:
|
||||
On Linux: mono mobile-eggbert-fna.exe
|
||||
On Windows: run directly mobile-eggbert-fna.exe
|
13
fnalibs.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/fnalibs/fnalibs.csproj b/fnalibs/fnalibs.csproj
|
||||
index a9f2197..ef9c63f 100644
|
||||
--- a/fnalibs/fnalibs.csproj
|
||||
+++ b/fnalibs/fnalibs.csproj
|
||||
@@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
- <TargetFramework>netstandard2.0</TargetFramework>
|
||||
+ <TargetFramework>net4.0</TargetFramework>
|
||||
<IncludeBuildOutput>false</IncludeBuildOutput>
|
||||
<NoBuild>true</NoBuild>
|
||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
@ -5,6 +5,8 @@ VisualStudioVersion = 17.0.31903.59
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "mobile-eggbert-fna", "mobile-eggbert-fna\mobile-eggbert-fna.csproj", "{6A193885-A483-41B9-992C-DDE66442A6F4}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FNA", "FNA\FNA.csproj", "{35253CE1-C864-4CD3-8249-4D1319748E8F}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
|
15
mobile-eggbert-fna/Accelerometer.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace WindowsPhoneSpeedyBlupi
|
||||
{
|
||||
public interface Accelerometer
|
||||
{
|
||||
void Start();
|
||||
void Stop();
|
||||
event EventHandler<AccelerometerEventArgs> CurrentValueChanged;
|
||||
}
|
||||
}
|
23
mobile-eggbert-fna/AccelerometerDummyImpl.cs
Normal file
@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace WindowsPhoneSpeedyBlupi
|
||||
{
|
||||
public class AccelerometerDummyImpl : Accelerometer
|
||||
{
|
||||
public event EventHandler<AccelerometerEventArgs> CurrentValueChanged;
|
||||
|
||||
public void Start()
|
||||
{
|
||||
//throw new AccelerometerFailedException();
|
||||
}
|
||||
|
||||
public void Stop()
|
||||
{
|
||||
//throw new AccelerometerFailedException();
|
||||
}
|
||||
}
|
||||
}
|
23
mobile-eggbert-fna/AccelerometerEventArgs.cs
Normal file
@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace WindowsPhoneSpeedyBlupi
|
||||
{
|
||||
public class AccelerometerEventArgs : EventArgs
|
||||
{
|
||||
|
||||
public float X { get; }
|
||||
public float Y { get; }
|
||||
public float Z { get; }
|
||||
|
||||
public AccelerometerEventArgs(float x, float y, float z)
|
||||
{
|
||||
X = x;
|
||||
Y = y;
|
||||
Z = z;
|
||||
}
|
||||
}
|
||||
}
|
13
mobile-eggbert-fna/AccelerometerFactory.cs
Normal file
@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace WindowsPhoneSpeedyBlupi
|
||||
{
|
||||
public class AccelerometerFactory
|
||||
{
|
||||
public static Accelerometer Create() { return new AccelerometerDummyImpl(); }
|
||||
}
|
||||
}
|
12
mobile-eggbert-fna/AccelerometerFailedException.cs
Normal file
@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace WindowsPhoneSpeedyBlupi
|
||||
{
|
||||
public class AccelerometerFailedException : Exception
|
||||
{
|
||||
}
|
||||
}
|
1137
mobile-eggbert-fna/Content/Content.mgcb
Normal file
BIN
mobile-eggbert-fna/Content/backgrounds/blupiyoupie.png
Normal file
After Width: | Height: | Size: 106 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/decor000.png
Normal file
After Width: | Height: | Size: 65 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/decor001.png
Normal file
After Width: | Height: | Size: 478 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/decor002.png
Normal file
After Width: | Height: | Size: 691 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/decor003.png
Normal file
After Width: | Height: | Size: 401 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/decor004.png
Normal file
After Width: | Height: | Size: 373 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/decor006.png
Normal file
After Width: | Height: | Size: 638 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/decor007.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/decor008.png
Normal file
After Width: | Height: | Size: 470 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/decor009.png
Normal file
After Width: | Height: | Size: 219 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/decor010.png
Normal file
After Width: | Height: | Size: 479 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/decor011.png
Normal file
After Width: | Height: | Size: 126 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/decor012.png
Normal file
After Width: | Height: | Size: 180 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/decor013.png
Normal file
After Width: | Height: | Size: 245 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/decor015.png
Normal file
After Width: | Height: | Size: 90 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/decor016.png
Normal file
After Width: | Height: | Size: 329 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/decor018.png
Normal file
After Width: | Height: | Size: 565 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/decor019.png
Normal file
After Width: | Height: | Size: 702 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/decor020.png
Normal file
After Width: | Height: | Size: 393 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/decor021.png
Normal file
After Width: | Height: | Size: 670 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/decor022.png
Normal file
After Width: | Height: | Size: 223 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/decor024.png
Normal file
After Width: | Height: | Size: 824 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/decor025.png
Normal file
After Width: | Height: | Size: 294 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/decor026.png
Normal file
After Width: | Height: | Size: 134 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/decor027.png
Normal file
After Width: | Height: | Size: 412 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/decor028.png
Normal file
After Width: | Height: | Size: 724 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/decor029.png
Normal file
After Width: | Height: | Size: 197 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/decor030.png
Normal file
After Width: | Height: | Size: 380 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/decor031.png
Normal file
After Width: | Height: | Size: 198 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/gear.png
Normal file
After Width: | Height: | Size: 8.4 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/init.png
Normal file
After Width: | Height: | Size: 282 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/lost.png
Normal file
After Width: | Height: | Size: 105 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/pause.png
Normal file
After Width: | Height: | Size: 284 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/setup.png
Normal file
After Width: | Height: | Size: 194 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/speedyblupi.png
Normal file
After Width: | Height: | Size: 141 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/trial.png
Normal file
After Width: | Height: | Size: 344 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/wait.png
Normal file
After Width: | Height: | Size: 333 KiB |
BIN
mobile-eggbert-fna/Content/backgrounds/win.png
Normal file
After Width: | Height: | Size: 286 KiB |
BIN
mobile-eggbert-fna/Content/icons/blupi.png
Normal file
After Width: | Height: | Size: 814 KiB |
BIN
mobile-eggbert-fna/Content/icons/blupi1.png
Normal file
After Width: | Height: | Size: 852 KiB |
BIN
mobile-eggbert-fna/Content/icons/button.png
Normal file
After Width: | Height: | Size: 127 KiB |
BIN
mobile-eggbert-fna/Content/icons/element.png
Normal file
After Width: | Height: | Size: 535 KiB |
BIN
mobile-eggbert-fna/Content/icons/explo.png
Normal file
After Width: | Height: | Size: 909 KiB |
BIN
mobile-eggbert-fna/Content/icons/jauge.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
mobile-eggbert-fna/Content/icons/object-m.png
Normal file
After Width: | Height: | Size: 1.2 MiB |
BIN
mobile-eggbert-fna/Content/icons/pad.png
Normal file
After Width: | Height: | Size: 135 KiB |
BIN
mobile-eggbert-fna/Content/icons/text.png
Normal file
After Width: | Height: | Size: 27 KiB |