Skip to content

Commit

Permalink
push a SCSharpMac project for the coreanimation rewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
toshok committed Sep 30, 2011
1 parent 6ae3f30 commit 58d0ec7
Show file tree
Hide file tree
Showing 79 changed files with 6,131 additions and 75 deletions.
3 changes: 2 additions & 1 deletion SCSharp/SCSharp.Core.dll.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
Expand All @@ -10,6 +10,7 @@
<AppDesignerFolder>Properties\SCSharp.dll</AppDesignerFolder>
<RootNamespace>SCSharp</RootNamespace>
<AssemblyName>SCSharp</AssemblyName>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down
6 changes: 3 additions & 3 deletions SCSharp/SCSharp.Smk.dll.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
Expand All @@ -10,6 +10,7 @@
<AppDesignerFolder>Properties\SCSharp.Smk.dll</AppDesignerFolder>
<RootNamespace>SCSharp.Smk</RootNamespace>
<AssemblyName>SCSharp.Smk</AssemblyName>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand All @@ -33,8 +34,7 @@
<Reference Include="System.Data" />
<Reference Include="System.Drawing" />
<Reference Include="System.Xml" />
<Reference Include="Tao.Sdl, Version=1.2.9.1, Culture=neutral, PublicKeyToken=9c7a200e36c0094e">
<SpecificVersion>False</SpecificVersion>
<Reference Include="Tao.Sdl">
<HintPath>..\sdldotnet-bin\Tao.Sdl.dll</HintPath>
</Reference>
</ItemGroup>
Expand Down
11 changes: 5 additions & 6 deletions SCSharp/SCSharp.UI.dll.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
Expand All @@ -10,6 +10,7 @@
<AppDesignerFolder>Properties\SCSharp.UI.dll</AppDesignerFolder>
<RootNamespace>SCSharp.UI</RootNamespace>
<AssemblyName>SCSharp.UI</AssemblyName>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand All @@ -33,13 +34,11 @@
<Reference Include="System.Data" />
<Reference Include="System.Drawing" />
<Reference Include="System.Xml" />
<Reference Include="SdlDotNet, Version=4.0.3.0, Culture=neutral, PublicKeyToken=26ad4f7e10c61408">
<SpecificVersion>False</SpecificVersion>
<Reference Include="System.Configuration" />
<Reference Include="SdlDotNet">
<HintPath>..\sdldotnet-bin\SdlDotNet.dll</HintPath>
</Reference>
<Reference Include="System.Configuration" />
<Reference Include="Tao.Sdl, Version=1.2.9.1, Culture=neutral, PublicKeyToken=9c7a200e36c0094e">
<SpecificVersion>False</SpecificVersion>
<Reference Include="Tao.Sdl">
<HintPath>..\sdldotnet-bin\Tao.Sdl.dll</HintPath>
</Reference>
</ItemGroup>
Expand Down
5 changes: 4 additions & 1 deletion SCSharp/SCSharp.UI/ButtonElement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@
using System.Text;
using System.Threading;

using SdlDotNet;
using SdlDotNet.Core;
using SdlDotNet.Graphics;
using SdlDotNet.Input;

using System.Drawing;

namespace SCSharp.UI
Expand Down
8 changes: 6 additions & 2 deletions SCSharp/SCSharp.UI/Cinematic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@
using System.IO;
using System.Threading;

using SdlDotNet;
using SdlDotNet.Core;
using SdlDotNet.Graphics;
using SdlDotNet.Input;

using System.Drawing;

namespace SCSharp.UI
Expand Down Expand Up @@ -95,7 +98,8 @@ void PlayerFrameReady ()
else
zoom = vert_zoom;

surf.Scale (zoom);
// FIXME: newSDL
//surf.Scale (zoom);
}

/* signal to the painter to redraw the screen */
Expand Down
5 changes: 4 additions & 1 deletion SCSharp/SCSharp.UI/ComboBoxElement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@
using System.Text;
using System.Threading;

