Merged Eli's Google Summer of Code work from SDL-gsoc2010-shaped_windows
authorSam Lantinga
Sun, 22 Aug 2010 13:45:56 -0700
changeset 48627b1d35d98294
parent 4764 102675835e08
parent 4861 b67815cf9f25
child 4863 cfe6336d7e60
Merged Eli's Google Summer of Code work from SDL-gsoc2010-shaped_windows
.hgignore
Makefile.in
VisualC/SDL_VS2005.sln
Xcode/SDL/SDL.xcodeproj/project.pbxproj
configure.in
include/SDL_config.h.in
include/SDL_video.h
src/video/SDL_sysvideo.h
src/video/SDL_video.c
src/video/cocoa/SDL_cocoavideo.m
src/video/cocoa/SDL_cocoawindow.m
src/video/win32/SDL_win32events.c
src/video/win32/SDL_win32video.c
src/video/x11/SDL_x11sym.h
src/video/x11/SDL_x11video.c
src/video/x11/SDL_x11video.h
src/video/x11/SDL_x11window.c
test/Makefile.in
     1.1 --- a/.hgignore	Sun Aug 22 12:39:56 2010 -0700
     1.2 +++ b/.hgignore	Sun Aug 22 13:45:56 2010 -0700
     1.3 @@ -44,52 +44,53 @@
     1.4  test/checkkeys
     1.5  test/graywin
     1.6  test/loopwave
     1.7 -test/testpower
     1.8  test/testalpha
     1.9 +test/testatomic
    1.10 +test/testaudioinfo
    1.11  test/testbitmap
    1.12  test/testblitspeed
    1.13  test/testcdrom
    1.14 +test/testcursor
    1.15 +test/testdraw2
    1.16  test/testdyngl
    1.17 +test/testdyngles
    1.18  test/testerror
    1.19 +test/testeyes
    1.20  test/testfile
    1.21 +test/testfill
    1.22  test/testgamma
    1.23 +test/testgesture
    1.24  test/testgl
    1.25 +test/testgl2
    1.26 +test/testgles
    1.27 +test/testhaptic
    1.28  test/testhread
    1.29  test/testiconv
    1.30 +test/testime
    1.31 +test/testintersections
    1.32  test/testjoystick
    1.33  test/testkeys
    1.34 +test/testloadso
    1.35  test/testlock
    1.36 +test/testmmousetablet
    1.37 +test/testmultiaudio
    1.38  test/testoverlay
    1.39  test/testoverlay2
    1.40  test/testpalette
    1.41  test/testplatform
    1.42 +test/testpower
    1.43 +test/testresample
    1.44  test/testsem
    1.45  test/testsprite
    1.46 +test/testsprite2
    1.47 +test/testspriteminimal
    1.48  test/testtimer
    1.49  test/testver
    1.50  test/testvidinfo
    1.51  test/testwin
    1.52  test/testwm
    1.53 +test/testwm2
    1.54  test/threadwin
    1.55  test/torturethread
    1.56 -test/testloadso
    1.57 -test/testgl2
    1.58 -test/testcursor
    1.59 -test/testwm2
    1.60 -test/testmultiaudio
    1.61 -test/testresample
    1.62 -test/testdraw2
    1.63 -test/testmmousetablet
    1.64 -test/testdyngles
    1.65 -test/testaudioinfo
    1.66 -test/testgles
    1.67 -test/testsprite2
    1.68 -test/testintersections
    1.69 -test/testhaptic
    1.70 -test/testime
    1.71 -test/testatomic
    1.72 -test/testspriteminimal
    1.73 -test/testfill
    1.74 -test/testgesture
    1.75  test/*.exe
    1.76  test/*.dSYM
     2.1 --- a/Makefile.in	Sun Aug 22 12:39:56 2010 -0700
     2.2 +++ b/Makefile.in	Sun Aug 22 13:45:56 2010 -0700
     2.3 @@ -44,7 +44,7 @@
     2.4  
     2.5  DIST = acinclude autogen.sh Borland.html Borland.zip BUGS build-scripts configure configure.in COPYING CREDITS include INSTALL Makefile.minimal Makefile.in README* sdl-config.in sdl.m4 sdl.pc.in SDL.spec SDL.spec.in src test TODO VisualC.html VisualC VisualCE Watcom-Win32.zip WhatsNew Xcode Xcode-iPhoneOS
     2.6  
     2.7 -HDRS = SDL.h SDL_assert.h SDL_atomic.h SDL_audio.h SDL_clipboard.h SDL_compat.h SDL_cpuinfo.h SDL_endian.h SDL_error.h SDL_events.h SDL_gesture.h SDL_haptic.h SDL_input.h SDL_joystick.h SDL_keyboard.h SDL_keysym.h SDL_loadso.h SDL_main.h SDL_mouse.h SDL_mutex.h SDL_name.h SDL_opengl.h SDL_opengles.h SDL_pixels.h SDL_platform.h SDL_power.h SDL_quit.h SDL_rect.h SDL_revision.h SDL_rwops.h SDL_scancode.h SDL_stdinc.h SDL_surface.h SDL_syswm.h SDL_thread.h SDL_timer.h SDL_touch.h SDL_types.h SDL_version.h SDL_video.h begin_code.h close_code.h
     2.8 +HDRS = SDL.h SDL_assert.h SDL_atomic.h SDL_audio.h SDL_clipboard.h SDL_compat.h SDL_cpuinfo.h SDL_endian.h SDL_error.h SDL_events.h SDL_gesture.h SDL_haptic.h SDL_input.h SDL_joystick.h SDL_keyboard.h SDL_keysym.h SDL_loadso.h SDL_main.h SDL_mouse.h SDL_mutex.h SDL_name.h SDL_opengl.h SDL_opengles.h SDL_pixels.h SDL_platform.h SDL_power.h SDL_quit.h SDL_rect.h SDL_revision.h SDL_rwops.h SDL_scancode.h SDL_shape.h SDL_stdinc.h SDL_surface.h SDL_syswm.h SDL_thread.h SDL_timer.h SDL_touch.h SDL_types.h SDL_version.h SDL_video.h begin_code.h close_code.h
     2.9  
    2.10  LT_AGE      = @LT_AGE@
    2.11  LT_CURRENT  = @LT_CURRENT@
     3.1 --- a/TODO	Sun Aug 22 12:39:56 2010 -0700
     3.2 +++ b/TODO	Sun Aug 22 13:45:56 2010 -0700
     3.3 @@ -1,3 +1,26 @@
     3.4 +Eli Gottlieb's checklist for the GSOC shaped windows project.  Dated July 9, 2010.
     3.5 +1. Enable proper linking of the X11 implementation and test it.
     3.6 +--> Find the place in the build system for platform-specific linking flags.  STATUS: DONE
     3.7 +--> Add a linker flag to bring in libXext.a. STATUS: DONE.
     3.8 +2. Build the Win32 implementation of shaped-windows functionality.
     3.9 +--> Add driver functions to the SDL_ShapeDriver in the Win32 driver's SDL_DisplayDevice at the proper point in the code.  STATUS: CHECK.
    3.10 +--> Add a hook in the Windows resize-window code to call Win32_ResizeWindowShape().  STATUS: CHECK.
    3.11 +--> Get the Windows code to build and run properly.  STATUS: IN PROGRESS.
    3.12 +3. Enable building the testeyes program.
    3.13 +--> Reprogram it to use the latest shaped-windows API.  STATUS: CHECK.
    3.14 +--> Get it, along with the rest of the test suite in my branch, building successfully.  STATUS: DONE.
    3.15 +--> Debug testeyes and the platform-specific shaped-window implementations in tandem.  STATUS: IN PROGRESS.
    3.16 +4. Implement the SDL shaped-windows API for Mac OS X using Cocoa.  STATUS: IN PROGRESS
    3.17 +--> Locate (once more) the API documentation for shaped windows under Cocoa.  STATUS: NEARLY FINISHED.
    3.18 +--> Design and encode a version of SDL_ShapeData for Cocoa.  STATUS: IN PROGRESS.
    3.19 +--> Write Cocoa_CreateShaper().  STATUS: MOSTLY DONE, AFAIK.
    3.20 +--> Write Cocoa_ResizeWindowShape().  STATUS: DONE, AFAIK.
    3.21 +--> Write Cocoa_SetWindowShape().  STATUS: IN PROGRESS.
    3.22 +--> If necessary, implement functionality adjunct to SDL_CalculateShapeBitmap() for Cocoa usage.
    3.23 +5. Use testeyes to debug all implementations. STATUS: SPRINT + 2.
    3.24 +--> Debug Cocoa implementation.
    3.25 +--> Debug Win32 implementation.
    3.26 +--> Debug X11 implementation (again).
    3.27  
    3.28  1.3 release checklist:
    3.29   * http://wiki.libsdl.org/moin.cgi/Roadmap
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/VisualC/SDL/SDL_VS2010.vcxproj	Sun Aug 22 13:45:56 2010 -0700
     4.3 @@ -0,0 +1,450 @@
     4.4 +<?xml version="1.0" encoding="utf-8"?>
     4.5 +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
     4.6 +  <ItemGroup Label="ProjectConfigurations">
     4.7 +    <ProjectConfiguration Include="Debug|Win32">
     4.8 +      <Configuration>Debug</Configuration>
     4.9 +      <Platform>Win32</Platform>
    4.10 +    </ProjectConfiguration>
    4.11 +    <ProjectConfiguration Include="Debug|x64">
    4.12 +      <Configuration>Debug</Configuration>
    4.13 +      <Platform>x64</Platform>
    4.14 +    </ProjectConfiguration>
    4.15 +    <ProjectConfiguration Include="Release|Win32">
    4.16 +      <Configuration>Release</Configuration>
    4.17 +      <Platform>Win32</Platform>
    4.18 +    </ProjectConfiguration>
    4.19 +    <ProjectConfiguration Include="Release|x64">
    4.20 +      <Configuration>Release</Configuration>
    4.21 +      <Platform>x64</Platform>
    4.22 +    </ProjectConfiguration>
    4.23 +  </ItemGroup>
    4.24 +  <PropertyGroup Label="Globals">
    4.25 +    <ProjectName>SDL</ProjectName>
    4.26 +    <ProjectGuid>{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}</ProjectGuid>
    4.27 +    <RootNamespace>SDL</RootNamespace>
    4.28 +  </PropertyGroup>
    4.29 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
    4.30 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
    4.31 +    <ConfigurationType>DynamicLibrary</ConfigurationType>
    4.32 +    <UseOfMfc>false</UseOfMfc>
    4.33 +  </PropertyGroup>
    4.34 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
    4.35 +    <ConfigurationType>DynamicLibrary</ConfigurationType>
    4.36 +    <UseOfMfc>false</UseOfMfc>
    4.37 +  </PropertyGroup>
    4.38 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
    4.39 +    <ConfigurationType>DynamicLibrary</ConfigurationType>
    4.40 +    <UseOfMfc>false</UseOfMfc>
    4.41 +  </PropertyGroup>
    4.42 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
    4.43 +    <ConfigurationType>DynamicLibrary</ConfigurationType>
    4.44 +    <UseOfMfc>false</UseOfMfc>
    4.45 +  </PropertyGroup>
    4.46 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
    4.47 +  <ImportGroup Label="ExtensionSettings">
    4.48 +  </ImportGroup>
    4.49 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
    4.50 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    4.51 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
    4.52 +  </ImportGroup>
    4.53 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
    4.54 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    4.55 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
    4.56 +  </ImportGroup>
    4.57 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
    4.58 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    4.59 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
    4.60 +  </ImportGroup>
    4.61 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
    4.62 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    4.63 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
    4.64 +  </ImportGroup>
    4.65 +  <PropertyGroup Label="UserMacros" />
    4.66 +  <PropertyGroup>
    4.67 +    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
    4.68 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
    4.69 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
    4.70 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</OutDir>
    4.71 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</IntDir>
    4.72 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
    4.73 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
    4.74 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</OutDir>
    4.75 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir>
    4.76 +  </PropertyGroup>
    4.77 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    4.78 +    <PreBuildEvent>
    4.79 +      <Message>Making sure basic SDL headers are in place...</Message>
    4.80 +      <Command>if exist "$(ProjectDir)\..\..\include\SDL_config.h" goto SDLCONFIGOKAY
    4.81 +echo Copying SDL_config_win32.h to SDL_config.h...
    4.82 +copy "$(ProjectDir)\..\..\include\SDL_config_win32.h" "$(ProjectDir)\..\..\include\SDL_config.h"
    4.83 +:SDLCONFIGOKAY
    4.84 +
    4.85 +if exist "$(ProjectDir)\..\..\include\SDL_revision.h" goto SDLREVISIONOKAY
    4.86 +echo Creating stub SDL_revision.h file...
    4.87 +echo #define SDL_REVISION 0 &gt;"$(ProjectDir)\..\..\include\SDL_revision.h"
    4.88 +:SDLREVISIONOKAY
    4.89 +</Command>
    4.90 +    </PreBuildEvent>
    4.91 +    <Midl>
    4.92 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    4.93 +      <MkTypLibCompatible>true</MkTypLibCompatible>
    4.94 +      <SuppressStartupBanner>true</SuppressStartupBanner>
    4.95 +      <TargetEnvironment>Win32</TargetEnvironment>
    4.96 +      <TypeLibraryName>.\Debug/SDL.tlb</TypeLibraryName>
    4.97 +    </Midl>
    4.98 +    <ClCompile>
    4.99 +      <Optimization>Disabled</Optimization>
   4.100 +      <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   4.101 +      <PreprocessorDefinitions>_DEBUG;_WINDOWS;_WIN32_WINNT=0x0400;__MMX__;__3dNOW__;__SSE__;__SSE2__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   4.102 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   4.103 +      <BufferSecurityCheck>false</BufferSecurityCheck>
   4.104 +      <PrecompiledHeader>
   4.105 +      </PrecompiledHeader>
   4.106 +      <WarningLevel>Level3</WarningLevel>
   4.107 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   4.108 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
   4.109 +      <CompileAs>Default</CompileAs>
   4.110 +    </ClCompile>
   4.111 +    <ResourceCompile>
   4.112 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   4.113 +      <Culture>0x0409</Culture>
   4.114 +    </ResourceCompile>
   4.115 +    <Link>
   4.116 +      <AdditionalDependencies>msvcrt.lib;msimg32.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
   4.117 +      <OutputFile>$(IntDir)SDL.dll</OutputFile>
   4.118 +      <IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
   4.119 +      <GenerateDebugInformation>true</GenerateDebugInformation>
   4.120 +      <SubSystem>Windows</SubSystem>
   4.121 +      <CLRUnmanagedCodeCheck>false</CLRUnmanagedCodeCheck>
   4.122 +    </Link>
   4.123 +  </ItemDefinitionGroup>
   4.124 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
   4.125 +    <Midl>
   4.126 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   4.127 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   4.128 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   4.129 +      <TargetEnvironment>X64</TargetEnvironment>
   4.130 +      <TypeLibraryName>.\Debug/SDL.tlb</TypeLibraryName>
   4.131 +    </Midl>
   4.132 +    <ClCompile>
   4.133 +      <Optimization>Disabled</Optimization>
   4.134 +      <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   4.135 +      <PreprocessorDefinitions>_DEBUG;_WINDOWS;_WIN32_WINNT=0x0400;__SSE__;__SSE2__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   4.136 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   4.137 +      <BufferSecurityCheck>false</BufferSecurityCheck>
   4.138 +      <PrecompiledHeader>
   4.139 +      </PrecompiledHeader>
   4.140 +      <WarningLevel>Level3</WarningLevel>
   4.141 +      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
   4.142 +    </ClCompile>
   4.143 +    <ResourceCompile>
   4.144 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   4.145 +      <Culture>0x0409</Culture>
   4.146 +    </ResourceCompile>
   4.147 +    <Link>
   4.148 +      <AdditionalDependencies>msimg32.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
   4.149 +      <OutputFile>$(IntDir)SDL.dll</OutputFile>
   4.150 +      <IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
   4.151 +      <GenerateDebugInformation>true</GenerateDebugInformation>
   4.152 +      <SubSystem>Windows</SubSystem>
   4.153 +      <TargetMachine>MachineX64</TargetMachine>
   4.154 +      <CLRUnmanagedCodeCheck>false</CLRUnmanagedCodeCheck>
   4.155 +    </Link>
   4.156 +  </ItemDefinitionGroup>
   4.157 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   4.158 +    <PreBuildEvent>
   4.159 +      <Message>Making sure basic SDL headers are in place...</Message>
   4.160 +      <Command>if exist "$(ProjectDir)\..\..\include\SDL_config.h" goto SDLCONFIGOKAY
   4.161 +echo Copying SDL_config_win32.h to SDL_config.h...
   4.162 +copy "$(ProjectDir)\..\..\include\SDL_config_win32.h" "$(ProjectDir)\..\..\include\SDL_config.h"
   4.163 +:SDLCONFIGOKAY
   4.164 +
   4.165 +if exist "$(ProjectDir)\..\..\include\SDL_revision.h" goto SDLREVISIONOKAY
   4.166 +echo Creating stub SDL_revision.h file...
   4.167 +echo #define SDL_REVISION 0 &gt;"$(ProjectDir)\..\..\include\SDL_revision.h"
   4.168 +:SDLREVISIONOKAY
   4.169 +</Command>
   4.170 +    </PreBuildEvent>
   4.171 +    <Midl>
   4.172 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   4.173 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   4.174 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   4.175 +      <TargetEnvironment>Win32</TargetEnvironment>
   4.176 +      <TypeLibraryName>.\Release/SDL.tlb</TypeLibraryName>
   4.177 +    </Midl>
   4.178 +    <ClCompile>
   4.179 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   4.180 +      <IntrinsicFunctions>false</IntrinsicFunctions>
   4.181 +      <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   4.182 +      <PreprocessorDefinitions>NDEBUG;_WINDOWS;_WIN32_WINNT=0x0400;__MMX__;__3dNOW__;__SSE__;__SSE2__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   4.183 +      <StringPooling>true</StringPooling>
   4.184 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   4.185 +      <BufferSecurityCheck>false</BufferSecurityCheck>
   4.186 +      <FunctionLevelLinking>true</FunctionLevelLinking>
   4.187 +      <PrecompiledHeader>
   4.188 +      </PrecompiledHeader>
   4.189 +      <WarningLevel>Level3</WarningLevel>
   4.190 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   4.191 +      <CompileAs>Default</CompileAs>
   4.192 +    </ClCompile>
   4.193 +    <ResourceCompile>
   4.194 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   4.195 +      <Culture>0x0409</Culture>
   4.196 +    </ResourceCompile>
   4.197 +    <Link>
   4.198 +      <AdditionalDependencies>msimg32.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
   4.199 +      <OutputFile>$(IntDir)SDL.dll</OutputFile>
   4.200 +      <IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
   4.201 +      <SubSystem>Windows</SubSystem>
   4.202 +    </Link>
   4.203 +  </ItemDefinitionGroup>
   4.204 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
   4.205 +    <Midl>
   4.206 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   4.207 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   4.208 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   4.209 +      <TargetEnvironment>X64</TargetEnvironment>
   4.210 +      <TypeLibraryName>.\Release/SDL.tlb</TypeLibraryName>
   4.211 +    </Midl>
   4.212 +    <ClCompile>
   4.213 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   4.214 +      <IntrinsicFunctions>false</IntrinsicFunctions>
   4.215 +      <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   4.216 +      <PreprocessorDefinitions>NDEBUG;_WINDOWS;_WIN32_WINNT=0x0400;__SSE__;__SSE2__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   4.217 +      <StringPooling>true</StringPooling>
   4.218 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   4.219 +      <BufferSecurityCheck>false</BufferSecurityCheck>
   4.220 +      <FunctionLevelLinking>true</FunctionLevelLinking>
   4.221 +      <PrecompiledHeader>
   4.222 +      </PrecompiledHeader>
   4.223 +      <WarningLevel>Level3</WarningLevel>
   4.224 +    </ClCompile>
   4.225 +    <ResourceCompile>
   4.226 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   4.227 +      <Culture>0x0409</Culture>
   4.228 +    </ResourceCompile>
   4.229 +    <Link>
   4.230 +      <AdditionalDependencies>msimg32.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
   4.231 +      <OutputFile>$(IntDir)SDL.dll</OutputFile>
   4.232 +      <IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
   4.233 +      <SubSystem>Windows</SubSystem>
   4.234 +    </Link>
   4.235 +  </ItemDefinitionGroup>
   4.236 +  <ItemGroup>
   4.237 +    <ClInclude Include="..\..\include\SDL.h" />
   4.238 +    <ClInclude Include="..\..\include\SDL_assert.h" />
   4.239 +    <ClInclude Include="..\..\include\SDL_atomic.h" />
   4.240 +    <ClInclude Include="..\..\include\SDL_audio.h" />
   4.241 +    <ClInclude Include="..\..\include\SDL_compat.h" />
   4.242 +    <ClInclude Include="..\..\include\SDL_config.h" />
   4.243 +    <ClInclude Include="..\..\include\SDL_config_win32.h" />
   4.244 +    <ClInclude Include="..\..\include\SDL_copying.h" />
   4.245 +    <ClInclude Include="..\..\include\SDL_cpuinfo.h" />
   4.246 +    <ClInclude Include="..\..\include\SDL_endian.h" />
   4.247 +    <ClInclude Include="..\..\include\SDL_error.h" />
   4.248 +    <ClInclude Include="..\..\include\SDL_events.h" />
   4.249 +    <ClInclude Include="..\..\include\SDL_haptic.h" />
   4.250 +    <ClInclude Include="..\..\include\SDL_joystick.h" />
   4.251 +    <ClInclude Include="..\..\include\SDL_keyboard.h" />
   4.252 +    <ClInclude Include="..\..\include\SDL_keysym.h" />
   4.253 +    <ClInclude Include="..\..\include\SDL_loadso.h" />
   4.254 +    <ClInclude Include="..\..\include\SDL_main.h" />
   4.255 +    <ClInclude Include="..\..\include\SDL_mouse.h" />
   4.256 +    <ClInclude Include="..\..\include\SDL_mutex.h" />
   4.257 +    <ClInclude Include="..\..\include\SDL_name.h" />
   4.258 +    <ClInclude Include="..\..\include\SDL_opengl.h" />
   4.259 +    <ClInclude Include="..\..\include\SDL_opengles.h" />
   4.260 +    <ClInclude Include="..\..\include\SDL_pixels.h" />
   4.261 +    <ClInclude Include="..\..\include\SDL_platform.h" />
   4.262 +    <ClInclude Include="..\..\include\SDL_power.h" />
   4.263 +    <ClInclude Include="..\..\include\SDL_quit.h" />
   4.264 +    <ClInclude Include="..\..\include\SDL_rect.h" />
   4.265 +    <ClInclude Include="..\..\include\SDL_revision.h" />
   4.266 +    <ClInclude Include="..\..\include\SDL_rwops.h" />
   4.267 +    <ClInclude Include="..\..\include\SDL_scancode.h" />
   4.268 +    <ClInclude Include="..\..\include\SDL_shape.h" />
   4.269 +    <ClInclude Include="..\..\include\SDL_stdinc.h" />
   4.270 +    <ClInclude Include="..\..\include\SDL_surface.h" />
   4.271 +    <ClInclude Include="..\..\include\SDL_syswm.h" />
   4.272 +    <ClInclude Include="..\..\include\SDL_thread.h" />
   4.273 +    <ClInclude Include="..\..\include\SDL_timer.h" />
   4.274 +    <ClInclude Include="..\..\include\SDL_types.h" />
   4.275 +    <ClInclude Include="..\..\include\SDL_version.h" />
   4.276 +    <ClInclude Include="..\..\include\SDL_video.h" />
   4.277 +    <ClInclude Include="..\..\src\events\blank_cursor.h" />
   4.278 +    <ClInclude Include="..\..\src\events\default_cursor.h" />
   4.279 +    <ClInclude Include="..\..\src\audio\windx5\directx.h" />
   4.280 +    <ClInclude Include="..\..\src\libm\math.h" />
   4.281 +    <ClInclude Include="..\..\src\libm\math_private.h" />
   4.282 +    <ClInclude Include="..\..\src\video\mmx.h" />
   4.283 +    <ClInclude Include="..\..\src\video\SDL_alphamult.h" />
   4.284 +    <ClInclude Include="..\..\src\audio\SDL_audio_c.h" />
   4.285 +    <ClInclude Include="..\..\src\audio\SDL_audiodev_c.h" />
   4.286 +    <ClInclude Include="..\..\src\audio\SDL_audiomem.h" />
   4.287 +    <ClInclude Include="..\..\src\video\SDL_blit.h" />
   4.288 +    <ClInclude Include="..\..\src\video\SDL_blit_auto.h" />
   4.289 +    <ClInclude Include="..\..\src\video\SDL_blit_copy.h" />
   4.290 +    <ClInclude Include="..\..\src\video\SDL_blit_slow.h" />
   4.291 +    <ClInclude Include="..\..\src\video\SDL_shape_internals.h" />
   4.292 +    <ClInclude Include="..\..\src\video\win32\SDL_d3drender.h" />
   4.293 +    <ClInclude Include="..\..\src\audio\windib\SDL_dibaudio.h" />
   4.294 +    <ClInclude Include="..\..\src\audio\disk\SDL_diskaudio.h" />
   4.295 +    <ClInclude Include="..\..\src\video\SDL_draw.h" />
   4.296 +    <ClInclude Include="..\..\src\audio\dummy\SDL_dummyaudio.h" />
   4.297 +    <ClInclude Include="..\..\src\audio\windx5\SDL_dx5audio.h" />
   4.298 +    <ClInclude Include="..\..\src\SDL_error_c.h" />
   4.299 +    <ClInclude Include="..\..\src\events\SDL_events_c.h" />
   4.300 +    <ClInclude Include="..\..\src\SDL_fatal.h" />
   4.301 +    <ClInclude Include="..\..\src\video\win32\SDL_gdirender.h" />
   4.302 +    <ClInclude Include="..\..\src\video\SDL_glesfuncs.h" />
   4.303 +    <ClInclude Include="..\..\src\video\SDL_glfuncs.h" />
   4.304 +    <ClInclude Include="..\..\src\joystick\SDL_joystick_c.h" />
   4.305 +    <ClInclude Include="..\..\src\events\SDL_keyboard_c.h" />
   4.306 +    <ClInclude Include="..\..\src\video\SDL_leaks.h" />
   4.307 +    <ClInclude Include="..\..\src\audio\SDL_mixer_m68k.h" />
   4.308 +    <ClInclude Include="..\..\src\audio\SDL_mixer_MMX.h" />
   4.309 +    <ClInclude Include="..\..\src\audio\SDL_mixer_MMX_VC.h" />
   4.310 +    <ClInclude Include="..\..\src\events\SDL_mouse_c.h" />
   4.311 +    <ClInclude Include="..\..\src\video\dummy\SDL_nullevents_c.h" />
   4.312 +    <ClInclude Include="..\..\src\video\dummy\SDL_nullrender_c.h" />
   4.313 +    <ClInclude Include="..\..\src\video\dummy\SDL_nullvideo.h" />
   4.314 +    <ClInclude Include="..\..\src\video\SDL_pixels_c.h" />
   4.315 +    <ClInclude Include="..\..\src\video\SDL_rect_c.h" />
   4.316 +    <ClInclude Include="..\..\src\video\SDL_renderer_gl.h" />
   4.317 +    <ClInclude Include="..\..\src\video\SDL_renderer_sw.h" />
   4.318 +    <ClInclude Include="..\..\src\video\SDL_RLEaccel_c.h" />
   4.319 +    <ClInclude Include="..\..\src\video\SDL_stretch_c.h" />
   4.320 +    <ClInclude Include="..\..\src\audio\SDL_sysaudio.h" />
   4.321 +    <ClInclude Include="..\..\src\events\SDL_sysevents.h" />
   4.322 +    <ClInclude Include="..\..\src\haptic\SDL_syshaptic.h" />
   4.323 +    <ClInclude Include="..\..\src\joystick\SDL_sysjoystick.h" />
   4.324 +    <ClInclude Include="..\..\src\thread\SDL_systhread.h" />
   4.325 +    <ClInclude Include="..\..\src\thread\win32\SDL_systhread_c.h" />
   4.326 +    <ClInclude Include="..\..\src\timer\SDL_systimer.h" />
   4.327 +    <ClInclude Include="..\..\src\video\SDL_sysvideo.h" />
   4.328 +    <ClInclude Include="..\..\src\thread\SDL_thread_c.h" />
   4.329 +    <ClInclude Include="..\..\src\timer\SDL_timer_c.h" />
   4.330 +    <ClInclude Include="..\..\src\video\win32\SDL_vkeys.h" />
   4.331 +    <ClInclude Include="..\..\src\audio\SDL_wave.h" />
   4.332 +    <ClInclude Include="..\..\src\video\win32\SDL_win32events.h" />
   4.333 +    <ClInclude Include="..\..\src\video\win32\SDL_win32gamma.h" />
   4.334 +    <ClInclude Include="..\..\src\video\win32\SDL_win32keyboard.h" />
   4.335 +    <ClInclude Include="..\..\src\video\win32\SDL_win32modes.h" />
   4.336 +    <ClInclude Include="..\..\src\video\win32\SDL_win32mouse.h" />
   4.337 +    <ClInclude Include="..\..\src\video\win32\SDL_win32opengl.h" />
   4.338 +    <ClInclude Include="..\..\src\video\win32\SDL_win32shape.h" />
   4.339 +    <ClInclude Include="..\..\src\video\win32\SDL_win32video.h" />
   4.340 +    <ClInclude Include="..\..\src\video\win32\SDL_win32window.h" />
   4.341 +    <ClInclude Include="..\..\src\events\SDL_windowevents_c.h" />
   4.342 +    <ClInclude Include="..\..\src\video\SDL_yuv_sw_c.h" />
   4.343 +    <ClInclude Include="..\..\src\video\win32\wmmsg.h" />
   4.344 +  </ItemGroup>
   4.345 +  <ItemGroup>
   4.346 +    <ClCompile Include="..\..\src\libm\e_log.c" />
   4.347 +    <ClCompile Include="..\..\src\libm\e_pow.c" />
   4.348 +    <ClCompile Include="..\..\src\libm\e_rem_pio2.c" />
   4.349 +    <ClCompile Include="..\..\src\libm\e_sqrt.c" />
   4.350 +    <ClCompile Include="..\..\src\libm\k_cos.c" />
   4.351 +    <ClCompile Include="..\..\src\libm\k_rem_pio2.c" />
   4.352 +    <ClCompile Include="..\..\src\libm\k_sin.c" />
   4.353 +    <ClCompile Include="..\..\src\libm\s_copysign.c" />
   4.354 +    <ClCompile Include="..\..\src\libm\s_cos.c" />
   4.355 +    <ClCompile Include="..\..\src\libm\s_fabs.c" />
   4.356 +    <ClCompile Include="..\..\src\libm\s_floor.c" />
   4.357 +    <ClCompile Include="..\..\src\libm\s_scalbn.c" />
   4.358 +    <ClCompile Include="..\..\src\libm\s_sin.c" />
   4.359 +    <ClCompile Include="..\..\src\SDL.c" />
   4.360 +    <ClCompile Include="..\..\src\video\SDL_alphamult.c" />
   4.361 +    <ClCompile Include="..\..\src\SDL_assert.c" />
   4.362 +    <ClCompile Include="..\..\src\atomic\win32\SDL_atomic.c" />
   4.363 +    <ClCompile Include="..\..\src\audio\SDL_audio.c" />
   4.364 +    <ClCompile Include="..\..\src\audio\SDL_audiocvt.c" />
   4.365 +    <ClCompile Include="..\..\src\audio\SDL_audiodev.c" />
   4.366 +    <ClCompile Include="..\..\src\audio\SDL_audiotypecvt.c" />
   4.367 +    <ClCompile Include="..\..\src\video\SDL_blendfillrect.c" />
   4.368 +    <ClCompile Include="..\..\src\video\SDL_blendline.c" />
   4.369 +    <ClCompile Include="..\..\src\video\SDL_blendpoint.c" />
   4.370 +    <ClCompile Include="..\..\src\video\SDL_blendrect.c" />
   4.371 +    <ClCompile Include="..\..\src\video\SDL_blit.c" />
   4.372 +    <ClCompile Include="..\..\src\video\SDL_blit_0.c" />
   4.373 +    <ClCompile Include="..\..\src\video\SDL_blit_1.c" />
   4.374 +    <ClCompile Include="..\..\src\video\SDL_blit_A.c" />
   4.375 +    <ClCompile Include="..\..\src\video\SDL_blit_auto.c" />
   4.376 +    <ClCompile Include="..\..\src\video\SDL_blit_copy.c" />
   4.377 +    <ClCompile Include="..\..\src\video\SDL_blit_N.c" />
   4.378 +    <ClCompile Include="..\..\src\video\SDL_blit_slow.c" />
   4.379 +    <ClCompile Include="..\..\src\video\SDL_bmp.c" />
   4.380 +    <ClCompile Include="..\..\src\SDL_compat.c" />
   4.381 +    <ClCompile Include="..\..\src\cpuinfo\SDL_cpuinfo.c" />
   4.382 +    <ClCompile Include="..\..\src\video\SDL_shape.c" />
   4.383 +    <ClCompile Include="..\..\src\video\win32\SDL_d3drender.c" />
   4.384 +    <ClCompile Include="..\..\src\audio\windib\SDL_dibaudio.c" />
   4.385 +    <ClCompile Include="..\..\src\audio\disk\SDL_diskaudio.c" />
   4.386 +    <ClCompile Include="..\..\src\video\SDL_drawline.c" />
   4.387 +    <ClCompile Include="..\..\src\video\SDL_drawpoint.c" />
   4.388 +    <ClCompile Include="..\..\src\video\SDL_drawrect.c" />
   4.389 +    <ClCompile Include="..\..\src\audio\dummy\SDL_dummyaudio.c" />
   4.390 +    <ClCompile Include="..\..\src\audio\windx5\SDL_dx5audio.c" />
   4.391 +    <ClCompile Include="..\..\src\joystick\win32\SDL_dxjoystick.c" />
   4.392 +    <ClCompile Include="..\..\src\SDL_error.c" />
   4.393 +    <ClCompile Include="..\..\src\events\SDL_events.c" />
   4.394 +    <ClCompile Include="..\..\src\SDL_fatal.c" />
   4.395 +    <ClCompile Include="..\..\src\video\SDL_fillrect.c" />
   4.396 +    <ClCompile Include="..\..\src\video\SDL_gamma.c" />
   4.397 +    <ClCompile Include="..\..\src\video\win32\SDL_gdirender.c" />
   4.398 +    <ClCompile Include="..\..\src\stdlib\SDL_getenv.c" />
   4.399 +    <ClCompile Include="..\..\src\haptic\SDL_haptic.c" />
   4.400 +    <ClCompile Include="..\..\src\stdlib\SDL_iconv.c" />
   4.401 +    <ClCompile Include="..\..\src\joystick\SDL_joystick.c" />
   4.402 +    <ClCompile Include="..\..\src\events\SDL_keyboard.c" />
   4.403 +    <ClCompile Include="..\..\src\stdlib\SDL_malloc.c" />
   4.404 +    <ClCompile Include="..\..\src\audio\SDL_mixer.c" />
   4.405 +    <ClCompile Include="..\..\src\audio\SDL_mixer_m68k.c" />
   4.406 +    <ClCompile Include="..\..\src\audio\SDL_mixer_MMX.c" />
   4.407 +    <ClCompile Include="..\..\src\audio\SDL_mixer_MMX_VC.c" />
   4.408 +    <ClCompile Include="..\..\src\joystick\win32\SDL_mmjoystick.c" />
   4.409 +    <ClCompile Include="..\..\src\events\SDL_mouse.c" />
   4.410 +    <ClCompile Include="..\..\src\video\dummy\SDL_nullevents.c" />
   4.411 +    <ClCompile Include="..\..\src\video\dummy\SDL_nullrender.c" />
   4.412 +    <ClCompile Include="..\..\src\video\dummy\SDL_nullvideo.c" />
   4.413 +    <ClCompile Include="..\..\src\video\SDL_pixels.c" />
   4.414 +    <ClCompile Include="..\..\src\power\SDL_power.c" />
   4.415 +    <ClCompile Include="..\..\src\stdlib\SDL_qsort.c" />
   4.416 +    <ClCompile Include="..\..\src\events\SDL_quit.c" />
   4.417 +    <ClCompile Include="..\..\src\video\SDL_rect.c" />
   4.418 +    <ClCompile Include="..\..\src\video\SDL_renderer_gl.c" />
   4.419 +    <ClCompile Include="..\..\src\video\SDL_renderer_sw.c" />
   4.420 +    <ClCompile Include="..\..\src\video\SDL_RLEaccel.c" />
   4.421 +    <ClCompile Include="..\..\src\file\SDL_rwops.c" />
   4.422 +    <ClCompile Include="..\..\src\stdlib\SDL_stdlib.c" />
   4.423 +    <ClCompile Include="..\..\src\video\SDL_stretch.c" />
   4.424 +    <ClCompile Include="..\..\src\stdlib\SDL_string.c" />
   4.425 +    <ClCompile Include="..\..\src\video\SDL_surface.c" />
   4.426 +    <ClCompile Include="..\..\src\haptic\win32\SDL_syshaptic.c" />
   4.427 +    <ClCompile Include="..\..\src\loadso\win32\SDL_sysloadso.c" />
   4.428 +    <ClCompile Include="..\..\src\thread\win32\SDL_sysmutex.c" />
   4.429 +    <ClCompile Include="..\..\src\power\windows\SDL_syspower.c" />
   4.430 +    <ClCompile Include="..\..\src\thread\win32\SDL_syssem.c" />
   4.431 +    <ClCompile Include="..\..\src\thread\win32\SDL_systhread.c" />
   4.432 +    <ClCompile Include="..\..\src\timer\win32\SDL_systimer.c" />
   4.433 +    <ClCompile Include="..\..\src\thread\SDL_thread.c" />
   4.434 +    <ClCompile Include="..\..\src\timer\SDL_timer.c" />
   4.435 +    <ClCompile Include="..\..\src\video\SDL_video.c" />
   4.436 +    <ClCompile Include="..\..\src\audio\SDL_wave.c" />
   4.437 +    <ClCompile Include="..\..\src\video\win32\SDL_win32events.c" />
   4.438 +    <ClCompile Include="..\..\src\video\win32\SDL_win32gamma.c" />
   4.439 +    <ClCompile Include="..\..\src\video\win32\SDL_win32keyboard.c" />
   4.440 +    <ClCompile Include="..\..\src\video\win32\SDL_win32modes.c" />
   4.441 +    <ClCompile Include="..\..\src\video\win32\SDL_win32mouse.c" />
   4.442 +    <ClCompile Include="..\..\src\video\win32\SDL_win32opengl.c" />
   4.443 +    <ClCompile Include="..\..\src\video\win32\SDL_win32shape.c" />
   4.444 +    <ClCompile Include="..\..\src\video\win32\SDL_win32video.c" />
   4.445 +    <ClCompile Include="..\..\src\video\win32\SDL_win32window.c" />
   4.446 +    <ClCompile Include="..\..\src\events\SDL_windowevents.c" />
   4.447 +    <ClCompile Include="..\..\src\video\SDL_yuv_mmx.c" />
   4.448 +    <ClCompile Include="..\..\src\video\SDL_yuv_sw.c" />
   4.449 +  </ItemGroup>
   4.450 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
   4.451 +  <ImportGroup Label="ExtensionTargets">
   4.452 +  </ImportGroup>
   4.453 +</Project>
   4.454 \ No newline at end of file
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/VisualC/SDL_VS2010.sln	Sun Aug 22 13:45:56 2010 -0700
     6.3 @@ -0,0 +1,61 @@
     6.4 +Microsoft Visual Studio Solution File, Format Version 11.00
     6.5 +# Visual Studio 2010
     6.6 +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{CE748C1F-3C21-4825-AA6A-F895A023F7E7}"
     6.7 +EndProject
     6.8 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SDL", "SDL\SDL_VS2010.vcxproj", "{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}"
     6.9 +EndProject
    6.10 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SDLmain", "SDLmain\SDLmain_VS2010.vcxproj", "{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}"
    6.11 +EndProject
    6.12 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "automated", "tests\automated\automated.vcxproj", "{DDD710DB-EC7B-4CCB-BD75-535D401A2FE0}"
    6.13 +EndProject
    6.14 +Global
    6.15 +	GlobalSection(SolutionConfigurationPlatforms) = preSolution
    6.16 +		Debug|Win32 = Debug|Win32
    6.17 +		Debug|x64 = Debug|x64
    6.18 +		Release_NoSTDIO|Win32 = Release_NoSTDIO|Win32
    6.19 +		Release_NoSTDIO|x64 = Release_NoSTDIO|x64
    6.20 +		Release|Win32 = Release|Win32
    6.21 +		Release|x64 = Release|x64
    6.22 +	EndGlobalSection
    6.23 +	GlobalSection(ProjectConfigurationPlatforms) = postSolution
    6.24 +		{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Debug|Win32.ActiveCfg = Debug|Win32
    6.25 +		{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Debug|Win32.Build.0 = Debug|Win32
    6.26 +		{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Debug|x64.ActiveCfg = Debug|x64
    6.27 +		{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Debug|x64.Build.0 = Debug|x64
    6.28 +		{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Release_NoSTDIO|Win32.ActiveCfg = Release|Win32
    6.29 +		{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Release_NoSTDIO|Win32.Build.0 = Release|Win32
    6.30 +		{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Release_NoSTDIO|x64.ActiveCfg = Release|x64
    6.31 +		{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Release_NoSTDIO|x64.Build.0 = Release|x64
    6.32 +		{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Release|Win32.ActiveCfg = Release|Win32
    6.33 +		{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Release|Win32.Build.0 = Release|Win32
    6.34 +		{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Release|x64.ActiveCfg = Release|x64
    6.35 +		{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Release|x64.Build.0 = Release|x64
    6.36 +		{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Debug|Win32.ActiveCfg = Debug|Win32
    6.37 +		{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Debug|Win32.Build.0 = Debug|Win32
    6.38 +		{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Debug|x64.ActiveCfg = Debug|x64
    6.39 +		{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Debug|x64.Build.0 = Debug|x64
    6.40 +		{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Release_NoSTDIO|Win32.ActiveCfg = Release_NoSTDIO|Win32
    6.41 +		{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Release_NoSTDIO|Win32.Build.0 = Release_NoSTDIO|Win32
    6.42 +		{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Release_NoSTDIO|x64.ActiveCfg = Release_NoSTDIO|x64
    6.43 +		{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Release_NoSTDIO|x64.Build.0 = Release_NoSTDIO|x64
    6.44 +		{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Release|Win32.ActiveCfg = Release|Win32
    6.45 +		{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Release|Win32.Build.0 = Release|Win32
    6.46 +		{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Release|x64.ActiveCfg = Release|x64
    6.47 +		{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Release|x64.Build.0 = Release|x64
    6.48 +		{DDD710DB-EC7B-4CCB-BD75-535D401A2FE0}.Debug|Win32.ActiveCfg = Debug|Win32
    6.49 +		{DDD710DB-EC7B-4CCB-BD75-535D401A2FE0}.Debug|Win32.Build.0 = Debug|Win32
    6.50 +		{DDD710DB-EC7B-4CCB-BD75-535D401A2FE0}.Debug|x64.ActiveCfg = Debug|Win32
    6.51 +		{DDD710DB-EC7B-4CCB-BD75-535D401A2FE0}.Release_NoSTDIO|Win32.ActiveCfg = Release|Win32
    6.52 +		{DDD710DB-EC7B-4CCB-BD75-535D401A2FE0}.Release_NoSTDIO|Win32.Build.0 = Release|Win32
    6.53 +		{DDD710DB-EC7B-4CCB-BD75-535D401A2FE0}.Release_NoSTDIO|x64.ActiveCfg = Release|Win32
    6.54 +		{DDD710DB-EC7B-4CCB-BD75-535D401A2FE0}.Release|Win32.ActiveCfg = Release|Win32
    6.55 +		{DDD710DB-EC7B-4CCB-BD75-535D401A2FE0}.Release|Win32.Build.0 = Release|Win32
    6.56 +		{DDD710DB-EC7B-4CCB-BD75-535D401A2FE0}.Release|x64.ActiveCfg = Release|Win32
    6.57 +	EndGlobalSection
    6.58 +	GlobalSection(SolutionProperties) = preSolution
    6.59 +		HideSolutionNode = FALSE
    6.60 +	EndGlobalSection
    6.61 +	GlobalSection(NestedProjects) = preSolution
    6.62 +		{DDD710DB-EC7B-4CCB-BD75-535D401A2FE0} = {CE748C1F-3C21-4825-AA6A-F895A023F7E7}
    6.63 +	EndGlobalSection
    6.64 +EndGlobal
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/VisualC/SDLmain/SDLmain_VS2010.vcxproj	Sun Aug 22 13:45:56 2010 -0700
     7.3 @@ -0,0 +1,264 @@
     7.4 +<?xml version="1.0" encoding="utf-8"?>
     7.5 +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
     7.6 +  <ItemGroup Label="ProjectConfigurations">
     7.7 +    <ProjectConfiguration Include="Debug|Win32">
     7.8 +      <Configuration>Debug</Configuration>
     7.9 +      <Platform>Win32</Platform>
    7.10 +    </ProjectConfiguration>
    7.11 +    <ProjectConfiguration Include="Debug|x64">
    7.12 +      <Configuration>Debug</Configuration>
    7.13 +      <Platform>x64</Platform>
    7.14 +    </ProjectConfiguration>
    7.15 +    <ProjectConfiguration Include="Release_NoSTDIO|Win32">
    7.16 +      <Configuration>Release_NoSTDIO</Configuration>
    7.17 +      <Platform>Win32</Platform>
    7.18 +    </ProjectConfiguration>
    7.19 +    <ProjectConfiguration Include="Release_NoSTDIO|x64">
    7.20 +      <Configuration>Release_NoSTDIO</Configuration>
    7.21 +      <Platform>x64</Platform>
    7.22 +    </ProjectConfiguration>
    7.23 +    <ProjectConfiguration Include="Release|Win32">
    7.24 +      <Configuration>Release</Configuration>
    7.25 +      <Platform>Win32</Platform>
    7.26 +    </ProjectConfiguration>
    7.27 +    <ProjectConfiguration Include="Release|x64">
    7.28 +      <Configuration>Release</Configuration>
    7.29 +      <Platform>x64</Platform>
    7.30 +    </ProjectConfiguration>
    7.31 +  </ItemGroup>
    7.32 +  <PropertyGroup Label="Globals">
    7.33 +    <ProjectName>SDLmain</ProjectName>
    7.34 +    <ProjectGuid>{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}</ProjectGuid>
    7.35 +  </PropertyGroup>
    7.36 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
    7.37 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
    7.38 +    <ConfigurationType>StaticLibrary</ConfigurationType>
    7.39 +    <UseOfMfc>false</UseOfMfc>
    7.40 +  </PropertyGroup>
    7.41 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release_NoSTDIO|Win32'" Label="Configuration">
    7.42 +    <ConfigurationType>StaticLibrary</ConfigurationType>
    7.43 +    <UseOfMfc>false</UseOfMfc>
    7.44 +  </PropertyGroup>
    7.45 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
    7.46 +    <ConfigurationType>StaticLibrary</ConfigurationType>
    7.47 +    <UseOfMfc>false</UseOfMfc>
    7.48 +  </PropertyGroup>
    7.49 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
    7.50 +    <ConfigurationType>StaticLibrary</ConfigurationType>
    7.51 +    <UseOfMfc>false</UseOfMfc>
    7.52 +  </PropertyGroup>
    7.53 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release_NoSTDIO|x64'" Label="Configuration">
    7.54 +    <ConfigurationType>StaticLibrary</ConfigurationType>
    7.55 +    <UseOfMfc>false</UseOfMfc>
    7.56 +  </PropertyGroup>
    7.57 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
    7.58 +    <ConfigurationType>StaticLibrary</ConfigurationType>
    7.59 +    <UseOfMfc>false</UseOfMfc>
    7.60 +  </PropertyGroup>
    7.61 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
    7.62 +  <ImportGroup Label="ExtensionSettings">
    7.63 +  </ImportGroup>
    7.64 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
    7.65 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    7.66 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
    7.67 +  </ImportGroup>
    7.68 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release_NoSTDIO|Win32'" Label="PropertySheets">
    7.69 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    7.70 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
    7.71 +  </ImportGroup>
    7.72 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
    7.73 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    7.74 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
    7.75 +  </ImportGroup>
    7.76 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
    7.77 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    7.78 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
    7.79 +  </ImportGroup>
    7.80 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release_NoSTDIO|x64'" Label="PropertySheets">
    7.81 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    7.82 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
    7.83 +  </ImportGroup>
    7.84 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
    7.85 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    7.86 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
    7.87 +  </ImportGroup>
    7.88 +  <PropertyGroup Label="UserMacros" />
    7.89 +  <PropertyGroup>
    7.90 +    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
    7.91 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
    7.92 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
    7.93 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</OutDir>
    7.94 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir>
    7.95 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release_NoSTDIO|Win32'">.\Release_NOSTDIO\</OutDir>
    7.96 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release_NoSTDIO|Win32'">.\Release_NOSTDIO\</IntDir>
    7.97 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release_NoSTDIO|x64'">$(Platform)\$(Configuration)\</OutDir>
    7.98 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release_NoSTDIO|x64'">$(Platform)\$(Configuration)\</IntDir>
    7.99 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
   7.100 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   7.101 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</OutDir>
   7.102 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</IntDir>
   7.103 +  </PropertyGroup>
   7.104 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   7.105 +    <PreBuildEvent>
   7.106 +      <Message>Making sure basic SDL headers are in place...</Message>
   7.107 +      <Command>if exist "$(ProjectDir)\..\..\include\SDL_config.h" goto SDLCONFIGOKAY
   7.108 +echo Copying SDL_config_win32.h to SDL_config.h...
   7.109 +copy "$(ProjectDir)\..\..\include\SDL_config_win32.h" "$(ProjectDir)\..\..\include\SDL_config.h"
   7.110 +:SDLCONFIGOKAY
   7.111 +
   7.112 +if exist "$(ProjectDir)\..\..\include\SDL_revision.h" goto SDLREVISIONOKAY
   7.113 +echo Creating stub SDL_revision.h file...
   7.114 +echo #define SDL_REVISION 0 &gt;"$(ProjectDir)\..\..\include\SDL_revision.h"
   7.115 +:SDLREVISIONOKAY</Command>
   7.116 +    </PreBuildEvent>
   7.117 +    <ClCompile>
   7.118 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   7.119 +      <AdditionalIncludeDirectories>..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   7.120 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   7.121 +      <StringPooling>true</StringPooling>
   7.122 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   7.123 +      <FunctionLevelLinking>true</FunctionLevelLinking>
   7.124 +      <PrecompiledHeader>
   7.125 +      </PrecompiledHeader>
   7.126 +      <WarningLevel>Level3</WarningLevel>
   7.127 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   7.128 +      <CompileAs>Default</CompileAs>
   7.129 +    </ClCompile>
   7.130 +    <Lib>
   7.131 +      <OutputFile>.\Release\SDLmain.lib</OutputFile>
   7.132 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   7.133 +    </Lib>
   7.134 +  </ItemDefinitionGroup>
   7.135 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
   7.136 +    <Midl>
   7.137 +      <TargetEnvironment>X64</TargetEnvironment>
   7.138 +    </Midl>
   7.139 +    <ClCompile>
   7.140 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   7.141 +      <AdditionalIncludeDirectories>..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   7.142 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   7.143 +      <StringPooling>true</StringPooling>
   7.144 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   7.145 +      <FunctionLevelLinking>true</FunctionLevelLinking>
   7.146 +      <PrecompiledHeader>
   7.147 +      </PrecompiledHeader>
   7.148 +      <PrecompiledHeaderOutputFile>.\Release/SDLmain.pch</PrecompiledHeaderOutputFile>
   7.149 +      <WarningLevel>Level3</WarningLevel>
   7.150 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   7.151 +      <CompileAs>Default</CompileAs>
   7.152 +    </ClCompile>
   7.153 +    <Lib>
   7.154 +      <OutputFile>$(IntDir)SDLmain.lib</OutputFile>
   7.155 +    </Lib>
   7.156 +  </ItemDefinitionGroup>
   7.157 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release_NoSTDIO|Win32'">
   7.158 +    <PreBuildEvent>
   7.159 +      <Message>Making sure basic SDL headers are in place...</Message>
   7.160 +      <Command>if exist "$(ProjectDir)\..\..\include\SDL_config.h" goto SDLCONFIGOKAY
   7.161 +echo Copying SDL_config_win32.h to SDL_config.h...
   7.162 +copy "$(ProjectDir)\..\..\include\SDL_config_win32.h" "$(ProjectDir)\..\..\include\SDL_config.h"
   7.163 +:SDLCONFIGOKAY
   7.164 +
   7.165 +if exist "$(ProjectDir)\..\..\include\SDL_revision.h" goto SDLREVISIONOKAY
   7.166 +echo Creating stub SDL_revision.h file...
   7.167 +echo #define SDL_REVISION 0 &gt;"$(ProjectDir)\..\..\include\SDL_revision.h"
   7.168 +:SDLREVISIONOKAY</Command>
   7.169 +    </PreBuildEvent>
   7.170 +    <ClCompile>
   7.171 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   7.172 +      <AdditionalIncludeDirectories>..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   7.173 +      <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;WIN32;NDEBUG;_WINDOWS;NO_STDIO_REDIRECT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   7.174 +      <StringPooling>true</StringPooling>
   7.175 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   7.176 +      <FunctionLevelLinking>true</FunctionLevelLinking>
   7.177 +      <PrecompiledHeader>
   7.178 +      </PrecompiledHeader>
   7.179 +      <WarningLevel>Level3</WarningLevel>
   7.180 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   7.181 +      <CompileAs>Default</CompileAs>
   7.182 +    </ClCompile>
   7.183 +    <Lib>
   7.184 +      <OutputFile>.\Release_NOSTDIO\SDLmain.lib</OutputFile>
   7.185 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   7.186 +    </Lib>
   7.187 +  </ItemDefinitionGroup>
   7.188 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release_NoSTDIO|x64'">
   7.189 +    <Midl>
   7.190 +      <TargetEnvironment>X64</TargetEnvironment>
   7.191 +    </Midl>
   7.192 +    <ClCompile>
   7.193 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   7.194 +      <AdditionalIncludeDirectories>..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   7.195 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;NO_STDIO_REDIRECT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   7.196 +      <StringPooling>true</StringPooling>
   7.197 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   7.198 +      <FunctionLevelLinking>true</FunctionLevelLinking>
   7.199 +      <PrecompiledHeader>
   7.200 +      </PrecompiledHeader>
   7.201 +      <PrecompiledHeaderOutputFile>.\Release_NOSTDIO/SDLmain.pch</PrecompiledHeaderOutputFile>
   7.202 +      <WarningLevel>Level3</WarningLevel>
   7.203 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   7.204 +      <CompileAs>Default</CompileAs>
   7.205 +    </ClCompile>
   7.206 +    <Lib>
   7.207 +      <OutputFile>$(IntDir)SDLmain.lib</OutputFile>
   7.208 +    </Lib>
   7.209 +  </ItemDefinitionGroup>
   7.210 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   7.211 +    <PreBuildEvent>
   7.212 +      <Message>Making sure basic SDL headers are in place...</Message>
   7.213 +      <Command>if exist "$(ProjectDir)\..\..\include\SDL_config.h" goto SDLCONFIGOKAY
   7.214 +echo Copying SDL_config_win32.h to SDL_config.h...
   7.215 +copy "$(ProjectDir)\..\..\include\SDL_config_win32.h" "$(ProjectDir)\..\..\include\SDL_config.h"
   7.216 +:SDLCONFIGOKAY
   7.217 +
   7.218 +if exist "$(ProjectDir)\..\..\include\SDL_revision.h" goto SDLREVISIONOKAY
   7.219 +echo Creating stub SDL_revision.h file...
   7.220 +echo #define SDL_REVISION 0 &gt;"$(ProjectDir)\..\..\include\SDL_revision.h"
   7.221 +:SDLREVISIONOKAY</Command>
   7.222 +    </PreBuildEvent>
   7.223 +    <ClCompile>
   7.224 +      <Optimization>Disabled</Optimization>
   7.225 +      <AdditionalIncludeDirectories>..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   7.226 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   7.227 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   7.228 +      <PrecompiledHeader>
   7.229 +      </PrecompiledHeader>
   7.230 +      <WarningLevel>Level3</WarningLevel>
   7.231 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   7.232 +      <DebugInformationFormat>OldStyle</DebugInformationFormat>
   7.233 +      <CompileAs>Default</CompileAs>
   7.234 +    </ClCompile>
   7.235 +    <Lib>
   7.236 +      <OutputFile>.\Debug\SDLmain.lib</OutputFile>
   7.237 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   7.238 +    </Lib>
   7.239 +  </ItemDefinitionGroup>
   7.240 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
   7.241 +    <Midl>
   7.242 +      <TargetEnvironment>X64</TargetEnvironment>
   7.243 +    </Midl>
   7.244 +    <ClCompile>
   7.245 +      <Optimization>Disabled</Optimization>
   7.246 +      <AdditionalIncludeDirectories>..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   7.247 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   7.248 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   7.249 +      <PrecompiledHeader>
   7.250 +      </PrecompiledHeader>
   7.251 +      <PrecompiledHeaderOutputFile>.\Debug/SDLmain.pch</PrecompiledHeaderOutputFile>
   7.252 +      <WarningLevel>Level3</WarningLevel>
   7.253 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   7.254 +      <DebugInformationFormat>OldStyle</DebugInformationFormat>
   7.255 +      <CompileAs>Default</CompileAs>
   7.256 +    </ClCompile>
   7.257 +    <Lib>
   7.258 +      <OutputFile>$(IntDir)SDLmain.lib</OutputFile>
   7.259 +    </Lib>
   7.260 +  </ItemDefinitionGroup>
   7.261 +  <ItemGroup>
   7.262 +    <ClCompile Include="..\..\Src\Main\Win32\SDL_win32_main.c" />
   7.263 +  </ItemGroup>
   7.264 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
   7.265 +  <ImportGroup Label="ExtensionTargets">
   7.266 +  </ImportGroup>
   7.267 +</Project>
   7.268 \ No newline at end of file
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/VisualC/tests/automated/automated.vcxproj	Sun Aug 22 13:45:56 2010 -0700
     8.3 @@ -0,0 +1,111 @@
     8.4 +<?xml version="1.0" encoding="utf-8"?>
     8.5 +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
     8.6 +  <ItemGroup Label="ProjectConfigurations">
     8.7 +    <ProjectConfiguration Include="Debug|Win32">
     8.8 +      <Configuration>Debug</Configuration>
     8.9 +      <Platform>Win32</Platform>
    8.10 +    </ProjectConfiguration>
    8.11 +    <ProjectConfiguration Include="Release|Win32">
    8.12 +      <Configuration>Release</Configuration>
    8.13 +      <Platform>Win32</Platform>
    8.14 +    </ProjectConfiguration>
    8.15 +  </ItemGroup>
    8.16 +  <PropertyGroup Label="Globals">
    8.17 +    <ProjectGuid>{DDD710DB-EC7B-4CCB-BD75-535D401A2FE0}</ProjectGuid>
    8.18 +    <RootNamespace>automated</RootNamespace>
    8.19 +    <Keyword>Win32Proj</Keyword>
    8.20 +  </PropertyGroup>
    8.21 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
    8.22 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
    8.23 +    <ConfigurationType>Application</ConfigurationType>
    8.24 +    <CharacterSet>Unicode</CharacterSet>
    8.25 +    <WholeProgramOptimization>true</WholeProgramOptimization>
    8.26 +  </PropertyGroup>
    8.27 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
    8.28 +    <ConfigurationType>Application</ConfigurationType>
    8.29 +    <CharacterSet>Unicode</CharacterSet>
    8.30 +  </PropertyGroup>
    8.31 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
    8.32 +  <ImportGroup Label="ExtensionSettings">
    8.33 +  </ImportGroup>
    8.34 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
    8.35 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    8.36 +  </ImportGroup>
    8.37 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
    8.38 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    8.39 +  </ImportGroup>
    8.40 +  <PropertyGroup Label="UserMacros" />
    8.41 +  <PropertyGroup>
    8.42 +    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
    8.43 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
    8.44 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\</IntDir>
    8.45 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
    8.46 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
    8.47 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration)\</IntDir>
    8.48 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
    8.49 +  </PropertyGroup>
    8.50 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    8.51 +    <ClCompile>
    8.52 +      <Optimization>Disabled</Optimization>
    8.53 +      <AdditionalIncludeDirectories>$(SolutionDir)\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    8.54 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    8.55 +      <MinimalRebuild>true</MinimalRebuild>
    8.56 +      <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
    8.57 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
    8.58 +      <PrecompiledHeader>
    8.59 +      </PrecompiledHeader>
    8.60 +      <WarningLevel>Level3</WarningLevel>
    8.61 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
    8.62 +    </ClCompile>
    8.63 +    <Link>
    8.64 +      <GenerateDebugInformation>true</GenerateDebugInformation>
    8.65 +      <SubSystem>Windows</SubSystem>
    8.66 +      <TargetMachine>MachineX86</TargetMachine>
    8.67 +    </Link>
    8.68 +  </ItemDefinitionGroup>
    8.69 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    8.70 +    <ClCompile>
    8.71 +      <Optimization>MaxSpeed</Optimization>
    8.72 +      <IntrinsicFunctions>true</IntrinsicFunctions>
    8.73 +      <AdditionalIncludeDirectories>$(SolutionDir)\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    8.74 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    8.75 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
    8.76 +      <FunctionLevelLinking>true</FunctionLevelLinking>
    8.77 +      <PrecompiledHeader>
    8.78 +      </PrecompiledHeader>
    8.79 +      <WarningLevel>Level3</WarningLevel>
    8.80 +      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
    8.81 +    </ClCompile>
    8.82 +    <Link>
    8.83 +      <GenerateDebugInformation>true</GenerateDebugInformation>
    8.84 +      <SubSystem>Windows</SubSystem>
    8.85 +      <OptimizeReferences>true</OptimizeReferences>
    8.86 +      <EnableCOMDATFolding>true</EnableCOMDATFolding>
    8.87 +      <TargetMachine>MachineX86</TargetMachine>
    8.88 +    </Link>
    8.89 +  </ItemDefinitionGroup>
    8.90 +  <ItemGroup>
    8.91 +    <ClCompile Include="..\..\..\test\automated\audio\audio.c" />
    8.92 +    <ClCompile Include="..\..\..\test\automated\common\common.c" />
    8.93 +    <ClCompile Include="..\..\..\test\automated\platform\platform.c" />
    8.94 +    <ClCompile Include="..\..\..\test\automated\rect\rect.c" />
    8.95 +    <ClCompile Include="..\..\..\test\automated\render\render.c" />
    8.96 +    <ClCompile Include="..\..\..\test\automated\rwops\rwops.c" />
    8.97 +    <ClCompile Include="..\..\..\test\automated\SDL_at.c" />
    8.98 +    <ClCompile Include="..\..\..\test\automated\surface\surface.c" />
    8.99 +    <ClCompile Include="..\..\..\test\automated\testsdl.c" />
   8.100 +  </ItemGroup>
   8.101 +  <ItemGroup>
   8.102 +    <ClInclude Include="..\..\..\test\automated\audio\audio.h" />
   8.103 +    <ClInclude Include="..\..\..\test\automated\common\common.h" />
   8.104 +    <ClInclude Include="..\..\..\test\automated\common\images.h" />
   8.105 +    <ClInclude Include="..\..\..\test\automated\platform\platform.h" />
   8.106 +    <ClInclude Include="..\..\..\test\automated\render\render.h" />
   8.107 +    <ClInclude Include="..\..\..\test\automated\rwops\rwops.h" />
   8.108 +    <ClInclude Include="..\..\..\test\automated\SDL_at.h" />
   8.109 +    <ClInclude Include="..\..\..\test\automated\surface\surface.h" />
   8.110 +  </ItemGroup>
   8.111 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
   8.112 +  <ImportGroup Label="ExtensionTargets">
   8.113 +  </ImportGroup>
   8.114 +</Project>
   8.115 \ No newline at end of file
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/VisualC/tests/automated/automated.vcxproj.filters	Sun Aug 22 13:45:56 2010 -0700
     9.3 @@ -0,0 +1,72 @@
     9.4 +<?xml version="1.0" encoding="utf-8"?>
     9.5 +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
     9.6 +  <ItemGroup>
     9.7 +    <Filter Include="Source Files">
     9.8 +      <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
     9.9 +      <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
    9.10 +    </Filter>
    9.11 +    <Filter Include="Header Files">
    9.12 +      <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
    9.13 +      <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
    9.14 +    </Filter>
    9.15 +    <Filter Include="Resource Files">
    9.16 +      <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
    9.17 +      <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions>
    9.18 +    </Filter>
    9.19 +  </ItemGroup>
    9.20 +  <ItemGroup>
    9.21 +    <ClCompile Include="..\..\..\test\automated\audio\audio.c">
    9.22 +      <Filter>Source Files</Filter>
    9.23 +    </ClCompile>
    9.24 +    <ClCompile Include="..\..\..\test\automated\common\common.c">
    9.25 +      <Filter>Source Files</Filter>
    9.26 +    </ClCompile>
    9.27 +    <ClCompile Include="..\..\..\test\automated\platform\platform.c">
    9.28 +      <Filter>Source Files</Filter>
    9.29 +    </ClCompile>
    9.30 +    <ClCompile Include="..\..\..\test\automated\rect\rect.c">
    9.31 +      <Filter>Source Files</Filter>
    9.32 +    </ClCompile>
    9.33 +    <ClCompile Include="..\..\..\test\automated\render\render.c">
    9.34 +      <Filter>Source Files</Filter>
    9.35 +    </ClCompile>
    9.36 +    <ClCompile Include="..\..\..\test\automated\rwops\rwops.c">
    9.37 +      <Filter>Source Files</Filter>
    9.38 +    </ClCompile>
    9.39 +    <ClCompile Include="..\..\..\test\automated\SDL_at.c">
    9.40 +      <Filter>Source Files</Filter>
    9.41 +    </ClCompile>
    9.42 +    <ClCompile Include="..\..\..\test\automated\surface\surface.c">
    9.43 +      <Filter>Source Files</Filter>
    9.44 +    </ClCompile>
    9.45 +    <ClCompile Include="..\..\..\test\automated\testsdl.c">
    9.46 +      <Filter>Source Files</Filter>
    9.47 +    </ClCompile>
    9.48 +  </ItemGroup>
    9.49 +  <ItemGroup>
    9.50 +    <ClInclude Include="..\..\..\test\automated\audio\audio.h">
    9.51 +      <Filter>Header Files</Filter>
    9.52 +    </ClInclude>
    9.53 +    <ClInclude Include="..\..\..\test\automated\common\common.h">
    9.54 +      <Filter>Header Files</Filter>
    9.55 +    </ClInclude>
    9.56 +    <ClInclude Include="..\..\..\test\automated\common\images.h">
    9.57 +      <Filter>Header Files</Filter>
    9.58 +    </ClInclude>
    9.59 +    <ClInclude Include="..\..\..\test\automated\platform\platform.h">
    9.60 +      <Filter>Header Files</Filter>
    9.61 +    </ClInclude>
    9.62 +    <ClInclude Include="..\..\..\test\automated\render\render.h">
    9.63 +      <Filter>Header Files</Filter>
    9.64 +    </ClInclude>
    9.65 +    <ClInclude Include="..\..\..\test\automated\rwops\rwops.h">
    9.66 +      <Filter>Header Files</Filter>
    9.67 +    </ClInclude>
    9.68 +    <ClInclude Include="..\..\..\test\automated\SDL_at.h">
    9.69 +      <Filter>Header Files</Filter>
    9.70 +    </ClInclude>
    9.71 +    <ClInclude Include="..\..\..\test\automated\surface\surface.h">
    9.72 +      <Filter>Header Files</Filter>
    9.73 +    </ClInclude>
    9.74 +  </ItemGroup>
    9.75 +</Project>
    9.76 \ No newline at end of file
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/VisualC/tests/checkkeys/checkkeys.vcxproj	Sun Aug 22 13:45:56 2010 -0700
    10.3 @@ -0,0 +1,130 @@
    10.4 +<?xml version="1.0" encoding="utf-8"?>
    10.5 +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    10.6 +  <ItemGroup Label="ProjectConfigurations">
    10.7 +    <ProjectConfiguration Include="Debug|Win32">
    10.8 +      <Configuration>Debug</Configuration>
    10.9 +      <Platform>Win32</Platform>
   10.10 +    </ProjectConfiguration>
   10.11 +    <ProjectConfiguration Include="Release|Win32">
   10.12 +      <Configuration>Release</Configuration>
   10.13 +      <Platform>Win32</Platform>
   10.14 +    </ProjectConfiguration>
   10.15 +  </ItemGroup>
   10.16 +  <PropertyGroup Label="Globals">
   10.17 +    <ProjectGuid>{26828762-C95D-4637-9CB1-7F0979523813}</ProjectGuid>
   10.18 +  </PropertyGroup>
   10.19 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   10.20 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
   10.21 +    <ConfigurationType>Application</ConfigurationType>
   10.22 +    <UseOfMfc>false</UseOfMfc>
   10.23 +  </PropertyGroup>
   10.24 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
   10.25 +    <ConfigurationType>Application</ConfigurationType>
   10.26 +    <UseOfMfc>false</UseOfMfc>
   10.27 +  </PropertyGroup>
   10.28 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
   10.29 +  <ImportGroup Label="ExtensionSettings">
   10.30 +  </ImportGroup>
   10.31 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
   10.32 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   10.33 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   10.34 +  </ImportGroup>
   10.35 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
   10.36 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   10.37 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   10.38 +  </ImportGroup>
   10.39 +  <PropertyGroup Label="UserMacros" />
   10.40 +  <PropertyGroup>
   10.41 +    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
   10.42 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
   10.43 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   10.44 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
   10.45 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
   10.46 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
   10.47 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
   10.48 +  </PropertyGroup>
   10.49 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   10.50 +    <Midl>
   10.51 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   10.52 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   10.53 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   10.54 +      <TargetEnvironment>Win32</TargetEnvironment>
   10.55 +      <TypeLibraryName>.\Debug/checkkeys.tlb</TypeLibraryName>
   10.56 +    </Midl>
   10.57 +    <ClCompile>
   10.58 +      <Optimization>Disabled</Optimization>
   10.59 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   10.60 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   10.61 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   10.62 +      <PrecompiledHeader>
   10.63 +      </PrecompiledHeader>
   10.64 +      <PrecompiledHeaderOutputFile>.\Debug/checkkeys.pch</PrecompiledHeaderOutputFile>
   10.65 +      <AssemblerListingLocation>.\Debug/</AssemblerListingLocation>
   10.66 +      <ObjectFileName>.\Debug/</ObjectFileName>
   10.67 +      <ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName>
   10.68 +      <WarningLevel>Level3</WarningLevel>
   10.69 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   10.70 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
   10.71 +      <CompileAs>Default</CompileAs>
   10.72 +    </ClCompile>
   10.73 +    <ResourceCompile>
   10.74 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   10.75 +      <Culture>0x0409</Culture>
   10.76 +    </ResourceCompile>
   10.77 +    <Link>
   10.78 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
   10.79 +      <OutputFile>.\Debug/checkkeys.exe</OutputFile>
   10.80 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   10.81 +      <GenerateDebugInformation>true</GenerateDebugInformation>
   10.82 +      <ProgramDatabaseFile>.\Debug/checkkeys.pdb</ProgramDatabaseFile>
   10.83 +      <SubSystem>Windows</SubSystem>
   10.84 +    </Link>
   10.85 +  </ItemDefinitionGroup>
   10.86 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   10.87 +    <Midl>
   10.88 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   10.89 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   10.90 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   10.91 +      <TargetEnvironment>Win32</TargetEnvironment>
   10.92 +      <TypeLibraryName>.\Release/checkkeys.tlb</TypeLibraryName>
   10.93 +    </Midl>
   10.94 +    <ClCompile>
   10.95 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   10.96 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   10.97 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   10.98 +      <StringPooling>true</StringPooling>
   10.99 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  10.100 +      <FunctionLevelLinking>true</FunctionLevelLinking>
  10.101 +      <PrecompiledHeader>
  10.102 +      </PrecompiledHeader>
  10.103 +      <PrecompiledHeaderOutputFile>.\Release/checkkeys.pch</PrecompiledHeaderOutputFile>
  10.104 +      <AssemblerListingLocation>.\Release/</AssemblerListingLocation>
  10.105 +      <ObjectFileName>.\Release/</ObjectFileName>
  10.106 +      <ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
  10.107 +      <WarningLevel>Level3</WarningLevel>
  10.108 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  10.109 +      <CompileAs>Default</CompileAs>
  10.110 +    </ClCompile>
  10.111 +    <ResourceCompile>
  10.112 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  10.113 +      <Culture>0x0409</Culture>
  10.114 +    </ResourceCompile>
  10.115 +    <Link>
  10.116 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
  10.117 +      <OutputFile>.\Release/checkkeys.exe</OutputFile>
  10.118 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  10.119 +      <ProgramDatabaseFile>.\Release/checkkeys.pdb</ProgramDatabaseFile>
  10.120 +      <SubSystem>Windows</SubSystem>
  10.121 +    </Link>
  10.122 +  </ItemDefinitionGroup>
  10.123 +  <ItemGroup>
  10.124 +    <ClCompile Include="..\..\..\test\checkkeys.c" />
  10.125 +  </ItemGroup>
  10.126 +  <ItemGroup>
  10.127 +    <Library Include="..\..\Sdl\Debug\SDL.lib" />
  10.128 +    <Library Include="..\..\SDLmain\Debug\SDLmain.lib" />
  10.129 +  </ItemGroup>
  10.130 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  10.131 +  <ImportGroup Label="ExtensionTargets">
  10.132 +  </ImportGroup>
  10.133 +</Project>
  10.134 \ No newline at end of file
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/VisualC/tests/graywin/graywin.vcxproj	Sun Aug 22 13:45:56 2010 -0700
    11.3 @@ -0,0 +1,130 @@
    11.4 +<?xml version="1.0" encoding="utf-8"?>
    11.5 +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    11.6 +  <ItemGroup Label="ProjectConfigurations">
    11.7 +    <ProjectConfiguration Include="Debug|Win32">
    11.8 +      <Configuration>Debug</Configuration>
    11.9 +      <Platform>Win32</Platform>
   11.10 +    </ProjectConfiguration>
   11.11 +    <ProjectConfiguration Include="Release|Win32">
   11.12 +      <Configuration>Release</Configuration>
   11.13 +      <Platform>Win32</Platform>
   11.14 +    </ProjectConfiguration>
   11.15 +  </ItemGroup>
   11.16 +  <PropertyGroup Label="Globals">
   11.17 +    <ProjectGuid>{0BCCA0BF-073E-439E-BCE0-C9353C177487}</ProjectGuid>
   11.18 +  </PropertyGroup>
   11.19 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   11.20 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
   11.21 +    <ConfigurationType>Application</ConfigurationType>
   11.22 +    <UseOfMfc>false</UseOfMfc>
   11.23 +  </PropertyGroup>
   11.24 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
   11.25 +    <ConfigurationType>Application</ConfigurationType>
   11.26 +    <UseOfMfc>false</UseOfMfc>
   11.27 +  </PropertyGroup>
   11.28 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
   11.29 +  <ImportGroup Label="ExtensionSettings">
   11.30 +  </ImportGroup>
   11.31 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
   11.32 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   11.33 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   11.34 +  </ImportGroup>
   11.35 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
   11.36 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   11.37 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   11.38 +  </ImportGroup>
   11.39 +  <PropertyGroup Label="UserMacros" />
   11.40 +  <PropertyGroup>
   11.41 +    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
   11.42 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
   11.43 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   11.44 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
   11.45 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
   11.46 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
   11.47 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
   11.48 +  </PropertyGroup>
   11.49 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   11.50 +    <Midl>
   11.51 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   11.52 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   11.53 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   11.54 +      <TargetEnvironment>Win32</TargetEnvironment>
   11.55 +      <TypeLibraryName>.\Debug/graywin.tlb</TypeLibraryName>
   11.56 +    </Midl>
   11.57 +    <ClCompile>
   11.58 +      <Optimization>Disabled</Optimization>
   11.59 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   11.60 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   11.61 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   11.62 +      <PrecompiledHeader>
   11.63 +      </PrecompiledHeader>
   11.64 +      <PrecompiledHeaderOutputFile>.\Debug/graywin.pch</PrecompiledHeaderOutputFile>
   11.65 +      <AssemblerListingLocation>.\Debug/</AssemblerListingLocation>
   11.66 +      <ObjectFileName>.\Debug/</ObjectFileName>
   11.67 +      <ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName>
   11.68 +      <WarningLevel>Level3</WarningLevel>
   11.69 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   11.70 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
   11.71 +      <CompileAs>Default</CompileAs>
   11.72 +    </ClCompile>
   11.73 +    <ResourceCompile>
   11.74 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   11.75 +      <Culture>0x0409</Culture>
   11.76 +    </ResourceCompile>
   11.77 +    <Link>
   11.78 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
   11.79 +      <OutputFile>.\Debug/graywin.exe</OutputFile>
   11.80 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   11.81 +      <GenerateDebugInformation>true</GenerateDebugInformation>
   11.82 +      <ProgramDatabaseFile>.\Debug/graywin.pdb</ProgramDatabaseFile>
   11.83 +      <SubSystem>Windows</SubSystem>
   11.84 +    </Link>
   11.85 +  </ItemDefinitionGroup>
   11.86 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   11.87 +    <Midl>
   11.88 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   11.89 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   11.90 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   11.91 +      <TargetEnvironment>Win32</TargetEnvironment>
   11.92 +      <TypeLibraryName>.\Release/graywin.tlb</TypeLibraryName>
   11.93 +    </Midl>
   11.94 +    <ClCompile>
   11.95 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   11.96 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   11.97 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   11.98 +      <StringPooling>true</StringPooling>
   11.99 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  11.100 +      <FunctionLevelLinking>true</FunctionLevelLinking>
  11.101 +      <PrecompiledHeader>
  11.102 +      </PrecompiledHeader>
  11.103 +      <PrecompiledHeaderOutputFile>.\Release/graywin.pch</PrecompiledHeaderOutputFile>
  11.104 +      <AssemblerListingLocation>.\Release/</AssemblerListingLocation>
  11.105 +      <ObjectFileName>.\Release/</ObjectFileName>
  11.106 +      <ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
  11.107 +      <WarningLevel>Level3</WarningLevel>
  11.108 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  11.109 +      <CompileAs>Default</CompileAs>
  11.110 +    </ClCompile>
  11.111 +    <ResourceCompile>
  11.112 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  11.113 +      <Culture>0x0409</Culture>
  11.114 +    </ResourceCompile>
  11.115 +    <Link>
  11.116 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
  11.117 +      <OutputFile>.\Release/graywin.exe</OutputFile>
  11.118 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  11.119 +      <ProgramDatabaseFile>.\Release/graywin.pdb</ProgramDatabaseFile>
  11.120 +      <SubSystem>Windows</SubSystem>
  11.121 +    </Link>
  11.122 +  </ItemDefinitionGroup>
  11.123 +  <ItemGroup>
  11.124 +    <ClCompile Include="..\..\..\test\graywin.c" />
  11.125 +  </ItemGroup>
  11.126 +  <ItemGroup>
  11.127 +    <Library Include="..\..\Sdl\Debug\SDL.lib" />
  11.128 +    <Library Include="..\..\SDLmain\Debug\SDLmain.lib" />
  11.129 +  </ItemGroup>
  11.130 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  11.131 +  <ImportGroup Label="ExtensionTargets">
  11.132 +  </ImportGroup>
  11.133 +</Project>
  11.134 \ No newline at end of file
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/VisualC/tests/loopwave/loopwave.vcxproj	Sun Aug 22 13:45:56 2010 -0700
    12.3 @@ -0,0 +1,130 @@
    12.4 +<?xml version="1.0" encoding="utf-8"?>
    12.5 +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    12.6 +  <ItemGroup Label="ProjectConfigurations">
    12.7 +    <ProjectConfiguration Include="Debug|Win32">
    12.8 +      <Configuration>Debug</Configuration>
    12.9 +      <Platform>Win32</Platform>
   12.10 +    </ProjectConfiguration>
   12.11 +    <ProjectConfiguration Include="Release|Win32">
   12.12 +      <Configuration>Release</Configuration>
   12.13 +      <Platform>Win32</Platform>
   12.14 +    </ProjectConfiguration>
   12.15 +  </ItemGroup>
   12.16 +  <PropertyGroup Label="Globals">
   12.17 +    <ProjectGuid>{AAAD1CB5-7ADA-47AE-85A0-08A6EC48FAFB}</ProjectGuid>
   12.18 +  </PropertyGroup>
   12.19 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   12.20 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
   12.21 +    <ConfigurationType>Application</ConfigurationType>
   12.22 +    <UseOfMfc>false</UseOfMfc>
   12.23 +  </PropertyGroup>
   12.24 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
   12.25 +    <ConfigurationType>Application</ConfigurationType>
   12.26 +    <UseOfMfc>false</UseOfMfc>
   12.27 +  </PropertyGroup>
   12.28 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
   12.29 +  <ImportGroup Label="ExtensionSettings">
   12.30 +  </ImportGroup>
   12.31 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
   12.32 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   12.33 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   12.34 +  </ImportGroup>
   12.35 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
   12.36 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   12.37 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   12.38 +  </ImportGroup>
   12.39 +  <PropertyGroup Label="UserMacros" />
   12.40 +  <PropertyGroup>
   12.41 +    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
   12.42 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
   12.43 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
   12.44 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
   12.45 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
   12.46 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   12.47 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
   12.48 +  </PropertyGroup>
   12.49 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   12.50 +    <Midl>
   12.51 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   12.52 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   12.53 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   12.54 +      <TargetEnvironment>Win32</TargetEnvironment>
   12.55 +      <TypeLibraryName>.\Release/loopwave.tlb</TypeLibraryName>
   12.56 +    </Midl>
   12.57 +    <ClCompile>
   12.58 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   12.59 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   12.60 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   12.61 +      <StringPooling>true</StringPooling>
   12.62 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   12.63 +      <FunctionLevelLinking>true</FunctionLevelLinking>
   12.64 +      <PrecompiledHeader>
   12.65 +      </PrecompiledHeader>
   12.66 +      <PrecompiledHeaderOutputFile>.\Release/loopwave.pch</PrecompiledHeaderOutputFile>
   12.67 +      <AssemblerListingLocation>.\Release/</AssemblerListingLocation>
   12.68 +      <ObjectFileName>.\Release/</ObjectFileName>
   12.69 +      <ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
   12.70 +      <WarningLevel>Level3</WarningLevel>
   12.71 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   12.72 +      <CompileAs>Default</CompileAs>
   12.73 +    </ClCompile>
   12.74 +    <ResourceCompile>
   12.75 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   12.76 +      <Culture>0x0409</Culture>
   12.77 +    </ResourceCompile>
   12.78 +    <Link>
   12.79 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
   12.80 +      <OutputFile>.\Release/loopwave.exe</OutputFile>
   12.81 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   12.82 +      <ProgramDatabaseFile>.\Release/loopwave.pdb</ProgramDatabaseFile>
   12.83 +      <SubSystem>Windows</SubSystem>
   12.84 +    </Link>
   12.85 +  </ItemDefinitionGroup>
   12.86 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   12.87 +    <Midl>
   12.88 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   12.89 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   12.90 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   12.91 +      <TargetEnvironment>Win32</TargetEnvironment>
   12.92 +      <TypeLibraryName>.\Debug/loopwave.tlb</TypeLibraryName>
   12.93 +    </Midl>
   12.94 +    <ClCompile>
   12.95 +      <Optimization>Disabled</Optimization>
   12.96 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   12.97 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   12.98 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   12.99 +      <PrecompiledHeader>
  12.100 +      </PrecompiledHeader>
  12.101 +      <PrecompiledHeaderOutputFile>.\Debug/loopwave.pch</PrecompiledHeaderOutputFile>
  12.102 +      <AssemblerListingLocation>.\Debug/</AssemblerListingLocation>
  12.103 +      <ObjectFileName>.\Debug/</ObjectFileName>
  12.104 +      <ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName>
  12.105 +      <WarningLevel>Level3</WarningLevel>
  12.106 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  12.107 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
  12.108 +      <CompileAs>Default</CompileAs>
  12.109 +    </ClCompile>
  12.110 +    <ResourceCompile>
  12.111 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  12.112 +      <Culture>0x0409</Culture>
  12.113 +    </ResourceCompile>
  12.114 +    <Link>
  12.115 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
  12.116 +      <OutputFile>.\Debug/loopwave.exe</OutputFile>
  12.117 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  12.118 +      <GenerateDebugInformation>true</GenerateDebugInformation>
  12.119 +      <ProgramDatabaseFile>.\Debug/loopwave.pdb</ProgramDatabaseFile>
  12.120 +      <SubSystem>Windows</SubSystem>
  12.121 +    </Link>
  12.122 +  </ItemDefinitionGroup>
  12.123 +  <ItemGroup>
  12.124 +    <ClCompile Include="..\..\..\Test\Loopwave.c" />
  12.125 +  </ItemGroup>
  12.126 +  <ItemGroup>
  12.127 +    <Library Include="..\..\Sdl\Debug\SDL.lib" />
  12.128 +    <Library Include="..\..\SDLmain\Debug\SDLmain.lib" />
  12.129 +  </ItemGroup>
  12.130 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  12.131 +  <ImportGroup Label="ExtensionTargets">
  12.132 +  </ImportGroup>
  12.133 +</Project>
  12.134 \ No newline at end of file
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/VisualC/tests/testalpha/testalpha.vcxproj	Sun Aug 22 13:45:56 2010 -0700
    13.3 @@ -0,0 +1,130 @@
    13.4 +<?xml version="1.0" encoding="utf-8"?>
    13.5 +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    13.6 +  <ItemGroup Label="ProjectConfigurations">
    13.7 +    <ProjectConfiguration Include="Debug|Win32">
    13.8 +      <Configuration>Debug</Configuration>
    13.9 +      <Platform>Win32</Platform>
   13.10 +    </ProjectConfiguration>
   13.11 +    <ProjectConfiguration Include="Release|Win32">
   13.12 +      <Configuration>Release</Configuration>
   13.13 +      <Platform>Win32</Platform>
   13.14 +    </ProjectConfiguration>
   13.15 +  </ItemGroup>
   13.16 +  <PropertyGroup Label="Globals">
   13.17 +    <ProjectGuid>{7814D54B-65D3-4677-AD77-E0B980B4FA2D}</ProjectGuid>
   13.18 +  </PropertyGroup>
   13.19 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   13.20 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
   13.21 +    <ConfigurationType>Application</ConfigurationType>
   13.22 +    <UseOfMfc>false</UseOfMfc>
   13.23 +  </PropertyGroup>
   13.24 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
   13.25 +    <ConfigurationType>Application</ConfigurationType>
   13.26 +    <UseOfMfc>false</UseOfMfc>
   13.27 +  </PropertyGroup>
   13.28 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
   13.29 +  <ImportGroup Label="ExtensionSettings">
   13.30 +  </ImportGroup>
   13.31 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
   13.32 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   13.33 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   13.34 +  </ImportGroup>
   13.35 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
   13.36 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   13.37 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   13.38 +  </ImportGroup>
   13.39 +  <PropertyGroup Label="UserMacros" />
   13.40 +  <PropertyGroup>
   13.41 +    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
   13.42 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
   13.43 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   13.44 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
   13.45 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
   13.46 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
   13.47 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
   13.48 +  </PropertyGroup>
   13.49 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   13.50 +    <Midl>
   13.51 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   13.52 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   13.53 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   13.54 +      <TargetEnvironment>Win32</TargetEnvironment>
   13.55 +      <TypeLibraryName>.\Debug/testalpha.tlb</TypeLibraryName>
   13.56 +    </Midl>
   13.57 +    <ClCompile>
   13.58 +      <Optimization>Disabled</Optimization>
   13.59 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   13.60 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   13.61 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   13.62 +      <PrecompiledHeader>
   13.63 +      </PrecompiledHeader>
   13.64 +      <PrecompiledHeaderOutputFile>.\Debug/testalpha.pch</PrecompiledHeaderOutputFile>
   13.65 +      <AssemblerListingLocation>.\Debug/</AssemblerListingLocation>
   13.66 +      <ObjectFileName>.\Debug/</ObjectFileName>
   13.67 +      <ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName>
   13.68 +      <WarningLevel>Level3</WarningLevel>
   13.69 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   13.70 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
   13.71 +      <CompileAs>Default</CompileAs>
   13.72 +    </ClCompile>
   13.73 +    <ResourceCompile>
   13.74 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   13.75 +      <Culture>0x0409</Culture>
   13.76 +    </ResourceCompile>
   13.77 +    <Link>
   13.78 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
   13.79 +      <OutputFile>.\Debug/testalpha.exe</OutputFile>
   13.80 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   13.81 +      <GenerateDebugInformation>true</GenerateDebugInformation>
   13.82 +      <ProgramDatabaseFile>.\Debug/testalpha.pdb</ProgramDatabaseFile>
   13.83 +      <SubSystem>Windows</SubSystem>
   13.84 +    </Link>
   13.85 +  </ItemDefinitionGroup>
   13.86 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   13.87 +    <Midl>
   13.88 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   13.89 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   13.90 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   13.91 +      <TargetEnvironment>Win32</TargetEnvironment>
   13.92 +      <TypeLibraryName>.\Release/testalpha.tlb</TypeLibraryName>
   13.93 +    </Midl>
   13.94 +    <ClCompile>
   13.95 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   13.96 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   13.97 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   13.98 +      <StringPooling>true</StringPooling>
   13.99 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  13.100 +      <FunctionLevelLinking>true</FunctionLevelLinking>
  13.101 +      <PrecompiledHeader>
  13.102 +      </PrecompiledHeader>
  13.103 +      <PrecompiledHeaderOutputFile>.\Release/testalpha.pch</PrecompiledHeaderOutputFile>
  13.104 +      <AssemblerListingLocation>.\Release/</AssemblerListingLocation>
  13.105 +      <ObjectFileName>.\Release/</ObjectFileName>
  13.106 +      <ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
  13.107 +      <WarningLevel>Level3</WarningLevel>
  13.108 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  13.109 +      <CompileAs>Default</CompileAs>
  13.110 +    </ClCompile>
  13.111 +    <ResourceCompile>
  13.112 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  13.113 +      <Culture>0x0409</Culture>
  13.114 +    </ResourceCompile>
  13.115 +    <Link>
  13.116 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
  13.117 +      <OutputFile>.\Release/testalpha.exe</OutputFile>
  13.118 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  13.119 +      <ProgramDatabaseFile>.\Release/testalpha.pdb</ProgramDatabaseFile>
  13.120 +      <SubSystem>Windows</SubSystem>
  13.121 +    </Link>
  13.122 +  </ItemDefinitionGroup>
  13.123 +  <ItemGroup>
  13.124 +    <Library Include="..\..\Sdl\Debug\SDL.lib" />
  13.125 +    <Library Include="..\..\SDLmain\Debug\SDLmain.lib" />
  13.126 +  </ItemGroup>
  13.127 +  <ItemGroup>
  13.128 +    <ClCompile Include="..\..\..\Test\testalpha.c" />
  13.129 +  </ItemGroup>
  13.130 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  13.131 +  <ImportGroup Label="ExtensionTargets">
  13.132 +  </ImportGroup>
  13.133 +</Project>
  13.134 \ No newline at end of file
    14.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.2 +++ b/VisualC/tests/testdraw2/testdraw2.vcxproj	Sun Aug 22 13:45:56 2010 -0700
    14.3 @@ -0,0 +1,131 @@
    14.4 +<?xml version="1.0" encoding="utf-8"?>
    14.5 +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    14.6 +  <ItemGroup Label="ProjectConfigurations">
    14.7 +    <ProjectConfiguration Include="Debug|Win32">
    14.8 +      <Configuration>Debug</Configuration>
    14.9 +      <Platform>Win32</Platform>
   14.10 +    </ProjectConfiguration>
   14.11 +    <ProjectConfiguration Include="Release|Win32">
   14.12 +      <Configuration>Release</Configuration>
   14.13 +      <Platform>Win32</Platform>
   14.14 +    </ProjectConfiguration>
   14.15 +  </ItemGroup>
   14.16 +  <PropertyGroup Label="Globals">
   14.17 +    <ProjectGuid>{8682FE1E-0CF6-4EDD-9BB5-1733D8C8B4DF}</ProjectGuid>
   14.18 +  </PropertyGroup>
   14.19 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   14.20 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
   14.21 +    <ConfigurationType>Application</ConfigurationType>
   14.22 +    <UseOfMfc>false</UseOfMfc>
   14.23 +  </PropertyGroup>
   14.24 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
   14.25 +    <ConfigurationType>Application</ConfigurationType>
   14.26 +    <UseOfMfc>false</UseOfMfc>
   14.27 +  </PropertyGroup>
   14.28 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
   14.29 +  <ImportGroup Label="ExtensionSettings">
   14.30 +  </ImportGroup>
   14.31 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
   14.32 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   14.33 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   14.34 +  </ImportGroup>
   14.35 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
   14.36 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   14.37 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   14.38 +  </ImportGroup>
   14.39 +  <PropertyGroup Label="UserMacros" />
   14.40 +  <PropertyGroup>
   14.41 +    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
   14.42 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
   14.43 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
   14.44 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
   14.45 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
   14.46 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   14.47 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
   14.48 +  </PropertyGroup>
   14.49 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   14.50 +    <Midl>
   14.51 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   14.52 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   14.53 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   14.54 +      <TargetEnvironment>Win32</TargetEnvironment>
   14.55 +      <TypeLibraryName>.\Release/testdraw2.tlb</TypeLibraryName>
   14.56 +    </Midl>
   14.57 +    <ClCompile>
   14.58 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   14.59 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   14.60 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   14.61 +      <StringPooling>true</StringPooling>
   14.62 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   14.63 +      <FunctionLevelLinking>true</FunctionLevelLinking>
   14.64 +      <PrecompiledHeader>
   14.65 +      </PrecompiledHeader>
   14.66 +      <PrecompiledHeaderOutputFile>.\Release/testdraw2.pch</PrecompiledHeaderOutputFile>
   14.67 +      <AssemblerListingLocation>.\Release/</AssemblerListingLocation>
   14.68 +      <ObjectFileName>.\Release/</ObjectFileName>
   14.69 +      <ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
   14.70 +      <WarningLevel>Level3</WarningLevel>
   14.71 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   14.72 +      <CompileAs>Default</CompileAs>
   14.73 +    </ClCompile>
   14.74 +    <ResourceCompile>
   14.75 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   14.76 +      <Culture>0x0409</Culture>
   14.77 +    </ResourceCompile>
   14.78 +    <Link>
   14.79 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
   14.80 +      <OutputFile>.\Release/testdraw2.exe</OutputFile>
   14.81 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   14.82 +      <ProgramDatabaseFile>.\Release/testdraw2.pdb</ProgramDatabaseFile>
   14.83 +      <SubSystem>Windows</SubSystem>
   14.84 +    </Link>
   14.85 +  </ItemDefinitionGroup>
   14.86 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   14.87 +    <Midl>
   14.88 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   14.89 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   14.90 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   14.91 +      <TargetEnvironment>Win32</TargetEnvironment>
   14.92 +      <TypeLibraryName>.\Debug/testdraw2.tlb</TypeLibraryName>
   14.93 +    </Midl>
   14.94 +    <ClCompile>
   14.95 +      <Optimization>Disabled</Optimization>
   14.96 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   14.97 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   14.98 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   14.99 +      <PrecompiledHeader>
  14.100 +      </PrecompiledHeader>
  14.101 +      <PrecompiledHeaderOutputFile>.\Debug/testdraw2.pch</PrecompiledHeaderOutputFile>
  14.102 +      <AssemblerListingLocation>.\Debug/</AssemblerListingLocation>
  14.103 +      <ObjectFileName>.\Debug/</ObjectFileName>
  14.104 +      <ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName>
  14.105 +      <WarningLevel>Level3</WarningLevel>
  14.106 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  14.107 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
  14.108 +      <CompileAs>Default</CompileAs>
  14.109 +    </ClCompile>
  14.110 +    <ResourceCompile>
  14.111 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  14.112 +      <Culture>0x0409</Culture>
  14.113 +    </ResourceCompile>
  14.114 +    <Link>
  14.115 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
  14.116 +      <OutputFile>.\Debug/testdraw2.exe</OutputFile>
  14.117 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  14.118 +      <GenerateDebugInformation>true</GenerateDebugInformation>
  14.119 +      <ProgramDatabaseFile>.\Debug/testdraw2.pdb</ProgramDatabaseFile>
  14.120 +      <SubSystem>Windows</SubSystem>
  14.121 +    </Link>
  14.122 +  </ItemDefinitionGroup>
  14.123 +  <ItemGroup>
  14.124 +    <ClCompile Include="..\..\..\test\common.c" />
  14.125 +    <ClCompile Include="..\..\..\test\testdraw2.c" />
  14.126 +  </ItemGroup>
  14.127 +  <ItemGroup>
  14.128 +    <Library Include="..\..\Sdl\Debug\SDL.lib" />
  14.129 +    <Library Include="..\..\SDLmain\Debug\SDLmain.lib" />
  14.130 +  </ItemGroup>
  14.131 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  14.132 +  <ImportGroup Label="ExtensionTargets">
  14.133 +  </ImportGroup>
  14.134 +</Project>
  14.135 \ No newline at end of file
    15.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.2 +++ b/VisualC/tests/testfile/testfile.vcxproj	Sun Aug 22 13:45:56 2010 -0700
    15.3 @@ -0,0 +1,130 @@
    15.4 +<?xml version="1.0" encoding="utf-8"?>
    15.5 +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    15.6 +  <ItemGroup Label="ProjectConfigurations">
    15.7 +    <ProjectConfiguration Include="Debug|Win32">
    15.8 +      <Configuration>Debug</Configuration>
    15.9 +      <Platform>Win32</Platform>
   15.10 +    </ProjectConfiguration>
   15.11 +    <ProjectConfiguration Include="Release|Win32">
   15.12 +      <Configuration>Release</Configuration>
   15.13 +      <Platform>Win32</Platform>
   15.14 +    </ProjectConfiguration>
   15.15 +  </ItemGroup>
   15.16 +  <PropertyGroup Label="Globals">
   15.17 +    <ProjectGuid>{CAE4F1D0-314F-4B10-805B-0EFD670133A0}</ProjectGuid>
   15.18 +  </PropertyGroup>
   15.19 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   15.20 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
   15.21 +    <ConfigurationType>Application</ConfigurationType>
   15.22 +    <UseOfMfc>false</UseOfMfc>
   15.23 +  </PropertyGroup>
   15.24 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
   15.25 +    <ConfigurationType>Application</ConfigurationType>
   15.26 +    <UseOfMfc>false</UseOfMfc>
   15.27 +  </PropertyGroup>
   15.28 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
   15.29 +  <ImportGroup Label="ExtensionSettings">
   15.30 +  </ImportGroup>
   15.31 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
   15.32 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   15.33 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   15.34 +  </ImportGroup>
   15.35 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
   15.36 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   15.37 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   15.38 +  </ImportGroup>
   15.39 +  <PropertyGroup Label="UserMacros" />
   15.40 +  <PropertyGroup>
   15.41 +    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
   15.42 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
   15.43 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   15.44 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
   15.45 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
   15.46 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
   15.47 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
   15.48 +  </PropertyGroup>
   15.49 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   15.50 +    <Midl>
   15.51 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   15.52 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   15.53 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   15.54 +      <TargetEnvironment>Win32</TargetEnvironment>
   15.55 +      <TypeLibraryName>.\Debug/testfile.tlb</TypeLibraryName>
   15.56 +    </Midl>
   15.57 +    <ClCompile>
   15.58 +      <Optimization>Disabled</Optimization>
   15.59 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   15.60 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   15.61 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   15.62 +      <PrecompiledHeader>
   15.63 +      </PrecompiledHeader>
   15.64 +      <PrecompiledHeaderOutputFile>.\Debug/testfile.pch</PrecompiledHeaderOutputFile>
   15.65 +      <AssemblerListingLocation>.\Debug/</AssemblerListingLocation>
   15.66 +      <ObjectFileName>.\Debug/</ObjectFileName>
   15.67 +      <ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName>
   15.68 +      <WarningLevel>Level3</WarningLevel>
   15.69 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   15.70 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
   15.71 +      <CompileAs>Default</CompileAs>
   15.72 +    </ClCompile>
   15.73 +    <ResourceCompile>
   15.74 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   15.75 +      <Culture>0x0409</Culture>
   15.76 +    </ResourceCompile>
   15.77 +    <Link>
   15.78 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
   15.79 +      <OutputFile>.\Debug/testfile.exe</OutputFile>
   15.80 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   15.81 +      <GenerateDebugInformation>true</GenerateDebugInformation>
   15.82 +      <ProgramDatabaseFile>.\Debug/testfile.pdb</ProgramDatabaseFile>
   15.83 +      <SubSystem>Windows</SubSystem>
   15.84 +    </Link>
   15.85 +  </ItemDefinitionGroup>
   15.86 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   15.87 +    <Midl>
   15.88 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   15.89 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   15.90 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   15.91 +      <TargetEnvironment>Win32</TargetEnvironment>
   15.92 +      <TypeLibraryName>.\Release/testfile.tlb</TypeLibraryName>
   15.93 +    </Midl>
   15.94 +    <ClCompile>
   15.95 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   15.96 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   15.97 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   15.98 +      <StringPooling>true</StringPooling>
   15.99 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  15.100 +      <FunctionLevelLinking>true</FunctionLevelLinking>
  15.101 +      <PrecompiledHeader>
  15.102 +      </PrecompiledHeader>
  15.103 +      <PrecompiledHeaderOutputFile>.\Release/testfile.pch</PrecompiledHeaderOutputFile>
  15.104 +      <AssemblerListingLocation>.\Release/</AssemblerListingLocation>
  15.105 +      <ObjectFileName>.\Release/</ObjectFileName>
  15.106 +      <ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
  15.107 +      <WarningLevel>Level3</WarningLevel>
  15.108 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  15.109 +      <CompileAs>Default</CompileAs>
  15.110 +    </ClCompile>
  15.111 +    <ResourceCompile>
  15.112 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  15.113 +      <Culture>0x0409</Culture>
  15.114 +    </ResourceCompile>
  15.115 +    <Link>
  15.116 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
  15.117 +      <OutputFile>.\Release/testfile.exe</OutputFile>
  15.118 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  15.119 +      <ProgramDatabaseFile>.\Release/testfile.pdb</ProgramDatabaseFile>
  15.120 +      <SubSystem>Windows</SubSystem>
  15.121 +    </Link>
  15.122 +  </ItemDefinitionGroup>
  15.123 +  <ItemGroup>
  15.124 +    <Library Include="..\..\Sdl\Debug\SDL.lib" />
  15.125 +    <Library Include="..\..\SDLmain\Debug\SDLmain.lib" />
  15.126 +  </ItemGroup>
  15.127 +  <ItemGroup>
  15.128 +    <ClCompile Include="..\..\..\Test\testfile.c" />
  15.129 +  </ItemGroup>
  15.130 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  15.131 +  <ImportGroup Label="ExtensionTargets">
  15.132 +  </ImportGroup>
  15.133 +</Project>
  15.134 \ No newline at end of file
    16.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.2 +++ b/VisualC/tests/testgamma/testgamma.vcxproj	Sun Aug 22 13:45:56 2010 -0700
    16.3 @@ -0,0 +1,130 @@
    16.4 +<?xml version="1.0" encoding="utf-8"?>
    16.5 +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    16.6 +  <ItemGroup Label="ProjectConfigurations">
    16.7 +    <ProjectConfiguration Include="Debug|Win32">
    16.8 +      <Configuration>Debug</Configuration>
    16.9 +      <Platform>Win32</Platform>
   16.10 +    </ProjectConfiguration>
   16.11 +    <ProjectConfiguration Include="Release|Win32">
   16.12 +      <Configuration>Release</Configuration>
   16.13 +      <Platform>Win32</Platform>
   16.14 +    </ProjectConfiguration>
   16.15 +  </ItemGroup>
   16.16 +  <PropertyGroup Label="Globals">
   16.17 +    <ProjectGuid>{D974A0DF-3E2E-445C-A2EB-E899E9B582CB}</ProjectGuid>
   16.18 +  </PropertyGroup>
   16.19 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   16.20 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
   16.21 +    <ConfigurationType>Application</ConfigurationType>
   16.22 +    <UseOfMfc>false</UseOfMfc>
   16.23 +  </PropertyGroup>
   16.24 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
   16.25 +    <ConfigurationType>Application</ConfigurationType>
   16.26 +    <UseOfMfc>false</UseOfMfc>
   16.27 +  </PropertyGroup>
   16.28 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
   16.29 +  <ImportGroup Label="ExtensionSettings">
   16.30 +  </ImportGroup>
   16.31 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
   16.32 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   16.33 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   16.34 +  </ImportGroup>
   16.35 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
   16.36 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   16.37 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   16.38 +  </ImportGroup>
   16.39 +  <PropertyGroup Label="UserMacros" />
   16.40 +  <PropertyGroup>
   16.41 +    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
   16.42 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
   16.43 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   16.44 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
   16.45 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
   16.46 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
   16.47 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
   16.48 +  </PropertyGroup>
   16.49 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   16.50 +    <Midl>
   16.51 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   16.52 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   16.53 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   16.54 +      <TargetEnvironment>Win32</TargetEnvironment>
   16.55 +      <TypeLibraryName>.\Debug/testgamma.tlb</TypeLibraryName>
   16.56 +    </Midl>
   16.57 +    <ClCompile>
   16.58 +      <Optimization>Disabled</Optimization>
   16.59 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   16.60 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   16.61 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   16.62 +      <PrecompiledHeader>
   16.63 +      </PrecompiledHeader>
   16.64 +      <PrecompiledHeaderOutputFile>.\Debug/testgamma.pch</PrecompiledHeaderOutputFile>
   16.65 +      <AssemblerListingLocation>.\Debug/</AssemblerListingLocation>
   16.66 +      <ObjectFileName>.\Debug/</ObjectFileName>
   16.67 +      <ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName>
   16.68 +      <WarningLevel>Level3</WarningLevel>
   16.69 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   16.70 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
   16.71 +      <CompileAs>Default</CompileAs>
   16.72 +    </ClCompile>
   16.73 +    <ResourceCompile>
   16.74 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   16.75 +      <Culture>0x0409</Culture>
   16.76 +    </ResourceCompile>
   16.77 +    <Link>
   16.78 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
   16.79 +      <OutputFile>.\Debug/testgamma.exe</OutputFile>
   16.80 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   16.81 +      <GenerateDebugInformation>true</GenerateDebugInformation>
   16.82 +      <ProgramDatabaseFile>.\Debug/testgamma.pdb</ProgramDatabaseFile>
   16.83 +      <SubSystem>Windows</SubSystem>
   16.84 +    </Link>
   16.85 +  </ItemDefinitionGroup>
   16.86 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   16.87 +    <Midl>
   16.88 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   16.89 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   16.90 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   16.91 +      <TargetEnvironment>Win32</TargetEnvironment>
   16.92 +      <TypeLibraryName>.\Release/testgamma.tlb</TypeLibraryName>
   16.93 +    </Midl>
   16.94 +    <ClCompile>
   16.95 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   16.96 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   16.97 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   16.98 +      <StringPooling>true</StringPooling>
   16.99 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  16.100 +      <FunctionLevelLinking>true</FunctionLevelLinking>
  16.101 +      <PrecompiledHeader>
  16.102 +      </PrecompiledHeader>
  16.103 +      <PrecompiledHeaderOutputFile>.\Release/testgamma.pch</PrecompiledHeaderOutputFile>
  16.104 +      <AssemblerListingLocation>.\Release/</AssemblerListingLocation>
  16.105 +      <ObjectFileName>.\Release/</ObjectFileName>
  16.106 +      <ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
  16.107 +      <WarningLevel>Level3</WarningLevel>
  16.108 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  16.109 +      <CompileAs>Default</CompileAs>
  16.110 +    </ClCompile>
  16.111 +    <ResourceCompile>
  16.112 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.113 +      <Culture>0x0409</Culture>
  16.114 +    </ResourceCompile>
  16.115 +    <Link>
  16.116 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
  16.117 +      <OutputFile>.\Release/testgamma.exe</OutputFile>
  16.118 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  16.119 +      <ProgramDatabaseFile>.\Release/testgamma.pdb</ProgramDatabaseFile>
  16.120 +      <SubSystem>Windows</SubSystem>
  16.121 +    </Link>
  16.122 +  </ItemDefinitionGroup>
  16.123 +  <ItemGroup>
  16.124 +    <Library Include="..\..\Sdl\Debug\SDL.lib" />
  16.125 +    <Library Include="..\..\SDLmain\Debug\SDLmain.lib" />
  16.126 +  </ItemGroup>
  16.127 +  <ItemGroup>
  16.128 +    <ClCompile Include="..\..\..\test\testgamma.c" />
  16.129 +  </ItemGroup>
  16.130 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  16.131 +  <ImportGroup Label="ExtensionTargets">
  16.132 +  </ImportGroup>
  16.133 +</Project>
  16.134 \ No newline at end of file
    17.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.2 +++ b/VisualC/tests/testgl/testgl.vcxproj	Sun Aug 22 13:45:56 2010 -0700
    17.3 @@ -0,0 +1,132 @@
    17.4 +<?xml version="1.0" encoding="utf-8"?>
    17.5 +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    17.6 +  <ItemGroup Label="ProjectConfigurations">
    17.7 +    <ProjectConfiguration Include="Debug|Win32">
    17.8 +      <Configuration>Debug</Configuration>
    17.9 +      <Platform>Win32</Platform>
   17.10 +    </ProjectConfiguration>
   17.11 +    <ProjectConfiguration Include="Release|Win32">
   17.12 +      <Configuration>Release</Configuration>
   17.13 +      <Platform>Win32</Platform>
   17.14 +    </ProjectConfiguration>
   17.15 +  </ItemGroup>
   17.16 +  <PropertyGroup Label="Globals">
   17.17 +    <ProjectGuid>{272D976B-A1DF-4DEB-BD7F-5C0D330E0C7D}</ProjectGuid>
   17.18 +  </PropertyGroup>
   17.19 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   17.20 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
   17.21 +    <ConfigurationType>Application</ConfigurationType>
   17.22 +    <UseOfMfc>false</UseOfMfc>
   17.23 +  </PropertyGroup>
   17.24 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
   17.25 +    <ConfigurationType>Application</ConfigurationType>
   17.26 +    <UseOfMfc>false</UseOfMfc>
   17.27 +  </PropertyGroup>
   17.28 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
   17.29 +  <ImportGroup Label="ExtensionSettings">
   17.30 +  </ImportGroup>
   17.31 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
   17.32 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   17.33 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   17.34 +  </ImportGroup>
   17.35 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
   17.36 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   17.37 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   17.38 +  </ImportGroup>
   17.39 +  <PropertyGroup Label="UserMacros" />
   17.40 +  <PropertyGroup>
   17.41 +    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
   17.42 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
   17.43 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   17.44 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
   17.45 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
   17.46 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
   17.47 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
   17.48 +  </PropertyGroup>
   17.49 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   17.50 +    <Midl>
   17.51 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   17.52 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   17.53 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   17.54 +      <TargetEnvironment>Win32</TargetEnvironment>
   17.55 +      <TypeLibraryName>.\Debug/testgl.tlb</TypeLibraryName>
   17.56 +    </Midl>
   17.57 +    <ClCompile>
   17.58 +      <Optimization>Disabled</Optimization>
   17.59 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   17.60 +      <PreprocessorDefinitions>_DEBUG;WIN32;_WINDOWS;HAVE_OPENGL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   17.61 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   17.62 +      <PrecompiledHeader>
   17.63 +      </PrecompiledHeader>
   17.64 +      <PrecompiledHeaderOutputFile>.\Debug/testgl.pch</PrecompiledHeaderOutputFile>
   17.65 +      <AssemblerListingLocation>.\Debug/</AssemblerListingLocation>
   17.66 +      <ObjectFileName>.\Debug/</ObjectFileName>
   17.67 +      <ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName>
   17.68 +      <WarningLevel>Level3</WarningLevel>
   17.69 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   17.70 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
   17.71 +      <CompileAs>Default</CompileAs>
   17.72 +    </ClCompile>
   17.73 +    <ResourceCompile>
   17.74 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   17.75 +      <Culture>0x0409</Culture>
   17.76 +    </ResourceCompile>
   17.77 +    <Link>
   17.78 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
   17.79 +      <AdditionalDependencies>opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
   17.80 +      <OutputFile>.\Debug/testgl.exe</OutputFile>
   17.81 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   17.82 +      <GenerateDebugInformation>true</GenerateDebugInformation>
   17.83 +      <ProgramDatabaseFile>.\Debug/testgl.pdb</ProgramDatabaseFile>
   17.84 +      <SubSystem>Windows</SubSystem>
   17.85 +    </Link>
   17.86 +  </ItemDefinitionGroup>
   17.87 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   17.88 +    <Midl>
   17.89 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   17.90 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   17.91 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   17.92 +      <TargetEnvironment>Win32</TargetEnvironment>
   17.93 +      <TypeLibraryName>.\Release/testgl.tlb</TypeLibraryName>
   17.94 +    </Midl>
   17.95 +    <ClCompile>
   17.96 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   17.97 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   17.98 +      <PreprocessorDefinitions>NDEBUG;WIN32;_WINDOWS;HAVE_OPENGL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   17.99 +      <StringPooling>true</StringPooling>
  17.100 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  17.101 +      <FunctionLevelLinking>true</FunctionLevelLinking>
  17.102 +      <PrecompiledHeader>
  17.103 +      </PrecompiledHeader>
  17.104 +      <PrecompiledHeaderOutputFile>.\Release/testgl.pch</PrecompiledHeaderOutputFile>
  17.105 +      <AssemblerListingLocation>.\Release/</AssemblerListingLocation>
  17.106 +      <ObjectFileName>.\Release/</ObjectFileName>
  17.107 +      <ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
  17.108 +      <WarningLevel>Level3</WarningLevel>
  17.109 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  17.110 +      <CompileAs>Default</CompileAs>
  17.111 +    </ClCompile>
  17.112 +    <ResourceCompile>
  17.113 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  17.114 +      <Culture>0x0409</Culture>
  17.115 +    </ResourceCompile>
  17.116 +    <Link>
  17.117 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
  17.118 +      <AdditionalDependencies>opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
  17.119 +      <OutputFile>.\Release/testgl.exe</OutputFile>
  17.120 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  17.121 +      <ProgramDatabaseFile>.\Release/testgl.pdb</ProgramDatabaseFile>
  17.122 +      <SubSystem>Windows</SubSystem>
  17.123 +    </Link>
  17.124 +  </ItemDefinitionGroup>
  17.125 +  <ItemGroup>
  17.126 +    <Library Include="..\..\Sdl\Debug\SDL.lib" />
  17.127 +    <Library Include="..\..\SDLmain\Debug\SDLmain.lib" />
  17.128 +  </ItemGroup>
  17.129 +  <ItemGroup>
  17.130 +    <ClCompile Include="..\..\..\test\testgl.c" />
  17.131 +  </ItemGroup>
  17.132 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  17.133 +  <ImportGroup Label="ExtensionTargets">
  17.134 +  </ImportGroup>
  17.135 +</Project>
  17.136 \ No newline at end of file
    18.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.2 +++ b/VisualC/tests/testgl2/testgl2.vcxproj	Sun Aug 22 13:45:56 2010 -0700
    18.3 @@ -0,0 +1,133 @@
    18.4 +<?xml version="1.0" encoding="utf-8"?>
    18.5 +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    18.6 +  <ItemGroup Label="ProjectConfigurations">
    18.7 +    <ProjectConfiguration Include="Debug|Win32">
    18.8 +      <Configuration>Debug</Configuration>
    18.9 +      <Platform>Win32</Platform>
   18.10 +    </ProjectConfiguration>
   18.11 +    <ProjectConfiguration Include="Release|Win32">
   18.12 +      <Configuration>Release</Configuration>
   18.13 +      <Platform>Win32</Platform>
   18.14 +    </ProjectConfiguration>
   18.15 +  </ItemGroup>
   18.16 +  <PropertyGroup Label="Globals">
   18.17 +    <ProjectGuid>{8B5CFB38-CCBA-40A8-AD7A-89C57B070884}</ProjectGuid>
   18.18 +  </PropertyGroup>
   18.19 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   18.20 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
   18.21 +    <ConfigurationType>Application</ConfigurationType>
   18.22 +    <UseOfMfc>false</UseOfMfc>
   18.23 +  </PropertyGroup>
   18.24 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
   18.25 +    <ConfigurationType>Application</ConfigurationType>
   18.26 +    <UseOfMfc>false</UseOfMfc>
   18.27 +  </PropertyGroup>
   18.28 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
   18.29 +  <ImportGroup Label="ExtensionSettings">
   18.30 +  </ImportGroup>
   18.31 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
   18.32 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   18.33 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   18.34 +  </ImportGroup>
   18.35 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
   18.36 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   18.37 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   18.38 +  </ImportGroup>
   18.39 +  <PropertyGroup Label="UserMacros" />
   18.40 +  <PropertyGroup>
   18.41 +    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
   18.42 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
   18.43 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   18.44 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
   18.45 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
   18.46 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
   18.47 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
   18.48 +  </PropertyGroup>
   18.49 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   18.50 +    <Midl>
   18.51 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   18.52 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   18.53 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   18.54 +      <TargetEnvironment>Win32</TargetEnvironment>
   18.55 +      <TypeLibraryName>.\Debug/testgl2.tlb</TypeLibraryName>
   18.56 +    </Midl>
   18.57 +    <ClCompile>
   18.58 +      <Optimization>Disabled</Optimization>
   18.59 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   18.60 +      <PreprocessorDefinitions>_DEBUG;WIN32;_WINDOWS;HAVE_OPENGL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   18.61 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   18.62 +      <PrecompiledHeader>
   18.63 +      </PrecompiledHeader>
   18.64 +      <PrecompiledHeaderOutputFile>.\Debug/testgl2.pch</PrecompiledHeaderOutputFile>
   18.65 +      <AssemblerListingLocation>.\Debug/</AssemblerListingLocation>
   18.66 +      <ObjectFileName>.\Debug/</ObjectFileName>
   18.67 +      <ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName>
   18.68 +      <WarningLevel>Level3</WarningLevel>
   18.69 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   18.70 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
   18.71 +      <CompileAs>Default</CompileAs>
   18.72 +    </ClCompile>
   18.73 +    <ResourceCompile>
   18.74 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   18.75 +      <Culture>0x0409</Culture>
   18.76 +    </ResourceCompile>
   18.77 +    <Link>
   18.78 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
   18.79 +      <AdditionalDependencies>opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
   18.80 +      <OutputFile>.\Debug/testgl2.exe</OutputFile>
   18.81 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   18.82 +      <GenerateDebugInformation>true</GenerateDebugInformation>
   18.83 +      <ProgramDatabaseFile>.\Debug/testgl2.pdb</ProgramDatabaseFile>
   18.84 +      <SubSystem>Windows</SubSystem>
   18.85 +    </Link>
   18.86 +  </ItemDefinitionGroup>
   18.87 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   18.88 +    <Midl>
   18.89 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   18.90 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   18.91 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   18.92 +      <TargetEnvironment>Win32</TargetEnvironment>
   18.93 +      <TypeLibraryName>.\Release/testgl2.tlb</TypeLibraryName>
   18.94 +    </Midl>
   18.95 +    <ClCompile>
   18.96 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   18.97 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   18.98 +      <PreprocessorDefinitions>NDEBUG;WIN32;_WINDOWS;HAVE_OPENGL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   18.99 +      <StringPooling>true</StringPooling>
  18.100 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  18.101 +      <FunctionLevelLinking>true</FunctionLevelLinking>
  18.102 +      <PrecompiledHeader>
  18.103 +      </PrecompiledHeader>
  18.104 +      <PrecompiledHeaderOutputFile>.\Release/testgl2.pch</PrecompiledHeaderOutputFile>
  18.105 +      <AssemblerListingLocation>.\Release/</AssemblerListingLocation>
  18.106 +      <ObjectFileName>.\Release/</ObjectFileName>
  18.107 +      <ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
  18.108 +      <WarningLevel>Level3</WarningLevel>
  18.109 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  18.110 +      <CompileAs>Default</CompileAs>
  18.111 +    </ClCompile>
  18.112 +    <ResourceCompile>
  18.113 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.114 +      <Culture>0x0409</Culture>
  18.115 +    </ResourceCompile>
  18.116 +    <Link>
  18.117 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
  18.118 +      <AdditionalDependencies>opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
  18.119 +      <OutputFile>.\Release/testgl2.exe</OutputFile>
  18.120 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  18.121 +      <ProgramDatabaseFile>.\Release/testgl2.pdb</ProgramDatabaseFile>
  18.122 +      <SubSystem>Windows</SubSystem>
  18.123 +    </Link>
  18.124 +  </ItemDefinitionGroup>
  18.125 +  <ItemGroup>
  18.126 +    <ClCompile Include="..\..\..\test\common.c" />
  18.127 +    <ClCompile Include="..\..\..\test\testgl2.c" />
  18.128 +  </ItemGroup>
  18.129 +  <ItemGroup>
  18.130 +    <Library Include="..\..\Sdl\Debug\SDL.lib" />
  18.131 +    <Library Include="..\..\SDLmain\Debug\SDLmain.lib" />
  18.132 +  </ItemGroup>
  18.133 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  18.134 +  <ImportGroup Label="ExtensionTargets">
  18.135 +  </ImportGroup>
  18.136 +</Project>
  18.137 \ No newline at end of file
    19.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.2 +++ b/VisualC/tests/testjoystick/testjoystick.vcxproj	Sun Aug 22 13:45:56 2010 -0700
    19.3 @@ -0,0 +1,130 @@
    19.4 +<?xml version="1.0" encoding="utf-8"?>
    19.5 +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    19.6 +  <ItemGroup Label="ProjectConfigurations">
    19.7 +    <ProjectConfiguration Include="Debug|Win32">
    19.8 +      <Configuration>Debug</Configuration>
    19.9 +      <Platform>Win32</Platform>
   19.10 +    </ProjectConfiguration>
   19.11 +    <ProjectConfiguration Include="Release|Win32">
   19.12 +      <Configuration>Release</Configuration>
   19.13 +      <Platform>Win32</Platform>
   19.14 +    </ProjectConfiguration>
   19.15 +  </ItemGroup>
   19.16 +  <PropertyGroup Label="Globals">
   19.17 +    <ProjectGuid>{55812185-D13C-4022-9C81-32E0F4A08304}</ProjectGuid>
   19.18 +  </PropertyGroup>
   19.19 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   19.20 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
   19.21 +    <ConfigurationType>Application</ConfigurationType>
   19.22 +    <UseOfMfc>false</UseOfMfc>
   19.23 +  </PropertyGroup>
   19.24 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
   19.25 +    <ConfigurationType>Application</ConfigurationType>
   19.26 +    <UseOfMfc>false</UseOfMfc>
   19.27 +  </PropertyGroup>
   19.28 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
   19.29 +  <ImportGroup Label="ExtensionSettings">
   19.30 +  </ImportGroup>
   19.31 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
   19.32 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   19.33 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   19.34 +  </ImportGroup>
   19.35 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
   19.36 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   19.37 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   19.38 +  </ImportGroup>
   19.39 +  <PropertyGroup Label="UserMacros" />
   19.40 +  <PropertyGroup>
   19.41 +    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
   19.42 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
   19.43 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
   19.44 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
   19.45 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
   19.46 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   19.47 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
   19.48 +  </PropertyGroup>
   19.49 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   19.50 +    <Midl>
   19.51 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   19.52 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   19.53 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   19.54 +      <TargetEnvironment>Win32</TargetEnvironment>
   19.55 +      <TypeLibraryName>.\Release/testjoystick.tlb</TypeLibraryName>
   19.56 +    </Midl>
   19.57 +    <ClCompile>
   19.58 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   19.59 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   19.60 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   19.61 +      <StringPooling>true</StringPooling>
   19.62 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   19.63 +      <FunctionLevelLinking>true</FunctionLevelLinking>
   19.64 +      <PrecompiledHeader>
   19.65 +      </PrecompiledHeader>
   19.66 +      <PrecompiledHeaderOutputFile>.\Release/testjoystick.pch</PrecompiledHeaderOutputFile>
   19.67 +      <AssemblerListingLocation>.\Release/</AssemblerListingLocation>
   19.68 +      <ObjectFileName>.\Release/</ObjectFileName>
   19.69 +      <ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
   19.70 +      <WarningLevel>Level3</WarningLevel>
   19.71 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   19.72 +      <CompileAs>Default</CompileAs>
   19.73 +    </ClCompile>
   19.74 +    <ResourceCompile>
   19.75 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   19.76 +      <Culture>0x0409</Culture>
   19.77 +    </ResourceCompile>
   19.78 +    <Link>
   19.79 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
   19.80 +      <OutputFile>.\Release/testjoystick.exe</OutputFile>
   19.81 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   19.82 +      <ProgramDatabaseFile>.\Release/testjoystick.pdb</ProgramDatabaseFile>
   19.83 +      <SubSystem>Windows</SubSystem>
   19.84 +    </Link>
   19.85 +  </ItemDefinitionGroup>
   19.86 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   19.87 +    <Midl>
   19.88 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   19.89 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   19.90 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   19.91 +      <TargetEnvironment>Win32</TargetEnvironment>
   19.92 +      <TypeLibraryName>.\Debug/testjoystick.tlb</TypeLibraryName>
   19.93 +    </Midl>
   19.94 +    <ClCompile>
   19.95 +      <Optimization>Disabled</Optimization>
   19.96 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   19.97 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   19.98 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   19.99 +      <PrecompiledHeader>
  19.100 +      </PrecompiledHeader>
  19.101 +      <PrecompiledHeaderOutputFile>.\Debug/testjoystick.pch</PrecompiledHeaderOutputFile>
  19.102 +      <AssemblerListingLocation>.\Debug/</AssemblerListingLocation>
  19.103 +      <ObjectFileName>.\Debug/</ObjectFileName>
  19.104 +      <ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName>
  19.105 +      <WarningLevel>Level3</WarningLevel>
  19.106 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  19.107 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
  19.108 +      <CompileAs>Default</CompileAs>
  19.109 +    </ClCompile>
  19.110 +    <ResourceCompile>
  19.111 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  19.112 +      <Culture>0x0409</Culture>
  19.113 +    </ResourceCompile>
  19.114 +    <Link>
  19.115 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
  19.116 +      <OutputFile>.\Debug/testjoystick.exe</OutputFile>
  19.117 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  19.118 +      <GenerateDebugInformation>true</GenerateDebugInformation>
  19.119 +      <ProgramDatabaseFile>.\Debug/testjoystick.pdb</ProgramDatabaseFile>
  19.120 +      <SubSystem>Windows</SubSystem>
  19.121 +    </Link>
  19.122 +  </ItemDefinitionGroup>
  19.123 +  <ItemGroup>
  19.124 +    <Library Include="..\..\Sdl\Debug\SDL.lib" />
  19.125 +    <Library Include="..\..\SDLmain\Debug\SDLmain.lib" />
  19.126 +  </ItemGroup>
  19.127 +  <ItemGroup>
  19.128 +    <ClCompile Include="..\..\..\test\testjoystick.c" />
  19.129 +  </ItemGroup>
  19.130 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  19.131 +  <ImportGroup Label="ExtensionTargets">
  19.132 +  </ImportGroup>
  19.133 +</Project>
  19.134 \ No newline at end of file
    20.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    20.2 +++ b/VisualC/tests/testoverlay/testoverlay.vcxproj	Sun Aug 22 13:45:56 2010 -0700
    20.3 @@ -0,0 +1,130 @@
    20.4 +<?xml version="1.0" encoding="utf-8"?>
    20.5 +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    20.6 +  <ItemGroup Label="ProjectConfigurations">
    20.7 +    <ProjectConfiguration Include="Debug|Win32">
    20.8 +      <Configuration>Debug</Configuration>
    20.9 +      <Platform>Win32</Platform>
   20.10 +    </ProjectConfiguration>
   20.11 +    <ProjectConfiguration Include="Release|Win32">
   20.12 +      <Configuration>Release</Configuration>
   20.13 +      <Platform>Win32</Platform>
   20.14 +    </ProjectConfiguration>
   20.15 +  </ItemGroup>
   20.16 +  <PropertyGroup Label="Globals">
   20.17 +    <ProjectGuid>{9E320A14-B443-4DD7-8725-B7020DCFF730}</ProjectGuid>
   20.18 +  </PropertyGroup>
   20.19 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   20.20 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
   20.21 +    <ConfigurationType>Application</ConfigurationType>
   20.22 +    <UseOfMfc>false</UseOfMfc>
   20.23 +  </PropertyGroup>
   20.24 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
   20.25 +    <ConfigurationType>Application</ConfigurationType>
   20.26 +    <UseOfMfc>false</UseOfMfc>
   20.27 +  </PropertyGroup>
   20.28 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
   20.29 +  <ImportGroup Label="ExtensionSettings">
   20.30 +  </ImportGroup>
   20.31 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
   20.32 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   20.33 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   20.34 +  </ImportGroup>
   20.35 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
   20.36 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   20.37 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   20.38 +  </ImportGroup>
   20.39 +  <PropertyGroup Label="UserMacros" />
   20.40 +  <PropertyGroup>
   20.41 +    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
   20.42 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
   20.43 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
   20.44 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
   20.45 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
   20.46 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   20.47 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
   20.48 +  </PropertyGroup>
   20.49 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   20.50 +    <Midl>
   20.51 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   20.52 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   20.53 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   20.54 +      <TargetEnvironment>Win32</TargetEnvironment>
   20.55 +      <TypeLibraryName>.\Release/testoverlay.tlb</TypeLibraryName>
   20.56 +    </Midl>
   20.57 +    <ClCompile>
   20.58 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   20.59 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   20.60 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   20.61 +      <StringPooling>true</StringPooling>
   20.62 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   20.63 +      <FunctionLevelLinking>true</FunctionLevelLinking>
   20.64 +      <PrecompiledHeader>
   20.65 +      </PrecompiledHeader>
   20.66 +      <PrecompiledHeaderOutputFile>.\Release/testoverlay.pch</PrecompiledHeaderOutputFile>
   20.67 +      <AssemblerListingLocation>.\Release/</AssemblerListingLocation>
   20.68 +      <ObjectFileName>.\Release/</ObjectFileName>
   20.69 +      <ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
   20.70 +      <WarningLevel>Level3</WarningLevel>
   20.71 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   20.72 +      <CompileAs>Default</CompileAs>
   20.73 +    </ClCompile>
   20.74 +    <ResourceCompile>
   20.75 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   20.76 +      <Culture>0x0409</Culture>
   20.77 +    </ResourceCompile>
   20.78 +    <Link>
   20.79 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
   20.80 +      <OutputFile>.\Release/testoverlay.exe</OutputFile>
   20.81 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   20.82 +      <ProgramDatabaseFile>.\Release/testoverlay.pdb</ProgramDatabaseFile>
   20.83 +      <SubSystem>Windows</SubSystem>
   20.84 +    </Link>
   20.85 +  </ItemDefinitionGroup>
   20.86 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   20.87 +    <Midl>
   20.88 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   20.89 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   20.90 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   20.91 +      <TargetEnvironment>Win32</TargetEnvironment>
   20.92 +      <TypeLibraryName>.\Debug/testoverlay.tlb</TypeLibraryName>
   20.93 +    </Midl>
   20.94 +    <ClCompile>
   20.95 +      <Optimization>Disabled</Optimization>
   20.96 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   20.97 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   20.98 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   20.99 +      <PrecompiledHeader>
  20.100 +      </PrecompiledHeader>
  20.101 +      <PrecompiledHeaderOutputFile>.\Debug/testoverlay.pch</PrecompiledHeaderOutputFile>
  20.102 +      <AssemblerListingLocation>.\Debug/</AssemblerListingLocation>
  20.103 +      <ObjectFileName>.\Debug/</ObjectFileName>
  20.104 +      <ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName>
  20.105 +      <WarningLevel>Level3</WarningLevel>
  20.106 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  20.107 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
  20.108 +      <CompileAs>Default</CompileAs>
  20.109 +    </ClCompile>
  20.110 +    <ResourceCompile>
  20.111 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  20.112 +      <Culture>0x0409</Culture>
  20.113 +    </ResourceCompile>
  20.114 +    <Link>
  20.115 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
  20.116 +      <OutputFile>.\Debug/testoverlay.exe</OutputFile>
  20.117 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  20.118 +      <GenerateDebugInformation>true</GenerateDebugInformation>
  20.119 +      <ProgramDatabaseFile>.\Debug/testoverlay.pdb</ProgramDatabaseFile>
  20.120 +      <SubSystem>Windows</SubSystem>
  20.121 +    </Link>
  20.122 +  </ItemDefinitionGroup>
  20.123 +  <ItemGroup>
  20.124 +    <Library Include="..\..\Sdl\Debug\SDL.lib" />
  20.125 +    <Library Include="..\..\SDLmain\Debug\SDLmain.lib" />
  20.126 +  </ItemGroup>
  20.127 +  <ItemGroup>
  20.128 +    <ClCompile Include="..\..\..\test\testoverlay.c" />
  20.129 +  </ItemGroup>
  20.130 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  20.131 +  <ImportGroup Label="ExtensionTargets">
  20.132 +  </ImportGroup>
  20.133 +</Project>
  20.134 \ No newline at end of file
    21.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    21.2 +++ b/VisualC/tests/testoverlay2/testoverlay2.vcxproj	Sun Aug 22 13:45:56 2010 -0700
    21.3 @@ -0,0 +1,130 @@
    21.4 +<?xml version="1.0" encoding="utf-8"?>
    21.5 +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    21.6 +  <ItemGroup Label="ProjectConfigurations">
    21.7 +    <ProjectConfiguration Include="Debug|Win32">
    21.8 +      <Configuration>Debug</Configuration>
    21.9 +      <Platform>Win32</Platform>
   21.10 +    </ProjectConfiguration>
   21.11 +    <ProjectConfiguration Include="Release|Win32">
   21.12 +      <Configuration>Release</Configuration>
   21.13 +      <Platform>Win32</Platform>
   21.14 +    </ProjectConfiguration>
   21.15 +  </ItemGroup>
   21.16 +  <PropertyGroup Label="Globals">
   21.17 +    <ProjectGuid>{B51E0D74-F0A2-45A2-BD2A-8B7D95B8204A}</ProjectGuid>
   21.18 +  </PropertyGroup>
   21.19 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   21.20 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
   21.21 +    <ConfigurationType>Application</ConfigurationType>
   21.22 +    <UseOfMfc>false</UseOfMfc>
   21.23 +  </PropertyGroup>
   21.24 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
   21.25 +    <ConfigurationType>Application</ConfigurationType>
   21.26 +    <UseOfMfc>false</UseOfMfc>
   21.27 +  </PropertyGroup>
   21.28 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
   21.29 +  <ImportGroup Label="ExtensionSettings">
   21.30 +  </ImportGroup>
   21.31 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
   21.32 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   21.33 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   21.34 +  </ImportGroup>
   21.35 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
   21.36 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   21.37 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   21.38 +  </ImportGroup>
   21.39 +  <PropertyGroup Label="UserMacros" />
   21.40 +  <PropertyGroup>
   21.41 +    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
   21.42 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
   21.43 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
   21.44 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
   21.45 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
   21.46 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   21.47 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
   21.48 +  </PropertyGroup>
   21.49 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   21.50 +    <Midl>
   21.51 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   21.52 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   21.53 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   21.54 +      <TargetEnvironment>Win32</TargetEnvironment>
   21.55 +      <TypeLibraryName>.\Release/testoverlay2.tlb</TypeLibraryName>
   21.56 +    </Midl>
   21.57 +    <ClCompile>
   21.58 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   21.59 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   21.60 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   21.61 +      <StringPooling>true</StringPooling>
   21.62 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   21.63 +      <FunctionLevelLinking>true</FunctionLevelLinking>
   21.64 +      <PrecompiledHeader>
   21.65 +      </PrecompiledHeader>
   21.66 +      <PrecompiledHeaderOutputFile>.\Release/testoverlay2.pch</PrecompiledHeaderOutputFile>
   21.67 +      <AssemblerListingLocation>.\Release/</AssemblerListingLocation>
   21.68 +      <ObjectFileName>.\Release/</ObjectFileName>
   21.69 +      <ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
   21.70 +      <WarningLevel>Level3</WarningLevel>
   21.71 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   21.72 +      <CompileAs>Default</CompileAs>
   21.73 +    </ClCompile>
   21.74 +    <ResourceCompile>
   21.75 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   21.76 +      <Culture>0x0409</Culture>
   21.77 +    </ResourceCompile>
   21.78 +    <Link>
   21.79 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
   21.80 +      <OutputFile>.\Release/testoverlay2.exe</OutputFile>
   21.81 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   21.82 +      <ProgramDatabaseFile>.\Release/testoverlay2.pdb</ProgramDatabaseFile>
   21.83 +      <SubSystem>Windows</SubSystem>
   21.84 +    </Link>
   21.85 +  </ItemDefinitionGroup>
   21.86 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   21.87 +    <Midl>
   21.88 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   21.89 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   21.90 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   21.91 +      <TargetEnvironment>Win32</TargetEnvironment>
   21.92 +      <TypeLibraryName>.\Debug/testoverlay2.tlb</TypeLibraryName>
   21.93 +    </Midl>
   21.94 +    <ClCompile>
   21.95 +      <Optimization>Disabled</Optimization>
   21.96 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   21.97 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   21.98 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   21.99 +      <PrecompiledHeader>
  21.100 +      </PrecompiledHeader>
  21.101 +      <PrecompiledHeaderOutputFile>.\Debug/testoverlay2.pch</PrecompiledHeaderOutputFile>
  21.102 +      <AssemblerListingLocation>.\Debug/</AssemblerListingLocation>
  21.103 +      <ObjectFileName>.\Debug/</ObjectFileName>
  21.104 +      <ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName>
  21.105 +      <WarningLevel>Level3</WarningLevel>
  21.106 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  21.107 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
  21.108 +      <CompileAs>Default</CompileAs>
  21.109 +    </ClCompile>
  21.110 +    <ResourceCompile>
  21.111 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  21.112 +      <Culture>0x0409</Culture>
  21.113 +    </ResourceCompile>
  21.114 +    <Link>
  21.115 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
  21.116 +      <OutputFile>.\Debug/testoverlay2.exe</OutputFile>
  21.117 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  21.118 +      <GenerateDebugInformation>true</GenerateDebugInformation>
  21.119 +      <ProgramDatabaseFile>.\Debug/testoverlay2.pdb</ProgramDatabaseFile>
  21.120 +      <SubSystem>Windows</SubSystem>
  21.121 +    </Link>
  21.122 +  </ItemDefinitionGroup>
  21.123 +  <ItemGroup>
  21.124 +    <Library Include="..\..\Sdl\Debug\SDL.lib" />
  21.125 +    <Library Include="..\..\SDLmain\Debug\SDLmain.lib" />
  21.126 +  </ItemGroup>
  21.127 +  <ItemGroup>
  21.128 +    <ClCompile Include="..\..\..\test\testoverlay2.c" />
  21.129 +  </ItemGroup>
  21.130 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  21.131 +  <ImportGroup Label="ExtensionTargets">
  21.132 +  </ImportGroup>
  21.133 +</Project>
  21.134 \ No newline at end of file
    22.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    22.2 +++ b/VisualC/tests/testpalette/testpalette.vcxproj	Sun Aug 22 13:45:56 2010 -0700
    22.3 @@ -0,0 +1,130 @@
    22.4 +<?xml version="1.0" encoding="utf-8"?>
    22.5 +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    22.6 +  <ItemGroup Label="ProjectConfigurations">
    22.7 +    <ProjectConfiguration Include="Debug|Win32">
    22.8 +      <Configuration>Debug</Configuration>
    22.9 +      <Platform>Win32</Platform>
   22.10 +    </ProjectConfiguration>
   22.11 +    <ProjectConfiguration Include="Release|Win32">
   22.12 +      <Configuration>Release</Configuration>
   22.13 +      <Platform>Win32</Platform>
   22.14 +    </ProjectConfiguration>
   22.15 +  </ItemGroup>
   22.16 +  <PropertyGroup Label="Globals">
   22.17 +    <ProjectGuid>{493A8F38-5DA5-4E2D-B5E9-9E69EE4ED1DC}</ProjectGuid>
   22.18 +  </PropertyGroup>
   22.19 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   22.20 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
   22.21 +    <ConfigurationType>Application</ConfigurationType>
   22.22 +    <UseOfMfc>false</UseOfMfc>
   22.23 +  </PropertyGroup>
   22.24 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
   22.25 +    <ConfigurationType>Application</ConfigurationType>
   22.26 +    <UseOfMfc>false</UseOfMfc>
   22.27 +  </PropertyGroup>
   22.28 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
   22.29 +  <ImportGroup Label="ExtensionSettings">
   22.30 +  </ImportGroup>
   22.31 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
   22.32 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   22.33 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   22.34 +  </ImportGroup>
   22.35 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
   22.36 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   22.37 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   22.38 +  </ImportGroup>
   22.39 +  <PropertyGroup Label="UserMacros" />
   22.40 +  <PropertyGroup>
   22.41 +    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
   22.42 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
   22.43 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
   22.44 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
   22.45 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
   22.46 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   22.47 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
   22.48 +  </PropertyGroup>
   22.49 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   22.50 +    <Midl>
   22.51 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   22.52 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   22.53 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   22.54 +      <TargetEnvironment>Win32</TargetEnvironment>
   22.55 +      <TypeLibraryName>.\Release/testpalette.tlb</TypeLibraryName>
   22.56 +    </Midl>
   22.57 +    <ClCompile>
   22.58 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   22.59 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   22.60 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   22.61 +      <StringPooling>true</StringPooling>
   22.62 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   22.63 +      <FunctionLevelLinking>true</FunctionLevelLinking>
   22.64 +      <PrecompiledHeader>
   22.65 +      </PrecompiledHeader>
   22.66 +      <PrecompiledHeaderOutputFile>.\Release/testpalette.pch</PrecompiledHeaderOutputFile>
   22.67 +      <AssemblerListingLocation>.\Release/</AssemblerListingLocation>
   22.68 +      <ObjectFileName>.\Release/</ObjectFileName>
   22.69 +      <ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
   22.70 +      <WarningLevel>Level3</WarningLevel>
   22.71 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   22.72 +      <CompileAs>Default</CompileAs>
   22.73 +    </ClCompile>
   22.74 +    <ResourceCompile>
   22.75 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   22.76 +      <Culture>0x0409</Culture>
   22.77 +    </ResourceCompile>
   22.78 +    <Link>
   22.79 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
   22.80 +      <OutputFile>.\Release/testpalette.exe</OutputFile>
   22.81 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   22.82 +      <ProgramDatabaseFile>.\Release/testpalette.pdb</ProgramDatabaseFile>
   22.83 +      <SubSystem>Windows</SubSystem>
   22.84 +    </Link>
   22.85 +  </ItemDefinitionGroup>
   22.86 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   22.87 +    <Midl>
   22.88 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   22.89 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   22.90 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   22.91 +      <TargetEnvironment>Win32</TargetEnvironment>
   22.92 +      <TypeLibraryName>.\Debug/testpalette.tlb</TypeLibraryName>
   22.93 +    </Midl>
   22.94 +    <ClCompile>
   22.95 +      <Optimization>Disabled</Optimization>
   22.96 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   22.97 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   22.98 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   22.99 +      <PrecompiledHeader>
  22.100 +      </PrecompiledHeader>
  22.101 +      <PrecompiledHeaderOutputFile>.\Debug/testpalette.pch</PrecompiledHeaderOutputFile>
  22.102 +      <AssemblerListingLocation>.\Debug/</AssemblerListingLocation>
  22.103 +      <ObjectFileName>.\Debug/</ObjectFileName>
  22.104 +      <ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName>
  22.105 +      <WarningLevel>Level3</WarningLevel>
  22.106 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  22.107 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
  22.108 +      <CompileAs>Default</CompileAs>
  22.109 +    </ClCompile>
  22.110 +    <ResourceCompile>
  22.111 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  22.112 +      <Culture>0x0409</Culture>
  22.113 +    </ResourceCompile>
  22.114 +    <Link>
  22.115 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
  22.116 +      <OutputFile>.\Debug/testpalette.exe</OutputFile>
  22.117 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  22.118 +      <GenerateDebugInformation>true</GenerateDebugInformation>
  22.119 +      <ProgramDatabaseFile>.\Debug/testpalette.pdb</ProgramDatabaseFile>
  22.120 +      <SubSystem>Windows</SubSystem>
  22.121 +    </Link>
  22.122 +  </ItemDefinitionGroup>
  22.123 +  <ItemGroup>
  22.124 +    <Library Include="..\..\Sdl\Debug\SDL.lib" />
  22.125 +    <Library Include="..\..\SDLmain\Debug\SDLmain.lib" />
  22.126 +  </ItemGroup>
  22.127 +  <ItemGroup>
  22.128 +    <ClCompile Include="..\..\..\test\testpalette.c" />
  22.129 +  </ItemGroup>
  22.130 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  22.131 +  <ImportGroup Label="ExtensionTargets">
  22.132 +  </ImportGroup>
  22.133 +</Project>
  22.134 \ No newline at end of file
    23.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    23.2 +++ b/VisualC/tests/testplatform/testplatform.vcxproj	Sun Aug 22 13:45:56 2010 -0700
    23.3 @@ -0,0 +1,143 @@
    23.4 +<?xml version="1.0" encoding="utf-8"?>
    23.5 +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    23.6 +  <ItemGroup Label="ProjectConfigurations">
    23.7 +    <ProjectConfiguration Include="Debug|Win32">
    23.8 +      <Configuration>Debug</Configuration>
    23.9 +      <Platform>Win32</Platform>
   23.10 +    </ProjectConfiguration>
   23.11 +    <ProjectConfiguration Include="Release|Win32">
   23.12 +      <Configuration>Release</Configuration>
   23.13 +      <Platform>Win32</Platform>
   23.14 +    </ProjectConfiguration>
   23.15 +  </ItemGroup>
   23.16 +  <PropertyGroup Label="Globals">
   23.17 +    <ProjectGuid>{26932B24-EFC6-4E3A-B277-ED653DA37968}</ProjectGuid>
   23.18 +  </PropertyGroup>
   23.19 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   23.20 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
   23.21 +    <ConfigurationType>Application</ConfigurationType>
   23.22 +    <UseOfMfc>false</UseOfMfc>
   23.23 +  </PropertyGroup>
   23.24 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
   23.25 +    <ConfigurationType>Application</ConfigurationType>
   23.26 +    <UseOfMfc>false</UseOfMfc>
   23.27 +  </PropertyGroup>
   23.28 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
   23.29 +  <ImportGroup Label="ExtensionSettings">
   23.30 +  </ImportGroup>
   23.31 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
   23.32 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   23.33 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
   23.34 +  </ImportGroup>
   23.35 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
   23.36 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   23.37 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
   23.38 +  </ImportGroup>
   23.39 +  <PropertyGroup Label="UserMacros" />
   23.40 +  <PropertyGroup>
   23.41 +    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
   23.42 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
   23.43 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   23.44 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
   23.45 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
   23.46 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
   23.47 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
   23.48 +  </PropertyGroup>
   23.49 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   23.50 +    <Midl>
   23.51 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   23.52 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   23.53 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   23.54 +      <TargetEnvironment>Win32</TargetEnvironment>
   23.55 +      <TypeLibraryName>.\Debug/testplatform.tlb</TypeLibraryName>
   23.56 +      <HeaderFileName>
   23.57 +      </HeaderFileName>
   23.58 +    </Midl>
   23.59 +    <ClCompile>
   23.60 +      <Optimization>Disabled</Optimization>
   23.61 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   23.62 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   23.63 +      <MinimalRebuild>true</MinimalRebuild>
   23.64 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   23.65 +      <PrecompiledHeaderOutputFile>.\Debug/testplatform.pch</PrecompiledHeaderOutputFile>
   23.66 +      <AssemblerListingLocation>.\Debug/</AssemblerListingLocation>
   23.67 +      <ObjectFileName>.\Debug/</ObjectFileName>
   23.68 +      <ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName>
   23.69 +      <WarningLevel>Level3</WarningLevel>
   23.70 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   23.71 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
   23.72 +    </ClCompile>
   23.73 +    <ResourceCompile>
   23.74 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   23.75 +      <Culture>0x0409</Culture>
   23.76 +    </ResourceCompile>
   23.77 +    <Link>
   23.78 +      <OutputFile>.\Debug/testplatform.exe</OutputFile>
   23.79 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   23.80 +      <GenerateDebugInformation>true</GenerateDebugInformation>
   23.81 +      <ProgramDatabaseFile>.\Debug/testplatform.pdb</ProgramDatabaseFile>
   23.82 +      <SubSystem>Windows</SubSystem>
   23.83 +      <TargetMachine>MachineX86</TargetMachine>
   23.84 +    </Link>
   23.85 +    <Bscmake>
   23.86 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   23.87 +      <OutputFile>.\Debug/testplatform.bsc</OutputFile>
   23.88 +    </Bscmake>
   23.89 +  </ItemDefinitionGroup>
   23.90 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   23.91 +    <Midl>
   23.92 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   23.93 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   23.94 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   23.95 +      <TargetEnvironment>Win32</TargetEnvironment>
   23.96 +      <TypeLibraryName>.\Release/testplatform.tlb</TypeLibraryName>
   23.97 +      <HeaderFileName>
   23.98 +      </HeaderFileName>
   23.99 +    </Midl>
  23.100 +    <ClCompile>
  23.101 +      <Optimization>MaxSpeed</Optimization>
  23.102 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
  23.103 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  23.104 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  23.105 +      <StringPooling>true</StringPooling>
  23.106 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  23.107 +      <FunctionLevelLinking>true</FunctionLevelLinking>
  23.108 +      <PrecompiledHeaderOutputFile>.\Release/testplatform.pch</PrecompiledHeaderOutputFile>
  23.109 +      <AssemblerListingLocation>.\Release/</AssemblerListingLocation>
  23.110 +      <ObjectFileName>.\Release/</ObjectFileName>
  23.111 +      <ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
  23.112 +      <WarningLevel>Level3</WarningLevel>
  23.113 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  23.114 +    </ClCompile>
  23.115 +    <ResourceCompile>
  23.116 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  23.117 +      <Culture>0x0409</Culture>
  23.118 +    </ResourceCompile>
  23.119 +    <Link>
  23.120 +      <OutputFile>.\Release/testplatform.exe</OutputFile>
  23.121 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  23.122 +      <ProgramDatabaseFile>.\Release/testplatform.pdb</ProgramDatabaseFile>
  23.123 +      <SubSystem>Windows</SubSystem>
  23.124 +      <TargetMachine>MachineX86</TargetMachine>
  23.125 +    </Link>
  23.126 +    <Bscmake>
  23.127 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  23.128 +      <OutputFile>.\Release/testplatform.bsc</OutputFile>
  23.129 +    </Bscmake>
  23.130 +  </ItemDefinitionGroup>
  23.131 +  <ItemGroup>
  23.132 +    <Library Include="..\..\Sdl\Debug\SDL.lib" />
  23.133 +    <Library Include="..\..\SDLmain\Debug\SDLmain.lib" />
  23.134 +  </ItemGroup>
  23.135 +  <ItemGroup>
  23.136 +    <ClCompile Include="..\..\..\Test\testplatform.c">
  23.137 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  23.138 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  23.139 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  23.140 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  23.141 +    </ClCompile>
  23.142 +  </ItemGroup>
  23.143 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  23.144 +  <ImportGroup Label="ExtensionTargets">
  23.145 +  </ImportGroup>
  23.146 +</Project>
  23.147 \ No newline at end of file
    24.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    24.2 +++ b/VisualC/tests/testpower/testpower.vcxproj	Sun Aug 22 13:45:56 2010 -0700
    24.3 @@ -0,0 +1,133 @@
    24.4 +<?xml version="1.0" encoding="utf-8"?>
    24.5 +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    24.6 +  <ItemGroup Label="ProjectConfigurations">
    24.7 +    <ProjectConfiguration Include="Debug|Win32">
    24.8 +      <Configuration>Debug</Configuration>
    24.9 +      <Platform>Win32</Platform>
   24.10 +    </ProjectConfiguration>
   24.11 +    <ProjectConfiguration Include="Release|Win32">
   24.12 +      <Configuration>Release</Configuration>
   24.13 +      <Platform>Win32</Platform>
   24.14 +    </ProjectConfiguration>
   24.15 +  </ItemGroup>
   24.16 +  <PropertyGroup Label="Globals">
   24.17 +    <ProjectGuid>{C4E04D18-EF76-4B42-B4C2-16A1BACDC0A3}</ProjectGuid>
   24.18 +    <RootNamespace>testpower</RootNamespace>
   24.19 +  </PropertyGroup>
   24.20 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   24.21 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
   24.22 +    <ConfigurationType>Application</ConfigurationType>
   24.23 +    <UseOfMfc>false</UseOfMfc>
   24.24 +  </PropertyGroup>
   24.25 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
   24.26 +    <ConfigurationType>Application</ConfigurationType>
   24.27 +    <UseOfMfc>false</UseOfMfc>
   24.28 +  </PropertyGroup>
   24.29 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
   24.30 +  <ImportGroup Label="ExtensionSettings">
   24.31 +  </ImportGroup>
   24.32 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
   24.33 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   24.34 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   24.35 +  </ImportGroup>
   24.36 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
   24.37 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   24.38 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   24.39 +  </ImportGroup>
   24.40 +  <PropertyGroup Label="UserMacros" />
   24.41 +  <PropertyGroup>
   24.42 +    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
   24.43 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
   24.44 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   24.45 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
   24.46 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
   24.47 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
   24.48 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
   24.49 +  </PropertyGroup>
   24.50 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   24.51 +    <Midl>
   24.52 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   24.53 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   24.54 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   24.55 +      <TargetEnvironment>Win32</TargetEnvironment>
   24.56 +      <TypeLibraryName>.\Debug/testwm.tlb</TypeLibraryName>
   24.57 +    </Midl>
   24.58 +    <ClCompile>
   24.59 +      <Optimization>Disabled</Optimization>
   24.60 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   24.61 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   24.62 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   24.63 +      <PrecompiledHeader>
   24.64 +      </PrecompiledHeader>
   24.65 +      <PrecompiledHeaderOutputFile>.\Debug/testwm.pch</PrecompiledHeaderOutputFile>
   24.66 +      <AssemblerListingLocation>.\Debug/</AssemblerListingLocation>
   24.67 +      <ObjectFileName>.\Debug/</ObjectFileName>
   24.68 +      <ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName>
   24.69 +      <WarningLevel>Level3</WarningLevel>
   24.70 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   24.71 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
   24.72 +      <CompileAs>Default</CompileAs>
   24.73 +    </ClCompile>
   24.74 +    <ResourceCompile>
   24.75 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   24.76 +      <Culture>0x0409</Culture>
   24.77 +    </ResourceCompile>
   24.78 +    <Link>
   24.79 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
   24.80 +      <OutputFile>.\Debug/testwm.exe</OutputFile>
   24.81 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   24.82 +      <GenerateDebugInformation>true</GenerateDebugInformation>
   24.83 +      <ProgramDatabaseFile>.\Debug/testpower.pdb</ProgramDatabaseFile>
   24.84 +      <SubSystem>Windows</SubSystem>
   24.85 +    </Link>
   24.86 +  </ItemDefinitionGroup>
   24.87 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   24.88 +    <Midl>
   24.89 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   24.90 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   24.91 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   24.92 +      <TargetEnvironment>Win32</TargetEnvironment>
   24.93 +      <TypeLibraryName>.\Release/testpower.tlb</TypeLibraryName>
   24.94 +    </Midl>
   24.95 +    <ClCompile>
   24.96 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   24.97 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   24.98 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   24.99 +      <StringPooling>true</StringPooling>
  24.100 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  24.101 +      <FunctionLevelLinking>true</FunctionLevelLinking>
  24.102 +      <PrecompiledHeader>
  24.103 +      </PrecompiledHeader>
  24.104 +      <PrecompiledHeaderOutputFile>.\Release/testpower.pch</PrecompiledHeaderOutputFile>
  24.105 +      <AssemblerListingLocation>.\Release/</AssemblerListingLocation>
  24.106 +      <ObjectFileName>.\Release/</ObjectFileName>
  24.107 +      <ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
  24.108 +      <WarningLevel>Level3</WarningLevel>
  24.109 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  24.110 +      <CompileAs>Default</CompileAs>
  24.111 +    </ClCompile>
  24.112 +    <ResourceCompile>
  24.113 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  24.114 +      <Culture>0x0409</Culture>
  24.115 +    </ResourceCompile>
  24.116 +    <Link>
  24.117 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
  24.118 +      <OutputFile>.\Release/testpower.exe</OutputFile>
  24.119 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  24.120 +      <ProgramDatabaseFile>.\Release/testpower.pdb</ProgramDatabaseFile>
  24.121 +      <SubSystem>Windows</SubSystem>
  24.122 +    </Link>
  24.123 +  </ItemDefinitionGroup>
  24.124 +  <ItemGroup>
  24.125 +    <Library Include="..\..\Sdl\Debug\SDL.lib" />
  24.126 +    <Library Include="..\..\SDLmain\Debug\SDLmain.lib" />
  24.127 +  </ItemGroup>
  24.128 +  <ItemGroup>
  24.129 +    <ClCompile Include="..\..\..\test\testpower.c">
  24.130 +      <PrecompiledHeaderOutputFile Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug/testpower.pch</PrecompiledHeaderOutputFile>
  24.131 +    </ClCompile>
  24.132 +  </ItemGroup>
  24.133 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  24.134 +  <ImportGroup Label="ExtensionTargets">
  24.135 +  </ImportGroup>
  24.136 +</Project>
  24.137 \ No newline at end of file
    25.1 --- a/VisualC/tests/tests.sln	Sun Aug 22 12:39:56 2010 -0700
    25.2 +++ b/VisualC/tests/tests.sln	Sun Aug 22 13:45:56 2010 -0700
    25.3 @@ -1,44 +1,46 @@
    25.4 -Microsoft Visual Studio Solution File, Format Version 9.00
    25.5 -# Visual Studio 2005
    25.6 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "graywin", "graywin\graywin.vcproj", "{0BCCA0BF-073E-439E-BCE0-C9353C177487}"
    25.7 +Microsoft Visual Studio Solution File, Format Version 11.00
    25.8 +# Visual Studio 2010
    25.9 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "graywin", "graywin\graywin.vcxproj", "{0BCCA0BF-073E-439E-BCE0-C9353C177487}"
   25.10  EndProject
   25.11 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "loopwave", "loopwave\loopwave.vcproj", "{AAAD1CB5-7ADA-47AE-85A0-08A6EC48FAFB}"
   25.12 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "loopwave", "loopwave\loopwave.vcxproj", "{AAAD1CB5-7ADA-47AE-85A0-08A6EC48FAFB}"
   25.13  EndProject
   25.14 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testalpha", "testalpha\testalpha.vcproj", "{7814D54B-65D3-4677-AD77-E0B980B4FA2D}"
   25.15 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testalpha", "testalpha\testalpha.vcxproj", "{7814D54B-65D3-4677-AD77-E0B980B4FA2D}"
   25.16  EndProject
   25.17 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testgamma", "testgamma\testgamma.vcproj", "{D974A0DF-3E2E-445C-A2EB-E899E9B582CB}"
   25.18 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testgamma", "testgamma\testgamma.vcxproj", "{D974A0DF-3E2E-445C-A2EB-E899E9B582CB}"
   25.19  EndProject
   25.20 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testgl", "testgl\testgl.vcproj", "{272D976B-A1DF-4DEB-BD7F-5C0D330E0C7D}"
   25.21 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testgl", "testgl\testgl.vcxproj", "{272D976B-A1DF-4DEB-BD7F-5C0D330E0C7D}"
   25.22  EndProject
   25.23 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testjoystick", "testjoystick\testjoystick.vcproj", "{55812185-D13C-4022-9C81-32E0F4A08304}"
   25.24 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testjoystick", "testjoystick\testjoystick.vcxproj", "{55812185-D13C-4022-9C81-32E0F4A08304}"
   25.25 +EndProject
   25.26 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testpalette", "testpalette\testpalette.vcxproj", "{493A8F38-5DA5-4E2D-B5E9-9E69EE4ED1DC}"
   25.27  EndProject
   25.28 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testpalette", "testpalette\testpalette.vcproj", "{493A8F38-5DA5-4E2D-B5E9-9E69EE4ED1DC}"
   25.29 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testvidinfo", "testvidinfo\testvidinfo.vcxproj", "{575FD095-EDAB-4BD4-B733-CD4A874F6FB0}"
   25.30  EndProject
   25.31 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testvidinfo", "testvidinfo\testvidinfo.vcproj", "{575FD095-EDAB-4BD4-B733-CD4A874F6FB0}"
   25.32 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testwin", "testwin\testwin.vcxproj", "{0FFD1A21-11DB-492C-A989-E4F195B0C441}"
   25.33  EndProject
   25.34 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testwin", "testwin\testwin.vcproj", "{0FFD1A21-11DB-492C-A989-E4F195B0C441}"
   25.35 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testwm", "testwm\testwm.vcxproj", "{6AF0724B-BAC1-4C9D-AFBF-F63B4A2FB8FB}"
   25.36  EndProject
   25.37 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testwm", "testwm\testwm.vcproj", "{6AF0724B-BAC1-4C9D-AFBF-F63B4A2FB8FB}"
   25.38 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testplatform", "testplatform\testplatform.vcxproj", "{26932B24-EFC6-4E3A-B277-ED653DA37968}"
   25.39  EndProject
   25.40 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testplatform", "testplatform\testplatform.vcproj", "{26932B24-EFC6-4E3A-B277-ED653DA37968}"
   25.41 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testfile", "testfile\testfile.vcxproj", "{CAE4F1D0-314F-4B10-805B-0EFD670133A0}"
   25.42  EndProject
   25.43 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testfile", "testfile\testfile.vcproj", "{CAE4F1D0-314F-4B10-805B-0EFD670133A0}"
   25.44 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testgl2", "testgl2\testgl2.vcxproj", "{8B5CFB38-CCBA-40A8-AD7A-89C57B070884}"
   25.45  EndProject
   25.46 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testgl2", "testgl2\testgl2.vcproj", "{8B5CFB38-CCBA-40A8-AD7A-89C57B070884}"
   25.47 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "checkkeys", "checkkeys\checkkeys.vcxproj", "{26828762-C95D-4637-9CB1-7F0979523813}"
   25.48  EndProject
   25.49 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "checkkeys", "checkkeys\checkkeys.vcproj", "{26828762-C95D-4637-9CB1-7F0979523813}"
   25.50 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testoverlay", "testoverlay\testoverlay.vcxproj", "{9E320A14-B443-4DD7-8725-B7020DCFF730}"
   25.51  EndProject
   25.52 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testoverlay", "testoverlay\testoverlay.vcproj", "{9E320A14-B443-4DD7-8725-B7020DCFF730}"
   25.53 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testoverlay2", "testoverlay2\testoverlay2.vcxproj", "{B51E0D74-F0A2-45A2-BD2A-8B7D95B8204A}"
   25.54  EndProject
   25.55 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testoverlay2", "testoverlay2\testoverlay2.vcproj", "{B51E0D74-F0A2-45A2-BD2A-8B7D95B8204A}"
   25.56 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testsprite", "testsprite\testsprite.vcxproj", "{5D0930C0-7C91-4ECE-9014-7B7DDE9502E5}"
   25.57  EndProject
   25.58 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testsprite", "testsprite\testsprite.vcproj", "{5D0930C0-7C91-4ECE-9014-7B7DDE9502E5}"
   25.59 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testsprite2", "testsprite2\testsprite2.vcxproj", "{40FB7794-D3C3-4CFE-BCF4-A80C96635682}"
   25.60  EndProject
   25.61 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testsprite2", "testsprite2\testsprite2.vcproj", "{40FB7794-D3C3-4CFE-BCF4-A80C96635682}"
   25.62 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testshape", "testshape\testshape.vcxproj", "{EDEA9D00-AF64-45DE-8F60-5957048F2F0F}"
   25.63  EndProject
   25.64 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testdraw2", "testdraw2\testdraw2.vcproj", "{8682FE1E-0CF6-4EDD-9BB5-1733D8C8B4DF}"
   25.65 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testdraw2", "testdraw2\testdraw2.vcxproj", "{8682FE1E-0CF6-4EDD-9BB5-1733D8C8B4DF}"
   25.66  EndProject
   25.67 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testpower", "testpower\testpower.vcproj", "{C4E04D18-EF76-4B42-B4C2-16A1BACDC0A3}"
   25.68 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testpower", "testpower\testpower.vcxproj", "{C4E04D18-EF76-4B42-B4C2-16A1BACDC0A3}"
   25.69  EndProject
   25.70  Global
   25.71  	GlobalSection(SolutionConfigurationPlatforms) = preSolution
   25.72 @@ -118,6 +120,8 @@
   25.73  		{40FB7794-D3C3-4CFE-BCF4-A80C96635682}.Debug|Win32.Build.0 = Debug|Win32
   25.74  		{40FB7794-D3C3-4CFE-BCF4-A80C96635682}.Release|Win32.ActiveCfg = Release|Win32
   25.75  		{40FB7794-D3C3-4CFE-BCF4-A80C96635682}.Release|Win32.Build.0 = Release|Win32
   25.76 +		{EDEA9D00-AF64-45DE-8F60-5957048F2F0F}.Debug|Win32.ActiveCfg = Debug|Win32
   25.77 +		{EDEA9D00-AF64-45DE-8F60-5957048F2F0F}.Release|Win32.ActiveCfg = Release|Win32
   25.78  		{8682FE1E-0CF6-4EDD-9BB5-1733D8C8B4DF}.Debug|Win32.ActiveCfg = Debug|Win32
   25.79  		{8682FE1E-0CF6-4EDD-9BB5-1733D8C8B4DF}.Debug|Win32.Build.0 = Debug|Win32
   25.80  		{8682FE1E-0CF6-4EDD-9BB5-1733D8C8B4DF}.Release|Win32.ActiveCfg = Release|Win32
    26.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    26.2 +++ b/VisualC/tests/testshape/testshape.vcproj	Sun Aug 22 13:45:56 2010 -0700
    26.3 @@ -0,0 +1,217 @@
    26.4 +<?xml version="1.0" encoding="Windows-1252"?>
    26.5 +<VisualStudioProject
    26.6 +	ProjectType="Visual C++"
    26.7 +	Version="8.00"
    26.8 +	Name="testshape"
    26.9 +	ProjectGUID="{5D0930C0-7C91-4ECE-9014-7B7DDE9502E5}"
   26.10 +	>
   26.11 +	<Platforms>
   26.12 +		<Platform
   26.13 +			Name="Win32"
   26.14 +		/>
   26.15 +	</Platforms>
   26.16 +	<ToolFiles>
   26.17 +	</ToolFiles>
   26.18 +	<Configurations>
   26.19 +		<Configuration
   26.20 +			Name="Release|Win32"
   26.21 +			OutputDirectory=".\Release"
   26.22 +			IntermediateDirectory=".\Release"
   26.23 +			ConfigurationType="1"
   26.24 +			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
   26.25 +			UseOfMFC="0"
   26.26 +			ATLMinimizesCRunTimeLibraryUsage="false"
   26.27 +			>
   26.28 +			<Tool
   26.29 +				Name="VCPreBuildEventTool"
   26.30 +			/>
   26.31 +			<Tool
   26.32 +				Name="VCCustomBuildTool"
   26.33 +			/>
   26.34 +			<Tool
   26.35 +				Name="VCXMLDataGeneratorTool"
   26.36 +			/>
   26.37 +			<Tool
   26.38 +				Name="VCWebServiceProxyGeneratorTool"
   26.39 +			/>
   26.40 +			<Tool
   26.41 +				Name="VCMIDLTool"
   26.42 +				PreprocessorDefinitions="NDEBUG"
   26.43 +				MkTypLibCompatible="true"
   26.44 +				SuppressStartupBanner="true"
   26.45 +				TargetEnvironment="1"
   26.46 +				TypeLibraryName=".\Release/testshape.tlb"
   26.47 +			/>
   26.48 +			<Tool
   26.49 +				Name="VCCLCompilerTool"
   26.50 +				InlineFunctionExpansion="1"
   26.51 +				AdditionalIncludeDirectories="..\..\..\include"
   26.52 +				PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
   26.53 +				StringPooling="true"
   26.54 +				RuntimeLibrary="2"
   26.55 +				EnableFunctionLevelLinking="true"
   26.56 +				UsePrecompiledHeader="0"
   26.57 +				PrecompiledHeaderFile=".\Release/testshape.pch"
   26.58 +				AssemblerListingLocation=".\Release/"
   26.59 +				ObjectFile=".\Release/"
   26.60 +				ProgramDataBaseFileName=".\Release/"
   26.61 +				WarningLevel="3"
   26.62 +				SuppressStartupBanner="true"
   26.63 +				CompileAs="0"
   26.64 +			/>
   26.65 +			<Tool
   26.66 +				Name="VCManagedResourceCompilerTool"
   26.67 +			/>
   26.68 +			<Tool
   26.69 +				Name="VCResourceCompilerTool"
   26.70 +				PreprocessorDefinitions="NDEBUG"
   26.71 +				Culture="1033"
   26.72 +			/>
   26.73 +			<Tool
   26.74 +				Name="VCPreLinkEventTool"
   26.75 +			/>
   26.76 +			<Tool
   26.77 +				Name="VCLinkerTool"
   26.78 +				AdditionalOptions="/MACHINE:I386"
   26.79 +				OutputFile=".\Release/testshape.exe"
   26.80 +				LinkIncremental="1"
   26.81 +				SuppressStartupBanner="true"
   26.82 +				ProgramDatabaseFile=".\Release/testshape.pdb"
   26.83 +				SubSystem="2"
   26.84 +			/>
   26.85 +			<Tool
   26.86 +				Name="VCALinkTool"
   26.87 +			/>
   26.88 +			<Tool
   26.89 +				Name="VCManifestTool"
   26.90 +			/>
   26.91 +			<Tool
   26.92 +				Name="VCXDCMakeTool"
   26.93 +			/>
   26.94 +			<Tool
   26.95 +				Name="VCBscMakeTool"
   26.96 +			/>
   26.97 +			<Tool
   26.98 +				Name="VCFxCopTool"
   26.99 +			/>
  26.100 +			<Tool
  26.101 +				Name="VCAppVerifierTool"
  26.102 +			/>
  26.103 +			<Tool
  26.104 +				Name="VCWebDeploymentTool"
  26.105 +			/>
  26.106 +			<Tool
  26.107 +				Name="VCPostBuildEventTool"
  26.108 +			/>
  26.109 +		</Configuration>
  26.110 +		<Configuration
  26.111 +			Name="Debug|Win32"
  26.112 +			OutputDirectory=".\Debug"
  26.113 +			IntermediateDirectory=".\Debug"
  26.114 +			ConfigurationType="1"
  26.115 +			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
  26.116 +			UseOfMFC="0"
  26.117 +			ATLMinimizesCRunTimeLibraryUsage="false"
  26.118 +			>
  26.119 +			<Tool
  26.120 +				Name="VCPreBuildEventTool"
  26.121 +			/>
  26.122 +			<Tool
  26.123 +				Name="VCCustomBuildTool"
  26.124 +			/>
  26.125 +			<Tool
  26.126 +				Name="VCXMLDataGeneratorTool"
  26.127 +			/>
  26.128 +			<Tool
  26.129 +				Name="VCWebServiceProxyGeneratorTool"
  26.130 +			/>
  26.131 +			<Tool
  26.132 +				Name="VCMIDLTool"
  26.133 +				PreprocessorDefinitions="_DEBUG"
  26.134 +				MkTypLibCompatible="true"
  26.135 +				SuppressStartupBanner="true"
  26.136 +				TargetEnvironment="1"
  26.137 +				TypeLibraryName=".\Debug/testshape.tlb"
  26.138 +			/>
  26.139 +			<Tool
  26.140 +				Name="VCCLCompilerTool"
  26.141 +				Optimization="0"
  26.142 +				AdditionalIncludeDirectories="..\..\..\include"
  26.143 +				PreprocessorDefinitions="WIN32,_DEBUG,_WINDOWS"
  26.144 +				RuntimeLibrary="2"
  26.145 +				UsePrecompiledHeader="0"
  26.146 +				PrecompiledHeaderFile=".\Debug/testshape.pch"
  26.147 +				AssemblerListingLocation=".\Debug/"
  26.148 +				ObjectFile=".\Debug/"
  26.149 +				ProgramDataBaseFileName=".\Debug/"
  26.150 +				WarningLevel="3"
  26.151 +				SuppressStartupBanner="true"
  26.152 +				DebugInformationFormat="4"
  26.153 +				CompileAs="0"
  26.154 +			/>
  26.155 +			<Tool
  26.156 +				Name="VCManagedResourceCompilerTool"
  26.157 +			/>
  26.158 +			<Tool
  26.159 +				Name="VCResourceCompilerTool"
  26.160 +				PreprocessorDefinitions="_DEBUG"
  26.161 +				Culture="1033"
  26.162 +			/>
  26.163 +			<Tool
  26.164 +				Name="VCPreLinkEventTool"
  26.165 +			/>
  26.166 +			<Tool
  26.167 +				Name="VCLinkerTool"
  26.168 +				AdditionalOptions="/MACHINE:I386"
  26.169 +				OutputFile=".\Debug/testshape.exe"
  26.170 +				LinkIncremental="2"
  26.171 +				SuppressStartupBanner="true"
  26.172 +				GenerateDebugInformation="true"
  26.173 +				ProgramDatabaseFile=".\Debug/testshape.pdb"
  26.174 +				SubSystem="2"
  26.175 +			/>
  26.176 +			<Tool
  26.177 +				Name="VCALinkTool"
  26.178 +			/>
  26.179 +			<Tool
  26.180 +				Name="VCManifestTool"
  26.181 +			/>
  26.182 +			<Tool
  26.183 +				Name="VCXDCMakeTool"
  26.184 +			/>
  26.185 +			<Tool
  26.186 +				Name="VCBscMakeTool"
  26.187 +			/>
  26.188 +			<Tool
  26.189 +				Name="VCFxCopTool"
  26.190 +			/>
  26.191 +			<Tool
  26.192 +				Name="VCAppVerifierTool"
  26.193 +			/>
  26.194 +			<Tool
  26.195 +				Name="VCWebDeploymentTool"
  26.196 +			/>
  26.197 +			<Tool
  26.198 +				Name="VCPostBuildEventTool"
  26.199 +			/>
  26.200 +		</Configuration>
  26.201 +	</Configurations>
  26.202 +	<References>
  26.203 +	</References>
  26.204 +	<Files>
  26.205 +		<File
  26.206 +			RelativePath="..\..\Sdl\Debug\SDL.lib"
  26.207 +			>
  26.208 +		</File>
  26.209 +		<File
  26.210 +			RelativePath="..\..\SDLmain\Debug\SDLmain.lib"
  26.211 +			>
  26.212 +		</File>
  26.213 +		<File
  26.214 +			RelativePath="..\..\..\test\testshape.c"
  26.215 +			>
  26.216 +		</File>
  26.217 +	</Files>
  26.218 +	<Globals>
  26.219 +	</Globals>
  26.220 +</VisualStudioProject>
    27.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    27.2 +++ b/VisualC/tests/testshape/testshape.vcxproj	Sun Aug 22 13:45:56 2010 -0700
    27.3 @@ -0,0 +1,130 @@
    27.4 +<?xml version="1.0" encoding="utf-8"?>
    27.5 +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    27.6 +  <ItemGroup Label="ProjectConfigurations">
    27.7 +    <ProjectConfiguration Include="Debug|Win32">
    27.8 +      <Configuration>Debug</Configuration>
    27.9 +      <Platform>Win32</Platform>
   27.10 +    </ProjectConfiguration>
   27.11 +    <ProjectConfiguration Include="Release|Win32">
   27.12 +      <Configuration>Release</Configuration>
   27.13 +      <Platform>Win32</Platform>
   27.14 +    </ProjectConfiguration>
   27.15 +  </ItemGroup>
   27.16 +  <PropertyGroup Label="Globals">
   27.17 +    <ProjectGuid>{EDEA9D00-AF64-45DE-8F60-5957048F2F0F}</ProjectGuid>
   27.18 +  </PropertyGroup>
   27.19 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   27.20 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
   27.21 +    <ConfigurationType>Application</ConfigurationType>
   27.22 +    <UseOfMfc>false</UseOfMfc>
   27.23 +  </PropertyGroup>
   27.24 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
   27.25 +    <ConfigurationType>Application</ConfigurationType>
   27.26 +    <UseOfMfc>false</UseOfMfc>
   27.27 +  </PropertyGroup>
   27.28 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
   27.29 +  <ImportGroup Label="ExtensionSettings">
   27.30 +  </ImportGroup>
   27.31 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
   27.32 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   27.33 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   27.34 +  </ImportGroup>
   27.35 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
   27.36 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   27.37 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   27.38 +  </ImportGroup>
   27.39 +  <PropertyGroup Label="UserMacros" />
   27.40 +  <PropertyGroup>
   27.41 +    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
   27.42 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
   27.43 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
   27.44 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
   27.45 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
   27.46 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   27.47 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
   27.48 +  </PropertyGroup>
   27.49 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   27.50 +    <Midl>
   27.51 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   27.52 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   27.53 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   27.54 +      <TargetEnvironment>Win32</TargetEnvironment>
   27.55 +      <TypeLibraryName>.\Release/testshape.tlb</TypeLibraryName>
   27.56 +    </Midl>
   27.57 +    <ClCompile>
   27.58 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   27.59 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   27.60 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   27.61 +      <StringPooling>true</StringPooling>
   27.62 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   27.63 +      <FunctionLevelLinking>true</FunctionLevelLinking>
   27.64 +      <PrecompiledHeader>
   27.65 +      </PrecompiledHeader>
   27.66 +      <PrecompiledHeaderOutputFile>.\Release/testshape.pch</PrecompiledHeaderOutputFile>
   27.67 +      <AssemblerListingLocation>.\Release/</AssemblerListingLocation>
   27.68 +      <ObjectFileName>.\Release/</ObjectFileName>
   27.69 +      <ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
   27.70 +      <WarningLevel>Level3</WarningLevel>
   27.71 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   27.72 +      <CompileAs>Default</CompileAs>
   27.73 +    </ClCompile>
   27.74 +    <ResourceCompile>
   27.75 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   27.76 +      <Culture>0x0409</Culture>
   27.77 +    </ResourceCompile>
   27.78 +    <Link>
   27.79 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
   27.80 +      <OutputFile>.\Release/testshape.exe</OutputFile>
   27.81 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   27.82 +      <ProgramDatabaseFile>.\Release/testshape.pdb</ProgramDatabaseFile>
   27.83 +      <SubSystem>Windows</SubSystem>
   27.84 +    </Link>
   27.85 +  </ItemDefinitionGroup>
   27.86 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   27.87 +    <Midl>
   27.88 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   27.89 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   27.90 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   27.91 +      <TargetEnvironment>Win32</TargetEnvironment>
   27.92 +      <TypeLibraryName>.\Debug/testshape.tlb</TypeLibraryName>
   27.93 +    </Midl>
   27.94 +    <ClCompile>
   27.95 +      <Optimization>Disabled</Optimization>
   27.96 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   27.97 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   27.98 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   27.99 +      <PrecompiledHeader>
  27.100 +      </PrecompiledHeader>
  27.101 +      <PrecompiledHeaderOutputFile>.\Debug/testshape.pch</PrecompiledHeaderOutputFile>
  27.102 +      <AssemblerListingLocation>.\Debug/</AssemblerListingLocation>
  27.103 +      <ObjectFileName>.\Debug/</ObjectFileName>
  27.104 +      <ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName>
  27.105 +      <WarningLevel>Level3</WarningLevel>
  27.106 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  27.107 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
  27.108 +      <CompileAs>Default</CompileAs>
  27.109 +    </ClCompile>
  27.110 +    <ResourceCompile>
  27.111 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  27.112 +      <Culture>0x0409</Culture>
  27.113 +    </ResourceCompile>
  27.114 +    <Link>
  27.115 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
  27.116 +      <OutputFile>.\Debug/testshape.exe</OutputFile>
  27.117 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  27.118 +      <GenerateDebugInformation>true</GenerateDebugInformation>
  27.119 +      <ProgramDatabaseFile>.\Debug/testshape.pdb</ProgramDatabaseFile>
  27.120 +      <SubSystem>Windows</SubSystem>
  27.121 +    </Link>
  27.122 +  </ItemDefinitionGroup>
  27.123 +  <ItemGroup>
  27.124 +    <Library Include="..\..\Sdl\Debug\SDL.lib" />
  27.125 +    <Library Include="..\..\SDLmain\Debug\SDLmain.lib" />
  27.126 +  </ItemGroup>
  27.127 +  <ItemGroup>
  27.128 +    <ClCompile Include="..\..\..\test\testshape.c" />
  27.129 +  </ItemGroup>
  27.130 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  27.131 +  <ImportGroup Label="ExtensionTargets">
  27.132 +  </ImportGroup>
  27.133 +</Project>
  27.134 \ No newline at end of file
    28.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    28.2 +++ b/VisualC/tests/testsprite/testsprite.vcxproj	Sun Aug 22 13:45:56 2010 -0700
    28.3 @@ -0,0 +1,130 @@
    28.4 +<?xml version="1.0" encoding="utf-8"?>
    28.5 +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    28.6 +  <ItemGroup Label="ProjectConfigurations">
    28.7 +    <ProjectConfiguration Include="Debug|Win32">
    28.8 +      <Configuration>Debug</Configuration>
    28.9 +      <Platform>Win32</Platform>
   28.10 +    </ProjectConfiguration>
   28.11 +    <ProjectConfiguration Include="Release|Win32">
   28.12 +      <Configuration>Release</Configuration>
   28.13 +      <Platform>Win32</Platform>
   28.14 +    </ProjectConfiguration>
   28.15 +  </ItemGroup>
   28.16 +  <PropertyGroup Label="Globals">
   28.17 +    <ProjectGuid>{5D0930C0-7C91-4ECE-9014-7B7DDE9502E5}</ProjectGuid>
   28.18 +  </PropertyGroup>
   28.19 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   28.20 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
   28.21 +    <ConfigurationType>Application</ConfigurationType>
   28.22 +    <UseOfMfc>false</UseOfMfc>
   28.23 +  </PropertyGroup>
   28.24 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
   28.25 +    <ConfigurationType>Application</ConfigurationType>
   28.26 +    <UseOfMfc>false</UseOfMfc>
   28.27 +  </PropertyGroup>
   28.28 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
   28.29 +  <ImportGroup Label="ExtensionSettings">
   28.30 +  </ImportGroup>
   28.31 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
   28.32 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   28.33 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   28.34 +  </ImportGroup>
   28.35 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
   28.36 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   28.37 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   28.38 +  </ImportGroup>
   28.39 +  <PropertyGroup Label="UserMacros" />
   28.40 +  <PropertyGroup>
   28.41 +    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
   28.42 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
   28.43 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
   28.44 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
   28.45 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
   28.46 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   28.47 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
   28.48 +  </PropertyGroup>
   28.49 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   28.50 +    <Midl>
   28.51 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   28.52 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   28.53 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   28.54 +      <TargetEnvironment>Win32</TargetEnvironment>
   28.55 +      <TypeLibraryName>.\Release/testsprite.tlb</TypeLibraryName>
   28.56 +    </Midl>
   28.57 +    <ClCompile>
   28.58 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   28.59 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   28.60 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   28.61 +      <StringPooling>true</StringPooling>
   28.62 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   28.63 +      <FunctionLevelLinking>true</FunctionLevelLinking>
   28.64 +      <PrecompiledHeader>
   28.65 +      </PrecompiledHeader>
   28.66 +      <PrecompiledHeaderOutputFile>.\Release/testsprite.pch</PrecompiledHeaderOutputFile>
   28.67 +      <AssemblerListingLocation>.\Release/</AssemblerListingLocation>
   28.68 +      <ObjectFileName>.\Release/</ObjectFileName>
   28.69 +      <ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
   28.70 +      <WarningLevel>Level3</WarningLevel>
   28.71 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   28.72 +      <CompileAs>Default</CompileAs>
   28.73 +    </ClCompile>
   28.74 +    <ResourceCompile>
   28.75 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   28.76 +      <Culture>0x0409</Culture>
   28.77 +    </ResourceCompile>
   28.78 +    <Link>
   28.79 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
   28.80 +      <OutputFile>.\Release/testsprite.exe</OutputFile>
   28.81 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   28.82 +      <ProgramDatabaseFile>.\Release/testsprite.pdb</ProgramDatabaseFile>
   28.83 +      <SubSystem>Windows</SubSystem>
   28.84 +    </Link>
   28.85 +  </ItemDefinitionGroup>
   28.86 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   28.87 +    <Midl>
   28.88 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   28.89 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   28.90 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   28.91 +      <TargetEnvironment>Win32</TargetEnvironment>
   28.92 +      <TypeLibraryName>.\Debug/testsprite.tlb</TypeLibraryName>
   28.93 +    </Midl>
   28.94 +    <ClCompile>
   28.95 +      <Optimization>Disabled</Optimization>
   28.96 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   28.97 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   28.98 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   28.99 +      <PrecompiledHeader>
  28.100 +      </PrecompiledHeader>
  28.101 +      <PrecompiledHeaderOutputFile>.\Debug/testsprite.pch</PrecompiledHeaderOutputFile>
  28.102 +      <AssemblerListingLocation>.\Debug/</AssemblerListingLocation>
  28.103 +      <ObjectFileName>.\Debug/</ObjectFileName>
  28.104 +      <ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName>
  28.105 +      <WarningLevel>Level3</WarningLevel>
  28.106 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  28.107 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
  28.108 +      <CompileAs>Default</CompileAs>
  28.109 +    </ClCompile>
  28.110 +    <ResourceCompile>
  28.111 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  28.112 +      <Culture>0x0409</Culture>
  28.113 +    </ResourceCompile>
  28.114 +    <Link>
  28.115 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
  28.116 +      <OutputFile>.\Debug/testsprite.exe</OutputFile>
  28.117 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  28.118 +      <GenerateDebugInformation>true</GenerateDebugInformation>
  28.119 +      <ProgramDatabaseFile>.\Debug/testsprite.pdb</ProgramDatabaseFile>
  28.120 +      <SubSystem>Windows</SubSystem>
  28.121 +    </Link>
  28.122 +  </ItemDefinitionGroup>
  28.123 +  <ItemGroup>
  28.124 +    <Library Include="..\..\Sdl\Debug\SDL.lib" />
  28.125 +    <Library Include="..\..\SDLmain\Debug\SDLmain.lib" />
  28.126 +  </ItemGroup>
  28.127 +  <ItemGroup>
  28.128 +    <ClCompile Include="..\..\..\test\testsprite.c" />
  28.129 +  </ItemGroup>
  28.130 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  28.131 +  <ImportGroup Label="ExtensionTargets">
  28.132 +  </ImportGroup>
  28.133 +</Project>
  28.134 \ No newline at end of file
    29.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    29.2 +++ b/VisualC/tests/testsprite2/testsprite2.vcxproj	Sun Aug 22 13:45:56 2010 -0700
    29.3 @@ -0,0 +1,131 @@
    29.4 +<?xml version="1.0" encoding="utf-8"?>
    29.5 +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    29.6 +  <ItemGroup Label="ProjectConfigurations">
    29.7 +    <ProjectConfiguration Include="Debug|Win32">
    29.8 +      <Configuration>Debug</Configuration>
    29.9 +      <Platform>Win32</Platform>
   29.10 +    </ProjectConfiguration>
   29.11 +    <ProjectConfiguration Include="Release|Win32">
   29.12 +      <Configuration>Release</Configuration>
   29.13 +      <Platform>Win32</Platform>
   29.14 +    </ProjectConfiguration>
   29.15 +  </ItemGroup>
   29.16 +  <PropertyGroup Label="Globals">
   29.17 +    <ProjectGuid>{40FB7794-D3C3-4CFE-BCF4-A80C96635682}</ProjectGuid>
   29.18 +  </PropertyGroup>
   29.19 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   29.20 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
   29.21 +    <ConfigurationType>Application</ConfigurationType>
   29.22 +    <UseOfMfc>false</UseOfMfc>
   29.23 +  </PropertyGroup>
   29.24 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
   29.25 +    <ConfigurationType>Application</ConfigurationType>
   29.26 +    <UseOfMfc>false</UseOfMfc>
   29.27 +  </PropertyGroup>
   29.28 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
   29.29 +  <ImportGroup Label="ExtensionSettings">
   29.30 +  </ImportGroup>
   29.31 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
   29.32 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   29.33 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   29.34 +  </ImportGroup>
   29.35 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
   29.36 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   29.37 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   29.38 +  </ImportGroup>
   29.39 +  <PropertyGroup Label="UserMacros" />
   29.40 +  <PropertyGroup>
   29.41 +    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
   29.42 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
   29.43 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
   29.44 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
   29.45 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
   29.46 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   29.47 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
   29.48 +  </PropertyGroup>
   29.49 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   29.50 +    <Midl>
   29.51 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   29.52 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   29.53 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   29.54 +      <TargetEnvironment>Win32</TargetEnvironment>
   29.55 +      <TypeLibraryName>.\Release/testsprite2.tlb</TypeLibraryName>
   29.56 +    </Midl>
   29.57 +    <ClCompile>
   29.58 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   29.59 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   29.60 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   29.61 +      <StringPooling>true</StringPooling>
   29.62 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   29.63 +      <FunctionLevelLinking>true</FunctionLevelLinking>
   29.64 +      <PrecompiledHeader>
   29.65 +      </PrecompiledHeader>
   29.66 +      <PrecompiledHeaderOutputFile>.\Release/testsprite2.pch</PrecompiledHeaderOutputFile>
   29.67 +      <AssemblerListingLocation>.\Release/</AssemblerListingLocation>
   29.68 +      <ObjectFileName>.\Release/</ObjectFileName>
   29.69 +      <ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
   29.70 +      <WarningLevel>Level3</WarningLevel>
   29.71 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   29.72 +      <CompileAs>Default</CompileAs>
   29.73 +    </ClCompile>
   29.74 +    <ResourceCompile>
   29.75 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   29.76 +      <Culture>0x0409</Culture>
   29.77 +    </ResourceCompile>
   29.78 +    <Link>
   29.79 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
   29.80 +      <OutputFile>.\Release/testsprite2.exe</OutputFile>
   29.81 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   29.82 +      <ProgramDatabaseFile>.\Release/testsprite2.pdb</ProgramDatabaseFile>
   29.83 +      <SubSystem>Windows</SubSystem>
   29.84 +    </Link>
   29.85 +  </ItemDefinitionGroup>
   29.86 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   29.87 +    <Midl>
   29.88 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   29.89 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   29.90 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   29.91 +      <TargetEnvironment>Win32</TargetEnvironment>
   29.92 +      <TypeLibraryName>.\Debug/testsprite2.tlb</TypeLibraryName>
   29.93 +    </Midl>
   29.94 +    <ClCompile>
   29.95 +      <Optimization>Disabled</Optimization>
   29.96 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   29.97 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   29.98 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   29.99 +      <PrecompiledHeader>
  29.100 +      </PrecompiledHeader>
  29.101 +      <PrecompiledHeaderOutputFile>.\Debug/testsprite2.pch</PrecompiledHeaderOutputFile>
  29.102 +      <AssemblerListingLocation>.\Debug/</AssemblerListingLocation>
  29.103 +      <ObjectFileName>.\Debug/</ObjectFileName>
  29.104 +      <ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName>
  29.105 +      <WarningLevel>Level3</WarningLevel>
  29.106 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  29.107 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
  29.108 +      <CompileAs>Default</CompileAs>
  29.109 +    </ClCompile>
  29.110 +    <ResourceCompile>
  29.111 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  29.112 +      <Culture>0x0409</Culture>
  29.113 +    </ResourceCompile>
  29.114 +    <Link>
  29.115 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
  29.116 +      <OutputFile>.\Debug/testsprite2.exe</OutputFile>
  29.117 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  29.118 +      <GenerateDebugInformation>true</GenerateDebugInformation>
  29.119 +      <ProgramDatabaseFile>.\Debug/testsprite2.pdb</ProgramDatabaseFile>
  29.120 +      <SubSystem>Windows</SubSystem>
  29.121 +    </Link>
  29.122 +  </ItemDefinitionGroup>
  29.123 +  <ItemGroup>
  29.124 +    <ClCompile Include="..\..\..\test\common.c" />
  29.125 +    <ClCompile Include="..\..\..\test\testsprite2.c" />
  29.126 +  </ItemGroup>
  29.127 +  <ItemGroup>
  29.128 +    <Library Include="..\..\Sdl\Debug\SDL.lib" />
  29.129 +    <Library Include="..\..\SDLmain\Debug\SDLmain.lib" />
  29.130 +  </ItemGroup>
  29.131 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  29.132 +  <ImportGroup Label="ExtensionTargets">
  29.133 +  </ImportGroup>
  29.134 +</Project>
  29.135 \ No newline at end of file
    30.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    30.2 +++ b/VisualC/tests/testvidinfo/testvidinfo.vcxproj	Sun Aug 22 13:45:56 2010 -0700
    30.3 @@ -0,0 +1,130 @@
    30.4 +<?xml version="1.0" encoding="utf-8"?>
    30.5 +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    30.6 +  <ItemGroup Label="ProjectConfigurations">
    30.7 +    <ProjectConfiguration Include="Debug|Win32">
    30.8 +      <Configuration>Debug</Configuration>
    30.9 +      <Platform>Win32</Platform>
   30.10 +    </ProjectConfiguration>
   30.11 +    <ProjectConfiguration Include="Release|Win32">
   30.12 +      <Configuration>Release</Configuration>
   30.13 +      <Platform>Win32</Platform>
   30.14 +    </ProjectConfiguration>
   30.15 +  </ItemGroup>
   30.16 +  <PropertyGroup Label="Globals">
   30.17 +    <ProjectGuid>{575FD095-EDAB-4BD4-B733-CD4A874F6FB0}</ProjectGuid>
   30.18 +  </PropertyGroup>
   30.19 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   30.20 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
   30.21 +    <ConfigurationType>Application</ConfigurationType>
   30.22 +    <UseOfMfc>false</UseOfMfc>
   30.23 +  </PropertyGroup>
   30.24 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
   30.25 +    <ConfigurationType>Application</ConfigurationType>
   30.26 +    <UseOfMfc>false</UseOfMfc>
   30.27 +  </PropertyGroup>
   30.28 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
   30.29 +  <ImportGroup Label="ExtensionSettings">
   30.30 +  </ImportGroup>
   30.31 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
   30.32 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   30.33 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   30.34 +  </ImportGroup>
   30.35 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
   30.36 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   30.37 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   30.38 +  </ImportGroup>
   30.39 +  <PropertyGroup Label="UserMacros" />
   30.40 +  <PropertyGroup>
   30.41 +    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
   30.42 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
   30.43 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
   30.44 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
   30.45 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
   30.46 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   30.47 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
   30.48 +  </PropertyGroup>
   30.49 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   30.50 +    <Midl>
   30.51 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   30.52 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   30.53 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   30.54 +      <TargetEnvironment>Win32</TargetEnvironment>
   30.55 +      <TypeLibraryName>.\Release/testvidinfo.tlb</TypeLibraryName>
   30.56 +    </Midl>
   30.57 +    <ClCompile>
   30.58 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   30.59 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   30.60 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   30.61 +      <StringPooling>true</StringPooling>
   30.62 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   30.63 +      <FunctionLevelLinking>true</FunctionLevelLinking>
   30.64 +      <PrecompiledHeader>
   30.65 +      </PrecompiledHeader>
   30.66 +      <PrecompiledHeaderOutputFile>.\Release/testvidinfo.pch</PrecompiledHeaderOutputFile>
   30.67 +      <AssemblerListingLocation>.\Release/</AssemblerListingLocation>
   30.68 +      <ObjectFileName>.\Release/</ObjectFileName>
   30.69 +      <ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
   30.70 +      <WarningLevel>Level3</WarningLevel>
   30.71 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   30.72 +      <CompileAs>Default</CompileAs>
   30.73 +    </ClCompile>
   30.74 +    <ResourceCompile>
   30.75 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   30.76 +      <Culture>0x0409</Culture>
   30.77 +    </ResourceCompile>
   30.78 +    <Link>
   30.79 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
   30.80 +      <OutputFile>.\Release/testvidinfo.exe</OutputFile>
   30.81 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   30.82 +      <ProgramDatabaseFile>.\Release/testvidinfo.pdb</ProgramDatabaseFile>
   30.83 +      <SubSystem>Windows</SubSystem>
   30.84 +    </Link>
   30.85 +  </ItemDefinitionGroup>
   30.86 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   30.87 +    <Midl>
   30.88 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   30.89 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   30.90 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   30.91 +      <TargetEnvironment>Win32</TargetEnvironment>
   30.92 +      <TypeLibraryName>.\Debug/testvidinfo.tlb</TypeLibraryName>
   30.93 +    </Midl>
   30.94 +    <ClCompile>
   30.95 +      <Optimization>Disabled</Optimization>
   30.96 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   30.97 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   30.98 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   30.99 +      <PrecompiledHeader>
  30.100 +      </PrecompiledHeader>
  30.101 +      <PrecompiledHeaderOutputFile>.\Debug/testvidinfo.pch</PrecompiledHeaderOutputFile>
  30.102 +      <AssemblerListingLocation>.\Debug/</AssemblerListingLocation>
  30.103 +      <ObjectFileName>.\Debug/</ObjectFileName>
  30.104 +      <ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName>
  30.105 +      <WarningLevel>Level3</WarningLevel>
  30.106 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  30.107 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
  30.108 +      <CompileAs>Default</CompileAs>
  30.109 +    </ClCompile>
  30.110 +    <ResourceCompile>
  30.111 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  30.112 +      <Culture>0x0409</Culture>
  30.113 +    </ResourceCompile>
  30.114 +    <Link>
  30.115 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
  30.116 +      <OutputFile>.\Debug/testvidinfo.exe</OutputFile>
  30.117 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  30.118 +      <GenerateDebugInformation>true</GenerateDebugInformation>
  30.119 +      <ProgramDatabaseFile>.\Debug/testvidinfo.pdb</ProgramDatabaseFile>
  30.120 +      <SubSystem>Windows</SubSystem>
  30.121 +    </Link>
  30.122 +  </ItemDefinitionGroup>
  30.123 +  <ItemGroup>
  30.124 +    <Library Include="..\..\Sdl\Debug\SDL.lib" />
  30.125 +    <Library Include="..\..\SDLmain\Debug\SDLmain.lib" />
  30.126 +  </ItemGroup>
  30.127 +  <ItemGroup>
  30.128 +    <ClCompile Include="..\..\..\Test\testvidinfo.c" />
  30.129 +  </ItemGroup>
  30.130 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  30.131 +  <ImportGroup Label="ExtensionTargets">
  30.132 +  </ImportGroup>
  30.133 +</Project>
  30.134 \ No newline at end of file
    31.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    31.2 +++ b/VisualC/tests/testwin/testwin.vcxproj	Sun Aug 22 13:45:56 2010 -0700
    31.3 @@ -0,0 +1,130 @@
    31.4 +<?xml version="1.0" encoding="utf-8"?>
    31.5 +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    31.6 +  <ItemGroup Label="ProjectConfigurations">
    31.7 +    <ProjectConfiguration Include="Debug|Win32">
    31.8 +      <Configuration>Debug</Configuration>
    31.9 +      <Platform>Win32</Platform>
   31.10 +    </ProjectConfiguration>
   31.11 +    <ProjectConfiguration Include="Release|Win32">
   31.12 +      <Configuration>Release</Configuration>
   31.13 +      <Platform>Win32</Platform>
   31.14 +    </ProjectConfiguration>
   31.15 +  </ItemGroup>
   31.16 +  <PropertyGroup Label="Globals">
   31.17 +    <ProjectGuid>{0FFD1A21-11DB-492C-A989-E4F195B0C441}</ProjectGuid>
   31.18 +  </PropertyGroup>
   31.19 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   31.20 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
   31.21 +    <ConfigurationType>Application</ConfigurationType>
   31.22 +    <UseOfMfc>false</UseOfMfc>
   31.23 +  </PropertyGroup>
   31.24 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
   31.25 +    <ConfigurationType>Application</ConfigurationType>
   31.26 +    <UseOfMfc>false</UseOfMfc>
   31.27 +  </PropertyGroup>
   31.28 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
   31.29 +  <ImportGroup Label="ExtensionSettings">
   31.30 +  </ImportGroup>
   31.31 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
   31.32 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   31.33 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   31.34 +  </ImportGroup>
   31.35 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
   31.36 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   31.37 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   31.38 +  </ImportGroup>
   31.39 +  <PropertyGroup Label="UserMacros" />
   31.40 +  <PropertyGroup>
   31.41 +    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
   31.42 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
   31.43 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   31.44 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
   31.45 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
   31.46 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
   31.47 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
   31.48 +  </PropertyGroup>
   31.49 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   31.50 +    <Midl>
   31.51 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   31.52 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   31.53 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   31.54 +      <TargetEnvironment>Win32</TargetEnvironment>
   31.55 +      <TypeLibraryName>.\Debug/testwin.tlb</TypeLibraryName>
   31.56 +    </Midl>
   31.57 +    <ClCompile>
   31.58 +      <Optimization>Disabled</Optimization>
   31.59 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   31.60 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   31.61 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   31.62 +      <PrecompiledHeader>
   31.63 +      </PrecompiledHeader>
   31.64 +      <PrecompiledHeaderOutputFile>.\Debug/testwin.pch</PrecompiledHeaderOutputFile>
   31.65 +      <AssemblerListingLocation>.\Debug/</AssemblerListingLocation>
   31.66 +      <ObjectFileName>.\Debug/</ObjectFileName>
   31.67 +      <ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName>
   31.68 +      <WarningLevel>Level3</WarningLevel>
   31.69 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   31.70 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
   31.71 +      <CompileAs>Default</CompileAs>
   31.72 +    </ClCompile>
   31.73 +    <ResourceCompile>
   31.74 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   31.75 +      <Culture>0x0409</Culture>
   31.76 +    </ResourceCompile>
   31.77 +    <Link>
   31.78 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
   31.79 +      <OutputFile>.\Debug/testwin.exe</OutputFile>
   31.80 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   31.81 +      <GenerateDebugInformation>true</GenerateDebugInformation>
   31.82 +      <ProgramDatabaseFile>.\Debug/testwin.pdb</ProgramDatabaseFile>
   31.83 +      <SubSystem>Windows</SubSystem>
   31.84 +    </Link>
   31.85 +  </ItemDefinitionGroup>
   31.86 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   31.87 +    <Midl>
   31.88 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   31.89 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   31.90 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   31.91 +      <TargetEnvironment>Win32</TargetEnvironment>
   31.92 +      <TypeLibraryName>.\Release/testwin.tlb</TypeLibraryName>
   31.93 +    </Midl>
   31.94 +    <ClCompile>
   31.95 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   31.96 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   31.97 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   31.98 +      <StringPooling>true</StringPooling>
   31.99 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  31.100 +      <FunctionLevelLinking>true</FunctionLevelLinking>
  31.101 +      <PrecompiledHeader>
  31.102 +      </PrecompiledHeader>
  31.103 +      <PrecompiledHeaderOutputFile>.\Release/testwin.pch</PrecompiledHeaderOutputFile>
  31.104 +      <AssemblerListingLocation>.\Release/</AssemblerListingLocation>
  31.105 +      <ObjectFileName>.\Release/</ObjectFileName>
  31.106 +      <ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
  31.107 +      <WarningLevel>Level3</WarningLevel>
  31.108 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  31.109 +      <CompileAs>Default</CompileAs>
  31.110 +    </ClCompile>
  31.111 +    <ResourceCompile>
  31.112 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  31.113 +      <Culture>0x0409</Culture>
  31.114 +    </ResourceCompile>
  31.115 +    <Link>
  31.116 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
  31.117 +      <OutputFile>.\Release/testwin.exe</OutputFile>
  31.118 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  31.119 +      <ProgramDatabaseFile>.\Release/testwin.pdb</ProgramDatabaseFile>
  31.120 +      <SubSystem>Windows</SubSystem>
  31.121 +    </Link>
  31.122 +  </ItemDefinitionGroup>
  31.123 +  <ItemGroup>
  31.124 +    <Library Include="..\..\Sdl\Debug\SDL.lib" />
  31.125 +    <Library Include="..\..\SDLmain\Debug\SDLmain.lib" />
  31.126 +  </ItemGroup>
  31.127 +  <ItemGroup>
  31.128 +    <ClCompile Include="..\..\..\Test\Testwin.c" />
  31.129 +  </ItemGroup>
  31.130 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  31.131 +  <ImportGroup Label="ExtensionTargets">
  31.132 +  </ImportGroup>
  31.133 +</Project>
  31.134 \ No newline at end of file
    32.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    32.2 +++ b/VisualC/tests/testwm/testwm.vcxproj	Sun Aug 22 13:45:56 2010 -0700
    32.3 @@ -0,0 +1,130 @@
    32.4 +<?xml version="1.0" encoding="utf-8"?>
    32.5 +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    32.6 +  <ItemGroup Label="ProjectConfigurations">
    32.7 +    <ProjectConfiguration Include="Debug|Win32">
    32.8 +      <Configuration>Debug</Configuration>
    32.9 +      <Platform>Win32</Platform>
   32.10 +    </ProjectConfiguration>
   32.11 +    <ProjectConfiguration Include="Release|Win32">
   32.12 +      <Configuration>Release</Configuration>
   32.13 +      <Platform>Win32</Platform>
   32.14 +    </ProjectConfiguration>
   32.15 +  </ItemGroup>
   32.16 +  <PropertyGroup Label="Globals">
   32.17 +    <ProjectGuid>{6AF0724B-BAC1-4C9D-AFBF-F63B4A2FB8FB}</ProjectGuid>
   32.18 +  </PropertyGroup>
   32.19 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   32.20 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
   32.21 +    <ConfigurationType>Application</ConfigurationType>
   32.22 +    <UseOfMfc>false</UseOfMfc>
   32.23 +  </PropertyGroup>
   32.24 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
   32.25 +    <ConfigurationType>Application</ConfigurationType>
   32.26 +    <UseOfMfc>false</UseOfMfc>
   32.27 +  </PropertyGroup>
   32.28 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
   32.29 +  <ImportGroup Label="ExtensionSettings">
   32.30 +  </ImportGroup>
   32.31 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
   32.32 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   32.33 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   32.34 +  </ImportGroup>
   32.35 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
   32.36 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   32.37 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   32.38 +  </ImportGroup>
   32.39 +  <PropertyGroup Label="UserMacros" />
   32.40 +  <PropertyGroup>
   32.41 +    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
   32.42 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
   32.43 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   32.44 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
   32.45 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
   32.46 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
   32.47 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
   32.48 +  </PropertyGroup>
   32.49 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   32.50 +    <Midl>
   32.51 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   32.52 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   32.53 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   32.54 +      <TargetEnvironment>Win32</TargetEnvironment>
   32.55 +      <TypeLibraryName>.\Debug/testwm.tlb</TypeLibraryName>
   32.56 +    </Midl>
   32.57 +    <ClCompile>
   32.58 +      <Optimization>Disabled</Optimization>
   32.59 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   32.60 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   32.61 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   32.62 +      <PrecompiledHeader>
   32.63 +      </PrecompiledHeader>
   32.64 +      <PrecompiledHeaderOutputFile>.\Debug/testwm.pch</PrecompiledHeaderOutputFile>
   32.65 +      <AssemblerListingLocation>.\Debug/</AssemblerListingLocation>
   32.66 +      <ObjectFileName>.\Debug/</ObjectFileName>
   32.67 +      <ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName>
   32.68 +      <WarningLevel>Level3</WarningLevel>
   32.69 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   32.70 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
   32.71 +      <CompileAs>Default</CompileAs>
   32.72 +    </ClCompile>
   32.73 +    <ResourceCompile>
   32.74 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   32.75 +      <Culture>0x0409</Culture>
   32.76 +    </ResourceCompile>
   32.77 +    <Link>
   32.78 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
   32.79 +      <OutputFile>.\Debug/testwm.exe</OutputFile>
   32.80 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   32.81 +      <GenerateDebugInformation>true</GenerateDebugInformation>
   32.82 +      <ProgramDatabaseFile>.\Debug/testwm.pdb</ProgramDatabaseFile>
   32.83 +      <SubSystem>Windows</SubSystem>
   32.84 +    </Link>
   32.85 +  </ItemDefinitionGroup>
   32.86 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   32.87 +    <Midl>
   32.88 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   32.89 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   32.90 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   32.91 +      <TargetEnvironment>Win32</TargetEnvironment>
   32.92 +      <TypeLibraryName>.\Release/testwm.tlb</TypeLibraryName>
   32.93 +    </Midl>
   32.94 +    <ClCompile>
   32.95 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   32.96 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   32.97 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   32.98 +      <StringPooling>true</StringPooling>
   32.99 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  32.100 +      <FunctionLevelLinking>true</FunctionLevelLinking>
  32.101 +      <PrecompiledHeader>
  32.102 +      </PrecompiledHeader>
  32.103 +      <PrecompiledHeaderOutputFile>.\Release/testwm.pch</PrecompiledHeaderOutputFile>
  32.104 +      <AssemblerListingLocation>.\Release/</AssemblerListingLocation>
  32.105 +      <ObjectFileName>.\Release/</ObjectFileName>
  32.106 +      <ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
  32.107 +      <WarningLevel>Level3</WarningLevel>
  32.108 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  32.109 +      <CompileAs>Default</CompileAs>
  32.110 +    </ClCompile>
  32.111 +    <ResourceCompile>
  32.112 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  32.113 +      <Culture>0x0409</Culture>
  32.114 +    </ResourceCompile>
  32.115 +    <Link>
  32.116 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
  32.117 +      <OutputFile>.\Release/testwm.exe</OutputFile>
  32.118 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  32.119 +      <ProgramDatabaseFile>.\Release/testwm.pdb</ProgramDatabaseFile>
  32.120 +      <SubSystem>Windows</SubSystem>
  32.121 +    </Link>
  32.122 +  </ItemDefinitionGroup>
  32.123 +  <ItemGroup>
  32.124 +    <Library Include="..\..\Sdl\Debug\SDL.lib" />
  32.125 +    <Library Include="..\..\SDLmain\Debug\SDLmain.lib" />
  32.126 +  </ItemGroup>
  32.127 +  <ItemGroup>
  32.128 +    <ClCompile Include="..\..\..\test\testwm.c" />
  32.129 +  </ItemGroup>
  32.130 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  32.131 +  <ImportGroup Label="ExtensionTargets">
  32.132 +  </ImportGroup>
  32.133 +</Project>
  32.134 \ No newline at end of file
    33.1 --- a/Xcode/SDL/SDL.xcodeproj/project.pbxproj	Sun Aug 22 12:39:56 2010 -0700
    33.2 +++ b/Xcode/SDL/SDL.xcodeproj/project.pbxproj	Sun Aug 22 13:45:56 2010 -0700
    33.3 @@ -486,6 +486,13 @@
    33.4  		8CB0A78111F6A8E700CBA2DE /* SDL_touch.c in Sources */ = {isa = PBXBuildFile; fileRef = 8CB0A77D11F6A8E700CBA2DE /* SDL_touch.c */; };
    33.5  		8CB0A78711F6A90B00CBA2DE /* SDL_eventtouch.c in Sources */ = {isa = PBXBuildFile; fileRef = 8CB0A78511F6A90B00CBA2DE /* SDL_eventtouch.c */; };
    33.6  		8CB0A78811F6A90B00CBA2DE /* SDL_eventtouch.h in Headers */ = {isa = PBXBuildFile; fileRef = 8CB0A78611F6A90B00CBA2DE /* SDL_eventtouch.h */; };
    33.7 +		4537737D1207C4CE002F0F45 /* SDL_shape_internals.h in Headers */ = {isa = PBXBuildFile; fileRef = 4537737B1207C4CE002F0F45 /* SDL_shape_internals.h */; };
    33.8 +		4537737E1207C4CE002F0F45 /* SDL_shape.c in Sources */ = {isa = PBXBuildFile; fileRef = 4537737C1207C4CE002F0F45 /* SDL_shape.c */; };
    33.9 +		453773821207C518002F0F45 /* SDL_shape.h in Headers */ = {isa = PBXBuildFile; fileRef = 453773811207C518002F0F45 /* SDL_shape.h */; };
   33.10 +		453773891207C5A2002F0F45 /* SDL_cocoashape.h in Headers */ = {isa = PBXBuildFile; fileRef = 453773871207C5A2002F0F45 /* SDL_cocoashape.h */; };
   33.11 +		4537738A1207C5A2002F0F45 /* SDL_cocoashape.m in Sources */ = {isa = PBXBuildFile; fileRef = 453773881207C5A2002F0F45 /* SDL_cocoashape.m */; };
   33.12 +		453773921207C6E9002F0F45 /* SDL_x11shape.c in Sources */ = {isa = PBXBuildFile; fileRef = 453773901207C6E9002F0F45 /* SDL_x11shape.c */; };
   33.13 +		453773931207C6E9002F0F45 /* SDL_x11shape.h in Headers */ = {isa = PBXBuildFile; fileRef = 453773911207C6E9002F0F45 /* SDL_x11shape.h */; };
   33.14  		BECDF62E0761BA81005FE872 /* SDL_audio.c in Sources */ = {isa = PBXBuildFile; fileRef = 01538330006D78D67F000001 /* SDL_audio.c */; };
   33.15  		BECDF62F0761BA81005FE872 /* SDL_audiocvt.c in Sources */ = {isa = PBXBuildFile; fileRef = 01538331006D78D67F000001 /* SDL_audiocvt.c */; };
   33.16  		BECDF6300761BA81005FE872 /* SDL_audiodev.c in Sources */ = {isa = PBXBuildFile; fileRef = 01538332006D78D67F000001 /* SDL_audiodev.c */; };
   33.17 @@ -885,6 +892,13 @@
   33.18  		8CB0A77D11F6A8E700CBA2DE /* SDL_touch.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_touch.c; sourceTree = "<group>"; };
   33.19  		8CB0A78511F6A90B00CBA2DE /* SDL_eventtouch.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_eventtouch.c; sourceTree = "<group>"; };
   33.20  		8CB0A78611F6A90B00CBA2DE /* SDL_eventtouch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_eventtouch.h; sourceTree = "<group>"; };
   33.21 +		4537737B1207C4CE002F0F45 /* SDL_shape_internals.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_shape_internals.h; sourceTree = "<group>"; };
   33.22 +		4537737C1207C4CE002F0F45 /* SDL_shape.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_shape.c; sourceTree = "<group>"; };
   33.23 +		453773811207C518002F0F45 /* SDL_shape.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SDL_shape.h; path = ../../include/SDL_shape.h; sourceTree = SOURCE_ROOT; };
   33.24 +		453773871207C5A2002F0F45 /* SDL_cocoashape.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_cocoashape.h; sourceTree = "<group>"; };
   33.25 +		453773881207C5A2002F0F45 /* SDL_cocoashape.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDL_cocoashape.m; sourceTree = "<group>"; };
   33.26 +		453773901207C6E9002F0F45 /* SDL_x11shape.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_x11shape.c; sourceTree = "<group>"; };
   33.27 +		453773911207C6E9002F0F45 /* SDL_x11shape.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_x11shape.h; sourceTree = "<group>"; };
   33.28  		B24DA50405A88D52006B9F1C /* SDL_cpuinfo.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_cpuinfo.c; sourceTree = "<group>"; };
   33.29  		B29A290D04E5B28700A80002 /* SDL_loadso.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_loadso.h; path = ../../include/SDL_loadso.h; sourceTree = "<group>"; };
   33.30  		B2CF8DC405C444E400E5DC7F /* SDL_cpuinfo.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_cpuinfo.h; path = ../../include/SDL_cpuinfo.h; sourceTree = SOURCE_ROOT; };
   33.31 @@ -1105,6 +1119,8 @@
   33.32  				00CFA70B106B498A00758660 /* SDL_cocoamouse.m */,
   33.33  				00CFA70C106B498A00758660 /* SDL_cocoaopengl.h */,
   33.34  				00CFA70D106B498A00758660 /* SDL_cocoaopengl.m */,
   33.35 +				453773871207C5A2002F0F45 /* SDL_cocoashape.h */,
   33.36 +				453773881207C5A2002F0F45 /* SDL_cocoashape.m */,
   33.37  				00CFA70E106B498A00758660 /* SDL_cocoavideo.h */,
   33.38  				00CFA70F106B498A00758660 /* SDL_cocoavideo.m */,
   33.39  				00CFA710106B498A00758660 /* SDL_cocoawindow.h */,
   33.40 @@ -1153,6 +1169,8 @@
   33.41  				00CFA72B106B498B00758660 /* SDL_x11opengles.h */,
   33.42  				00CFA72C106B498B00758660 /* SDL_x11render.c */,
   33.43  				00CFA72D106B498B00758660 /* SDL_x11render.h */,
   33.44 +				453773901207C6E9002F0F45 /* SDL_x11shape.c */,
   33.45 +				453773911207C6E9002F0F45 /* SDL_x11shape.h */,
   33.46  				00CFA72E106B498B00758660 /* SDL_x11sym.h */,
   33.47  				00CFA72F106B498B00758660 /* SDL_x11video.c */,
   33.48  				00CFA730106B498B00758660 /* SDL_x11video.h */,
   33.49 @@ -1480,6 +1498,8 @@
   33.50  				00CFA80E106B49B600758660 /* SDL_renderer_sw.h */,
   33.51  				00CFA80F106B49B600758660 /* SDL_RLEaccel_c.h */,
   33.52  				00CFA810106B49B600758660 /* SDL_RLEaccel.c */,
   33.53 +				4537737C1207C4CE002F0F45 /* SDL_shape.c */,
   33.54 +				4537737B1207C4CE002F0F45 /* SDL_shape_internals.h */,
   33.55  				00CFA811106B49B600758660 /* SDL_stretch.c */,
   33.56  				00CFA812106B49B600758660 /* SDL_surface.c */,
   33.57  				00CFA813106B49B600758660 /* SDL_sysvideo.h */,
   33.58 @@ -1535,6 +1555,7 @@
   33.59  				00A6EBD91078D569001EEA06 /* SDL_revision.h */,
   33.60  				0C5AF5F801191D2B7F000001 /* SDL_rwops.h */,
   33.61  				00CFA680106B44CE00758660 /* SDL_scancode.h */,
   33.62 +				453773811207C518002F0F45 /* SDL_shape.h */,
   33.63  				00162D3909BD1FA90037C8D0 /* SDL_stdinc.h */,
   33.64  				00CFA681106B44CE00758660 /* SDL_surface.h */,
   33.65  				0C5AF5F901191D2B7F000001 /* SDL_syswm.h */,
   33.66 @@ -1843,6 +1864,10 @@
   33.67  				8CB0A77E11F6A8E700CBA2DE /* SDL_gesture_c.h in Headers */,
   33.68  				8CB0A78011F6A8E700CBA2DE /* SDL_touch_c.h in Headers */,
   33.69  				8CB0A78811F6A90B00CBA2DE /* SDL_eventtouch.h in Headers */,
   33.70 +				4537737D1207C4CE002F0F45 /* SDL_shape_internals.h in Headers */,
   33.71 +				453773821207C518002F0F45 /* SDL_shape.h in Headers */,
   33.72 +				453773891207C5A2002F0F45 /* SDL_cocoashape.h in Headers */,
   33.73 +				453773931207C6E9002F0F45 /* SDL_x11shape.h in Headers */,
   33.74  			);
   33.75  			runOnlyForDeploymentPostprocessing = 0;
   33.76  		};
   33.77 @@ -2319,6 +2344,9 @@
   33.78  				8CB0A77F11F6A8E700CBA2DE /* SDL_gesture.c in Sources */,
   33.79  				8CB0A78111F6A8E700CBA2DE /* SDL_touch.c in Sources */,
   33.80  				8CB0A78711F6A90B00CBA2DE /* SDL_eventtouch.c in Sources */,
   33.81 +				4537737E1207C4CE002F0F45 /* SDL_shape.c in Sources */,
   33.82 +				4537738A1207C5A2002F0F45 /* SDL_cocoashape.m in Sources */,
   33.83 +				453773921207C6E9002F0F45 /* SDL_x11shape.c in Sources */,
   33.84  			);
   33.85  			runOnlyForDeploymentPostprocessing = 0;
   33.86  		};
    34.1 --- a/Xcode/SDLTest/SDLTest.xcodeproj/project.pbxproj	Sun Aug 22 12:39:56 2010 -0700
    34.2 +++ b/Xcode/SDLTest/SDLTest.xcodeproj/project.pbxproj	Sun Aug 22 13:45:56 2010 -0700
    34.3 @@ -609,6 +609,8 @@
    34.4  		00794F0B09D238F4003FC8A1 /* sample.bmp in CopyFiles */ = {isa = PBXBuildFile; fileRef = 00794E6109D20839003FC8A1 /* sample.bmp */; };
    34.5  		00794F1109D2392B003FC8A1 /* icon.bmp in CopyFiles */ = {isa = PBXBuildFile; fileRef = 00794E5D09D20839003FC8A1 /* icon.bmp */; };
    34.6  		00794F8709D2413B003FC8A1 /* sample.bmp in CopyFiles */ = {isa = PBXBuildFile; fileRef = 00794E6109D20839003FC8A1 /* sample.bmp */; };
    34.7 +		4537749F12091551002F0F45 /* libsdlcommon.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEC567FF0761D90600A33029 /* libsdlcommon.a */; };
    34.8 +		453774A5120915E3002F0F45 /* testshape.c in Sources */ = {isa = PBXBuildFile; fileRef = 453774A4120915E3002F0F45 /* testshape.c */; };
    34.9  		BEC566B10761D90300A33029 /* checkkeys.c in Sources */ = {isa = PBXBuildFile; fileRef = 092D6D10FFB30A2C7F000001 /* checkkeys.c */; };
   34.10  		BEC566BE0761D90300A33029 /* graywin.c in Sources */ = {isa = PBXBuildFile; fileRef = 092D6D1BFFB30C237F000001 /* graywin.c */; };
   34.11  		BEC566CB0761D90300A33029 /* loopwave.c in Sources */ = {isa = PBXBuildFile; fileRef = 083E4872006D84C97F000001 /* loopwave.c */; };
   34.12 @@ -1178,6 +1180,20 @@
   34.13  			remoteGlobalIDString = BECDF6C30761BA81005FE872;
   34.14  			remoteInfo = "Devel Extras Package";
   34.15  		};
   34.16 +		4537747F120914AE002F0F45 /* PBXContainerItemProxy */ = {
   34.17 +			isa = PBXContainerItemProxy;
   34.18 +			containerPortal = 003FA63A093FFD41000C53B3 /* SDL.xcodeproj */;
   34.19 +			proxyType = 2;
   34.20 +			remoteGlobalIDString = 00D8D9EF1195090700638393;
   34.21 +			remoteInfo = testsdl;
   34.22 +		};
   34.23 +		4537749D1209152D002F0F45 /* PBXContainerItemProxy */ = {
   34.24 +			isa = PBXContainerItemProxy;
   34.25 +			containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */;
   34.26 +			proxyType = 1;
   34.27 +			remoteGlobalIDString = BEC567F70761D90600A33029;
   34.28 +			remoteInfo = sdlcommon;
   34.29 +		};
   34.30  		BEC568300761D90600A33029 /* PBXContainerItemProxy */ = {
   34.31  			isa = PBXContainerItemProxy;
   34.32  			containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */;
   34.33 @@ -1551,6 +1567,9 @@
   34.34  		092D6D62FFB312AA7F000001 /* testjoystick.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testjoystick.c; path = ../../test/testjoystick.c; sourceTree = SOURCE_ROOT; };
   34.35  		092D6D6CFFB313437F000001 /* testkeys.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testkeys.c; path = ../../test/testkeys.c; sourceTree = SOURCE_ROOT; };
   34.36  		092D6D75FFB313BB7F000001 /* testlock.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testlock.c; path = ../../test/testlock.c; sourceTree = SOURCE_ROOT; };
   34.37 +		4537749212091504002F0F45 /* testshape.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = testshape.app; sourceTree = BUILT_PRODUCTS_DIR; };
   34.38 +		4537749412091505002F0F45 /* testshape-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "testshape-Info.plist"; sourceTree = "<group>"; };
   34.39 +		453774A4120915E3002F0F45 /* testshape.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = testshape.c; path = ../../test/testshape.c; sourceTree = SOURCE_ROOT; };
   34.40  		B207FF2404E1B19600A80002 /* sdlcommon_prefix.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = sdlcommon_prefix.h; sourceTree = "<group>"; };
   34.41  		BEC566B60761D90300A33029 /* checkkeys.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = checkkeys.app; sourceTree = BUILT_PRODUCTS_DIR; };
   34.42  		BEC566C30761D90300A33029 /* graywin.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = graywin.app; sourceTree = BUILT_PRODUCTS_DIR; };
   34.43 @@ -1995,6 +2014,14 @@
   34.44  			);
   34.45  			runOnlyForDeploymentPostprocessing = 0;
   34.46  		};
   34.47 +		4537749012091504002F0F45 /* Frameworks */ = {
   34.48 +			isa = PBXFrameworksBuildPhase;
   34.49 +			buildActionMask = 2147483647;
   34.50 +			files = (
   34.51 +				4537749F12091551002F0F45 /* libsdlcommon.a in Frameworks */,
   34.52 +			);
   34.53 +			runOnlyForDeploymentPostprocessing = 0;
   34.54 +		};
   34.55  		BEC566B20761D90300A33029 /* Frameworks */ = {
   34.56  			isa = PBXFrameworksBuildPhase;
   34.57  			buildActionMask = 2147483647;
   34.58 @@ -2468,6 +2495,7 @@
   34.59  				003FA645093FFD41000C53B3 /* libSDL.a */,
   34.60  				003FA649093FFD41000C53B3 /* Standard DMG */,
   34.61  				003FA64B093FFD41000C53B3 /* Developer Extras Package */,
   34.62 +				45377480120914AE002F0F45 /* testsdl.app */,
   34.63  			);
   34.64  			name = Products;
   34.65  			sourceTree = "<group>";
   34.66 @@ -2495,6 +2523,7 @@
   34.67  				002F33A209CA183B00EBEB88 /* Linked Frameworks */,
   34.68  				00794E4609D207B4003FC8A1 /* Resources */,
   34.69  				1AB674ADFE9D54B511CA2CBB /* Products */,
   34.70 +				4537749412091505002F0F45 /* testshape-Info.plist */,
   34.71  			);
   34.72  			comments = "I made these tests link against our \"default\" framework which includes X11 stuff. If you didn't install the X11 headers with Xcode, you might have problems building the SDL.framework (which is a dependency). You can swap the dependencies around to get around this, or you can modify the default SDL.framework target to not include X11 stuff. (Go into its target build options and remove all the Preprocessor macros.)\n\n\n\nWe are sort of in a half-way state at the moment. Going \"all-the-way\" means we copy the SDL.framework inside the app bundle so we can run the test without the step of the user \"installing\" the framework. But there is an oversight/bug in Xcode that doesn't correctly find the location of the framework when in an embedded/nested Xcode project. We could probably try to hack this with a shell script that checks multiple directories for existence, but this is messier and more work than I prefer, so I rather just wait for Apple to fix this. In the meantime...\n\nThe \"All\" target will build the SDL framework from the Xcode project. The other targets do not have this dependency set (for flexibility reasons in case we make changes). If you have not built the framework, you will probably be unable to link. You will either need to build the framework, or you need to add \"-framework SDL\" to the link options and make sure you have the SDL.framework installed somewhere where it can be seen (like /Library/Frameworks...I think we already set this one up.) \n\nTo run though, you should have a copy of the SDL.framework in /Library/Frameworks or ~/Library/Frameworks.\n\n\n\n\ntestgl and testdyngl need -DHAVE_OPENGL\ntestgl needs to link against OpenGL.framework\n\n";
   34.73  			name = SDLTest;
   34.74 @@ -2543,6 +2572,7 @@
   34.75  				001798B910743A4900F5D044 /* testpower.c */,
   34.76  				001798F910743E9200F5D044 /* testresample.c */,
   34.77  				083E487E006D86A17F000001 /* testsem.c */,
   34.78 +				453774A4120915E3002F0F45 /* testshape.c */,
   34.79  				083E487F006D86A17F000001 /* testsprite.c */,
   34.80  				0017991910743F5300F5D044 /* testsprite2.c */,
   34.81  				083E4880006D86A17F000001 /* testtimer.c */,
   34.82 @@ -2608,6 +2638,7 @@
   34.83  				001798F210743BEC00F5D044 /* testresample.app */,
   34.84  				0017991610743F1000F5D044 /* testsprite2.app */,
   34.85  				0017993810743FB700F5D044 /* testwm2.app */,
   34.86 +				4537749212091504002F0F45 /* testshape.app */,
   34.87  			);
   34.88  			name = Products;
   34.89  			sourceTree = "<group>";
   34.90 @@ -3421,6 +3452,24 @@
   34.91  			productReference = 002F346A09CA204F00EBEB88 /* testplatform.app */;
   34.92  			productType = "com.apple.product-type.application";
   34.93  		};
   34.94 +		4537749112091504002F0F45 /* testshape */ = {
   34.95 +			isa = PBXNativeTarget;
   34.96 +			buildConfigurationList = 4537749A1209150C002F0F45 /* Build configuration list for PBXNativeTarget "testshape" */;
   34.97 +			buildPhases = (
   34.98 +				4537748E12091504002F0F45 /* Resources */,
   34.99 +				4537748F12091504002F0F45 /* Sources */,
  34.100 +				4537749012091504002F0F45 /* Frameworks */,
  34.101 +			);
  34.102 +			buildRules = (
  34.103 +			);
  34.104 +			dependencies = (
  34.105 +				4537749E1209152D002F0F45 /* PBXTargetDependency */,
  34.106 +			);
  34.107 +			name = testshape;
  34.108 +			productName = testshape;
  34.109 +			productReference = 4537749212091504002F0F45 /* testshape.app */;
  34.110 +			productType = "com.apple.product-type.application";
  34.111 +		};
  34.112  		BEC566AB0761D90300A33029 /* checkkeys */ = {
  34.113  			isa = PBXNativeTarget;
  34.114  			buildConfigurationList = 001B593808BDB826006539E9 /* Build configuration list for PBXNativeTarget "checkkeys" */;
  34.115 @@ -3996,6 +4045,7 @@
  34.116  				BEC567EA0761D90600A33029 /* torturethread */,
  34.117  				BEC567F70761D90600A33029 /* sdlcommon */,
  34.118  				002F337009CA14F900EBEB88 /* test */,
  34.119 +				4537749112091504002F0F45 /* testshape */,
  34.120  			);
  34.121  		};
  34.122  /* End PBXProject section */
  34.123 @@ -4029,6 +4079,13 @@
  34.124  			remoteRef = 003FA64A093FFD41000C53B3 /* PBXContainerItemProxy */;
  34.125  			sourceTree = BUILT_PRODUCTS_DIR;
  34.126  		};
  34.127 +		45377480120914AE002F0F45 /* testsdl.app */ = {
  34.128 +			isa = PBXReferenceProxy;
  34.129 +			fileType = wrapper.application;
  34.130 +			path = testsdl.app;
  34.131 +			remoteRef = 4537747F120914AE002F0F45 /* PBXContainerItemProxy */;
  34.132 +			sourceTree = BUILT_PRODUCTS_DIR;
  34.133 +		};
  34.134  /* End PBXReferenceProxy section */
  34.135  
  34.136  /* Begin PBXResourcesBuildPhase section */
  34.137 @@ -4193,6 +4250,13 @@
  34.138  			);
  34.139  			runOnlyForDeploymentPostprocessing = 0;
  34.140  		};
  34.141 +		4537748E12091504002F0F45 /* Resources */ = {
  34.142 +			isa = PBXResourcesBuildPhase;
  34.143 +			buildActionMask = 2147483647;
  34.144 +			files = (
  34.145 +			);
  34.146 +			runOnlyForDeploymentPostprocessing = 0;
  34.147 +		};
  34.148  		BEC566AE0761D90300A33029 /* Resources */ = {
  34.149  			isa = PBXResourcesBuildPhase;
  34.150  			buildActionMask = 2147483647;
  34.151 @@ -4561,6 +4625,14 @@
  34.152  			);
  34.153  			runOnlyForDeploymentPostprocessing = 0;
  34.154  		};
  34.155 +		4537748F12091504002F0F45 /* Sources */ = {
  34.156 +			isa = PBXSourcesBuildPhase;
  34.157 +			buildActionMask = 2147483647;
  34.158 +			files = (
  34.159 +				453774A5120915E3002F0F45 /* testshape.c in Sources */,
  34.160 +			);
  34.161 +			runOnlyForDeploymentPostprocessing = 0;
  34.162 +		};
  34.163  		BEC566B00761D90300A33029 /* Sources */ = {
  34.164  			isa = PBXSourcesBuildPhase;
  34.165  			buildActionMask = 2147483647;
  34.166 @@ -5114,6 +5186,11 @@
  34.167  			target = BEC567F70761D90600A33029 /* sdlcommon */;
  34.168  			targetProxy = 002F345B09CA204F00EBEB88 /* PBXContainerItemProxy */;
  34.169  		};
  34.170 +		4537749E1209152D002F0F45 /* PBXTargetDependency */ = {
  34.171 +			isa = PBXTargetDependency;
  34.172 +			target = BEC567F70761D90600A33029 /* sdlcommon */;
  34.173 +			targetProxy = 4537749D1209152D002F0F45 /* PBXContainerItemProxy */;
  34.174 +		};
  34.175  		BEC568310761D90600A33029 /* PBXTargetDependency */ = {
  34.176  			isa = PBXTargetDependency;
  34.177  			target = BEC567F70761D90600A33029 /* sdlcommon */;
  34.178 @@ -7643,6 +7720,112 @@
  34.179  			};
  34.180  			name = Default;
  34.181  		};
  34.182 +		4537749512091509002F0F45 /* Deployment_using_10.4SDK_and_10.6SDK */ = {
  34.183 +			isa = XCBuildConfiguration;
  34.184 +			buildSettings = {
  34.185 +				ALWAYS_SEARCH_USER_PATHS = NO;
  34.186 +				GCC_ENABLE_FIX_AND_CONTINUE = YES;
  34.187 +				GCC_MODEL_TUNING = G5;
  34.188 +				GCC_PRECOMPILE_PREFIX_HEADER = YES;
  34.189 +				GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h";
  34.190 +				INFOPLIST_FILE = "testshape-Info.plist";
  34.191 +				INSTALL_PATH = "$(HOME)/Applications";
  34.192 +				OTHER_LDFLAGS = (
  34.193 +					"-framework",
  34.194 +					Foundation,
  34.195 +					"-framework",
  34.196 +					AppKit,
  34.197 +				);
  34.198 +				PREBINDING = NO;
  34.199 +				PRODUCT_NAME = testshape;
  34.200 +				RUN_CLANG_STATIC_ANALYZER = YES;
  34.201 +			};
  34.202 +			name = Deployment_using_10.4SDK_and_10.6SDK;
  34.203 +		};
  34.204 +		4537749612091509002F0F45 /* Development_using_10.4SDK_and_10.6SDK */ = {
  34.205 +			isa = XCBuildConfiguration;
  34.206 +			buildSettings = {
  34.207 +				ALWAYS_SEARCH_USER_PATHS = NO;
  34.208 +				GCC_ENABLE_FIX_AND_CONTINUE = YES;
  34.209 +				GCC_MODEL_TUNING = G5;
  34.210 +				GCC_PRECOMPILE_PREFIX_HEADER = YES;
  34.211 +				GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h";
  34.212 +				INFOPLIST_FILE = "testshape-Info.plist";
  34.213 +				INSTALL_PATH = "$(HOME)/Applications";
  34.214 +				OTHER_LDFLAGS = (
  34.215 +					"-framework",
  34.216 +					Foundation,
  34.217 +					"-framework",
  34.218 +					AppKit,
  34.219 +				);
  34.220 +				PREBINDING = NO;
  34.221 +				PRODUCT_NAME = testshape;
  34.222 +			};
  34.223 +			name = Development_using_10.4SDK_and_10.6SDK;
  34.224 +		};
  34.225 +		4537749712091509002F0F45 /* Development_native_only */ = {
  34.226 +			isa = XCBuildConfiguration;
  34.227 +			buildSettings = {
  34.228 +				ALWAYS_SEARCH_USER_PATHS = NO;
  34.229 +				GCC_ENABLE_FIX_AND_CONTINUE = YES;
  34.230 +				GCC_MODEL_TUNING = G5;
  34.231 +				GCC_PRECOMPILE_PREFIX_HEADER = YES;
  34.232 +				GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h";
  34.233 +				INFOPLIST_FILE = "testshape-Info.plist";
  34.234 +				INSTALL_PATH = "$(HOME)/Applications";
  34.235 +				OTHER_LDFLAGS = (
  34.236 +					"-framework",
  34.237 +					Foundation,
  34.238 +					"-framework",
  34.239 +					AppKit,
  34.240 +				);
  34.241 +				PREBINDING = NO;
  34.242 +				PRODUCT_NAME = testshape;
  34.243 +			};
  34.244 +			name = Development_native_only;
  34.245 +		};
  34.246 +		4537749812091509002F0F45 /* Deployment_native_only */ = {
  34.247 +			isa = XCBuildConfiguration;
  34.248 +			buildSettings = {
  34.249 +				ALWAYS_SEARCH_USER_PATHS = NO;
  34.250 +				GCC_ENABLE_FIX_AND_CONTINUE = YES;
  34.251 +				GCC_MODEL_TUNING = G5;
  34.252 +				GCC_PRECOMPILE_PREFIX_HEADER = YES;
  34.253 +				GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h";
  34.254 +				INFOPLIST_FILE = "testshape-Info.plist";
  34.255 +				INSTALL_PATH = "$(HOME)/Applications";
  34.256 +				OTHER_LDFLAGS = (
  34.257 +					"-framework",
  34.258 +					Foundation,
  34.259 +					"-framework",
  34.260 +					AppKit,
  34.261 +				);
  34.262 +				PREBINDING = NO;
  34.263 +				PRODUCT_NAME = testshape;
  34.264 +			};
  34.265 +			name = Deployment_native_only;
  34.266 +		};
  34.267 +		4537749912091509002F0F45 /* Default */ = {
  34.268 +			isa = XCBuildConfiguration;
  34.269 +			buildSettings = {
  34.270 +				ALWAYS_SEARCH_USER_PATHS = NO;
  34.271 +				GCC_ENABLE_FIX_AND_CONTINUE = YES;
  34.272 +				GCC_MODEL_TUNING = G5;
  34.273 +				GCC_PRECOMPILE_PREFIX_HEADER = YES;
  34.274 +				GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h";
  34.275 +				INFOPLIST_FILE = "testshape-Info.plist";
  34.276 +				INSTALL_PATH = "$(HOME)/Applications";
  34.277 +				OTHER_LDFLAGS = (
  34.278 +					"-framework",
  34.279 +					Foundation,
  34.280 +					"-framework",
  34.281 +					AppKit,
  34.282 +				);
  34.283 +				PREBINDING = NO;
  34.284 +				PRODUCT_NAME = testshape;
  34.285 +			};
  34.286 +			name = Default;
  34.287 +		};
  34.288  /* End XCBuildConfiguration section */
  34.289  
  34.290  /* Begin XCConfigurationList section */
  34.291 @@ -8246,6 +8429,18 @@
  34.292  			defaultConfigurationIsVisible = 0;
  34.293  			defaultConfigurationName = Default;
  34.294  		};
  34.295 +		4537749A1209150C002F0F45 /* Build configuration list for PBXNativeTarget "testshape" */ = {
  34.296 +			isa = XCConfigurationList;
  34.297 +			buildConfigurations = (
  34.298 +				4537749512091509002F0F45 /* Deployment_using_10.4SDK_and_10.6SDK */,
  34.299 +				4537749612091509002F0F45 /* Development_using_10.4SDK_and_10.6SDK */,
  34.300 +				4537749712091509002F0F45 /* Development_native_only */,
  34.301 +				4537749812091509002F0F45 /* Deployment_native_only */,
  34.302 +				4537749912091509002F0F45 /* Default */,
  34.303 +			);
  34.304 +			defaultConfigurationIsVisible = 0;
  34.305 +			defaultConfigurationName = Default;
  34.306 +		};
  34.307  /* End XCConfigurationList section */
  34.308  	};
  34.309  	rootObject = 08FB7793FE84155DC02AAC07 /* Project object */;
    35.1 --- a/configure.in	Sun Aug 22 12:39:56 2010 -0700
    35.2 +++ b/configure.in	Sun Aug 22 13:45:56 2010 -0700
    35.3 @@ -1122,6 +1122,19 @@
    35.4                  AC_DEFINE(SDL_VIDEO_DRIVER_X11_XINERAMA)
    35.5                  SOURCES="$SOURCES $srcdir/src/video/Xext/Xinerama/*.c"
    35.6              fi
    35.7 +            AC_ARG_ENABLE(video-x11-xshape,
    35.8 +AC_HELP_STRING([--enable-video-x11-xshape], [enable X11 XShape support [[default=yes]]]),
    35.9 +                            , enable_video_x11_xshape=yes)
   35.10 +            if test x$enable_video_x11_xshape = xyes; then
   35.11 +                AC_CHECK_HEADER(X11/extensions/shape.h,
   35.12 +                                have_shape_h_hdr=yes,
   35.13 +                                have_shape_h_hdr=no,
   35.14 +                                [#include <X11/Xlib.h>
   35.15 +                                ])
   35.16 +                if test x$have_shape_h_hdr = xyes; then
   35.17 +                    AC_DEFINE(SDL_VIDEO_DRIVER_X11_XSHAPE)
   35.18 +                fi
   35.19 +            fi
   35.20              AC_ARG_ENABLE(video-x11-xrandr,
   35.21  AC_HELP_STRING([--enable-video-x11-xrandr], [enable X11 Xrandr extension for fullscreen [[default=yes]]]),
   35.22                              , enable_video_x11_xrandr=yes)
    36.1 --- a/include/SDL_config.h.in	Sun Aug 22 12:39:56 2010 -0700
    36.2 +++ b/include/SDL_config.h.in	Sun Aug 22 13:45:56 2010 -0700
    36.3 @@ -283,8 +283,7 @@
    36.4  #undef SDL_VIDEO_DRIVER_X11_XRENDER
    36.5  #undef SDL_VIDEO_DRIVER_X11_XDAMAGE
    36.6  #undef SDL_VIDEO_DRIVER_X11_XFIXES
    36.7 -
    36.8 -#undef SDL_VIDEO_RENDER_X11
    36.9 +#undef SDL_VIDEO_DRIVER_X11_XSHAPE
   36.10  
   36.11  #undef SDL_VIDEO_RENDER_D3D
   36.12  #undef SDL_VIDEO_RENDER_GDI
    37.1 --- a/include/SDL_config_macosx.h	Sun Aug 22 12:39:56 2010 -0700
    37.2 +++ b/include/SDL_config_macosx.h	Sun Aug 22 13:45:56 2010 -0700
    37.3 @@ -144,6 +144,7 @@
    37.4  #define SDL_VIDEO_DRIVER_X11_XINPUT 1
    37.5  #define SDL_VIDEO_DRIVER_X11_SCRNSAVER 1
    37.6  #define SDL_VIDEO_DRIVER_X11_XV 1
    37.7 +#define SDL_VIDEO_DRIVER_X11_XSHAPE 1
    37.8  
    37.9  #define SDL_VIDEO_RENDER_OGL	1
   37.10  #define SDL_VIDEO_RENDER_X11	1
    38.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    38.2 +++ b/include/SDL_shape.h	Sun Aug 22 13:45:56 2010 -0700
    38.3 @@ -0,0 +1,148 @@
    38.4 +/*
    38.5 +    SDL - Simple DirectMedia Layer
    38.6 +    Copyright (C) 2010 Eli Gottlieb
    38.7 +
    38.8 +    This library is free software; you can redistribute it and/or
    38.9 +    modify it under the terms of the GNU Lesser General Public
   38.10 +    License as published by the Free Software Foundation; either
   38.11 +    version 2.1 of the License, or (at your option) any later version.
   38.12 +
   38.13 +    This library is distributed in the hope that it will be useful,
   38.14 +    but WITHOUT ANY WARRANTY; without even the implied warranty of
   38.15 +    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   38.16 +    Lesser General Public License for more details.
   38.17 +
   38.18 +    You should have received a copy of the GNU Lesser General Public
   38.19 +    License along with this library; if not, write to the Free Software
   38.20 +    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
   38.21 +
   38.22 +    Eli Gottlieb
   38.23 +    eligottlieb@gmail.com
   38.24 +*/
   38.25 +
   38.26 +#ifndef _SDL_shape_h
   38.27 +#define _SDL_shape_h
   38.28 +
   38.29 +#include "SDL_stdinc.h"
   38.30 +#include "SDL_pixels.h"
   38.31 +#include "SDL_rect.h"
   38.32 +#include "SDL_surface.h"
   38.33 +#include "SDL_video.h"
   38.34 +
   38.35 +#include "begin_code.h"
   38.36 +/* Set up for C function definitions, even when using C++ */
   38.37 +#ifdef __cplusplus
   38.38 +/* *INDENT-OFF* */
   38.39 +extern "C" {
   38.40 +/* *INDENT-ON* */
   38.41 +#endif
   38.42 +
   38.43 +/** \file SDL_shape.h
   38.44 + *
   38.45 + * Header file for the shaped window API.
   38.46 + */
   38.47 +
   38.48 +#define SDL_NONSHAPEABLE_WINDOW -1
   38.49 +#define SDL_INVALID_SHAPE_ARGUMENT -2
   38.50 +#define SDL_WINDOW_LACKS_SHAPE -3
   38.51 +
   38.52 +/**
   38.53 + *  \brief Create a window that can be shaped with the specified position, dimensions, and flags.
   38.54 + *  
   38.55 + *  \param title The title of the window, in UTF-8 encoding.
   38.56 + *  \param x     The x position of the window, ::SDL_WINDOWPOS_CENTERED, or 
   38.57 + *               ::SDL_WINDOWPOS_UNDEFINED.
   38.58 + *  \param y     The y position of the window, ::SDL_WINDOWPOS_CENTERED, or 
   38.59 + *               ::SDL_WINDOWPOS_UNDEFINED.
   38.60 + *  \param w     The width of the window.
   38.61 + *  \param h     The height of the window.
   38.62 + *  \param flags The flags for the window, a mask of SDL_WINDOW_BORDERLESS with any of the following: 
   38.63 + *               ::SDL_WINDOW_OPENGL,     ::SDL_WINDOW_INPUT_GRABBED,
   38.64 + *               ::SDL_WINDOW_SHOWN,      ::SDL_WINDOW_RESIZABLE,
   38.65 + *               ::SDL_WINDOW_MAXIMIZED,  ::SDL_WINDOW_MINIMIZED,
   38.66 + *		 ::SDL_WINDOW_BORDERLESS is always set, and ::SDL_WINDOW_FULLSCREEN is always unset.
   38.67 + *  
   38.68 + *  \return The window created, or NULL if window creation failed.
   38.69 + *  
   38.70 + *  \sa SDL_DestroyWindow()
   38.71 + */
   38.72 +extern DECLSPEC SDL_Window * SDLCALL SDL_CreateShapedWindow(const char *title,unsigned int x,unsigned int y,unsigned int w,unsigned int h,Uint32 flags);
   38.73 +
   38.74 +/**
   38.75 + * \brief Return whether the given window is a shaped window. 
   38.76 + *
   38.77 + * \param window The window to query for being shaped.
   38.78 + *
   38.79 + * \return SDL_TRUE if the window is a window that can be shaped, SDL_FALSE if the window is unshaped or NULL.
   38.80 + * \sa SDL_CreateShapedWindow
   38.81 + */
   38.82 +extern DECLSPEC SDL_bool SDLCALL SDL_IsShapedWindow(const SDL_Window *window);
   38.83 +
   38.84 +/** \brief An enum denoting the specific type of contents present in an SDL_WindowShapeParams union. */
   38.85 +typedef enum {
   38.86 +	/** \brief The default mode, a binarized alpha cutoff of 1. */
   38.87 +	ShapeModeDefault,
   38.88 +	/** \brief A binarized alpha cutoff with a given integer value. */
   38.89 +	ShapeModeBinarizeAlpha,
   38.90 +	/** \brief A binarized alpha cutoff with a given integer value, but with the opposite comparison. */
   38.91 +	ShapeModeReverseBinarizeAlpha,
   38.92 +	/** \brief A color key is applied. */
   38.93 +	ShapeModeColorKey
   38.94 +} WindowShapeMode;
   38.95 +
   38.96 +#define SDL_SHAPEMODEALPHA(mode) (mode == ShapeModeDefault || mode == ShapeModeBinarizeAlpha || mode == ShapeModeReverseBinarizeAlpha)
   38.97 +
   38.98 +/** \brief A union containing parameters for shaped windows. */
   38.99 +typedef union {
  38.100 +	/** \brief a cutoff alpha value for binarization of the window shape's alpha channel. */
  38.101 +	Uint8 binarizationCutoff;
  38.102 +	SDL_Color colorKey;
  38.103 +} SDL_WindowShapeParams;
  38.104 +
  38.105 +/** \brief A struct that tags the SDL_WindowShapeParams union with an enum describing the type of its contents. */
  38.106 +typedef struct SDL_WindowShapeMode {
  38.107 +	/** \brief The mode of these window-shape parameters. */
  38.108 +	WindowShapeMode mode;
  38.109 +	/** \brief Window-shape parameters. */
  38.110 +	SDL_WindowShapeParams parameters;
  38.111 +} SDL_WindowShapeMode;
  38.112 +
  38.113 +/**
  38.114 + * \brief Set the shape and parameters of a shaped window.
  38.115 + *
  38.116 + * \param window The shaped window whose parameters should be set.
  38.117 + * \param shape A surface encoding the desired shape for the window.
  38.118 + * \param shape_mode The parameters to set for the shaped window.
  38.119 + *
  38.120 + * \return 0 on success, SDL_INVALID_SHAPE_ARGUMENT on invalid an invalid shape argument, or SDL_NONSHAPEABLE_WINDOW
  38.121 + *           if the SDL_Window* given does not reference a valid shaped window.
  38.122 + *
  38.123 + * \sa SDL_WindowShapeMode
  38.124 + * \sa SDL_GetShapedWindowMode.
  38.125 + */
  38.126 +extern DECLSPEC int SDLCALL SDL_SetWindowShape(SDL_Window *window,SDL_Surface *shape,SDL_WindowShapeMode *shape_mode);
  38.127 +
  38.128 +/**
  38.129 + * \brief Get the shape parameters of a shaped window.
  38.130 + *
  38.131 + * \param window The shaped window whose parameters should be retrieved.
  38.132 + * \param shape_mode An empty shape-mode structure to fill, or NULL to check whether the window has a shape.
  38.133 + *
  38.134 + * \return 0 if the window has a shape and, provided shape_mode was not NULL, shape_mode has been filled with the mode
  38.135 + *           data, SDL_NONSHAPEABLE_WINDOW if the SDL_Window given is not a shaped window, or SDL_WINDOW_LACKS_SHAPE if
  38.136 + *           the SDL_Window* given is a shapeable window currently lacking a shape.
  38.137 + *
  38.138 + * \sa SDL_WindowShapeMode
  38.139 + * \sa SDL_SetWindowShape
  38.140 + */
  38.141 +extern DECLSPEC int SDLCALL SDL_GetShapedWindowMode(SDL_Window *window,SDL_WindowShapeMode *shape_mode);
  38.142 +
  38.143 +/* Ends C function definitions when using C++ */
  38.144 +#ifdef __cplusplus
  38.145 +/* *INDENT-OFF* */
  38.146 +}
  38.147 +/* *INDENT-ON* */
  38.148 +#endif
  38.149 +#include "close_code.h"
  38.150 +
  38.151 +#endif /* _SDL_shape_h */
    40.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    40.2 +++ b/src/video/SDL_shape.c	Sun Aug 22 13:45:56 2010 -0700
    40.3 @@ -0,0 +1,279 @@
    40.4 +/*
    40.5 +    SDL - Simple DirectMedia Layer
    40.6 +    Copyright (C) 2010 Eli Gottlieb
    40.7 +
    40.8 +    This library is free software; you can redistribute it and/or
    40.9 +    modify it under the terms of the GNU Lesser General Public
   40.10 +    License as published by the Free Software Foundation; either
   40.11 +    version 2.1 of the License, or (at your option) any later version.
   40.12 +
   40.13 +    This library is distributed in the hope that it will be useful,
   40.14 +    but WITHOUT ANY WARRANTY; without even the implied warranty of
   40.15 +    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   40.16 +    Lesser General Public License for more details.
   40.17 +
   40.18 +    You should have received a copy of the GNU Lesser General Public
   40.19 +    License along with this library; if not, write to the Free Software
   40.20 +    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
   40.21 +
   40.22 +    Eli Gottlieb
   40.23 +    eligottlieb@gmail.com
   40.24 +*/
   40.25 +#include "SDL_config.h"
   40.26 +
   40.27 +#include "SDL.h"
   40.28 +#include "SDL_assert.h"
   40.29 +#include "SDL_video.h"
   40.30 +#include "SDL_sysvideo.h"
   40.31 +#include "SDL_pixels.h"
   40.32 +#include "SDL_surface.h"
   40.33 +#include "SDL_shape.h"
   40.34 +#include "SDL_shape_internals.h"
   40.35 +
   40.36 +SDL_Window*
   40.37 +SDL_CreateShapedWindow(const char *title,unsigned int x,unsigned int y,unsigned int w,unsigned int h,Uint32 flags) {
   40.38 +    SDL_Window *result = NULL;
   40.39 +    result = SDL_CreateWindow(title,-1000,-1000,w,h,(flags | SDL_WINDOW_BORDERLESS) & (~SDL_WINDOW_FULLSCREEN) & (~SDL_WINDOW_RESIZABLE) /*& (~SDL_WINDOW_SHOWN)*/);
   40.40 +    if(result != NULL) {
   40.41 +        result->shaper = result->display->device->shape_driver.CreateShaper(result);
   40.42 +        if(result->shaper != NULL) {
   40.43 +            result->shaper->userx = x;
   40.44 +            result->shaper->usery = y;
   40.45 +            result->shaper->mode.mode = ShapeModeDefault;
   40.46 +            result->shaper->mode.parameters.binarizationCutoff = 1;
   40.47 +            result->shaper->hasshape = SDL_FALSE;
   40.48 +            return result;
   40.49 +        }
   40.50 +        else {
   40.51 +            SDL_DestroyWindow(result);
   40.52 +            return NULL;
   40.53 +        }
   40.54 +    }
   40.55 +    else
   40.56 +        return NULL;
   40.57 +}
   40.58 +
   40.59 +SDL_bool
   40.60 +SDL_IsShapedWindow(const SDL_Window *window) {
   40.61 +    if(window == NULL)
   40.62 +        return SDL_FALSE;
   40.63 +    else
   40.64 +        return (SDL_bool)(window->shaper != NULL);
   40.65 +}
   40.66 +
   40.67 +/* REQUIRES that bitmap point to a w-by-h bitmap with ppb pixels-per-byte. */
   40.68 +void
   40.69 +SDL_CalculateShapeBitmap(SDL_WindowShapeMode mode,SDL_Surface *shape,Uint8* bitmap,Uint8 ppb) {
   40.70 +    int x = 0;
   40.71 +    int y = 0;
   40.72 +    Uint8 r = 0,g = 0,b = 0,alpha = 0;
   40.73 +    Uint8* pixel = NULL;
   40.74 +    Uint32 bitmap_pixel,pixel_value = 0,mask_value = 0;
   40.75 +    SDL_Color key;
   40.76 +    if(SDL_MUSTLOCK(shape))
   40.77 +        SDL_LockSurface(shape);
   40.78 +    pixel = (Uint8*)shape->pixels;
   40.79 +    for(y = 0;y<shape->h;y++) {
   40.80 +        for(x=0;x<shape->w;x++) {
   40.81 +            alpha = 0;
   40.82 +            pixel_value = 0;
   40.83 +            pixel = (Uint8 *)(shape->pixels) + (y*shape->pitch) + (x*shape->format->BytesPerPixel);
   40.84 +            switch(shape->format->BytesPerPixel) {
   40.85 +                case(1):
   40.86 +                    pixel_value = *(Uint8*)pixel;
   40.87 +                    break;
   40.88 +                case(2):
   40.89 +                    pixel_value = *(Uint16*)pixel;
   40.90 +                    break;
   40.91 +                case(3):
   40.92 +                    pixel_value = *(Uint32*)pixel & (~shape->format->Amask);
   40.93 +                    break;
   40.94 +                case(4):
   40.95 +                    pixel_value = *(Uint32*)pixel;
   40.96 +                    break;
   40.97 +            }
   40.98 +            SDL_GetRGBA(pixel_value,shape->format,&r,&g,&b,&alpha);
   40.99 +            bitmap_pixel = y*shape->w + x;
  40.100 +            switch(mode.mode) {
  40.101 +                case(ShapeModeDefault):
  40.102 +                    mask_value = (alpha >= 1 ? 1 : 0);
  40.103 +                    break;
  40.104 +                case(ShapeModeBinarizeAlpha):
  40.105 +                    mask_value = (alpha >= mode.parameters.binarizationCutoff ? 1 : 0);
  40.106 +                    break;
  40.107 +                case(ShapeModeReverseBinarizeAlpha):
  40.108 +                    mask_value = (alpha <= mode.parameters.binarizationCutoff ? 1 : 0);
  40.109 +                    break;
  40.110 +                case(ShapeModeColorKey):
  40.111 +                    key = mode.parameters.colorKey;
  40.112 +                    mask_value = ((key.r != r || key.g != g || key.b != b) ? 1 : 0);
  40.113 +                    break;
  40.114 +            }
  40.115 +            bitmap[bitmap_pixel / ppb] |= mask_value << (7 - ((ppb - 1) - (bitmap_pixel % ppb)));
  40.116 +        }
  40.117 +    }
  40.118 +    if(SDL_MUSTLOCK(shape))
  40.119 +        SDL_UnlockSurface(shape);
  40.120 +}
  40.121 +
  40.122 +SDL_ShapeTree*
  40.123 +RecursivelyCalculateShapeTree(SDL_WindowShapeMode mode,SDL_Surface* mask,SDL_Rect dimensions) {
  40.124 +    int x = 0,y = 0;
  40.125 +    Uint8* pixel = NULL;
  40.126 +    Uint32 pixel_value = 0;
  40.127 +    Uint8 r = 0,g = 0,b = 0,a = 0;
  40.128 +    SDL_bool pixel_opaque = SDL_FALSE;
  40.129 +    int last_opaque = -1;
  40.130 +    SDL_Color key;
  40.131 +    SDL_ShapeTree* result = (SDL_ShapeTree*)SDL_malloc(sizeof(SDL_ShapeTree));
  40.132 +    SDL_Rect next = {0,0,0,0};
  40.133 +    for(y=dimensions.y;y<dimensions.y + dimensions.h;y++) {
  40.134 +        for(x=dimensions.x;x<dimensions.x + dimensions.w;x++) {
  40.135 +            pixel_value = 0;
  40.136 +            pixel = (Uint8 *)(mask->pixels) + (y*mask->pitch) + (x*mask->format->BytesPerPixel);
  40.137 +            switch(mask->format->BytesPerPixel) {
  40.138 +                case(1):
  40.139 +                    pixel_value = *(Uint8*)pixel;
  40.140 +                    break;
  40.141 +                case(2):
  40.142 +                    pixel_value = *(Uint16*)pixel;
  40.143 +                    break;
  40.144 +                case(3):
  40.145 +                    pixel_value = *(Uint32*)pixel & (~mask->format->Amask);
  40.146 +                    break;
  40.147 +                case(4):
  40.148 +                    pixel_value = *(Uint32*)pixel;
  40.149 +                    break;
  40.150 +            }
  40.151 +            SDL_GetRGBA(pixel_value,mask->format,&r,&g,&b,&a);
  40.152 +            switch(mode.mode) {
  40.153 +                case(ShapeModeDefault):
  40.154 +                    pixel_opaque = (a >= 1 ? SDL_TRUE : SDL_FALSE);
  40.155 +                    break;
  40.156 +                case(ShapeModeBinarizeAlpha):
  40.157 +                    pixel_opaque = (a >= mode.parameters.binarizationCutoff ? SDL_TRUE : SDL_FALSE);
  40.158 +                    break;
  40.159 +                case(ShapeModeReverseBinarizeAlpha):
  40.160 +                    pixel_opaque = (a <= mode.parameters.binarizationCutoff ? SDL_TRUE : SDL_FALSE);
  40.161 +                    break;
  40.162 +                case(ShapeModeColorKey):
  40.163 +                    key = mode.parameters.colorKey;
  40.164 +                    pixel_opaque = ((key.r != r || key.g != g || key.b != b) ? SDL_TRUE : SDL_FALSE);
  40.165 +                    break;
  40.166 +            }
  40.167 +            if(last_opaque == -1)
  40.168 +                last_opaque = pixel_opaque;
  40.169 +            if(last_opaque != pixel_opaque) {
  40.170 +                result->kind = QuadShape;
  40.171 +                //These will stay the same.
  40.172 +                next.w = dimensions.w / 2;
  40.173 +                next.h = dimensions.h / 2;
  40.174 +                //These will change from recursion to recursion.
  40.175 +                next.x = dimensions.x;
  40.176 +                next.y = dimensions.y;
  40.177 +                result->data.children.upleft = (struct SDL_ShapeTree *)RecursivelyCalculateShapeTree(mode,mask,next);
  40.178 +                next.x += next.w;
  40.179 +                //Unneeded: next.y = dimensions.y;
  40.180 +                result->data.children.upright = (struct SDL_ShapeTree *)RecursivelyCalculateShapeTree(mode,mask,next);
  40.181 +                next.x = dimensions.x;
  40.182 +                next.y += next.h;
  40.183 +                result->data.children.downleft = (struct SDL_ShapeTree *)RecursivelyCalculateShapeTree(mode,mask,next);
  40.184 +                next.x += next.w;
  40.185 +                //Unneeded: next.y = dimensions.y + dimensions.h /2;
  40.186 +                result->data.children.downright = (struct SDL_ShapeTree *)RecursivelyCalculateShapeTree(mode,mask,next);
  40.187 +                return result;
  40.188 +            }
  40.189 +        }
  40.190 +    }
  40.191 +    //If we never recursed, all the pixels in this quadrant have the same "value".
  40.192 +    result->kind = (last_opaque == SDL_TRUE ? OpaqueShape : TransparentShape);
  40.193 +    result->data.shape = dimensions;
  40.194 +    return result;
  40.195 +}
  40.196 +
  40.197 +SDL_ShapeTree*
  40.198 +SDL_CalculateShapeTree(SDL_WindowShapeMode mode,SDL_Surface* shape) {
  40.199 +    SDL_Rect dimensions = {0,0,shape->w,shape->h};
  40.200 +    SDL_ShapeTree* result = NULL;
  40.201 +    if(SDL_MUSTLOCK(shape))
  40.202 +        SDL_LockSurface(shape);
  40.203 +    result = RecursivelyCalculateShapeTree(mode,shape,dimensions);
  40.204 +    if(SDL_MUSTLOCK(shape))
  40.205 +        SDL_UnlockSurface(shape);
  40.206 +    return result;
  40.207 +}
  40.208 +
  40.209 +void
  40.210 +SDL_TraverseShapeTree(SDL_ShapeTree *tree,SDL_TraversalFunction function,void* closure) {
  40.211 +    SDL_assert(tree != NULL);
  40.212 +    if(tree->kind == QuadShape) {
  40.213 +        SDL_TraverseShapeTree((SDL_ShapeTree *)tree->data.children.upleft,function,closure);
  40.214 +        SDL_TraverseShapeTree((SDL_ShapeTree *)tree->data.children.upright,function,closure);
  40.215 +        SDL_TraverseShapeTree((SDL_ShapeTree *)tree->data.children.downleft,function,closure);
  40.216 +        SDL_TraverseShapeTree((SDL_ShapeTree *)tree->data.children.downright,function,closure);
  40.217 +    }
  40.218 +    else
  40.219 +        function(tree,closure);
  40.220 +}
  40.221 +
  40.222 +void
  40.223 +SDL_FreeShapeTree(SDL_ShapeTree** shape_tree) {
  40.224 +    if((*shape_tree)->kind == QuadShape) {
  40.225 +        SDL_FreeShapeTree((SDL_ShapeTree **)&(*shape_tree)->data.children.upleft);
  40.226 +        SDL_FreeShapeTree((SDL_ShapeTree **)&(*shape_tree)->data.children.upright);
  40.227 +        SDL_FreeShapeTree((SDL_ShapeTree **)&(*shape_tree)->data.children.downleft);
  40.228 +        SDL_FreeShapeTree((SDL_ShapeTree **)&(*shape_tree)->data.children.downright);
  40.229 +    }
  40.230 +    SDL_free(*shape_tree);
  40.231 +    *shape_tree = NULL;
  40.232 +}
  40.233 +
  40.234 +int
  40.235 +SDL_SetWindowShape(SDL_Window *window,SDL_Surface *shape,SDL_WindowShapeMode *shape_mode) {
  40.236 +    int result;
  40.237 +    if(window == NULL || !SDL_IsShapedWindow(window))
  40.238 +        //The window given was not a shapeable window.
  40.239 +        return SDL_NONSHAPEABLE_WINDOW;
  40.240 +    if(shape == NULL)
  40.241 +        //Invalid shape argument.
  40.242 +        return SDL_INVALID_SHAPE_ARGUMENT;
  40.243 +    
  40.244 +    if(shape_mode != NULL)
  40.245 +        window->shaper->mode = *shape_mode;
  40.246 +    result = window->display->device->shape_driver.SetWindowShape(window->shaper,shape,shape_mode);
  40.247 +    window->shaper->hasshape = SDL_TRUE;
  40.248 +    if(window->shaper->userx != 0 && window->shaper->usery != 0) {
  40.249 +        SDL_SetWindowPosition(window,window->shaper->userx,window->shaper->usery);
  40.250 +        window->shaper->userx = 0;
  40.251 +        window->shaper->usery = 0;
  40.252 +    }
  40.253 +    return result;
  40.254 +}
  40.255 +
  40.256 +SDL_bool
  40.257 +SDL_WindowHasAShape(SDL_Window *window) {
  40.258 +    if (window == NULL || !SDL_IsShapedWindow(window))
  40.259 +        return SDL_FALSE;
  40.260 +    return window->shaper->hasshape;
  40.261 +}
  40.262 +
  40.263 +int
  40.264 +SDL_GetShapedWindowMode(SDL_Window *window,SDL_WindowShapeMode *shape_mode) {
  40.265 +    if(window != NULL && SDL_IsShapedWindow(window)) {
  40.266 +        if(shape_mode == NULL) {
  40.267 +            if(SDL_WindowHasAShape(window))
  40.268 +                //The window given has a shape.
  40.269 +                return 0;
  40.270 +            else
  40.271 +                //The window given is shapeable but lacks a shape.
  40.272 +                return SDL_WINDOW_LACKS_SHAPE;
  40.273 +        }
  40.274 +        else {
  40.275 +            *shape_mode = window->shaper->mode;
  40.276 +            return 0;
  40.277 +        }
  40.278 +    }
  40.279 +    else
  40.280 +        //The window given is not a valid shapeable window.
  40.281 +        return SDL_NONSHAPEABLE_WINDOW;
  40.282 +}
    41.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    41.2 +++ b/src/video/SDL_shape_internals.h	Sun Aug 22 13:45:56 2010 -0700
    41.3 @@ -0,0 +1,70 @@
    41.4 +/*
    41.5 +    SDL - Simple DirectMedia Layer
    41.6 +    Copyright (C) 2010 Eli Gottlieb
    41.7 +
    41.8 +    This library is free software; you can redistribute it and/or
    41.9 +    modify it under the terms of the GNU Lesser General Public
   41.10 +    License as published by the Free Software Foundation; either
   41.11 +    version 2.1 of the License, or (at your option) any later version.
   41.12 +
   41.13 +    This library is distributed in the hope that it will be useful,
   41.14 +    but WITHOUT ANY WARRANTY; without even the implied warranty of
   41.15 +    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   41.16 +    Lesser General Public License for more details.
   41.17 +
   41.18 +    You should have received a copy of the GNU Lesser General Public
   41.19 +    License along with this library; if not, write to the Free Software
   41.20 +    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
   41.21 +
   41.22 +    Eli Gottlieb
   41.23 +    eligottlieb@gmail.com
   41.24 +*/
   41.25 +#include "SDL_config.h"
   41.26 +
   41.27 +#ifndef _SDL_shape_internals_h
   41.28 +#define _SDL_shape_internals_h
   41.29 +
   41.30 +#include "SDL_rect.h"
   41.31 +#include "SDL_shape.h"
   41.32 +#include "SDL_surface.h"
   41.33 +
   41.34 +#include "begin_code.h"
   41.35 +/* Set up for C function definitions, even when using C++ */
   41.36 +#ifdef __cplusplus
   41.37 +/* *INDENT-OFF* */
   41.38 +extern "C" {
   41.39 +/* *INDENT-ON* */
   41.40 +#endif
   41.41 +
   41.42 +typedef struct {
   41.43 +	struct SDL_ShapeTree *upleft,*upright,*downleft,*downright;
   41.44 +} SDL_QuadTreeChildren;
   41.45 +
   41.46 +typedef union {
   41.47 +	SDL_QuadTreeChildren children;
   41.48 +	SDL_Rect shape;
   41.49 +} SDL_ShapeUnion;
   41.50 +
   41.51 +typedef enum { QuadShape,TransparentShape,OpaqueShape } SDL_ShapeKind;
   41.52 +
   41.53 +typedef struct {
   41.54 +	SDL_ShapeKind kind;
   41.55 +	SDL_ShapeUnion data;
   41.56 +} SDL_ShapeTree;
   41.57 +	
   41.58 +typedef void(*SDL_TraversalFunction)(SDL_ShapeTree*,void*);
   41.59 +
   41.60 +extern void SDL_CalculateShapeBitmap(SDL_WindowShapeMode mode,SDL_Surface *shape,Uint8* bitmap,Uint8 ppb);
   41.61 +extern SDL_ShapeTree* SDL_CalculateShapeTree(SDL_WindowShapeMode mode,SDL_Surface* shape);
   41.62 +extern void SDL_TraverseShapeTree(SDL_ShapeTree *tree,SDL_TraversalFunction function,void* closure);
   41.63 +extern void SDL_FreeShapeTree(SDL_ShapeTree** shape_tree);
   41.64 +
   41.65 +/* Ends C function definitions when using C++ */
   41.66 +#ifdef __cplusplus
   41.67 +/* *INDENT-OFF* */
   41.68 +}
   41.69 +/* *INDENT-ON* */
   41.70 +#endif
   41.71 +#include "close_code.h"
   41.72 +
   41.73 +#endif
    42.1 --- a/src/video/SDL_sysvideo.h	Sun Aug 22 12:39:56 2010 -0700
    42.2 +++ b/src/video/SDL_sysvideo.h	Sun Aug 22 13:45:56 2010 -0700
    42.3 @@ -26,11 +26,14 @@
    42.4  
    42.5  #include "SDL_mouse.h"
    42.6  #include "SDL_keysym.h"
    42.7 +#include "SDL_shape.h"
    42.8  
    42.9  /* The SDL video driver */
   42.10  
   42.11  typedef struct SDL_Renderer SDL_Renderer;
   42.12  typedef struct SDL_RenderDriver SDL_RenderDriver;
   42.13 +typedef struct SDL_WindowShaper SDL_WindowShaper;
   42.14 +typedef struct SDL_ShapeDriver SDL_ShapeDriver;
   42.15  typedef struct SDL_VideoDisplay SDL_VideoDisplay;
   42.16  typedef struct SDL_VideoDevice SDL_VideoDevice;
   42.17  
   42.18 @@ -97,10 +100,6 @@
   42.19                              int count);
   42.20      int (*RenderFillRects) (SDL_Renderer * renderer, const SDL_Rect ** rects,
   42.21                              int count);
   42.22 -    int (*RenderDrawEllipse) (SDL_Renderer * renderer, int x, int y,
   42.23 -                              int w, int h);
   42.24 -    int (*RenderFillEllipse) (SDL_Renderer * renderer, int x, int y,
   42.25 -                              int w, int h);
   42.26      int (*RenderCopy) (SDL_Renderer * renderer, SDL_Texture * texture,
   42.27                         const SDL_Rect * srcrect, const SDL_Rect * dstrect);
   42.28      int (*RenderReadPixels) (SDL_Renderer * renderer, const SDL_Rect * rect,
   42.29 @@ -136,6 +135,32 @@
   42.30      SDL_RendererInfo info;
   42.31  };
   42.32  
   42.33 +/* Define the SDL window-shaper structure */
   42.34 +struct SDL_WindowShaper
   42.35 +{   
   42.36 +    /* The window associated with the shaper */
   42.37 +    SDL_Window *window;
   42.38 +    
   42.39 +    /* The user's specified coordinates for the window, for once we give it a shape. */
   42.40 +    Uint32 userx,usery;
   42.41 +    
   42.42 +    /* The parameters for shape calculation. */
   42.43 +    SDL_WindowShapeMode mode;
   42.44 +    
   42.45 +    /* Has this window been assigned a shape? */
   42.46 +    SDL_bool hasshape;
   42.47 +    
   42.48 +    void *driverdata;
   42.49 +};
   42.50 +
   42.51 +/* Define the SDL shape driver structure */
   42.52 +struct SDL_ShapeDriver
   42.53 +{
   42.54 +    SDL_WindowShaper *(*CreateShaper)(SDL_Window * window);
   42.55 +    int (*SetWindowShape)(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shape_mode);
   42.56 +    int (*ResizeWindowShape)(SDL_Window *window);
   42.57 +};
   42.58 +
   42.59  /* Define the SDL window structure, corresponding to toplevel windows */
   42.60  struct SDL_Window
   42.61  {
   42.62 @@ -150,6 +175,8 @@
   42.63      SDL_Renderer *renderer;
   42.64  
   42.65      SDL_DisplayMode fullscreen_mode;
   42.66 +    
   42.67 +    SDL_WindowShaper *shaper;
   42.68  
   42.69      void *userdata;
   42.70      void *driverdata;
   42.71 @@ -270,6 +297,12 @@
   42.72      void (*RestoreWindow) (_THIS, SDL_Window * window);
   42.73      void (*SetWindowGrab) (_THIS, SDL_Window * window);
   42.74      void (*DestroyWindow) (_THIS, SDL_Window * window);
   42.75 +    
   42.76 +    /* * * */
   42.77 +    /*
   42.78 +     * Shaped-window functions
   42.79 +     */
   42.80 +    SDL_ShapeDriver shape_driver;
   42.81  
   42.82      /* Get some platform dependent window information */
   42.83        SDL_bool(*GetWindowWMInfo) (_THIS, SDL_Window * window,
    44.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    44.2 +++ b/src/video/cocoa/SDL_cocoashape.h	Sun Aug 22 13:45:56 2010 -0700
    44.3 @@ -0,0 +1,44 @@
    44.4 +/*
    44.5 +    SDL - Simple DirectMedia Layer
    44.6 +    Copyright (C) 2010 Eli Gottlieb
    44.7 +
    44.8 +    This library is free software; you can redistribute it and/or
    44.9 +    modify it under the terms of the GNU Lesser General Public
   44.10 +    License as published by the Free Software Foundation; either
   44.11 +    version 2.1 of the License, or (at your option) any later version.
   44.12 +
   44.13 +    This library is distributed in the hope that it will be useful,
   44.14 +    but WITHOUT ANY WARRANTY; without even the implied warranty of
   44.15 +    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   44.16 +    Lesser General Public License for more details.
   44.17 +
   44.18 +    You should have received a copy of the GNU Lesser General Public
   44.19 +    License along with this library; if not, write to the Free Software
   44.20 +    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
   44.21 +
   44.22 +    Eli Gottlieb
   44.23 +    eligottlieb@gmail.com
   44.24 +*/
   44.25 +
   44.26 +#include "SDL_config.h"
   44.27 +
   44.28 +#ifndef _SDL_cocoashape_h
   44.29 +#define _SDL_cocoashape_h
   44.30 +
   44.31 +#include "SDL_stdinc.h"
   44.32 +#include "SDL_video.h"
   44.33 +#include "SDL_shape.h"
   44.34 +#include "../SDL_shape_internals.h"
   44.35 +
   44.36 +typedef struct {
   44.37 +	NSGraphicsContext* context;
   44.38 +	SDL_bool saved;
   44.39 +	
   44.40 +	SDL_ShapeTree* shape;
   44.41 +} SDL_ShapeData;
   44.42 +
   44.43 +extern SDL_WindowShaper* Cocoa_CreateShaper(SDL_Window* window);
   44.44 +extern int Cocoa_SetWindowShape(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shape_mode);
   44.45 +extern int Cocoa_ResizeWindowShape(SDL_Window *window);
   44.46 +
   44.47 +#endif
    45.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    45.2 +++ b/src/video/cocoa/SDL_cocoashape.m	Sun Aug 22 13:45:56 2010 -0700
    45.3 @@ -0,0 +1,98 @@
    45.4 +/*
    45.5 +    SDL - Simple DirectMedia Layer
    45.6 +    Copyright (C) 2010 Eli Gottlieb
    45.7 +
    45.8 +    This library is free software; you can redistribute it and/or
    45.9 +    modify it under the terms of the GNU Lesser General Public
   45.10 +    License as published by the Free Software Foundation; either
   45.11 +    version 2.1 of the License, or (at your option) any later version.
   45.12 +
   45.13 +    This library is distributed in the hope that it will be useful,
   45.14 +    but WITHOUT ANY WARRANTY; without even the implied warranty of
   45.15 +    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   45.16 +    Lesser General Public License for more details.
   45.17 +
   45.18 +    You should have received a copy of the GNU Lesser General Public
   45.19 +    License along with this library; if not, write to the Free Software
   45.20 +    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
   45.21 +
   45.22 +    Eli Gottlieb
   45.23 +    eligottlieb@gmail.com
   45.24 +*/
   45.25 +
   45.26 +#include "SDL_cocoavideo.h"
   45.27 +#include "SDL_shape.h"
   45.28 +#include "SDL_cocoashape.h"
   45.29 +#include "../src/video/SDL_sysvideo.h"
   45.30 +
   45.31 +SDL_WindowShaper*
   45.32 +Cocoa_CreateShaper(SDL_Window* window) {
   45.33 +    SDL_WindowData* windata = (SDL_WindowData*)window->driverdata;
   45.34 +    [windata->nswindow setOpaque:NO];
   45.35 +    [windata->nswindow setStyleMask:NSBorderlessWindowMask];
   45.36 +    SDL_WindowShaper* result = result = malloc(sizeof(SDL_WindowShaper));
   45.37 +    result->window = window;
   45.38 +    result->mode.mode = ShapeModeDefault;
   45.39 +    result->mode.parameters.binarizationCutoff = 1;
   45.40 +    result->userx = result->usery = 0;
   45.41 +    window->shaper = result;
   45.42 +    
   45.43 +    SDL_ShapeData* data = malloc(sizeof(SDL_ShapeData));
   45.44 +    result->driverdata = data;
   45.45 +    data->context = [windata->nswindow graphicsContext];
   45.46 +    data->saved = SDL_FALSE;
   45.47 +    data->shape = NULL;
   45.48 +    
   45.49 +    int resized_properly = Cocoa_ResizeWindowShape(window);
   45.50 +    assert(resized_properly == 0);
   45.51 +    return result;
   45.52 +}
   45.53 +
   45.54 +typedef struct {
   45.55 +    NSView* view;
   45.56 +    NSBezierPath* path;
   45.57 +    SDL_Window* window;
   45.58 +} SDL_CocoaClosure;
   45.59 +
   45.60 +void
   45.61 +ConvertRects(SDL_ShapeTree* tree,void* closure) {
   45.62 +    SDL_CocoaClosure* data = (SDL_CocoaClosure*)closure;
   45.63 +    if(tree->kind == OpaqueShape) {
   45.64 +        NSRect rect = NSMakeRect(tree->data.shape.x,data->window->h - tree->data.shape.y,tree->data.shape.w,tree->data.shape.h);
   45.65 +        [data->path appendBezierPathWithRect:[data->view convertRect:rect toView:nil]];
   45.66 +    }
   45.67 +}
   45.68 +
   45.69 +int
   45.70 +Cocoa_SetWindowShape(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shape_mode) {
   45.71 +    SDL_ShapeData* data = (SDL_ShapeData*)shaper->driverdata;
   45.72 +	SDL_WindowData* windata = (SDL_WindowData*)shaper->window->driverdata;
   45.73 +	SDL_CocoaClosure closure;
   45.74 +	NSAutoreleasePool *pool = NULL;
   45.75 +    if(data->saved == SDL_TRUE) {
   45.76 +        [data->context restoreGraphicsState];
   45.77 +        data->saved = SDL_FALSE;
   45.78 +    }
   45.79 +        
   45.80 +    //[data->context saveGraphicsState];
   45.81 +    //data->saved = SDL_TRUE;
   45.82 +	[NSGraphicsContext setCurrentContext:data->context];
   45.83 +    
   45.84 +    [[NSColor clearColor] set];
   45.85 +    NSRectFill([[windata->nswindow contentView] frame]);
   45.86 +    data->shape = SDL_CalculateShapeTree(*shape_mode,shape);
   45.87 +	
   45.88 +	pool = [[NSAutoreleasePool alloc] init];
   45.89 +    closure.view = [windata->nswindow contentView];
   45.90 +    closure.path = [[NSBezierPath bezierPath] autorelease];
   45.91 +	closure.window = shaper->window;
   45.92 +    SDL_TraverseShapeTree(data->shape,&ConvertRects,&closure);
   45.93 +    [closure.path addClip];
   45.94 +}
   45.95 +
   45.96 +int
   45.97 +Cocoa_ResizeWindowShape(SDL_Window *window) {
   45.98 +    SDL_ShapeData* data = window->shaper->driverdata;
   45.99 +    assert(data != NULL);
  45.100 +    return 0;
  45.101 +}
    46.1 --- a/src/video/cocoa/SDL_cocoavideo.m	Sun Aug 22 12:39:56 2010 -0700
    46.2 +++ b/src/video/cocoa/SDL_cocoavideo.m	Sun Aug 22 13:45:56 2010 -0700
    46.3 @@ -22,6 +22,7 @@
    46.4  #include "SDL_config.h"
    46.5  
    46.6  #include "SDL_cocoavideo.h"
    46.7 +#include "SDL_cocoashape.h"
    46.8  #include "SDL_assert.h"
    46.9  
   46.10  /* Initialization/Query functions */
   46.11 @@ -92,6 +93,11 @@
   46.12      device->SetWindowGrab = Cocoa_SetWindowGrab;
   46.13      device->DestroyWindow = Cocoa_DestroyWindow;
   46.14      device->GetWindowWMInfo = Cocoa_GetWindowWMInfo;
   46.15 +    
   46.16 +    device->shape_driver.CreateShaper = Cocoa_CreateShaper;
   46.17 +    device->shape_driver.SetWindowShape = Cocoa_SetWindowShape;
   46.18 +    device->shape_driver.ResizeWindowShape = Cocoa_ResizeWindowShape;
   46.19 +    
   46.20  #ifdef SDL_VIDEO_OPENGL_CGL
   46.21      device->GL_LoadLibrary = Cocoa_GL_LoadLibrary;
   46.22      device->GL_GetProcAddress = Cocoa_GL_GetProcAddress;
    47.1 --- a/src/video/cocoa/SDL_cocoawindow.m	Sun Aug 22 12:39:56 2010 -0700
    47.2 +++ b/src/video/cocoa/SDL_cocoawindow.m	Sun Aug 22 13:45:56 2010 -0700
    47.3 @@ -28,6 +28,7 @@
    47.4  #include "../../events/SDL_touch_c.h"
    47.5  #include "../../events/SDL_windowevents_c.h"
    47.6  #include "SDL_cocoavideo.h"
    47.7 +#include "SDL_cocoashape.h"
    47.8  
    47.9  static __inline__ void ConvertNSRect(NSRect *r)
   47.10  {
   47.11 @@ -112,6 +113,7 @@
   47.12      NSRect rect = [_data->nswindow contentRectForFrameRect:[_data->nswindow frame]];
   47.13      w = (int)rect.size.width;
   47.14      h = (int)rect.size.height;
   47.15 +    Cocoa_ResizeWindowShape(_data->window);
   47.16      SDL_SendWindowEvent(_data->window, SDL_WINDOWEVENT_RESIZED, w, h);
   47.17  }
   47.18  
    48.1 --- a/src/video/win32/SDL_win32events.c	Sun Aug 22 12:39:56 2010 -0700
    48.2 +++ b/src/video/win32/SDL_win32events.c	Sun Aug 22 13:45:56 2010 -0700
    48.3 @@ -28,6 +28,7 @@
    48.4  #include "SDL_config.h"
    48.5  
    48.6  #include "SDL_win32video.h"
    48.7 +#include "SDL_win32shape.h"
    48.8  #include "SDL_syswm.h"
    48.9  #include "SDL_vkeys.h"
   48.10  #include "../../events/SDL_events_c.h"
   48.11 @@ -364,6 +365,8 @@
   48.12              BOOL menu;
   48.13  
   48.14              /* If we allow resizing, let the resize happen naturally */
   48.15 +            if(SDL_IsShapedWindow(data->window))
   48.16 +                Win32_ResizeWindowShape(data->window);
   48.17              if (SDL_GetWindowFlags(data->window) & SDL_WINDOW_RESIZABLE) {
   48.18                  returnCode = 0;
   48.19                  break;
    49.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    49.2 +++ b/src/video/win32/SDL_win32shape.c	Sun Aug 22 13:45:56 2010 -0700
    49.3 @@ -0,0 +1,104 @@
    49.4 +/*
    49.5 +    SDL - Simple DirectMedia Layer
    49.6 +    Copyright (C) 2010 Eli Gottlieb
    49.7 +
    49.8 +    This library is free software; you can redistribute it and/or
    49.9 +    modify it under the terms of the GNU Lesser General Public
   49.10 +    License as published by the Free Software Foundation; either
   49.11 +    version 2.1 of the License, or (at your option) any later version.
   49.12 +
   49.13 +    This library is distributed in the hope that it will be useful,
   49.14 +    but WITHOUT ANY WARRANTY; without even the implied warranty of
   49.15 +    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   49.16 +    Lesser General Public License for more details.
   49.17 +
   49.18 +    You should have received a copy of the GNU Lesser General Public
   49.19 +    License along with this library; if not, write to the Free Software
   49.20 +    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
   49.21 +
   49.22 +    Eli Gottlieb
   49.23 +    eligottlieb@gmail.com
   49.24 +*/
   49.25 +
   49.26 +#include <stdio.h>
   49.27 +#include "SDL_assert.h"
   49.28 +#include "SDL_win32shape.h"
   49.29 +#include "SDL_win32video.h"
   49.30 +
   49.31 +SDL_WindowShaper*
   49.32 +Win32_CreateShaper(SDL_Window * window) {
   49.33 +    int resized_properly;
   49.34 +    SDL_WindowShaper* result = (SDL_WindowShaper *)SDL_malloc(sizeof(SDL_WindowShaper));
   49.35 +    result->window = window;
   49.36 +    result->mode.mode = ShapeModeDefault;
   49.37 +    result->mode.parameters.binarizationCutoff = 1;
   49.38 +    result->userx = result->usery = 0;
   49.39 +    result->driverdata = (SDL_ShapeData*)SDL_malloc(sizeof(SDL_ShapeData));
   49.40 +    ((SDL_ShapeData*)result->driverdata)->mask_tree = NULL;
   49.41 +    //Put some driver-data here.
   49.42 +    window->shaper = result;
   49.43 +    resized_properly = Win32_ResizeWindowShape(window);
   49.44 +    if (resized_properly != 0)
   49.45 +            return NULL;
   49.46 +    
   49.47 +    return result;
   49.48 +}
   49.49 +
   49.50 +void
   49.51 +CombineRectRegions(SDL_ShapeTree* node,void* closure) {
   49.52 +    HRGN mask_region = *((HRGN*)closure),temp_region = NULL;
   49.53 +    if(node->kind == OpaqueShape) {
   49.54 +        //Win32 API regions exclude their outline, so we widen the region by one pixel in each direction to include the real outline.
   49.55 +        temp_region = CreateRectRgn(node->data.shape.x,node->data.shape.y,node->data.shape.x + node->data.shape.w + 1,node->data.shape.y + node->data.shape.h + 1);
   49.56 +        if(mask_region != NULL) {
   49.57 +            CombineRgn(mask_region,mask_region,temp_region,RGN_OR);
   49.58 +            DeleteObject(temp_region);
   49.59 +		}
   49.60 +		else
   49.61 +            *((HRGN*)closure) = temp_region;
   49.62 +	}
   49.63 +}
   49.64 +
   49.65 +int
   49.66 +Win32_SetWindowShape(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shape_mode) {
   49.67 +    SDL_ShapeData *data;
   49.68 +    HRGN mask_region = NULL;
   49.69 +
   49.70 +    if (shaper == NULL || shape == NULL)
   49.71 +        return SDL_INVALID_SHAPE_ARGUMENT;
   49.72 +    if(shape->format->Amask == 0 && shape_mode->mode != ShapeModeColorKey || shape->w != shaper->window->w || shape->h != shaper->window->h)
   49.73 +        return SDL_INVALID_SHAPE_ARGUMENT;
   49.74 +    
   49.75 +    data = (SDL_ShapeData*)shaper->driverdata;
   49.76 +    if(data->mask_tree != NULL)
   49.77 +        SDL_FreeShapeTree(&data->mask_tree);
   49.78 +    data->mask_tree = SDL_CalculateShapeTree(*shape_mode,shape);
   49.79 +    
   49.80 +    SDL_TraverseShapeTree(data->mask_tree,&CombineRectRegions,&mask_region);
   49.81 +	SDL_assert(mask_region != NULL);
   49.82 +
   49.83 +    SetWindowRgn(((SDL_WindowData *)(shaper->window->driverdata))->hwnd, mask_region, TRUE);
   49.84 +    
   49.85 +    return 0;
   49.86 +}
   49.87 +
   49.88 +int
   49.89 +Win32_ResizeWindowShape(SDL_Window *window) {
   49.90 +    SDL_ShapeData* data;
   49.91 +
   49.92 +    if (window == NULL)
   49.93 +        return -1;
   49.94 +    data = (SDL_ShapeData *)window->shaper->driverdata;
   49.95 +    if (data == NULL)
   49.96 +        return -1;
   49.97 +    
   49.98 +    if(data->mask_tree != NULL)
   49.99 +        SDL_FreeShapeTree(&data->mask_tree);
  49.100 +    if(window->shaper->hasshape == SDL_TRUE) {
  49.101 +        window->shaper->userx = window->x;
  49.102 +        window->shaper->usery = window->y;
  49.103 +        SDL_SetWindowPosition(window,-1000,-1000);
  49.104 +	}
  49.105 +    
  49.106 +    return 0;
  49.107 +}
    50.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    50.2 +++ b/src/video/win32/SDL_win32shape.h	Sun Aug 22 13:45:56 2010 -0700
    50.3 @@ -0,0 +1,41 @@
    50.4 +/*
    50.5 +    SDL - Simple DirectMedia Layer
    50.6 +    Copyright (C) 2010 Eli Gottlieb
    50.7 +
    50.8 +    This library is free software; you can redistribute it and/or
    50.9 +    modify it under the terms of the GNU Lesser General Public
   50.10 +    License as published by the Free Software Foundation; either
   50.11 +    version 2.1 of the License, or (at your option) any later version.
   50.12 +
   50.13 +    This library is distributed in the hope that it will be useful,
   50.14 +    but WITHOUT ANY WARRANTY; without even the implied warranty of
   50.15 +    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   50.16 +    Lesser General Public License for more details.
   50.17 +
   50.18 +    You should have received a copy of the GNU Lesser General Public
   50.19 +    License along with this library; if not, write to the Free Software
   50.20 +    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
   50.21 +
   50.22 +    Eli Gottlieb
   50.23 +    eligottlieb@gmail.com
   50.24 +*/
   50.25 +
   50.26 +#include "SDL_config.h"
   50.27 +
   50.28 +#ifndef _SDL_win32shape_h
   50.29 +#define _SDL_win32shape_h
   50.30 +
   50.31 +#include "SDL_video.h"
   50.32 +#include "SDL_shape.h"
   50.33 +#include "../SDL_sysvideo.h"
   50.34 +#include "../SDL_shape_internals.h"
   50.35 +
   50.36 +typedef struct {
   50.37 +	SDL_ShapeTree *mask_tree;
   50.38 +} SDL_ShapeData;
   50.39 +
   50.40 +extern SDL_WindowShaper* Win32_CreateShaper(SDL_Window * window);
   50.41 +extern int Win32_SetWindowShape(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shape_mode);
   50.42 +extern int Win32_ResizeWindowShape(SDL_Window *window);
   50.43 +
   50.44 +#endif /* _SDL_win32shape_h */
    51.1 --- a/src/video/win32/SDL_win32video.c	Sun Aug 22 12:39:56 2010 -0700
    51.2 +++ b/src/video/win32/SDL_win32video.c	Sun Aug 22 13:45:56 2010 -0700
    51.3 @@ -28,6 +28,7 @@
    51.4  #include "../SDL_pixels_c.h"
    51.5  
    51.6  #include "SDL_win32video.h"
    51.7 +#include "SDL_win32shape.h"
    51.8  #include "SDL_d3drender.h"
    51.9  #include "SDL_gdirender.h"
   51.10  #include "SDL_gapirender.h"
   51.11 @@ -180,6 +181,11 @@
   51.12      device->SetWindowGrab = WIN_SetWindowGrab;
   51.13      device->DestroyWindow = WIN_DestroyWindow;
   51.14      device->GetWindowWMInfo = WIN_GetWindowWMInfo;
   51.15 +    
   51.16 +    device->shape_driver.CreateShaper = Win32_CreateShaper;
   51.17 +    device->shape_driver.SetWindowShape = Win32_SetWindowShape;
   51.18 +    device->shape_driver.ResizeWindowShape = Win32_ResizeWindowShape;
   51.19 +    
   51.20  #ifdef SDL_VIDEO_OPENGL_WGL
   51.21      device->GL_LoadLibrary = WIN_GL_LoadLibrary;
   51.22      device->GL_GetProcAddress = WIN_GL_GetProcAddress;
    52.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    52.2 +++ b/src/video/x11/SDL_x11shape.c	Sun Aug 22 13:45:56 2010 -0700
    52.3 @@ -0,0 +1,110 @@
    52.4 +/*
    52.5 +    SDL - Simple DirectMedia Layer
    52.6 +    Copyright (C) 2010 Eli Gottlieb
    52.7 +
    52.8 +    This library is free software; you can redistribute it and/or
    52.9 +    modify it under the terms of the GNU Lesser General Public
   52.10 +    License as published by the Free Software Foundation; either
   52.11 +    version 2.1 of the License, or (at your option) any later version.
   52.12 +
   52.13 +    This library is distributed in the hope that it will be useful,
   52.14 +    but WITHOUT ANY WARRANTY; without even the implied warranty of
   52.15 +    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   52.16 +    Lesser General Public License for more details.
   52.17 +
   52.18 +    You should have received a copy of the GNU Lesser General Public
   52.19 +    License along with this library; if not, write to the Free Software
   52.20 +    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
   52.21 +
   52.22 +    Eli Gottlieb
   52.23 +    eligottlieb@gmail.com
   52.24 +*/
   52.25 +
   52.26 +#include "SDL_assert.h"
   52.27 +#include "SDL_x11video.h"
   52.28 +#include "SDL_x11shape.h"
   52.29 +#include "SDL_x11window.h"
   52.30 +
   52.31 +SDL_Window*
   52.32 +X11_CreateShapedWindow(const char *title,unsigned int x,unsigned int y,unsigned int w,unsigned int h,Uint32 flags) {
   52.33 +    return SDL_CreateWindow(title,x,y,w,h,flags);
   52.34 +}
   52.35 +
   52.36 +SDL_WindowShaper*
   52.37 +X11_CreateShaper(SDL_Window* window) {
   52.38 +    SDL_WindowShaper* result = NULL;
   52.39 +
   52.40 +#if SDL_VIDEO_DRIVER_X11_XSHAPE
   52.41 +    if (SDL_X11_HAVE_XSHAPE) {  /* Make sure X server supports it. */
   52.42 +        result = malloc(sizeof(SDL_WindowShaper));
   52.43 +        result->window = window;
   52.44 +        result->mode.mode = ShapeModeDefault;
   52.45 +        result->mode.parameters.binarizationCutoff = 1;
   52.46 +        result->userx = result->usery = 0;
   52.47 +        SDL_ShapeData* data = SDL_malloc(sizeof(SDL_ShapeData));
   52.48 +        result->driverdata = data;
   52.49 +        data->bitmapsize = 0;
   52.50 +        data->bitmap = NULL;
   52.51 +        window->shaper = result;
   52.52 +        int resized_properly = X11_ResizeWindowShape(window);
   52.53 +        SDL_assert(resized_properly == 0);
   52.54 +    }
   52.55 +#endif
   52.56 +
   52.57 +    return result;
   52.58 +}
   52.59 +
   52.60 +int
   52.61 +X11_ResizeWindowShape(SDL_Window* window) {
   52.62 +    SDL_ShapeData* data = window->shaper->driverdata;
   52.63 +    SDL_assert(data != NULL);
   52.64 +    
   52.65 +    unsigned int bitmapsize = window->w / 8;
   52.66 +    if(window->w % 8 > 0)
   52.67 +        bitmapsize += 1;
   52.68 +    bitmapsize *= window->h;
   52.69 +    if(data->bitmapsize != bitmapsize || data->bitmap == NULL) {
   52.70 +        data->bitmapsize = bitmapsize;
   52.71 +        if(data->bitmap != NULL)
   52.72 +            free(data->bitmap);
   52.73 +        data->bitmap = malloc(data->bitmapsize);
   52.74 +        if(data->bitmap == NULL) {
   52.75 +            SDL_SetError("Could not allocate memory for shaped-window bitmap.");
   52.76 +            return -1;
   52.77 +        }
   52.78 +    }
   52.79 +    memset(data->bitmap,0,data->bitmapsize);
   52.80 +    
   52.81 +    window->shaper->userx = window->x;
   52.82 +    window->shaper->usery = window->y;
   52.83 +    SDL_SetWindowPosition(window,-1000,-1000);
   52.84 +    
   52.85 +    return 0;
   52.86 +}
   52.87 +    
   52.88 +int
   52.89 +X11_SetWindowShape(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shape_mode) {
   52.90 +    if(shaper == NULL || shape == NULL || shaper->driverdata == NULL)
   52.91 +        return -1;
   52.92 +
   52.93 +#if SDL_VIDEO_DRIVER_X11_XSHAPE
   52.94 +    if(shape->format->Amask == 0 && SDL_SHAPEMODEALPHA(shape_mode->mode))
   52.95 +        return -2;
   52.96 +    if(shape->w != shaper->window->w || shape->h != shaper->window->h)
   52.97 +        return -3;
   52.98 +    SDL_ShapeData *data = shaper->driverdata;
   52.99 +    
  52.100 +    /* Assume that shaper->alphacutoff already has a value, because SDL_SetWindowShape() should have given it one. */
  52.101 +    SDL_CalculateShapeBitmap(shaper->mode,shape,data->bitmap,8);
  52.102 +        
  52.103 +    SDL_WindowData *windowdata = (SDL_WindowData*)(shaper->window->driverdata);
  52.104 +    Pixmap shapemask = XCreateBitmapFromData(windowdata->videodata->display,windowdata->xwindow,data->bitmap,shaper->window->w,shaper->window->h);
  52.105 +    
  52.106 +    XShapeCombineMask(windowdata->videodata->display,windowdata->xwindow, ShapeBounding, 0, 0,shapemask, ShapeSet);
  52.107 +    XSync(windowdata->videodata->display,False);
  52.108 +
  52.109 +    XFreePixmap(windowdata->videodata->display,shapemask);
  52.110 +#endif
  52.111 +
  52.112 +    return 0;
  52.113 +}
    53.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    53.2 +++ b/src/video/x11/SDL_x11shape.h	Sun Aug 22 13:45:56 2010 -0700
    53.3 @@ -0,0 +1,41 @@
    53.4 +/*
    53.5 +    SDL - Simple DirectMedia Layer
    53.6 +    Copyright (C) 2010 Eli Gottlieb
    53.7 +
    53.8 +    This library is free software; you can redistribute it and/or
    53.9 +    modify it under the terms of the GNU Lesser General Public
   53.10 +    License as published by the Free Software Foundation; either
   53.11 +    version 2.1 of the License, or (at your option) any later version.
   53.12 +
   53.13 +    This library is distributed in the hope that it will be useful,
   53.14 +    but WITHOUT ANY WARRANTY; without even the implied warranty of
   53.15 +    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   53.16 +    Lesser General Public License for more details.
   53.17 +
   53.18 +    You should have received a copy of the GNU Lesser General Public
   53.19 +    License along with this library; if not, write to the Free Software
   53.20 +    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
   53.21 +
   53.22 +    Eli Gottlieb
   53.23 +    eligottlieb@gmail.com
   53.24 +*/
   53.25 +#include "SDL_config.h"
   53.26 +
   53.27 +#ifndef _SDL_x11shape_h
   53.28 +#define _SDL_x11shape_h
   53.29 +
   53.30 +#include "SDL_video.h"
   53.31 +#include "SDL_shape.h"
   53.32 +#include "../SDL_sysvideo.h"
   53.33 +
   53.34 +typedef struct {
   53.35 +	void* bitmap;
   53.36 +	Uint32 bitmapsize;
   53.37 +} SDL_ShapeData;
   53.38 +
   53.39 +extern SDL_Window* X11_CreateShapedWindow(const char *title,unsigned int x,unsigned int y,unsigned int w,unsigned int h,Uint32 flags);
   53.40 +extern SDL_WindowShaper* X11_CreateShaper(SDL_Window* window);
   53.41 +extern int X11_ResizeWindowShape(SDL_Window* window);
   53.42 +extern int X11_SetWindowShape(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shapeMode);	
   53.43 +
   53.44 +#endif /* _SDL_x11shape_h */
    54.1 --- a/src/video/x11/SDL_x11sym.h	Sun Aug 22 12:39:56 2010 -0700
    54.2 +++ b/src/video/x11/SDL_x11sym.h	Sun Aug 22 13:45:56 2010 -0700
    54.3 @@ -39,6 +39,7 @@
    54.4  SDL_X11_SYM(int,XCloseDisplay,(Display* a),(a),return)
    54.5  SDL_X11_SYM(int,XConvertSelection,(Display* a,Atom b,Atom c,Atom d,Window e,Time f),(a,b,c,d,e,f),return)
    54.6  SDL_X11_SYM(int,XCopyArea,(Display* a,Drawable b,Drawable c,GC d,int e,int f,unsigned int g,unsigned int h,int i,int j),(a,b,c,d,e,f,g,h,i,j),return)
    54.7 +SDL_X11_SYM(Pixmap,XCreateBitmapFromData,(Display *dpy,Drawable d,_Xconst char *data,unsigned int width,unsigned int height),(dpy,d,data,width,height),return)
    54.8  SDL_X11_SYM(Colormap,XCreateColormap,(Display* a,Window b,Visual* c,int d),(a,b,c,d),return)
    54.9  SDL_X11_SYM(Cursor,XCreatePixmapCursor,(Display* a,Pixmap b,Pixmap c,XColor* d,XColor* e,unsigned int f,unsigned int g),(a,b,c,d,e,f,g),return)
   54.10  SDL_X11_SYM(GC,XCreateGC,(Display* a,Drawable b,unsigned long c,XGCValues* d),(a,b,c,d),return)
   54.11 @@ -277,6 +278,12 @@
   54.12  SDL_X11_SYM(void,XFixesSetGCClipRegion,(Display *dpy,GC gc,int clip_x,int clip_y,XserverRegion region),(dpy,gc,clip_x,clip_y,region),return)
   54.13  SDL_X11_SYM(void,XFixesSetPictureClipRegion,(Display *dpy,XID picture,int clip_x,int clip_y,XserverRegion region),(dpy,picture,clip_x,clip_y,region),return)
   54.14  #endif
   54.15 +
   54.16 +#if SDL_VIDEO_DRIVER_X11_XSHAPE
   54.17 +SDL_X11_MODULE(XSHAPE)
   54.18 +SDL_X11_SYM(void,XShapeCombineMask,(Display *dpy,Window dest,int dest_kind,int x_off,int y_off,Pixmap src,int op),(dpy,dest,dest_kind,x_off,y_off,src,op),)
   54.19 +#endif
   54.20 +
   54.21  /* *INDENT-ON* */
   54.22  
   54.23  /* vi: set ts=4 sw=4 expandtab: */
    55.1 --- a/src/video/x11/SDL_x11video.c	Sun Aug 22 12:39:56 2010 -0700
    55.2 +++ b/src/video/x11/SDL_x11video.c	Sun Aug 22 13:45:56 2010 -0700
    55.3 @@ -31,6 +31,7 @@
    55.4  
    55.5  #include "SDL_x11video.h"
    55.6  #include "SDL_x11render.h"
    55.7 +#include "SDL_x11shape.h"
    55.8  
    55.9  #if SDL_VIDEO_DRIVER_PANDORA
   55.10  #include "SDL_x11opengles.h"
   55.11 @@ -205,6 +206,9 @@
   55.12      device->SetWindowGrab = X11_SetWindowGrab;
   55.13      device->DestroyWindow = X11_DestroyWindow;
   55.14      device->GetWindowWMInfo = X11_GetWindowWMInfo;
   55.15 +    device->shape_driver.CreateShaper = X11_CreateShaper;
   55.16 +    device->shape_driver.SetWindowShape = X11_SetWindowShape;
   55.17 +    device->shape_driver.ResizeWindowShape = X11_ResizeWindowShape;
   55.18  #ifdef SDL_VIDEO_OPENGL_GLX
   55.19      device->GL_LoadLibrary = X11_GL_LoadLibrary;
   55.20      device->GL_GetProcAddress = X11_GL_GetProcAddress;
    56.1 --- a/src/video/x11/SDL_x11video.h	Sun Aug 22 12:39:56 2010 -0700
    56.2 +++ b/src/video/x11/SDL_x11video.h	Sun Aug 22 13:45:56 2010 -0700
    56.3 @@ -54,6 +54,10 @@
    56.4  #if SDL_VIDEO_DRIVER_X11_XFIXES
    56.5  #include <X11/extensions/Xfixes.h>
    56.6  #endif
    56.7 +#if SDL_VIDEO_DRIVER_X11_XSHAPE
    56.8 +#include <X11/extensions/shape.h>
    56.9 +#endif
   56.10 +
   56.11  #include "SDL_x11dyn.h"
   56.12  
   56.13  #include "SDL_x11clipboard.h"
    57.1 --- a/src/video/x11/SDL_x11window.c	Sun Aug 22 12:39:56 2010 -0700
    57.2 +++ b/src/video/x11/SDL_x11window.c	Sun Aug 22 13:45:56 2010 -0700
    57.3 @@ -29,6 +29,7 @@
    57.4  #include "SDL_x11video.h"
    57.5  #include "SDL_x11mouse.h"
    57.6  #include "SDL_x11gamma.h"
    57.7 +#include "SDL_x11shape.h"
    57.8  #include "../Xext/extensions/StdCmap.h"
    57.9  
   57.10  #ifdef SDL_VIDEO_DRIVER_PANDORA
   57.11 @@ -941,6 +942,8 @@
   57.12      SDL_WindowData *data = (SDL_WindowData *) window->driverdata;
   57.13      Display *display = data->videodata->display;
   57.14  
   57.15 +    if(SDL_IsShapedWindow(window))
   57.16 +        X11_ResizeWindowShape(window);
   57.17      XResizeWindow(display, data->xwindow, window->w, window->h);
   57.18  }
   57.19  
    58.1 --- a/test/Makefile.in	Sun Aug 22 12:39:56 2010 -0700
    58.2 +++ b/test/Makefile.in	Sun Aug 22 13:45:56 2010 -0700
    58.3 @@ -7,7 +7,7 @@
    58.4  CFLAGS  = @CFLAGS@
    58.5  LIBS	= @LIBS@
    58.6  
    58.7 -TARGETS = checkkeys$(EXE) graywin$(EXE) loopwave$(EXE) testalpha$(EXE) testatomic$(EXE) testaudioinfo$(EXE) testbitmap$(EXE) testblitspeed$(EXE) testcursor$(EXE) testdraw2$(EXE) testdyngles$(EXE) testdyngl$(EXE) testerror$(EXE) testfile$(EXE) testfill$(EXE) testgamma$(EXE) testgl2$(EXE) testgles$(EXE) testgl$(EXE) testhaptic$(EXE) testhread$(EXE) testiconv$(EXE) testime$(EXE) testintersections$(EXE) testjoystick$(EXE) testkeys$(EXE) testloadso$(EXE) testlock$(EXE) testmultiaudio$(EXE) testoverlay2$(EXE) testoverlay$(EXE) testpalette$(EXE) testplatform$(EXE) testpower$(EXE) testresample$(EXE) testsem$(EXE) testsprite2$(EXE) testsprite$(EXE) testspriteminimal$(EXE) testtimer$(EXE) testver$(EXE) testvidinfo$(EXE) testwin$(EXE) testwm2$(EXE) testwm$(EXE) threadwin$(EXE) torturethread$(EXE) testgesture$(EXE)
    58.8 +TARGETS = checkkeys$(EXE) graywin$(EXE) loopwave$(EXE) testalpha$(EXE) testatomic$(EXE) testaudioinfo$(EXE) testbitmap$(EXE) testblitspeed$(EXE) testcursor$(EXE) testdraw2$(EXE) testdyngles$(EXE) testdyngl$(EXE) testerror$(EXE) testfile$(EXE) testfill$(EXE) testgamma$(EXE) testgl2$(EXE) testgles$(EXE) testgl$(EXE) testhaptic$(EXE) testhread$(EXE) testiconv$(EXE) testime$(EXE) testintersections$(EXE) testjoystick$(EXE) testkeys$(EXE) testloadso$(EXE) testlock$(EXE) testmultiaudio$(EXE) testoverlay2$(EXE) testoverlay$(EXE) testpalette$(EXE) testplatform$(EXE) testpower$(EXE) testresample$(EXE) testsem$(EXE) testshape$(EXE) testsprite2$(EXE) testsprite$(EXE) testspriteminimal$(EXE) testtimer$(EXE) testver$(EXE) testvidinfo$(EXE) testwin$(EXE) testwm2$(EXE) testwm$(EXE) threadwin$(EXE) torturethread$(EXE) testgesture$(EXE)
    58.9  
   58.10  all: Makefile $(TARGETS)
   58.11  
   58.12 @@ -110,6 +110,9 @@
   58.13  testsem$(EXE): $(srcdir)/testsem.c
   58.14  	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   58.15  
   58.16 +testshape$(EXE): $(srcdir)/testshape.c
   58.17 +	$(CC) -o $@ $? -std=c99 $(CFLAGS) $(LIBS)
   58.18 +
   58.19  testspriteminimal$(EXE): $(srcdir)/testspriteminimal.c
   58.20  	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
   58.21  
    59.1 --- a/test/README	Sun Aug 22 12:39:56 2010 -0700
    59.2 +++ b/test/README	Sun Aug 22 13:45:56 2010 -0700
    59.3 @@ -28,6 +28,7 @@
    59.4  	testpalette	Tests palette color cycling
    59.5  	testplatform	Tests types, endianness and cpu capabilities
    59.6  	testsem		Tests SDL's semaphore implementation
    59.7 +	testshape	Tests shaped windows
    59.8  	testsprite	Example of fast sprite movement on the screen
    59.9  	testsprite2	Improved version of testsprite
   59.10  	testtimer	Test the timer facilities
    60.1 Binary file test/shapes/p01_shape24.bmp has changed
    61.1 Binary file test/shapes/p01_shape32alpha.bmp has changed
    62.1 Binary file test/shapes/p01_shape8.bmp has changed
    63.1 Binary file test/shapes/p01_shape8alpha.bmp has changed
    64.1 Binary file test/shapes/p02_shape24.bmp has changed
    65.1 Binary file test/shapes/p02_shape32alpha.bmp has changed
    66.1 Binary file test/shapes/p02_shape8.bmp has changed
    67.1 Binary file test/shapes/p02_shape8alpha.bmp has changed
    68.1 Binary file test/shapes/p03_shape24.bmp has changed
    69.1 Binary file test/shapes/p03_shape8.bmp has changed
    70.1 Binary file test/shapes/p04_shape1.bmp has changed
    71.1 Binary file test/shapes/p04_shape24.bmp has changed
    72.1 Binary file test/shapes/p04_shape32alpha.bmp has changed
    73.1 Binary file test/shapes/p04_shape8.bmp has changed
    74.1 Binary file test/shapes/p05_shape8.bmp has changed
    75.1 Binary file test/shapes/p06_shape1alpha.bmp has changed
    76.1 Binary file test/shapes/p06_shape24.bmp has changed
    77.1 Binary file test/shapes/p06_shape32alpha.bmp has changed
    78.1 Binary file test/shapes/p06_shape8.bmp has changed
    79.1 Binary file test/shapes/p06_shape8alpha.bmp has changed
    80.1 Binary file test/shapes/p07_shape1alpha.bmp has changed
    81.1 Binary file test/shapes/p07_shape24.bmp has changed
    82.1 Binary file test/shapes/p07_shape32alpha.bmp has changed
    83.1 Binary file test/shapes/p07_shape8.bmp has changed
    84.1 Binary file test/shapes/p07_shape8alpha.bmp has changed
    85.1 Binary file test/shapes/p08_shape1alpha.bmp has changed
    86.1 Binary file test/shapes/p08_shape24.bmp has changed
    87.1 Binary file test/shapes/p08_shape32alpha.bmp has changed
    88.1 Binary file test/shapes/p08_shape8.bmp has changed
    89.1 Binary file test/shapes/p08_shape8alpha.bmp has changed
    90.1 Binary file test/shapes/p09_shape24.bmp has changed
    91.1 Binary file test/shapes/p09_shape32alpha.bmp has changed
    92.1 Binary file test/shapes/p09_shape8.bmp has changed
    93.1 Binary file test/shapes/p09_shape8alpha.bmp has changed
    94.1 Binary file test/shapes/p10_shape1.bmp has changed
    95.1 Binary file test/shapes/p10_shape1alpha.bmp has changed
    96.1 Binary file test/shapes/p10_shape24.bmp has changed
    97.1 Binary file test/shapes/p10_shape32alpha.bmp has changed
    98.1 Binary file test/shapes/p10_shape8.bmp has changed
    99.1 Binary file test/shapes/p10_shape8alpha.bmp has changed
   100.1 Binary file test/shapes/p11_shape24.bmp has changed
   101.1 Binary file test/shapes/p11_shape32alpha.bmp has changed
   102.1 Binary file test/shapes/p11_shape8.bmp has changed
   103.1 Binary file test/shapes/p11_shape8alpha.bmp has changed
   104.1 Binary file test/shapes/p12_shape24.bmp has changed
   105.1 Binary file test/shapes/p12_shape8.bmp has changed
   106.1 Binary file test/shapes/p13_shape24.bmp has changed
   107.1 Binary file test/shapes/p13_shape32alpha.bmp has changed
   108.1 Binary file test/shapes/p13_shape8.bmp has changed
   109.1 Binary file test/shapes/p13_shape8alpha.bmp has changed
   110.1 Binary file test/shapes/p14_shape24.bmp has changed
   111.1 Binary file test/shapes/p14_shape8.bmp has changed
   112.1 Binary file test/shapes/p15_shape24.bmp has changed
   113.1 Binary file test/shapes/p15_shape32alpha.bmp has changed
   114.1 Binary file test/shapes/p15_shape8.bmp has changed
   115.1 Binary file test/shapes/p15_shape8alpha.bmp has changed
   116.1 Binary file test/shapes/p16_shape1.bmp has changed
   117.1 Binary file test/shapes/p16_shape24.bmp has changed
   118.1 Binary file test/shapes/p16_shape8.bmp has changed
   119.1 Binary file test/shapes/trollface_24.bmp has changed
   120.1 Binary file test/shapes/trollface_32alpha.bmp has changed
   121.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   121.2 +++ b/test/testshape.c	Sun Aug 22 13:45:56 2010 -0700
   121.3 @@ -0,0 +1,187 @@
   121.4 +#include <stdlib.h>
   121.5 +#include <math.h>
   121.6 +#include <stdio.h>
   121.7 +#include "SDL.h"
   121.8 +#include "SDL_shape.h"
   121.9 +
  121.10 +#define SHAPED_WINDOW_X 150
  121.11 +#define SHAPED_WINDOW_Y 150
  121.12 +#define SHAPED_WINDOW_DIMENSION 640
  121.13 +
  121.14 +#define TICK_INTERVAL 1000/10
  121.15 +
  121.16 +typedef struct LoadedPicture {
  121.17 +	SDL_Surface *surface;
  121.18 +	SDL_Texture *texture;
  121.19 +	SDL_WindowShapeMode mode;
  121.20 +} LoadedPicture;
  121.21 +
  121.22 +void render(SDL_Window* window,SDL_Texture *texture,SDL_Rect texture_dimensions) {
  121.23 +	SDL_SelectRenderer(window);
  121.24 +	
  121.25 +	//Clear render-target to blue.
  121.26 +	SDL_SetRenderDrawColor(0x00,0x00,0xff,0xff);
  121.27 +	SDL_RenderClear();
  121.28 +	
  121.29 +	//Render the texture.
  121.30 +	SDL_RenderCopy(texture,&texture_dimensions,&texture_dimensions);
  121.31 +	
  121.32 +	SDL_RenderPresent();
  121.33 +}
  121.34 +
  121.35 +static Uint32 next_time;
  121.36 +
  121.37 +Uint32 time_left() {
  121.38 +    Uint32 now = SDL_GetTicks();
  121.39 +    if(next_time <= now)
  121.40 +        return 0;
  121.41 +	else
  121.42 +        return next_time - now;
  121.43 +}
  121.44 +
  121.45 +int main(int argc,char** argv) {
  121.46 +	Uint8 num_pictures;
  121.47 +	LoadedPicture* pictures;
  121.48 +	int i, j;
  121.49 +	SDL_PixelFormat* format = NULL;
  121.50 +	SDL_Window *window;
  121.51 +	SDL_Color black = {0,0,0,0xff};
  121.52 +	SDL_Event event;
  121.53 +	int event_pending = 0;
  121.54 +	int should_exit = 0;
  121.55 +	unsigned int current_picture;
  121.56 +	int button_down;
  121.57 +	Uint32 pixelFormat = 0;
  121.58 +	int access = 0;
  121.59 +	SDL_Rect texture_dimensions;;
  121.60 +
  121.61 +	if(argc < 2) {
  121.62 +        	printf("SDL_Shape requires at least one bitmap file as argument.\n");
  121.63 +        	exit(-1);
  121.64 +        }
  121.65 +	
  121.66 +	if(SDL_VideoInit(NULL,0) == -1) {
  121.67 +		printf("Could not initialize SDL video.\n");
  121.68 +		exit(-2);
  121.69 +	}
  121.70 +	
  121.71 +	num_pictures = argc - 1;
  121.72 +	pictures = (LoadedPicture *)malloc(sizeof(LoadedPicture)*num_pictures);
  121.73 +	for(i=0;i<num_pictures;i++)
  121.74 +		pictures[i].surface = NULL;
  121.75 +	for(i=0;i<num_pictures;i++) {
  121.76 +		pictures[i].surface = SDL_LoadBMP(argv[i+1]);
  121.77 +		if(pictures[i].surface == NULL) {
  121.78 +			j = 0;
  121.79 +			for(j=0;j<num_pictures;j++)
  121.80 +				if(pictures[j].surface != NULL)
  121.81 +					SDL_FreeSurface(pictures[j].surface);
  121.82 +			free(pictures);
  121.83 +			SDL_VideoQuit();
  121.84 +			printf("Could not load surface from named bitmap file.\n");
  121.85 +			exit(-3);
  121.86 +		}
  121.87 +
  121.88 +		format = pictures[i].surface->format;
  121.89 +		if(format->Amask != 0) {
  121.90 +			pictures[i].mode.mode = ShapeModeBinarizeAlpha;
  121.91 +			pictures[i].mode.parameters.binarizationCutoff = 255;
  121.92 +		}
  121.93 +		else {
  121.94 +			pictures[i].mode.mode = ShapeModeColorKey;
  121.95 +			pictures[i].mode.parameters.colorKey = black;
  121.96 +		}
  121.97 +	}
  121.98 +	
  121.99 +	window = SDL_CreateShapedWindow("SDL_Shape test",SHAPED_WINDOW_X,SHAPED_WINDOW_Y,SHAPED_WINDOW_DIMENSION,SHAPED_WINDOW_DIMENSION,SDL_WINDOW_RESIZABLE | SDL_WINDOW_SHOWN);
 121.100 +	if(window == NULL) {
 121.101 +		for(i=0;i<num_pictures;i++)
 121.102 +			SDL_FreeSurface(pictures[i].surface);
 121.103 +		free(pictures);
 121.104 +		SDL_VideoQuit();
 121.105 +		printf("Could not create shaped window for SDL_Shape.\n");
 121.106 +		exit(-4);
 121.107 +	}
 121.108 +	if(SDL_CreateRenderer(window,-1,SDL_RENDERER_PRESENTFLIP2) == -1) {
 121.109 +		SDL_DestroyWindow(window);
 121.110 +		for(i=0;i<num_pictures;i++)
 121.111 +			SDL_FreeSurface(pictures[i].surface);
 121.112 +		free(pictures);
 121.113 +		SDL_VideoQuit();
 121.114 +		printf("Could not create rendering context for SDL_Shape window.\n");
 121.115 +		exit(-5);
 121.116 +	}
 121.117 +	
 121.118 +	for(i=0;i<num_pictures;i++)
 121.119 +		pictures[i].texture = NULL;
 121.120 +	for(i=0;i<num_pictures;i++) {
 121.121 +		pictures[i].texture = SDL_CreateTextureFromSurface(0,pictures[i].surface);
 121.122 +		if(pictures[i].texture == NULL) {
 121.123 +			j = 0;
 121.124 +			for(j=0;j<num_pictures;i++)
 121.125 +				if(pictures[i].texture != NULL)
 121.126 +					SDL_DestroyTexture(pictures[i].texture);
 121.127 +			for(i=0;i<num_pictures;i++)
 121.128 +				SDL_FreeSurface(pictures[i].surface);
 121.129 +			free(pictures);
 121.130 +			SDL_DestroyRenderer(window);
 121.131 +			SDL_DestroyWindow(window);
 121.132 +			SDL_VideoQuit();
 121.133 +			printf("Could not create texture for SDL_shape.\n");
 121.134 +			exit(-6);
 121.135 +		}
 121.136 +	}
 121.137 +	
 121.138 +	event_pending = 0;
 121.139 +	should_exit = 0;
 121.140 +	event_pending = SDL_PollEvent(&event);
 121.141 +	current_picture = 0;
 121.142 +	button_down = 0;
 121.143 +	texture_dimensions.h = 0;
 121.144 +	texture_dimensions.w = 0;
 121.145 +	texture_dimensions.x = 0;
 121.146 +	texture_dimensions.y = 0;
 121.147 +	SDL_QueryTexture(pictures[current_picture].texture,(Uint32 *)&pixelFormat,(int *)&access,&texture_dimensions.w,&texture_dimensions.h);
 121.148 +	SDL_SetWindowSize(window,texture_dimensions.w,texture_dimensions.h);
 121.149 +	SDL_SetWindowShape(window,pictures[current_picture].surface,&pictures[current_picture].mode);
 121.150 +	next_time = SDL_GetTicks() + TICK_INTERVAL;
 121.151 +	while(should_exit == 0) {
 121.152 +		event_pending = SDL_PollEvent(&event);
 121.153 +		if(event_pending == 1) {
 121.154 +			if(event.type == SDL_KEYDOWN) {
 121.155 +				button_down = 1;
 121.156 +				if(event.key.keysym.sym == SDLK_ESCAPE)
 121.157 +					should_exit = 1;
 121.158 +			}
 121.159 +			if(button_down && event.type == SDL_KEYUP) {
 121.160 +				button_down = 0;
 121.161 +				current_picture += 1;
 121.162 +				if(current_picture >= num_pictures)
 121.163 +					current_picture = 0;
 121.164 +				SDL_QueryTexture(pictures[current_picture].texture,(Uint32 *)&pixelFormat,(int *)&access,&texture_dimensions.w,&texture_dimensions.h);
 121.165 +				SDL_SetWindowSize(window,texture_dimensions.w,texture_dimensions.h);
 121.166 +				SDL_SetWindowShape(window,pictures[current_picture].surface,&pictures[current_picture].mode);
 121.167 +			}
 121.168 +			if(event.type == SDL_QUIT)
 121.169 +				should_exit = 1;
 121.170 +			event_pending = 0;
 121.171 +		}
 121.172 +		render(window,pictures[current_picture].texture,texture_dimensions);
 121.173 +		SDL_Delay(time_left());
 121.174 +		next_time += TICK_INTERVAL;
 121.175 +	}
 121.176 +	
 121.177 +	//Free the textures.
 121.178 +	for(i=0;i<num_pictures;i++)
 121.179 +		SDL_DestroyTexture(pictures[i].texture);
 121.180 +	//Destroy the window.
 121.181 +	SDL_DestroyWindow(window);
 121.182 +	//Free the original surfaces backing the textures.
 121.183 +	for(i=0;i<num_pictures;i++)
 121.184 +		SDL_FreeSurface(pictures[i].surface);
 121.185 +	free(pictures);
 121.186 +	//Call SDL_VideoQuit() before quitting.
 121.187 +	SDL_VideoQuit();
 121.188 +
 121.189 +	return 0;
 121.190 +}