using SdlDotNet;
using SdlDotNet.Core;
using SdlDotNet.Graphics;
using SdlDotNet.Input;

using System.Drawing;

namespace SCSharp.UI
Expand Down
5 changes: 4 additions & 1 deletion SCSharp/SCSharp.UI/ConnectionScreen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@
using System.IO;
using System.Threading;

using SdlDotNet;
using SdlDotNet.Core;
using SdlDotNet.Graphics;
using SdlDotNet.Input;

using System.Drawing;

namespace SCSharp.UI
Expand Down
4 changes: 3 additions & 1 deletion SCSharp/SCSharp.UI/CreditsScreen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@
using System.Reflection;
using System.Threading;

using SdlDotNet;
using SdlDotNet.Core;
using SdlDotNet.Graphics;

using System.Drawing;

namespace SCSharp.UI
Expand Down
4 changes: 3 additions & 1 deletion SCSharp/SCSharp.UI/CursorAnimator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
//

using System;
using SdlDotNet;
using SdlDotNet.Core;
using SdlDotNet.Graphics;


using System.Drawing;
using System.Drawing.Imaging;
Expand Down
5 changes: 4 additions & 1 deletion SCSharp/SCSharp.UI/DialogBoxElement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@
using System.Text;
using System.Threading;

using SdlDotNet;
using SdlDotNet.Core;
using SdlDotNet.Graphics;
using SdlDotNet.Input;

using System.Drawing;

namespace SCSharp.UI
Expand Down
5 changes: 4 additions & 1 deletion SCSharp/SCSharp.UI/EntryDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@
using System.Text;
using System.Threading;

using SdlDotNet;
using SdlDotNet.Core;
using SdlDotNet.Graphics;
using SdlDotNet.Input;

using System.Drawing;

namespace SCSharp.UI
Expand Down
9 changes: 6 additions & 3 deletions SCSharp/SCSharp.UI/Game.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@
using System.IO;
using System.Threading;

using SdlDotNet;
using SdlDotNet.Core;
using SdlDotNet.Graphics;
using SdlDotNet.Input;

using System.Drawing;

using System.Text;
Expand Down Expand Up @@ -335,7 +338,7 @@ void PointerMotion (object o, MouseMotionEventArgs args)
{
cached_cursor_x = args.X;
cached_cursor_y = args.Y;

if (cursor != null)
cursor.SetPosition (cached_cursor_x, cached_cursor_y);

Expand All @@ -347,7 +350,7 @@ void MouseButtonDown (object o, MouseButtonEventArgs args)
{
cached_cursor_x = args.X;
cached_cursor_y = args.Y;

if (cursor != null)
cursor.SetPosition (cached_cursor_x, cached_cursor_y);

Expand Down
4 changes: 3 additions & 1 deletion SCSharp/SCSharp.UI/GameMenuDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@
using System.Text;
using System.Threading;

using SdlDotNet;
using SdlDotNet.Core;
using SdlDotNet.Graphics;

using System.Drawing;

namespace SCSharp.UI
Expand Down
4 changes: 3 additions & 1 deletion SCSharp/SCSharp.UI/GameModeDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
using System.IO;
using System.Threading;

using SdlDotNet;
using SdlDotNet.Core;
using SdlDotNet.Graphics;

using System.Drawing;

namespace SCSharp.UI
Expand Down
5 changes: 4 additions & 1 deletion SCSharp/SCSharp.UI/GameScreen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@
using System.Threading;
using System.Collections.Generic;

using SdlDotNet;
using SdlDotNet.Core;
using SdlDotNet.Graphics;
using SdlDotNet.Input;

using System.Drawing;

namespace SCSharp.UI
Expand Down
4 changes: 3 additions & 1 deletion SCSharp/SCSharp.UI/GlobalResources.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
using System.IO;
using System.Threading;

using SdlDotNet;
using SdlDotNet.Core;
using SdlDotNet.Graphics;


namespace SCSharp.UI
{
Expand Down
5 changes: 4 additions & 1 deletion SCSharp/SCSharp.UI/GrpButtonElement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@
using System.Text;
using System.Threading;

using SdlDotNet;
using SdlDotNet.Core;
using SdlDotNet.Graphics;
using SdlDotNet.Input;

using System.Drawing;

namespace SCSharp.UI
Expand Down
5 changes: 4 additions & 1 deletion SCSharp/SCSharp.UI/GrpElement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@
using System.Text;
using System.Threading;

using SdlDotNet;
using SdlDotNet.Core;
using SdlDotNet.Graphics;
using SdlDotNet.Input;

using System.Drawing;

namespace SCSharp.UI
Expand Down
6 changes: 5 additions & 1 deletion SCSharp/SCSharp.UI/GuiUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@

using System.Drawing;
using System.Drawing.Imaging;
using SdlDotNet;
using SdlDotNet.Core;
using SdlDotNet.Graphics;
using SdlDotNet.Input;
using SdlDotNet.Audio;


/* for the surface creation hack below */
using System.Reflection;
Expand Down
5 changes: 4 additions & 1 deletion SCSharp/SCSharp.UI/ImageElement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@
using System.Text;
using System.Threading;

using SdlDotNet;
using SdlDotNet.Core;
using SdlDotNet.Graphics;
using SdlDotNet.Input;

using System.Drawing;

namespace SCSharp.UI
Expand Down
5 changes: 4 additions & 1 deletion SCSharp/SCSharp.UI/LabelElement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@
using System.Text;
using System.Threading;

using SdlDotNet;
using SdlDotNet.Core;
using SdlDotNet.Graphics;
using SdlDotNet.Input;

using System.Drawing;

namespace SCSharp.UI
Expand Down
5 changes: 4 additions & 1 deletion SCSharp/SCSharp.UI/ListBoxElement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@
using System.Text;
using System.Threading;

using SdlDotNet;
using SdlDotNet.Core;
using SdlDotNet.Graphics;
using SdlDotNet.Input;

using System.Drawing;

namespace SCSharp.UI
Expand Down
4 changes: 3 additions & 1 deletion SCSharp/SCSharp.UI/LoadSavedScreen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
using System.IO;
using System.Threading;

using SdlDotNet;
using SdlDotNet.Core;
using SdlDotNet.Graphics;

using System.Drawing;

namespace SCSharp.UI
Expand Down
5 changes: 4 additions & 1 deletion SCSharp/SCSharp.UI/LoginScreen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@
using System.IO;
using System.Threading;

using SdlDotNet;
using SdlDotNet.Core;
using SdlDotNet.Graphics;
using SdlDotNet.Input;

using System.Drawing;

namespace SCSharp.UI
Expand Down
4 changes: 3 additions & 1 deletion SCSharp/SCSharp.UI/MainMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@
using System.IO;
using System.Threading;

using SdlDotNet;
using SdlDotNet.Core;
using SdlDotNet.Graphics;

using System.Drawing;

namespace SCSharp.UI
Expand Down
4 changes: 3 additions & 1 deletion SCSharp/SCSharp.UI/MapRenderer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@
using System.Drawing;
using System.IO;

using SdlDotNet;
using SdlDotNet.Core;
using SdlDotNet.Graphics;


namespace SCSharp.UI
{
Expand Down
5 changes: 4 additions & 1 deletion SCSharp/SCSharp.UI/MarkupScreen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@
using System.Reflection;
using System.Threading;

using SdlDotNet;
using SdlDotNet.Core;
using SdlDotNet.Graphics;
using SdlDotNet.Input;

using System.Drawing;

namespace SCSharp.UI
Expand Down
Loading

0 comments on commit 58d0ec7

Please sign in to comment.