Merged Eli's Google Summer of Code work from SDL-gsoc2010-shaped_windows
authorSam Lantinga <slouken@libsdl.org>
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
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/VisualC/SDL_VS2010.sln	Sun Aug 22 13:45:56 2010 -0700
     5.3 @@ -0,0 +1,61 @@
     5.4 +Microsoft Visual Studio Solution File, Format Version 11.00
     5.5 +# Visual Studio 2010
     5.6 +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{CE748C1F-3C21-4825-AA6A-F895A023F7E7}"
     5.7 +EndProject
     5.8 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SDL", "SDL\SDL_VS2010.vcxproj", "{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}"
     5.9 +EndProject
    5.10 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SDLmain", "SDLmain\SDLmain_VS2010.vcxproj", "{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}"
    5.11 +EndProject
    5.12 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "automated", "tests\automated\automated.vcxproj", "{DDD710DB-EC7B-4CCB-BD75-535D401A2FE0}"
    5.13 +EndProject
    5.14 +Global
    5.15 +	GlobalSection(SolutionConfigurationPlatforms) = preSolution
    5.16 +		Debug|Win32 = Debug|Win32
    5.17 +		Debug|x64 = Debug|x64
    5.18 +		Release_NoSTDIO|Win32 = Release_NoSTDIO|Win32
    5.19 +		Release_NoSTDIO|x64 = Release_NoSTDIO|x64
    5.20 +		Release|Win32 = Release|Win32
    5.21 +		Release|x64 = Release|x64
    5.22 +	EndGlobalSection
    5.23 +	GlobalSection(ProjectConfigurationPlatforms) = postSolution
    5.24 +		{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Debug|Win32.ActiveCfg = Debug|Win32
    5.25 +		{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Debug|Win32.Build.0 = Debug|Win32
    5.26 +		{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Debug|x64.ActiveCfg = Debug|x64
    5.27 +		{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Debug|x64.Build.0 = Debug|x64
    5.28 +		{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Release_NoSTDIO|Win32.ActiveCfg = Release|Win32
    5.29 +		{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Release_NoSTDIO|Win32.Build.0 = Release|Win32
    5.30 +		{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Release_NoSTDIO|x64.ActiveCfg = Release|x64
    5.31 +		{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Release_NoSTDIO|x64.Build.0 = Release|x64
    5.32 +		{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Release|Win32.ActiveCfg = Release|Win32
    5.33 +		{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Release|Win32.Build.0 = Release|Win32
    5.34 +		{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Release|x64.ActiveCfg = Release|x64
    5.35 +		{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Release|x64.Build.0 = Release|x64
    5.36 +		{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Debug|Win32.ActiveCfg = Debug|Win32
    5.37 +		{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Debug|Win32.Build.0 = Debug|Win32
    5.38 +		{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Debug|x64.ActiveCfg = Debug|x64
    5.39 +		{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Debug|x64.Build.0 = Debug|x64
    5.40 +		{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Release_NoSTDIO|Win32.ActiveCfg = Release_NoSTDIO|Win32
    5.41 +		{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Release_NoSTDIO|Win32.Build.0 = Release_NoSTDIO|Win32
    5.42 +		{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Release_NoSTDIO|x64.ActiveCfg = Release_NoSTDIO|x64
    5.43 +		{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Release_NoSTDIO|x64.Build.0 = Release_NoSTDIO|x64
    5.44 +		{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Release|Win32.ActiveCfg = Release|Win32
    5.45 +		{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Release|Win32.Build.0 = Release|Win32
    5.46 +		{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Release|x64.ActiveCfg = Release|x64
    5.47 +		{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Release|x64.Build.0 = Release|x64
    5.48 +		{DDD710DB-EC7B-4CCB-BD75-535D401A2FE0}.Debug|Win32.ActiveCfg = Debug|Win32
    5.49 +		{DDD710DB-EC7B-4CCB-BD75-535D401A2FE0}.Debug|Win32.Build.0 = Debug|Win32
    5.50 +		{DDD710DB-EC7B-4CCB-BD75-535D401A2FE0}.Debug|x64.ActiveCfg = Debug|Win32
    5.51 +		{DDD710DB-EC7B-4CCB-BD75-535D401A2FE0}.Release_NoSTDIO|Win32.ActiveCfg = Release|Win32
    5.52 +		{DDD710DB-EC7B-4CCB-BD75-535D401A2FE0}.Release_NoSTDIO|Win32.Build.0 = Release|Win32
    5.53 +		{DDD710DB-EC7B-4CCB-BD75-535D401A2FE0}.Release_NoSTDIO|x64.ActiveCfg = Release|Win32
    5.54 +		{DDD710DB-EC7B-4CCB-BD75-535D401A2FE0}.Release|Win32.ActiveCfg = Release|Win32
    5.55 +		{DDD710DB-EC7B-4CCB-BD75-535D401A2FE0}.Release|Win32.Build.0 = Release|Win32
    5.56 +		{DDD710DB-EC7B-4CCB-BD75-535D401A2FE0}.Release|x64.ActiveCfg = Release|Win32
    5.57 +	EndGlobalSection
    5.58 +	GlobalSection(SolutionProperties) = preSolution
    5.59 +		HideSolutionNode = FALSE
    5.60 +	EndGlobalSection
    5.61 +	GlobalSection(NestedProjects) = preSolution
    5.62 +		{DDD710DB-EC7B-4CCB-BD75-535D401A2FE0} = {CE748C1F-3C21-4825-AA6A-F895A023F7E7}
    5.63 +	EndGlobalSection
    5.64 +EndGlobal
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/VisualC/SDLmain/SDLmain_VS2010.vcxproj	Sun Aug 22 13:45:56 2010 -0700
     6.3 @@ -0,0 +1,264 @@
     6.4 +<?xml version="1.0" encoding="utf-8"?>
     6.5 +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
     6.6 +  <ItemGroup Label="ProjectConfigurations">
     6.7 +    <ProjectConfiguration Include="Debug|Win32">
     6.8 +      <Configuration>Debug</Configuration>
     6.9 +      <Platform>Win32</Platform>
    6.10 +    </ProjectConfiguration>
    6.11 +    <ProjectConfiguration Include="Debug|x64">
    6.12 +      <Configuration>Debug</Configuration>
    6.13 +      <Platform>x64</Platform>
    6.14 +    </ProjectConfiguration>
    6.15 +    <ProjectConfiguration Include="Release_NoSTDIO|Win32">
    6.16 +      <Configuration>Release_NoSTDIO</Configuration>
    6.17 +      <Platform>Win32</Platform>
    6.18 +    </ProjectConfiguration>
    6.19 +    <ProjectConfiguration Include="Release_NoSTDIO|x64">
    6.20 +      <Configuration>Release_NoSTDIO</Configuration>
    6.21 +      <Platform>x64</Platform>
    6.22 +    </ProjectConfiguration>
    6.23 +    <ProjectConfiguration Include="Release|Win32">
    6.24 +      <Configuration>Release</Configuration>
    6.25 +      <Platform>Win32</Platform>
    6.26 +    </ProjectConfiguration>
    6.27 +    <ProjectConfiguration Include="Release|x64">
    6.28 +      <Configuration>Release</Configuration>
    6.29 +      <Platform>x64</Platform>
    6.30 +    </ProjectConfiguration>
    6.31 +  </ItemGroup>
    6.32 +  <PropertyGroup Label="Globals">
    6.33 +    <ProjectName>SDLmain</ProjectName>
    6.34 +    <ProjectGuid>{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}</ProjectGuid>
    6.35 +  </PropertyGroup>
    6.36 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
    6.37 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
    6.38 +    <ConfigurationType>StaticLibrary</ConfigurationType>
    6.39 +    <UseOfMfc>false</UseOfMfc>
    6.40 +  </PropertyGroup>
    6.41 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release_NoSTDIO|Win32'" Label="Configuration">
    6.42 +    <ConfigurationType>StaticLibrary</ConfigurationType>
    6.43 +    <UseOfMfc>false</UseOfMfc>
    6.44 +  </PropertyGroup>
    6.45 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
    6.46 +    <ConfigurationType>StaticLibrary</ConfigurationType>
    6.47 +    <UseOfMfc>false</UseOfMfc>
    6.48 +  </PropertyGroup>
    6.49 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
    6.50 +    <ConfigurationType>StaticLibrary</ConfigurationType>
    6.51 +    <UseOfMfc>false</UseOfMfc>
    6.52 +  </PropertyGroup>
    6.53 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release_NoSTDIO|x64'" Label="Configuration">
    6.54 +    <ConfigurationType>StaticLibrary</ConfigurationType>
    6.55 +    <UseOfMfc>false</UseOfMfc>
    6.56 +  </PropertyGroup>
    6.57 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
    6.58 +    <ConfigurationType>StaticLibrary</ConfigurationType>
    6.59 +    <UseOfMfc>false</UseOfMfc>
    6.60 +  </PropertyGroup>
    6.61 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
    6.62 +  <ImportGroup Label="ExtensionSettings">
    6.63 +  </ImportGroup>
    6.64 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
    6.65 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    6.66 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
    6.67 +  </ImportGroup>
    6.68 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release_NoSTDIO|Win32'" Label="PropertySheets">
    6.69 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    6.70 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
    6.71 +  </ImportGroup>
    6.72 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
    6.73 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    6.74 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
    6.75 +  </ImportGroup>
    6.76 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
    6.77 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    6.78 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
    6.79 +  </ImportGroup>
    6.80 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release_NoSTDIO|x64'" Label="PropertySheets">
    6.81 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    6.82 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
    6.83 +  </ImportGroup>
    6.84 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
    6.85 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    6.86 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
    6.87 +  </ImportGroup>
    6.88 +  <PropertyGroup Label="UserMacros" />
    6.89 +  <PropertyGroup>
    6.90 +    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
    6.91 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
    6.92 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
    6.93 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</OutDir>
    6.94 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir>
    6.95 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release_NoSTDIO|Win32'">.\Release_NOSTDIO\</OutDir>
    6.96 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release_NoSTDIO|Win32'">.\Release_NOSTDIO\</IntDir>
    6.97 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release_NoSTDIO|x64'">$(Platform)\$(Configuration)\</OutDir>
    6.98 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release_NoSTDIO|x64'">$(Platform)\$(Configuration)\</IntDir>
    6.99 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
   6.100 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   6.101 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</OutDir>
   6.102 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</IntDir>
   6.103 +  </PropertyGroup>
   6.104 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   6.105 +    <PreBuildEvent>
   6.106 +      <Message>Making sure basic SDL headers are in place...</Message>
   6.107 +      <Command>if exist "$(ProjectDir)\..\..\include\SDL_config.h" goto SDLCONFIGOKAY
   6.108 +echo Copying SDL_config_win32.h to SDL_config.h...
   6.109 +copy "$(ProjectDir)\..\..\include\SDL_config_win32.h" "$(ProjectDir)\..\..\include\SDL_config.h"
   6.110 +:SDLCONFIGOKAY
   6.111 +
   6.112 +if exist "$(ProjectDir)\..\..\include\SDL_revision.h" goto SDLREVISIONOKAY
   6.113 +echo Creating stub SDL_revision.h file...
   6.114 +echo #define SDL_REVISION 0 &gt;"$(ProjectDir)\..\..\include\SDL_revision.h"
   6.115 +:SDLREVISIONOKAY</Command>
   6.116 +    </PreBuildEvent>
   6.117 +    <ClCompile>
   6.118 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   6.119 +      <AdditionalIncludeDirectories>..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   6.120 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   6.121 +      <StringPooling>true</StringPooling>
   6.122 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   6.123 +      <FunctionLevelLinking>true</FunctionLevelLinking>
   6.124 +      <PrecompiledHeader>
   6.125 +      </PrecompiledHeader>
   6.126 +      <WarningLevel>Level3</WarningLevel>
   6.127 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   6.128 +      <CompileAs>Default</CompileAs>
   6.129 +    </ClCompile>
   6.130 +    <Lib>
   6.131 +      <OutputFile>.\Release\SDLmain.lib</OutputFile>
   6.132 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   6.133 +    </Lib>
   6.134 +  </ItemDefinitionGroup>
   6.135 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
   6.136 +    <Midl>
   6.137 +      <TargetEnvironment>X64</TargetEnvironment>
   6.138 +    </Midl>
   6.139 +    <ClCompile>
   6.140 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   6.141 +      <AdditionalIncludeDirectories>..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   6.142 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   6.143 +      <StringPooling>true</StringPooling>
   6.144 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   6.145 +      <FunctionLevelLinking>true</FunctionLevelLinking>
   6.146 +      <PrecompiledHeader>
   6.147 +      </PrecompiledHeader>
   6.148 +      <PrecompiledHeaderOutputFile>.\Release/SDLmain.pch</PrecompiledHeaderOutputFile>
   6.149 +      <WarningLevel>Level3</WarningLevel>
   6.150 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   6.151 +      <CompileAs>Default</CompileAs>
   6.152 +    </ClCompile>
   6.153 +    <Lib>
   6.154 +      <OutputFile>$(IntDir)SDLmain.lib</OutputFile>
   6.155 +    </Lib>
   6.156 +  </ItemDefinitionGroup>
   6.157 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release_NoSTDIO|Win32'">
   6.158 +    <PreBuildEvent>
   6.159 +      <Message>Making sure basic SDL headers are in place...</Message>
   6.160 +      <Command>if exist "$(ProjectDir)\..\..\include\SDL_config.h" goto SDLCONFIGOKAY
   6.161 +echo Copying SDL_config_win32.h to SDL_config.h...
   6.162 +copy "$(ProjectDir)\..\..\include\SDL_config_win32.h" "$(ProjectDir)\..\..\include\SDL_config.h"
   6.163 +:SDLCONFIGOKAY
   6.164 +
   6.165 +if exist "$(ProjectDir)\..\..\include\SDL_revision.h" goto SDLREVISIONOKAY
   6.166 +echo Creating stub SDL_revision.h file...
   6.167 +echo #define SDL_REVISION 0 &gt;"$(ProjectDir)\..\..\include\SDL_revision.h"
   6.168 +:SDLREVISIONOKAY</Command>
   6.169 +    </PreBuildEvent>
   6.170 +    <ClCompile>
   6.171 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   6.172 +      <AdditionalIncludeDirectories>..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   6.173 +      <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;WIN32;NDEBUG;_WINDOWS;NO_STDIO_REDIRECT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   6.174 +      <StringPooling>true</StringPooling>
   6.175 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   6.176 +      <FunctionLevelLinking>true</FunctionLevelLinking>
   6.177 +      <PrecompiledHeader>
   6.178 +      </PrecompiledHeader>
   6.179 +      <WarningLevel>Level3</WarningLevel>
   6.180 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   6.181 +      <CompileAs>Default</CompileAs>
   6.182 +    </ClCompile>
   6.183 +    <Lib>
   6.184 +      <OutputFile>.\Release_NOSTDIO\SDLmain.lib</OutputFile>
   6.185 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   6.186 +    </Lib>
   6.187 +  </ItemDefinitionGroup>
   6.188 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release_NoSTDIO|x64'">
   6.189 +    <Midl>
   6.190 +      <TargetEnvironment>X64</TargetEnvironment>
   6.191 +    </Midl>
   6.192 +    <ClCompile>
   6.193 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   6.194 +      <AdditionalIncludeDirectories>..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   6.195 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;NO_STDIO_REDIRECT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   6.196 +      <StringPooling>true</StringPooling>
   6.197 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   6.198 +      <FunctionLevelLinking>true</FunctionLevelLinking>
   6.199 +      <PrecompiledHeader>
   6.200 +      </PrecompiledHeader>
   6.201 +      <PrecompiledHeaderOutputFile>.\Release_NOSTDIO/SDLmain.pch</PrecompiledHeaderOutputFile>
   6.202 +      <WarningLevel>Level3</WarningLevel>
   6.203 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   6.204 +      <CompileAs>Default</CompileAs>
   6.205 +    </ClCompile>
   6.206 +    <Lib>
   6.207 +      <OutputFile>$(IntDir)SDLmain.lib</OutputFile>
   6.208 +    </Lib>
   6.209 +  </ItemDefinitionGroup>
   6.210 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   6.211 +    <PreBuildEvent>
   6.212 +      <Message>Making sure basic SDL headers are in place...</Message>
   6.213 +      <Command>if exist "$(ProjectDir)\..\..\include\SDL_config.h" goto SDLCONFIGOKAY
   6.214 +echo Copying SDL_config_win32.h to SDL_config.h...
   6.215 +copy "$(ProjectDir)\..\..\include\SDL_config_win32.h" "$(ProjectDir)\..\..\include\SDL_config.h"
   6.216 +:SDLCONFIGOKAY
   6.217 +
   6.218 +if exist "$(ProjectDir)\..\..\include\SDL_revision.h" goto SDLREVISIONOKAY
   6.219 +echo Creating stub SDL_revision.h file...
   6.220 +echo #define SDL_REVISION 0 &gt;"$(ProjectDir)\..\..\include\SDL_revision.h"
   6.221 +:SDLREVISIONOKAY</Command>
   6.222 +    </PreBuildEvent>
   6.223 +    <ClCompile>
   6.224 +      <Optimization>Disabled</Optimization>
   6.225 +      <AdditionalIncludeDirectories>..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   6.226 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   6.227 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   6.228 +      <PrecompiledHeader>
   6.229 +      </PrecompiledHeader>
   6.230 +      <WarningLevel>Level3</WarningLevel>
   6.231 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   6.232 +      <DebugInformationFormat>OldStyle</DebugInformationFormat>
   6.233 +      <CompileAs>Default</CompileAs>
   6.234 +    </ClCompile>
   6.235 +    <Lib>
   6.236 +      <OutputFile>.\Debug\SDLmain.lib</OutputFile>
   6.237 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   6.238 +    </Lib>
   6.239 +  </ItemDefinitionGroup>
   6.240 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
   6.241 +    <Midl>
   6.242 +      <TargetEnvironment>X64</TargetEnvironment>
   6.243 +    </Midl>
   6.244 +    <ClCompile>
   6.245 +      <Optimization>Disabled</Optimization>
   6.246 +      <AdditionalIncludeDirectories>..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   6.247 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   6.248 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   6.249 +      <PrecompiledHeader>
   6.250 +      </PrecompiledHeader>
   6.251 +      <PrecompiledHeaderOutputFile>.\Debug/SDLmain.pch</PrecompiledHeaderOutputFile>
   6.252 +      <WarningLevel>Level3</WarningLevel>
   6.253 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   6.254 +      <DebugInformationFormat>OldStyle</DebugInformationFormat>
   6.255 +      <CompileAs>Default</CompileAs>
   6.256 +    </ClCompile>
   6.257 +    <Lib>
   6.258 +      <OutputFile>$(IntDir)SDLmain.lib</OutputFile>
   6.259 +    </Lib>
   6.260 +  </ItemDefinitionGroup>
   6.261 +  <ItemGroup>
   6.262 +    <ClCompile Include="..\..\Src\Main\Win32\SDL_win32_main.c" />
   6.263 +  </ItemGroup>
   6.264 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
   6.265 +  <ImportGroup Label="ExtensionTargets">
   6.266 +  </ImportGroup>
   6.267 +</Project>
   6.268 \ No newline at end of file
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/VisualC/tests/automated/automated.vcxproj	Sun Aug 22 13:45:56 2010 -0700
     7.3 @@ -0,0 +1,111 @@
     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="Release|Win32">
    7.12 +      <Configuration>Release</Configuration>
    7.13 +      <Platform>Win32</Platform>
    7.14 +    </ProjectConfiguration>
    7.15 +  </ItemGroup>
    7.16 +  <PropertyGroup Label="Globals">
    7.17 +    <ProjectGuid>{DDD710DB-EC7B-4CCB-BD75-535D401A2FE0}</ProjectGuid>
    7.18 +    <RootNamespace>automated</RootNamespace>
    7.19 +    <Keyword>Win32Proj</Keyword>
    7.20 +  </PropertyGroup>
    7.21 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
    7.22 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
    7.23 +    <ConfigurationType>Application</ConfigurationType>
    7.24 +    <CharacterSet>Unicode</CharacterSet>
    7.25 +    <WholeProgramOptimization>true</WholeProgramOptimization>
    7.26 +  </PropertyGroup>
    7.27 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
    7.28 +    <ConfigurationType>Application</ConfigurationType>
    7.29 +    <CharacterSet>Unicode</CharacterSet>
    7.30 +  </PropertyGroup>
    7.31 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
    7.32 +  <ImportGroup Label="ExtensionSettings">
    7.33 +  </ImportGroup>
    7.34 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
    7.35 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    7.36 +  </ImportGroup>
    7.37 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
    7.38 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    7.39 +  </ImportGroup>
    7.40 +  <PropertyGroup Label="UserMacros" />
    7.41 +  <PropertyGroup>
    7.42 +    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
    7.43 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
    7.44 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\</IntDir>
    7.45 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
    7.46 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
    7.47 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration)\</IntDir>
    7.48 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
    7.49 +  </PropertyGroup>
    7.50 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    7.51 +    <ClCompile>
    7.52 +      <Optimization>Disabled</Optimization>
    7.53 +      <AdditionalIncludeDirectories>$(SolutionDir)\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    7.54 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    7.55 +      <MinimalRebuild>true</MinimalRebuild>
    7.56 +      <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
    7.57 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
    7.58 +      <PrecompiledHeader>
    7.59 +      </PrecompiledHeader>
    7.60 +      <WarningLevel>Level3</WarningLevel>
    7.61 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
    7.62 +    </ClCompile>
    7.63 +    <Link>
    7.64 +      <GenerateDebugInformation>true</GenerateDebugInformation>
    7.65 +      <SubSystem>Windows</SubSystem>
    7.66 +      <TargetMachine>MachineX86</TargetMachine>
    7.67 +    </Link>
    7.68 +  </ItemDefinitionGroup>
    7.69 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    7.70 +    <ClCompile>
    7.71 +      <Optimization>MaxSpeed</Optimization>
    7.72 +      <IntrinsicFunctions>true</IntrinsicFunctions>
    7.73 +      <AdditionalIncludeDirectories>$(SolutionDir)\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    7.74 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    7.75 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
    7.76 +      <FunctionLevelLinking>true</FunctionLevelLinking>
    7.77 +      <PrecompiledHeader>
    7.78 +      </PrecompiledHeader>
    7.79 +      <WarningLevel>Level3</WarningLevel>
    7.80 +      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
    7.81 +    </ClCompile>
    7.82 +    <Link>
    7.83 +      <GenerateDebugInformation>true</GenerateDebugInformation>
    7.84 +      <SubSystem>Windows</SubSystem>
    7.85 +      <OptimizeReferences>true</OptimizeReferences>
    7.86 +      <EnableCOMDATFolding>true</EnableCOMDATFolding>
    7.87 +      <TargetMachine>MachineX86</TargetMachine>
    7.88 +    </Link>
    7.89 +  </ItemDefinitionGroup>
    7.90 +  <ItemGroup>
    7.91 +    <ClCompile Include="..\..\..\test\automated\audio\audio.c" />
    7.92 +    <ClCompile Include="..\..\..\test\automated\common\common.c" />
    7.93 +    <ClCompile Include="..\..\..\test\automated\platform\platform.c" />
    7.94 +    <ClCompile Include="..\..\..\test\automated\rect\rect.c" />
    7.95 +    <ClCompile Include="..\..\..\test\automated\render\render.c" />
    7.96 +    <ClCompile Include="..\..\..\test\automated\rwops\rwops.c" />
    7.97 +    <ClCompile Include="..\..\..\test\automated\SDL_at.c" />
    7.98 +    <ClCompile Include="..\..\..\test\automated\surface\surface.c" />
    7.99 +    <ClCompile Include="..\..\..\test\automated\testsdl.c" />
   7.100 +  </ItemGroup>
   7.101 +  <ItemGroup>
   7.102 +    <ClInclude Include="..\..\..\test\automated\audio\audio.h" />
   7.103 +    <ClInclude Include="..\..\..\test\automated\common\common.h" />
   7.104 +    <ClInclude Include="..\..\..\test\automated\common\images.h" />
   7.105 +    <ClInclude Include="..\..\..\test\automated\platform\platform.h" />
   7.106 +    <ClInclude Include="..\..\..\test\automated\render\render.h" />
   7.107 +    <ClInclude Include="..\..\..\test\automated\rwops\rwops.h" />
   7.108 +    <ClInclude Include="..\..\..\test\automated\SDL_at.h" />
   7.109 +    <ClInclude Include="..\..\..\test\automated\surface\surface.h" />
   7.110 +  </ItemGroup>
   7.111 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
   7.112 +  <ImportGroup Label="ExtensionTargets">
   7.113 +  </ImportGroup>
   7.114 +</Project>
   7.115 \ 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.filters	Sun Aug 22 13:45:56 2010 -0700
     8.3 @@ -0,0 +1,72 @@
     8.4 +<?xml version="1.0" encoding="utf-8"?>
     8.5 +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
     8.6 +  <ItemGroup>
     8.7 +    <Filter Include="Source Files">
     8.8 +      <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
     8.9 +      <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
    8.10 +    </Filter>
    8.11 +    <Filter Include="Header Files">
    8.12 +      <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
    8.13 +      <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
    8.14 +    </Filter>
    8.15 +    <Filter Include="Resource Files">
    8.16 +      <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
    8.17 +      <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions>
    8.18 +    </Filter>
    8.19 +  </ItemGroup>
    8.20 +  <ItemGroup>
    8.21 +    <ClCompile Include="..\..\..\test\automated\audio\audio.c">
    8.22 +      <Filter>Source Files</Filter>
    8.23 +    </ClCompile>
    8.24 +    <ClCompile Include="..\..\..\test\automated\common\common.c">
    8.25 +      <Filter>Source Files</Filter>
    8.26 +    </ClCompile>
    8.27 +    <ClCompile Include="..\..\..\test\automated\platform\platform.c">
    8.28 +      <Filter>Source Files</Filter>
    8.29 +    </ClCompile>
    8.30 +    <ClCompile Include="..\..\..\test\automated\rect\rect.c">
    8.31 +      <Filter>Source Files</Filter>
    8.32 +    </ClCompile>
    8.33 +    <ClCompile Include="..\..\..\test\automated\render\render.c">
    8.34 +      <Filter>Source Files</Filter>
    8.35 +    </ClCompile>
    8.36 +    <ClCompile Include="..\..\..\test\automated\rwops\rwops.c">
    8.37 +      <Filter>Source Files</Filter>
    8.38 +    </ClCompile>
    8.39 +    <ClCompile Include="..\..\..\test\automated\SDL_at.c">
    8.40 +      <Filter>Source Files</Filter>
    8.41 +    </ClCompile>
    8.42 +    <ClCompile Include="..\..\..\test\automated\surface\surface.c">
    8.43 +      <Filter>Source Files</Filter>
    8.44 +    </ClCompile>
    8.45 +    <ClCompile Include="..\..\..\test\automated\testsdl.c">
    8.46 +      <Filter>Source Files</Filter>
    8.47 +    </ClCompile>
    8.48 +  </ItemGroup>
    8.49 +  <ItemGroup>
    8.50 +    <ClInclude Include="..\..\..\test\automated\audio\audio.h">
    8.51 +      <Filter>Header Files</Filter>
    8.52 +    </ClInclude>
    8.53 +    <ClInclude Include="..\..\..\test\automated\common\common.h">
    8.54 +      <Filter>Header Files</Filter>
    8.55 +    </ClInclude>
    8.56 +    <ClInclude Include="..\..\..\test\automated\common\images.h">
    8.57 +      <Filter>Header Files</Filter>
    8.58 +    </ClInclude>
    8.59 +    <ClInclude Include="..\..\..\test\automated\platform\platform.h">
    8.60 +      <Filter>Header Files</Filter>
    8.61 +    </ClInclude>
    8.62 +    <ClInclude Include="..\..\..\test\automated\render\render.h">
    8.63 +      <Filter>Header Files</Filter>
    8.64 +    </ClInclude>
    8.65 +    <ClInclude Include="..\..\..\test\automated\rwops\rwops.h">
    8.66 +      <Filter>Header Files</Filter>
    8.67 +    </ClInclude>
    8.68 +    <ClInclude Include="..\..\..\test\automated\SDL_at.h">
    8.69 +      <Filter>Header Files</Filter>
    8.70 +    </ClInclude>
    8.71 +    <ClInclude Include="..\..\..\test\automated\surface\surface.h">
    8.72 +      <Filter>Header Files</Filter>
    8.73 +    </ClInclude>
    8.74 +  </ItemGroup>
    8.75 +</Project>
    8.76 \ No newline at end of file
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/VisualC/tests/checkkeys/checkkeys.vcxproj	Sun Aug 22 13:45:56 2010 -0700
     9.3 @@ -0,0 +1,130 @@
     9.4 +<?xml version="1.0" encoding="utf-8"?>
     9.5 +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
     9.6 +  <ItemGroup Label="ProjectConfigurations">
     9.7 +    <ProjectConfiguration Include="Debug|Win32">
     9.8 +      <Configuration>Debug</Configuration>
     9.9 +      <Platform>Win32</Platform>
    9.10 +    </ProjectConfiguration>
    9.11 +    <ProjectConfiguration Include="Release|Win32">
    9.12 +      <Configuration>Release</Configuration>
    9.13 +      <Platform>Win32</Platform>
    9.14 +    </ProjectConfiguration>
    9.15 +  </ItemGroup>
    9.16 +  <PropertyGroup Label="Globals">
    9.17 +    <ProjectGuid>{26828762-C95D-4637-9CB1-7F0979523813}</ProjectGuid>
    9.18 +  </PropertyGroup>
    9.19 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
    9.20 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
    9.21 +    <ConfigurationType>Application</ConfigurationType>
    9.22 +    <UseOfMfc>false</UseOfMfc>
    9.23 +  </PropertyGroup>
    9.24 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
    9.25 +    <ConfigurationType>Application</ConfigurationType>
    9.26 +    <UseOfMfc>false</UseOfMfc>
    9.27 +  </PropertyGroup>
    9.28 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
    9.29 +  <ImportGroup Label="ExtensionSettings">
    9.30 +  </ImportGroup>
    9.31 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
    9.32 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    9.33 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
    9.34 +  </ImportGroup>
    9.35 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
    9.36 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    9.37 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
    9.38 +  </ImportGroup>
    9.39 +  <PropertyGroup Label="UserMacros" />
    9.40 +  <PropertyGroup>
    9.41 +    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
    9.42 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
    9.43 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
    9.44 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
    9.45 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
    9.46 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
    9.47 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
    9.48 +  </PropertyGroup>
    9.49 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    9.50 +    <Midl>
    9.51 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    9.52 +      <MkTypLibCompatible>true</MkTypLibCompatible>
    9.53 +      <SuppressStartupBanner>true</SuppressStartupBanner>
    9.54 +      <TargetEnvironment>Win32</TargetEnvironment>
    9.55 +      <TypeLibraryName>.\Debug/checkkeys.tlb</TypeLibraryName>
    9.56 +    </Midl>
    9.57 +    <ClCompile>
    9.58 +      <Optimization>Disabled</Optimization>
    9.59 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    9.60 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    9.61 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
    9.62 +      <PrecompiledHeader>
    9.63 +      </PrecompiledHeader>
    9.64 +      <PrecompiledHeaderOutputFile>.\Debug/checkkeys.pch</PrecompiledHeaderOutputFile>
    9.65 +      <AssemblerListingLocation>.\Debug/</AssemblerListingLocation>
    9.66 +      <ObjectFileName>.\Debug/</ObjectFileName>
    9.67 +      <ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName>
    9.68 +      <WarningLevel>Level3</WarningLevel>
    9.69 +      <SuppressStartupBanner>true</SuppressStartupBanner>
    9.70 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
    9.71 +      <CompileAs>Default</CompileAs>
    9.72 +    </ClCompile>
    9.73 +    <ResourceCompile>
    9.74 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    9.75 +      <Culture>0x0409</Culture>
    9.76 +    </ResourceCompile>
    9.77 +    <Link>
    9.78 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
    9.79 +      <OutputFile>.\Debug/checkkeys.exe</OutputFile>
    9.80 +      <SuppressStartupBanner>true</SuppressStartupBanner>
    9.81 +      <GenerateDebugInformation>true</GenerateDebugInformation>
    9.82 +      <ProgramDatabaseFile>.\Debug/checkkeys.pdb</ProgramDatabaseFile>
    9.83 +      <SubSystem>Windows</SubSystem>
    9.84 +    </Link>
    9.85 +  </ItemDefinitionGroup>
    9.86 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    9.87 +    <Midl>
    9.88 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    9.89 +      <MkTypLibCompatible>true</MkTypLibCompatible>
    9.90 +      <SuppressStartupBanner>true</SuppressStartupBanner>
    9.91 +      <TargetEnvironment>Win32</TargetEnvironment>
    9.92 +      <TypeLibraryName>.\Release/checkkeys.tlb</TypeLibraryName>
    9.93 +    </Midl>
    9.94 +    <ClCompile>
    9.95 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
    9.96 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    9.97 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    9.98 +      <StringPooling>true</StringPooling>
    9.99 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   9.100 +      <FunctionLevelLinking>true</FunctionLevelLinking>
   9.101 +      <PrecompiledHeader>
   9.102 +      </PrecompiledHeader>
   9.103 +      <PrecompiledHeaderOutputFile>.\Release/checkkeys.pch</PrecompiledHeaderOutputFile>
   9.104 +      <AssemblerListingLocation>.\Release/</AssemblerListingLocation>
   9.105 +      <ObjectFileName>.\Release/</ObjectFileName>
   9.106 +      <ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
   9.107 +      <WarningLevel>Level3</WarningLevel>
   9.108 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   9.109 +      <CompileAs>Default</CompileAs>
   9.110 +    </ClCompile>
   9.111 +    <ResourceCompile>
   9.112 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   9.113 +      <Culture>0x0409</Culture>
   9.114 +    </ResourceCompile>
   9.115 +    <Link>
   9.116 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
   9.117 +      <OutputFile>.\Release/checkkeys.exe</OutputFile>
   9.118 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   9.119 +      <ProgramDatabaseFile>.\Release/checkkeys.pdb</ProgramDatabaseFile>
   9.120 +      <SubSystem>Windows</SubSystem>
   9.121 +    </Link>
   9.122 +  </ItemDefinitionGroup>
   9.123 +  <ItemGroup>
   9.124 +    <ClCompile Include="..\..\..\test\checkkeys.c" />
   9.125 +  </ItemGroup>
   9.126 +  <ItemGroup>
   9.127 +    <Library Include="..\..\Sdl\Debug\SDL.lib" />
   9.128 +    <Library Include="..\..\SDLmain\Debug\SDLmain.lib" />
   9.129 +  </ItemGroup>
   9.130 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
   9.131 +  <ImportGroup Label="ExtensionTargets">
   9.132 +  </ImportGroup>
   9.133 +</Project>
   9.134 \ No newline at end of file
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/VisualC/tests/graywin/graywin.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>{0BCCA0BF-073E-439E-BCE0-C9353C177487}</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/graywin.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/graywin.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/graywin.exe</OutputFile>
   10.80 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   10.81 +      <GenerateDebugInformation>true</GenerateDebugInformation>
   10.82 +      <ProgramDatabaseFile>.\Debug/graywin.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/graywin.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/graywin.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/graywin.exe</OutputFile>
  10.118 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  10.119 +      <ProgramDatabaseFile>.\Release/graywin.pdb</ProgramDatabaseFile>
  10.120 +      <SubSystem>Windows</SubSystem>
  10.121 +    </Link>
  10.122 +  </ItemDefinitionGroup>
  10.123 +  <ItemGroup>
  10.124 +    <ClCompile Include="..\..\..\test\graywin.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/loopwave/loopwave.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>{AAAD1CB5-7ADA-47AE-85A0-08A6EC48FAFB}</ProjectGuid>
   11.18 +  </PropertyGroup>
   11.19 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   11.20 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
   11.21 +    <ConfigurationType>Application</ConfigurationType>
   11.22 +    <UseOfMfc>false</UseOfMfc>
   11.23 +  </PropertyGroup>
   11.24 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|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)'=='Debug|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)'=='Release|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)'=='Release|Win32'">.\Release\</OutDir>
   11.43 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
   11.44 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
   11.45 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
   11.46 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   11.47 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
   11.48 +  </PropertyGroup>
   11.49 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   11.50 +    <Midl>
   11.51 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   11.52 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   11.53 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   11.54 +      <TargetEnvironment>Win32</TargetEnvironment>
   11.55 +      <TypeLibraryName>.\Release/loopwave.tlb</TypeLibraryName>
   11.56 +    </Midl>
   11.57 +    <ClCompile>
   11.58 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   11.59 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   11.60 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   11.61 +      <StringPooling>true</StringPooling>
   11.62 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   11.63 +      <FunctionLevelLinking>true</FunctionLevelLinking>
   11.64 +      <PrecompiledHeader>
   11.65 +      </PrecompiledHeader>
   11.66 +      <PrecompiledHeaderOutputFile>.\Release/loopwave.pch</PrecompiledHeaderOutputFile>
   11.67 +      <AssemblerListingLocation>.\Release/</AssemblerListingLocation>
   11.68 +      <ObjectFileName>.\Release/</ObjectFileName>
   11.69 +      <ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
   11.70 +      <WarningLevel>Level3</WarningLevel>
   11.71 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   11.72 +      <CompileAs>Default</CompileAs>
   11.73 +    </ClCompile>
   11.74 +    <ResourceCompile>
   11.75 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   11.76 +      <Culture>0x0409</Culture>
   11.77 +    </ResourceCompile>
   11.78 +    <Link>
   11.79 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
   11.80 +      <OutputFile>.\Release/loopwave.exe</OutputFile>
   11.81 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   11.82 +      <ProgramDatabaseFile>.\Release/loopwave.pdb</ProgramDatabaseFile>
   11.83 +      <SubSystem>Windows</SubSystem>
   11.84 +    </Link>
   11.85 +  </ItemDefinitionGroup>
   11.86 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   11.87 +    <Midl>
   11.88 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   11.89 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   11.90 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   11.91 +      <TargetEnvironment>Win32</TargetEnvironment>
   11.92 +      <TypeLibraryName>.\Debug/loopwave.tlb</TypeLibraryName>
   11.93 +    </Midl>
   11.94 +    <ClCompile>
   11.95 +      <Optimization>Disabled</Optimization>
   11.96 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   11.97 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   11.98 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   11.99 +      <PrecompiledHeader>
  11.100 +      </PrecompiledHeader>
  11.101 +      <PrecompiledHeaderOutputFile>.\Debug/loopwave.pch</PrecompiledHeaderOutputFile>
  11.102 +      <AssemblerListingLocation>.\Debug/</AssemblerListingLocation>
  11.103 +      <ObjectFileName>.\Debug/</ObjectFileName>
  11.104 +      <ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName>
  11.105 +      <WarningLevel>Level3</WarningLevel>
  11.106 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  11.107 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
  11.108 +      <CompileAs>Default</CompileAs>
  11.109 +    </ClCompile>
  11.110 +    <ResourceCompile>
  11.111 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  11.112 +      <Culture>0x0409</Culture>
  11.113 +    </ResourceCompile>
  11.114 +    <Link>
  11.115 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
  11.116 +      <OutputFile>.\Debug/loopwave.exe</OutputFile>
  11.117 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  11.118 +      <GenerateDebugInformation>true</GenerateDebugInformation>
  11.119 +      <ProgramDatabaseFile>.\Debug/loopwave.pdb</ProgramDatabaseFile>
  11.120 +      <SubSystem>Windows</SubSystem>
  11.121 +    </Link>
  11.122 +  </ItemDefinitionGroup>
  11.123 +  <ItemGroup>
  11.124 +    <ClCompile Include="..\..\..\Test\Loopwave.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/testalpha/testalpha.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>{7814D54B-65D3-4677-AD77-E0B980B4FA2D}</ProjectGuid>
   12.18 +  </PropertyGroup>
   12.19 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   12.20 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
   12.21 +    <ConfigurationType>Application</ConfigurationType>
   12.22 +    <UseOfMfc>false</UseOfMfc>
   12.23 +  </PropertyGroup>
   12.24 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|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)'=='Release|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)'=='Debug|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)'=='Debug|Win32'">.\Debug\</OutDir>
   12.43 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   12.44 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
   12.45 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
   12.46 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
   12.47 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
   12.48 +  </PropertyGroup>
   12.49 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   12.50 +    <Midl>
   12.51 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   12.52 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   12.53 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   12.54 +      <TargetEnvironment>Win32</TargetEnvironment>
   12.55 +      <TypeLibraryName>.\Debug/testalpha.tlb</TypeLibraryName>
   12.56 +    </Midl>
   12.57 +    <ClCompile>
   12.58 +      <Optimization>Disabled</Optimization>
   12.59 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   12.60 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   12.61 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   12.62 +      <PrecompiledHeader>
   12.63 +      </PrecompiledHeader>
   12.64 +      <PrecompiledHeaderOutputFile>.\Debug/testalpha.pch</PrecompiledHeaderOutputFile>
   12.65 +      <AssemblerListingLocation>.\Debug/</AssemblerListingLocation>
   12.66 +      <ObjectFileName>.\Debug/</ObjectFileName>
   12.67 +      <ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName>
   12.68 +      <WarningLevel>Level3</WarningLevel>
   12.69 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   12.70 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
   12.71 +      <CompileAs>Default</CompileAs>
   12.72 +    </ClCompile>
   12.73 +    <ResourceCompile>
   12.74 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   12.75 +      <Culture>0x0409</Culture>
   12.76 +    </ResourceCompile>
   12.77 +    <Link>
   12.78 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
   12.79 +      <OutputFile>.\Debug/testalpha.exe</OutputFile>
   12.80 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   12.81 +      <GenerateDebugInformation>true</GenerateDebugInformation>
   12.82 +      <ProgramDatabaseFile>.\Debug/testalpha.pdb</ProgramDatabaseFile>
   12.83 +      <SubSystem>Windows</SubSystem>
   12.84 +    </Link>
   12.85 +  </ItemDefinitionGroup>
   12.86 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   12.87 +    <Midl>
   12.88 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   12.89 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   12.90 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   12.91 +      <TargetEnvironment>Win32</TargetEnvironment>
   12.92 +      <TypeLibraryName>.\Release/testalpha.tlb</TypeLibraryName>
   12.93 +    </Midl>
   12.94 +    <ClCompile>
   12.95 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   12.96 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   12.97 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   12.98 +      <StringPooling>true</StringPooling>
   12.99 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  12.100 +      <FunctionLevelLinking>true</FunctionLevelLinking>
  12.101 +      <PrecompiledHeader>
  12.102 +      </PrecompiledHeader>
  12.103 +      <PrecompiledHeaderOutputFile>.\Release/testalpha.pch</PrecompiledHeaderOutputFile>
  12.104 +      <AssemblerListingLocation>.\Release/</AssemblerListingLocation>
  12.105 +      <ObjectFileName>.\Release/</ObjectFileName>
  12.106 +      <ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
  12.107 +      <WarningLevel>Level3</WarningLevel>
  12.108 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  12.109 +      <CompileAs>Default</CompileAs>
  12.110 +    </ClCompile>
  12.111 +    <ResourceCompile>
  12.112 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  12.113 +      <Culture>0x0409</Culture>
  12.114 +    </ResourceCompile>
  12.115 +    <Link>
  12.116 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
  12.117 +      <OutputFile>.\Release/testalpha.exe</OutputFile>
  12.118 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  12.119 +      <ProgramDatabaseFile>.\Release/testalpha.pdb</ProgramDatabaseFile>
  12.120 +      <SubSystem>Windows</SubSystem>
  12.121 +    </Link>
  12.122 +  </ItemDefinitionGroup>
  12.123 +  <ItemGroup>
  12.124 +    <Library Include="..\..\Sdl\Debug\SDL.lib" />
  12.125 +    <Library Include="..\..\SDLmain\Debug\SDLmain.lib" />
  12.126 +  </ItemGroup>
  12.127 +  <ItemGroup>
  12.128 +    <ClCompile Include="..\..\..\Test\testalpha.c" />
  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/testdraw2/testdraw2.vcxproj	Sun Aug 22 13:45:56 2010 -0700
    13.3 @@ -0,0 +1,131 @@
    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>{8682FE1E-0CF6-4EDD-9BB5-1733D8C8B4DF}</ProjectGuid>
   13.18 +  </PropertyGroup>
   13.19 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   13.20 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
   13.21 +    <ConfigurationType>Application</ConfigurationType>
   13.22 +    <UseOfMfc>false</UseOfMfc>
   13.23 +  </PropertyGroup>
   13.24 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|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)'=='Debug|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)'=='Release|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)'=='Release|Win32'">.\Release\</OutDir>
   13.43 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
   13.44 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
   13.45 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
   13.46 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   13.47 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
   13.48 +  </PropertyGroup>
   13.49 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   13.50 +    <Midl>
   13.51 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   13.52 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   13.53 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   13.54 +      <TargetEnvironment>Win32</TargetEnvironment>
   13.55 +      <TypeLibraryName>.\Release/testdraw2.tlb</TypeLibraryName>
   13.56 +    </Midl>
   13.57 +    <ClCompile>
   13.58 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   13.59 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   13.60 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   13.61 +      <StringPooling>true</StringPooling>
   13.62 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   13.63 +      <FunctionLevelLinking>true</FunctionLevelLinking>
   13.64 +      <PrecompiledHeader>
   13.65 +      </PrecompiledHeader>
   13.66 +      <PrecompiledHeaderOutputFile>.\Release/testdraw2.pch</PrecompiledHeaderOutputFile>
   13.67 +      <AssemblerListingLocation>.\Release/</AssemblerListingLocation>
   13.68 +      <ObjectFileName>.\Release/</ObjectFileName>
   13.69 +      <ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
   13.70 +      <WarningLevel>Level3</WarningLevel>
   13.71 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   13.72 +      <CompileAs>Default</CompileAs>
   13.73 +    </ClCompile>
   13.74 +    <ResourceCompile>
   13.75 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   13.76 +      <Culture>0x0409</Culture>
   13.77 +    </ResourceCompile>
   13.78 +    <Link>
   13.79 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
   13.80 +      <OutputFile>.\Release/testdraw2.exe</OutputFile>
   13.81 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   13.82 +      <ProgramDatabaseFile>.\Release/testdraw2.pdb</ProgramDatabaseFile>
   13.83 +      <SubSystem>Windows</SubSystem>
   13.84 +    </Link>
   13.85 +  </ItemDefinitionGroup>
   13.86 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   13.87 +    <Midl>
   13.88 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   13.89 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   13.90 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   13.91 +      <TargetEnvironment>Win32</TargetEnvironment>
   13.92 +      <TypeLibraryName>.\Debug/testdraw2.tlb</TypeLibraryName>
   13.93 +    </Midl>
   13.94 +    <ClCompile>
   13.95 +      <Optimization>Disabled</Optimization>
   13.96 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   13.97 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   13.98 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   13.99 +      <PrecompiledHeader>
  13.100 +      </PrecompiledHeader>
  13.101 +      <PrecompiledHeaderOutputFile>.\Debug/testdraw2.pch</PrecompiledHeaderOutputFile>
  13.102 +      <AssemblerListingLocation>.\Debug/</AssemblerListingLocation>
  13.103 +      <ObjectFileName>.\Debug/</ObjectFileName>
  13.104 +      <ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName>
  13.105 +      <WarningLevel>Level3</WarningLevel>
  13.106 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  13.107 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
  13.108 +      <CompileAs>Default</CompileAs>
  13.109 +    </ClCompile>
  13.110 +    <ResourceCompile>
  13.111 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  13.112 +      <Culture>0x0409</Culture>
  13.113 +    </ResourceCompile>
  13.114 +    <Link>
  13.115 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
  13.116 +      <OutputFile>.\Debug/testdraw2.exe</OutputFile>
  13.117 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  13.118 +      <GenerateDebugInformation>true</GenerateDebugInformation>
  13.119 +      <ProgramDatabaseFile>.\Debug/testdraw2.pdb</ProgramDatabaseFile>
  13.120 +      <SubSystem>Windows</SubSystem>
  13.121 +    </Link>
  13.122 +  </ItemDefinitionGroup>
  13.123 +  <ItemGroup>
  13.124 +    <ClCompile Include="..\..\..\test\common.c" />
  13.125 +    <ClCompile Include="..\..\..\test\testdraw2.c" />
  13.126 +  </ItemGroup>
  13.127 +  <ItemGroup>
  13.128 +    <Library Include="..\..\Sdl\Debug\SDL.lib" />
  13.129 +    <Library Include="..\..\SDLmain\Debug\SDLmain.lib" />
  13.130 +  </ItemGroup>
  13.131 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  13.132 +  <ImportGroup Label="ExtensionTargets">
  13.133 +  </ImportGroup>
  13.134 +</Project>
  13.135 \ No newline at end of file
    14.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.2 +++ b/VisualC/tests/testfile/testfile.vcxproj	Sun Aug 22 13:45:56 2010 -0700
    14.3 @@ -0,0 +1,130 @@
    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>{CAE4F1D0-314F-4B10-805B-0EFD670133A0}</ProjectGuid>
   14.18 +  </PropertyGroup>
   14.19 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   14.20 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
   14.21 +    <ConfigurationType>Application</ConfigurationType>
   14.22 +    <UseOfMfc>false</UseOfMfc>
   14.23 +  </PropertyGroup>
   14.24 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|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)'=='Release|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)'=='Debug|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)'=='Debug|Win32'">.\Debug\</OutDir>
   14.43 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   14.44 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
   14.45 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
   14.46 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
   14.47 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
   14.48 +  </PropertyGroup>
   14.49 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   14.50 +    <Midl>
   14.51 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   14.52 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   14.53 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   14.54 +      <TargetEnvironment>Win32</TargetEnvironment>
   14.55 +      <TypeLibraryName>.\Debug/testfile.tlb</TypeLibraryName>
   14.56 +    </Midl>
   14.57 +    <ClCompile>
   14.58 +      <Optimization>Disabled</Optimization>
   14.59 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   14.60 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   14.61 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   14.62 +      <PrecompiledHeader>
   14.63 +      </PrecompiledHeader>
   14.64 +      <PrecompiledHeaderOutputFile>.\Debug/testfile.pch</PrecompiledHeaderOutputFile>
   14.65 +      <AssemblerListingLocation>.\Debug/</AssemblerListingLocation>
   14.66 +      <ObjectFileName>.\Debug/</ObjectFileName>
   14.67 +      <ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName>
   14.68 +      <WarningLevel>Level3</WarningLevel>
   14.69 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   14.70 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
   14.71 +      <CompileAs>Default</CompileAs>
   14.72 +    </ClCompile>
   14.73 +    <ResourceCompile>
   14.74 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   14.75 +      <Culture>0x0409</Culture>
   14.76 +    </ResourceCompile>
   14.77 +    <Link>
   14.78 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
   14.79 +      <OutputFile>.\Debug/testfile.exe</OutputFile>
   14.80 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   14.81 +      <GenerateDebugInformation>true</GenerateDebugInformation>
   14.82 +      <ProgramDatabaseFile>.\Debug/testfile.pdb</ProgramDatabaseFile>
   14.83 +      <SubSystem>Windows</SubSystem>
   14.84 +    </Link>
   14.85 +  </ItemDefinitionGroup>
   14.86 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   14.87 +    <Midl>
   14.88 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   14.89 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   14.90 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   14.91 +      <TargetEnvironment>Win32</TargetEnvironment>
   14.92 +      <TypeLibraryName>.\Release/testfile.tlb</TypeLibraryName>
   14.93 +    </Midl>
   14.94 +    <ClCompile>
   14.95 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   14.96 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   14.97 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   14.98 +      <StringPooling>true</StringPooling>
   14.99 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  14.100 +      <FunctionLevelLinking>true</FunctionLevelLinking>
  14.101 +      <PrecompiledHeader>
  14.102 +      </PrecompiledHeader>
  14.103 +      <PrecompiledHeaderOutputFile>.\Release/testfile.pch</PrecompiledHeaderOutputFile>
  14.104 +      <AssemblerListingLocation>.\Release/</AssemblerListingLocation>
  14.105 +      <ObjectFileName>.\Release/</ObjectFileName>
  14.106 +      <ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
  14.107 +      <WarningLevel>Level3</WarningLevel>
  14.108 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  14.109 +      <CompileAs>Default</CompileAs>
  14.110 +    </ClCompile>
  14.111 +    <ResourceCompile>
  14.112 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  14.113 +      <Culture>0x0409</Culture>
  14.114 +    </ResourceCompile>
  14.115 +    <Link>
  14.116 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
  14.117 +      <OutputFile>.\Release/testfile.exe</OutputFile>
  14.118 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  14.119 +      <ProgramDatabaseFile>.\Release/testfile.pdb</ProgramDatabaseFile>
  14.120 +      <SubSystem>Windows</SubSystem>
  14.121 +    </Link>
  14.122 +  </ItemDefinitionGroup>
  14.123 +  <ItemGroup>
  14.124 +    <Library Include="..\..\Sdl\Debug\SDL.lib" />
  14.125 +    <Library Include="..\..\SDLmain\Debug\SDLmain.lib" />
  14.126 +  </ItemGroup>
  14.127 +  <ItemGroup>
  14.128 +    <ClCompile Include="..\..\..\Test\testfile.c" />
  14.129 +  </ItemGroup>
  14.130 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  14.131 +  <ImportGroup Label="ExtensionTargets">
  14.132 +  </ImportGroup>
  14.133 +</Project>
  14.134 \ No newline at end of file
    15.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.2 +++ b/VisualC/tests/testgamma/testgamma.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>{D974A0DF-3E2E-445C-A2EB-E899E9B582CB}</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/testgamma.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/testgamma.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/testgamma.exe</OutputFile>
   15.80 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   15.81 +      <GenerateDebugInformation>true</GenerateDebugInformation>
   15.82 +      <ProgramDatabaseFile>.\Debug/testgamma.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/testgamma.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/testgamma.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/testgamma.exe</OutputFile>
  15.118 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  15.119 +      <ProgramDatabaseFile>.\Release/testgamma.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\testgamma.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/testgl/testgl.vcxproj	Sun Aug 22 13:45:56 2010 -0700
    16.3 @@ -0,0 +1,132 @@
    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>{272D976B-A1DF-4DEB-BD7F-5C0D330E0C7D}</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/testgl.tlb</TypeLibraryName>
   16.56 +    </Midl>
   16.57 +    <ClCompile>
   16.58 +      <Optimization>Disabled</Optimization>
   16.59 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   16.60 +      <PreprocessorDefinitions>_DEBUG;WIN32;_WINDOWS;HAVE_OPENGL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   16.61 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   16.62 +      <PrecompiledHeader>
   16.63 +      </PrecompiledHeader>
   16.64 +      <PrecompiledHeaderOutputFile>.\Debug/testgl.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 +      <AdditionalDependencies>opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
   16.80 +      <OutputFile>.\Debug/testgl.exe</OutputFile>
   16.81 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   16.82 +      <GenerateDebugInformation>true</GenerateDebugInformation>
   16.83 +      <ProgramDatabaseFile>.\Debug/testgl.pdb</ProgramDatabaseFile>
   16.84 +      <SubSystem>Windows</SubSystem>
   16.85 +    </Link>
   16.86 +  </ItemDefinitionGroup>
   16.87 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   16.88 +    <Midl>
   16.89 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   16.90 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   16.91 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   16.92 +      <TargetEnvironment>Win32</TargetEnvironment>
   16.93 +      <TypeLibraryName>.\Release/testgl.tlb</TypeLibraryName>
   16.94 +    </Midl>
   16.95 +    <ClCompile>
   16.96 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   16.97 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   16.98 +      <PreprocessorDefinitions>NDEBUG;WIN32;_WINDOWS;HAVE_OPENGL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   16.99 +      <StringPooling>true</StringPooling>
  16.100 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  16.101 +      <FunctionLevelLinking>true</FunctionLevelLinking>
  16.102 +      <PrecompiledHeader>
  16.103 +      </PrecompiledHeader>
  16.104 +      <PrecompiledHeaderOutputFile>.\Release/testgl.pch</PrecompiledHeaderOutputFile>
  16.105 +      <AssemblerListingLocation>.\Release/</AssemblerListingLocation>
  16.106 +      <ObjectFileName>.\Release/</ObjectFileName>
  16.107 +      <ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
  16.108 +      <WarningLevel>Level3</WarningLevel>
  16.109 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  16.110 +      <CompileAs>Default</CompileAs>
  16.111 +    </ClCompile>
  16.112 +    <ResourceCompile>
  16.113 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.114 +      <Culture>0x0409</Culture>
  16.115 +    </ResourceCompile>
  16.116 +    <Link>
  16.117 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
  16.118 +      <AdditionalDependencies>opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
  16.119 +      <OutputFile>.\Release/testgl.exe</OutputFile>
  16.120 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  16.121 +      <ProgramDatabaseFile>.\Release/testgl.pdb</ProgramDatabaseFile>
  16.122 +      <SubSystem>Windows</SubSystem>
  16.123 +    </Link>
  16.124 +  </ItemDefinitionGroup>
  16.125 +  <ItemGroup>
  16.126 +    <Library Include="..\..\Sdl\Debug\SDL.lib" />
  16.127 +    <Library Include="..\..\SDLmain\Debug\SDLmain.lib" />
  16.128 +  </ItemGroup>
  16.129 +  <ItemGroup>
  16.130 +    <ClCompile Include="..\..\..\test\testgl.c" />
  16.131 +  </ItemGroup>
  16.132 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  16.133 +  <ImportGroup Label="ExtensionTargets">
  16.134 +  </ImportGroup>
  16.135 +</Project>
  16.136 \ No newline at end of file
    17.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.2 +++ b/VisualC/tests/testgl2/testgl2.vcxproj	Sun Aug 22 13:45:56 2010 -0700
    17.3 @@ -0,0 +1,133 @@
    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>{8B5CFB38-CCBA-40A8-AD7A-89C57B070884}</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/testgl2.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/testgl2.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/testgl2.exe</OutputFile>
   17.81 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   17.82 +      <GenerateDebugInformation>true</GenerateDebugInformation>
   17.83 +      <ProgramDatabaseFile>.\Debug/testgl2.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/testgl2.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/testgl2.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/testgl2.exe</OutputFile>
  17.120 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  17.121 +      <ProgramDatabaseFile>.\Release/testgl2.pdb</ProgramDatabaseFile>
  17.122 +      <SubSystem>Windows</SubSystem>
  17.123 +    </Link>
  17.124 +  </ItemDefinitionGroup>
  17.125 +  <ItemGroup>
  17.126 +    <ClCompile Include="..\..\..\test\common.c" />
  17.127 +    <ClCompile Include="..\..\..\test\testgl2.c" />
  17.128 +  </ItemGroup>
  17.129 +  <ItemGroup>
  17.130 +    <Library Include="..\..\Sdl\Debug\SDL.lib" />
  17.131 +    <Library Include="..\..\SDLmain\Debug\SDLmain.lib" />
  17.132 +  </ItemGroup>
  17.133 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  17.134 +  <ImportGroup Label="ExtensionTargets">
  17.135 +  </ImportGroup>
  17.136 +</Project>
  17.137 \ No newline at end of file
    18.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.2 +++ b/VisualC/tests/testjoystick/testjoystick.vcxproj	Sun Aug 22 13:45:56 2010 -0700
    18.3 @@ -0,0 +1,130 @@
    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>{55812185-D13C-4022-9C81-32E0F4A08304}</ProjectGuid>
   18.18 +  </PropertyGroup>
   18.19 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   18.20 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
   18.21 +    <ConfigurationType>Application</ConfigurationType>
   18.22 +    <UseOfMfc>false</UseOfMfc>
   18.23 +  </PropertyGroup>
   18.24 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|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)'=='Debug|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)'=='Release|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)'=='Release|Win32'">.\Release\</OutDir>
   18.43 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
   18.44 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
   18.45 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
   18.46 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   18.47 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
   18.48 +  </PropertyGroup>
   18.49 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   18.50 +    <Midl>
   18.51 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   18.52 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   18.53 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   18.54 +      <TargetEnvironment>Win32</TargetEnvironment>
   18.55 +      <TypeLibraryName>.\Release/testjoystick.tlb</TypeLibraryName>
   18.56 +    </Midl>
   18.57 +    <ClCompile>
   18.58 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   18.59 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   18.60 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   18.61 +      <StringPooling>true</StringPooling>
   18.62 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   18.63 +      <FunctionLevelLinking>true</FunctionLevelLinking>
   18.64 +      <PrecompiledHeader>
   18.65 +      </PrecompiledHeader>
   18.66 +      <PrecompiledHeaderOutputFile>.\Release/testjoystick.pch</PrecompiledHeaderOutputFile>
   18.67 +      <AssemblerListingLocation>.\Release/</AssemblerListingLocation>
   18.68 +      <ObjectFileName>.\Release/</ObjectFileName>
   18.69 +      <ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
   18.70 +      <WarningLevel>Level3</WarningLevel>
   18.71 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   18.72 +      <CompileAs>Default</CompileAs>
   18.73 +    </ClCompile>
   18.74 +    <ResourceCompile>
   18.75 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   18.76 +      <Culture>0x0409</Culture>
   18.77 +    </ResourceCompile>
   18.78 +    <Link>
   18.79 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
   18.80 +      <OutputFile>.\Release/testjoystick.exe</OutputFile>
   18.81 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   18.82 +      <ProgramDatabaseFile>.\Release/testjoystick.pdb</ProgramDatabaseFile>
   18.83 +      <SubSystem>Windows</SubSystem>
   18.84 +    </Link>
   18.85 +  </ItemDefinitionGroup>
   18.86 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   18.87 +    <Midl>
   18.88 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   18.89 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   18.90 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   18.91 +      <TargetEnvironment>Win32</TargetEnvironment>
   18.92 +      <TypeLibraryName>.\Debug/testjoystick.tlb</TypeLibraryName>
   18.93 +    </Midl>
   18.94 +    <ClCompile>
   18.95 +      <Optimization>Disabled</Optimization>
   18.96 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   18.97 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   18.98 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   18.99 +      <PrecompiledHeader>
  18.100 +      </PrecompiledHeader>
  18.101 +      <PrecompiledHeaderOutputFile>.\Debug/testjoystick.pch</PrecompiledHeaderOutputFile>
  18.102 +      <AssemblerListingLocation>.\Debug/</AssemblerListingLocation>
  18.103 +      <ObjectFileName>.\Debug/</ObjectFileName>
  18.104 +      <ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName>
  18.105 +      <WarningLevel>Level3</WarningLevel>
  18.106 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  18.107 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
  18.108 +      <CompileAs>Default</CompileAs>
  18.109 +    </ClCompile>
  18.110 +    <ResourceCompile>
  18.111 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.112 +      <Culture>0x0409</Culture>
  18.113 +    </ResourceCompile>
  18.114 +    <Link>
  18.115 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
  18.116 +      <OutputFile>.\Debug/testjoystick.exe</OutputFile>
  18.117 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  18.118 +      <GenerateDebugInformation>true</GenerateDebugInformation>
  18.119 +      <ProgramDatabaseFile>.\Debug/testjoystick.pdb</ProgramDatabaseFile>
  18.120 +      <SubSystem>Windows</SubSystem>
  18.121 +    </Link>
  18.122 +  </ItemDefinitionGroup>
  18.123 +  <ItemGroup>
  18.124 +    <Library Include="..\..\Sdl\Debug\SDL.lib" />
  18.125 +    <Library Include="..\..\SDLmain\Debug\SDLmain.lib" />
  18.126 +  </ItemGroup>
  18.127 +  <ItemGroup>
  18.128 +    <ClCompile Include="..\..\..\test\testjoystick.c" />
  18.129 +  </ItemGroup>
  18.130 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  18.131 +  <ImportGroup Label="ExtensionTargets">
  18.132 +  </ImportGroup>
  18.133 +</Project>
  18.134 \ No newline at end of file
    19.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.2 +++ b/VisualC/tests/testoverlay/testoverlay.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>{9E320A14-B443-4DD7-8725-B7020DCFF730}</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/testoverlay.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/testoverlay.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/testoverlay.exe</OutputFile>
   19.81 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   19.82 +      <ProgramDatabaseFile>.\Release/testoverlay.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/testoverlay.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/testoverlay.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/testoverlay.exe</OutputFile>
  19.117 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  19.118 +      <GenerateDebugInformation>true</GenerateDebugInformation>
  19.119 +      <ProgramDatabaseFile>.\Debug/testoverlay.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\testoverlay.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/testoverlay2/testoverlay2.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>{B51E0D74-F0A2-45A2-BD2A-8B7D95B8204A}</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/testoverlay2.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/testoverlay2.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/testoverlay2.exe</OutputFile>
   20.81 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   20.82 +      <ProgramDatabaseFile>.\Release/testoverlay2.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/testoverlay2.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/testoverlay2.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/testoverlay2.exe</OutputFile>
  20.117 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  20.118 +      <GenerateDebugInformation>true</GenerateDebugInformation>
  20.119 +      <ProgramDatabaseFile>.\Debug/testoverlay2.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\testoverlay2.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/testpalette/testpalette.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>{493A8F38-5DA5-4E2D-B5E9-9E69EE4ED1DC}</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/testpalette.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/testpalette.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/testpalette.exe</OutputFile>
   21.81 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   21.82 +      <ProgramDatabaseFile>.\Release/testpalette.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/testpalette.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/testpalette.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/testpalette.exe</OutputFile>
  21.117 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  21.118 +      <GenerateDebugInformation>true</GenerateDebugInformation>
  21.119 +      <ProgramDatabaseFile>.\Debug/testpalette.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\testpalette.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/testplatform/testplatform.vcxproj	Sun Aug 22 13:45:56 2010 -0700
    22.3 @@ -0,0 +1,143 @@
    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>{26932B24-EFC6-4E3A-B277-ED653DA37968}</ProjectGuid>
   22.18 +  </PropertyGroup>
   22.19 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   22.20 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
   22.21 +    <ConfigurationType>Application</ConfigurationType>
   22.22 +    <UseOfMfc>false</UseOfMfc>
   22.23 +  </PropertyGroup>
   22.24 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|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)'=='Release|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.UpgradeFromVC60.props" />
   22.34 +  </ImportGroup>
   22.35 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|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.UpgradeFromVC60.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)'=='Debug|Win32'">.\Debug\</OutDir>
   22.43 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   22.44 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
   22.45 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
   22.46 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
   22.47 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
   22.48 +  </PropertyGroup>
   22.49 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   22.50 +    <Midl>
   22.51 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   22.52 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   22.53 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   22.54 +      <TargetEnvironment>Win32</TargetEnvironment>
   22.55 +      <TypeLibraryName>.\Debug/testplatform.tlb</TypeLibraryName>
   22.56 +      <HeaderFileName>
   22.57 +      </HeaderFileName>
   22.58 +    </Midl>
   22.59 +    <ClCompile>
   22.60 +      <Optimization>Disabled</Optimization>
   22.61 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   22.62 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   22.63 +      <MinimalRebuild>true</MinimalRebuild>
   22.64 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   22.65 +      <PrecompiledHeaderOutputFile>.\Debug/testplatform.pch</PrecompiledHeaderOutputFile>
   22.66 +      <AssemblerListingLocation>.\Debug/</AssemblerListingLocation>
   22.67 +      <ObjectFileName>.\Debug/</ObjectFileName>
   22.68 +      <ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName>
   22.69 +      <WarningLevel>Level3</WarningLevel>
   22.70 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   22.71 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
   22.72 +    </ClCompile>
   22.73 +    <ResourceCompile>
   22.74 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   22.75 +      <Culture>0x0409</Culture>
   22.76 +    </ResourceCompile>
   22.77 +    <Link>
   22.78 +      <OutputFile>.\Debug/testplatform.exe</OutputFile>
   22.79 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   22.80 +      <GenerateDebugInformation>true</GenerateDebugInformation>
   22.81 +      <ProgramDatabaseFile>.\Debug/testplatform.pdb</ProgramDatabaseFile>
   22.82 +      <SubSystem>Windows</SubSystem>
   22.83 +      <TargetMachine>MachineX86</TargetMachine>
   22.84 +    </Link>
   22.85 +    <Bscmake>
   22.86 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   22.87 +      <OutputFile>.\Debug/testplatform.bsc</OutputFile>
   22.88 +    </Bscmake>
   22.89 +  </ItemDefinitionGroup>
   22.90 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   22.91 +    <Midl>
   22.92 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   22.93 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   22.94 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   22.95 +      <TargetEnvironment>Win32</TargetEnvironment>
   22.96 +      <TypeLibraryName>.\Release/testplatform.tlb</TypeLibraryName>
   22.97 +      <HeaderFileName>
   22.98 +      </HeaderFileName>
   22.99 +    </Midl>
  22.100 +    <ClCompile>
  22.101 +      <Optimization>MaxSpeed</Optimization>
  22.102 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
  22.103 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  22.104 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  22.105 +      <StringPooling>true</StringPooling>
  22.106 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  22.107 +      <FunctionLevelLinking>true</FunctionLevelLinking>
  22.108 +      <PrecompiledHeaderOutputFile>.\Release/testplatform.pch</PrecompiledHeaderOutputFile>
  22.109 +      <AssemblerListingLocation>.\Release/</AssemblerListingLocation>
  22.110 +      <ObjectFileName>.\Release/</ObjectFileName>
  22.111 +      <ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
  22.112 +      <WarningLevel>Level3</WarningLevel>
  22.113 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  22.114 +    </ClCompile>
  22.115 +    <ResourceCompile>
  22.116 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  22.117 +      <Culture>0x0409</Culture>
  22.118 +    </ResourceCompile>
  22.119 +    <Link>
  22.120 +      <OutputFile>.\Release/testplatform.exe</OutputFile>
  22.121 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  22.122 +      <ProgramDatabaseFile>.\Release/testplatform.pdb</ProgramDatabaseFile>
  22.123 +      <SubSystem>Windows</SubSystem>
  22.124 +      <TargetMachine>MachineX86</TargetMachine>
  22.125 +    </Link>
  22.126 +    <Bscmake>
  22.127 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  22.128 +      <OutputFile>.\Release/testplatform.bsc</OutputFile>
  22.129 +    </Bscmake>
  22.130 +  </ItemDefinitionGroup>
  22.131 +  <ItemGroup>
  22.132 +    <Library Include="..\..\Sdl\Debug\SDL.lib" />
  22.133 +    <Library Include="..\..\SDLmain\Debug\SDLmain.lib" />
  22.134 +  </ItemGroup>
  22.135 +  <ItemGroup>
  22.136 +    <ClCompile Include="..\..\..\Test\testplatform.c">
  22.137 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  22.138 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  22.139 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  22.140 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  22.141 +    </ClCompile>
  22.142 +  </ItemGroup>
  22.143 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  22.144 +  <ImportGroup Label="ExtensionTargets">
  22.145 +  </ImportGroup>
  22.146 +</Project>
  22.147 \ No newline at end of file
    23.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    23.2 +++ b/VisualC/tests/testpower/testpower.vcxproj	Sun Aug 22 13:45:56 2010 -0700
    23.3 @@ -0,0 +1,133 @@
    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>{C4E04D18-EF76-4B42-B4C2-16A1BACDC0A3}</ProjectGuid>
   23.18 +    <RootNamespace>testpower</RootNamespace>
   23.19 +  </PropertyGroup>
   23.20 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   23.21 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
   23.22 +    <ConfigurationType>Application</ConfigurationType>
   23.23 +    <UseOfMfc>false</UseOfMfc>
   23.24 +  </PropertyGroup>
   23.25 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
   23.26 +    <ConfigurationType>Application</ConfigurationType>
   23.27 +    <UseOfMfc>false</UseOfMfc>
   23.28 +  </PropertyGroup>
   23.29 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
   23.30 +  <ImportGroup Label="ExtensionSettings">
   23.31 +  </ImportGroup>
   23.32 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
   23.33 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   23.34 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   23.35 +  </ImportGroup>
   23.36 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
   23.37 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   23.38 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   23.39 +  </ImportGroup>
   23.40 +  <PropertyGroup Label="UserMacros" />
   23.41 +  <PropertyGroup>
   23.42 +    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
   23.43 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
   23.44 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   23.45 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
   23.46 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
   23.47 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
   23.48 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
   23.49 +  </PropertyGroup>
   23.50 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   23.51 +    <Midl>
   23.52 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   23.53 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   23.54 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   23.55 +      <TargetEnvironment>Win32</TargetEnvironment>
   23.56 +      <TypeLibraryName>.\Debug/testwm.tlb</TypeLibraryName>
   23.57 +    </Midl>
   23.58 +    <ClCompile>
   23.59 +      <Optimization>Disabled</Optimization>
   23.60 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   23.61 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   23.62 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   23.63 +      <PrecompiledHeader>
   23.64 +      </PrecompiledHeader>
   23.65 +      <PrecompiledHeaderOutputFile>.\Debug/testwm.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 +      <CompileAs>Default</CompileAs>
   23.73 +    </ClCompile>
   23.74 +    <ResourceCompile>
   23.75 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   23.76 +      <Culture>0x0409</Culture>
   23.77 +    </ResourceCompile>
   23.78 +    <Link>
   23.79 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
   23.80 +      <OutputFile>.\Debug/testwm.exe</OutputFile>
   23.81 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   23.82 +      <GenerateDebugInformation>true</GenerateDebugInformation>
   23.83 +      <ProgramDatabaseFile>.\Debug/testpower.pdb</ProgramDatabaseFile>
   23.84 +      <SubSystem>Windows</SubSystem>
   23.85 +    </Link>
   23.86 +  </ItemDefinitionGroup>
   23.87 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   23.88 +    <Midl>
   23.89 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   23.90 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   23.91 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   23.92 +      <TargetEnvironment>Win32</TargetEnvironment>
   23.93 +      <TypeLibraryName>.\Release/testpower.tlb</TypeLibraryName>
   23.94 +    </Midl>
   23.95 +    <ClCompile>
   23.96 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   23.97 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   23.98 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   23.99 +      <StringPooling>true</StringPooling>
  23.100 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  23.101 +      <FunctionLevelLinking>true</FunctionLevelLinking>
  23.102 +      <PrecompiledHeader>
  23.103 +      </PrecompiledHeader>
  23.104 +      <PrecompiledHeaderOutputFile>.\Release/testpower.pch</PrecompiledHeaderOutputFile>
  23.105 +      <AssemblerListingLocation>.\Release/</AssemblerListingLocation>
  23.106 +      <ObjectFileName>.\Release/</ObjectFileName>
  23.107 +      <ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
  23.108 +      <WarningLevel>Level3</WarningLevel>
  23.109 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  23.110 +      <CompileAs>Default</CompileAs>
  23.111 +    </ClCompile>
  23.112 +    <ResourceCompile>
  23.113 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  23.114 +      <Culture>0x0409</Culture>
  23.115 +    </ResourceCompile>
  23.116 +    <Link>
  23.117 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
  23.118 +      <OutputFile>.\Release/testpower.exe</OutputFile>
  23.119 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  23.120 +      <ProgramDatabaseFile>.\Release/testpower.pdb</ProgramDatabaseFile>
  23.121 +      <SubSystem>Windows</SubSystem>
  23.122 +    </Link>
  23.123 +  </ItemDefinitionGroup>
  23.124 +  <ItemGroup>
  23.125 +    <Library Include="..\..\Sdl\Debug\SDL.lib" />
  23.126 +    <Library Include="..\..\SDLmain\Debug\SDLmain.lib" />
  23.127 +  </ItemGroup>
  23.128 +  <ItemGroup>
  23.129 +    <ClCompile Include="..\..\..\test\testpower.c">
  23.130 +      <PrecompiledHeaderOutputFile Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug/testpower.pch</PrecompiledHeaderOutputFile>
  23.131 +    </ClCompile>
  23.132 +  </ItemGroup>
  23.133 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  23.134 +  <ImportGroup Label="ExtensionTargets">
  23.135 +  </ImportGroup>
  23.136 +</Project>
  23.137 \ No newline at end of file
    24.1 --- a/VisualC/tests/tests.sln	Sun Aug 22 12:39:56 2010 -0700
    24.2 +++ b/VisualC/tests/tests.sln	Sun Aug 22 13:45:56 2010 -0700
    24.3 @@ -1,44 +1,46 @@
    24.4 -Microsoft Visual Studio Solution File, Format Version 9.00
    24.5 -# Visual Studio 2005
    24.6 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "graywin", "graywin\graywin.vcproj", "{0BCCA0BF-073E-439E-BCE0-C9353C177487}"
    24.7 +Microsoft Visual Studio Solution File, Format Version 11.00
    24.8 +# Visual Studio 2010
    24.9 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "graywin", "graywin\graywin.vcxproj", "{0BCCA0BF-073E-439E-BCE0-C9353C177487}"
   24.10  EndProject
   24.11 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "loopwave", "loopwave\loopwave.vcproj", "{AAAD1CB5-7ADA-47AE-85A0-08A6EC48FAFB}"
   24.12 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "loopwave", "loopwave\loopwave.vcxproj", "{AAAD1CB5-7ADA-47AE-85A0-08A6EC48FAFB}"
   24.13  EndProject
   24.14 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testalpha", "testalpha\testalpha.vcproj", "{7814D54B-65D3-4677-AD77-E0B980B4FA2D}"
   24.15 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testalpha", "testalpha\testalpha.vcxproj", "{7814D54B-65D3-4677-AD77-E0B980B4FA2D}"
   24.16  EndProject
   24.17 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testgamma", "testgamma\testgamma.vcproj", "{D974A0DF-3E2E-445C-A2EB-E899E9B582CB}"
   24.18 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testgamma", "testgamma\testgamma.vcxproj", "{D974A0DF-3E2E-445C-A2EB-E899E9B582CB}"
   24.19  EndProject
   24.20 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testgl", "testgl\testgl.vcproj", "{272D976B-A1DF-4DEB-BD7F-5C0D330E0C7D}"
   24.21 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testgl", "testgl\testgl.vcxproj", "{272D976B-A1DF-4DEB-BD7F-5C0D330E0C7D}"
   24.22  EndProject
   24.23 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testjoystick", "testjoystick\testjoystick.vcproj", "{55812185-D13C-4022-9C81-32E0F4A08304}"
   24.24 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testjoystick", "testjoystick\testjoystick.vcxproj", "{55812185-D13C-4022-9C81-32E0F4A08304}"
   24.25  EndProject
   24.26 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testpalette", "testpalette\testpalette.vcproj", "{493A8F38-5DA5-4E2D-B5E9-9E69EE4ED1DC}"
   24.27 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testpalette", "testpalette\testpalette.vcxproj", "{493A8F38-5DA5-4E2D-B5E9-9E69EE4ED1DC}"
   24.28  EndProject
   24.29 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testvidinfo", "testvidinfo\testvidinfo.vcproj", "{575FD095-EDAB-4BD4-B733-CD4A874F6FB0}"
   24.30 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testvidinfo", "testvidinfo\testvidinfo.vcxproj", "{575FD095-EDAB-4BD4-B733-CD4A874F6FB0}"
   24.31  EndProject
   24.32 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testwin", "testwin\testwin.vcproj", "{0FFD1A21-11DB-492C-A989-E4F195B0C441}"
   24.33 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testwin", "testwin\testwin.vcxproj", "{0FFD1A21-11DB-492C-A989-E4F195B0C441}"
   24.34  EndProject
   24.35 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testwm", "testwm\testwm.vcproj", "{6AF0724B-BAC1-4C9D-AFBF-F63B4A2FB8FB}"
   24.36 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testwm", "testwm\testwm.vcxproj", "{6AF0724B-BAC1-4C9D-AFBF-F63B4A2FB8FB}"
   24.37  EndProject
   24.38 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testplatform", "testplatform\testplatform.vcproj", "{26932B24-EFC6-4E3A-B277-ED653DA37968}"
   24.39 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testplatform", "testplatform\testplatform.vcxproj", "{26932B24-EFC6-4E3A-B277-ED653DA37968}"
   24.40  EndProject
   24.41 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testfile", "testfile\testfile.vcproj", "{CAE4F1D0-314F-4B10-805B-0EFD670133A0}"
   24.42 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testfile", "testfile\testfile.vcxproj", "{CAE4F1D0-314F-4B10-805B-0EFD670133A0}"
   24.43  EndProject
   24.44 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testgl2", "testgl2\testgl2.vcproj", "{8B5CFB38-CCBA-40A8-AD7A-89C57B070884}"
   24.45 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testgl2", "testgl2\testgl2.vcxproj", "{8B5CFB38-CCBA-40A8-AD7A-89C57B070884}"
   24.46  EndProject
   24.47 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "checkkeys", "checkkeys\checkkeys.vcproj", "{26828762-C95D-4637-9CB1-7F0979523813}"
   24.48 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "checkkeys", "checkkeys\checkkeys.vcxproj", "{26828762-C95D-4637-9CB1-7F0979523813}"
   24.49  EndProject
   24.50 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testoverlay", "testoverlay\testoverlay.vcproj", "{9E320A14-B443-4DD7-8725-B7020DCFF730}"
   24.51 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testoverlay", "testoverlay\testoverlay.vcxproj", "{9E320A14-B443-4DD7-8725-B7020DCFF730}"
   24.52  EndProject
   24.53 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testoverlay2", "testoverlay2\testoverlay2.vcproj", "{B51E0D74-F0A2-45A2-BD2A-8B7D95B8204A}"
   24.54 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testoverlay2", "testoverlay2\testoverlay2.vcxproj", "{B51E0D74-F0A2-45A2-BD2A-8B7D95B8204A}"
   24.55  EndProject
   24.56 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testsprite", "testsprite\testsprite.vcproj", "{5D0930C0-7C91-4ECE-9014-7B7DDE9502E5}"
   24.57 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testsprite", "testsprite\testsprite.vcxproj", "{5D0930C0-7C91-4ECE-9014-7B7DDE9502E5}"
   24.58  EndProject
   24.59 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testsprite2", "testsprite2\testsprite2.vcproj", "{40FB7794-D3C3-4CFE-BCF4-A80C96635682}"
   24.60 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testsprite2", "testsprite2\testsprite2.vcxproj", "{40FB7794-D3C3-4CFE-BCF4-A80C96635682}"
   24.61  EndProject
   24.62 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testdraw2", "testdraw2\testdraw2.vcproj", "{8682FE1E-0CF6-4EDD-9BB5-1733D8C8B4DF}"
   24.63 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testshape", "testshape\testshape.vcxproj", "{EDEA9D00-AF64-45DE-8F60-5957048F2F0F}"
   24.64  EndProject
   24.65 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testpower", "testpower\testpower.vcproj", "{C4E04D18-EF76-4B42-B4C2-16A1BACDC0A3}"
   24.66 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testdraw2", "testdraw2\testdraw2.vcxproj", "{8682FE1E-0CF6-4EDD-9BB5-1733D8C8B4DF}"
   24.67 +EndProject
   24.68 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testpower", "testpower\testpower.vcxproj", "{C4E04D18-EF76-4B42-B4C2-16A1BACDC0A3}"
   24.69  EndProject
   24.70  Global
   24.71  	GlobalSection(SolutionConfigurationPlatforms) = preSolution
   24.72 @@ -118,6 +120,8 @@
   24.73  		{40FB7794-D3C3-4CFE-BCF4-A80C96635682}.Debug|Win32.Build.0 = Debug|Win32
   24.74  		{40FB7794-D3C3-4CFE-BCF4-A80C96635682}.Release|Win32.ActiveCfg = Release|Win32
   24.75  		{40FB7794-D3C3-4CFE-BCF4-A80C96635682}.Release|Win32.Build.0 = Release|Win32
   24.76 +		{EDEA9D00-AF64-45DE-8F60-5957048F2F0F}.Debug|Win32.ActiveCfg = Debug|Win32
   24.77 +		{EDEA9D00-AF64-45DE-8F60-5957048F2F0F}.Release|Win32.ActiveCfg = Release|Win32
   24.78  		{8682FE1E-0CF6-4EDD-9BB5-1733D8C8B4DF}.Debug|Win32.ActiveCfg = Debug|Win32
   24.79  		{8682FE1E-0CF6-4EDD-9BB5-1733D8C8B4DF}.Debug|Win32.Build.0 = Debug|Win32
   24.80  		{8682FE1E-0CF6-4EDD-9BB5-1733D8C8B4DF}.Release|Win32.ActiveCfg = Release|Win32
    25.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    25.2 +++ b/VisualC/tests/testshape/testshape.vcproj	Sun Aug 22 13:45:56 2010 -0700
    25.3 @@ -0,0 +1,217 @@
    25.4 +<?xml version="1.0" encoding="Windows-1252"?>
    25.5 +<VisualStudioProject
    25.6 +	ProjectType="Visual C++"
    25.7 +	Version="8.00"
    25.8 +	Name="testshape"
    25.9 +	ProjectGUID="{5D0930C0-7C91-4ECE-9014-7B7DDE9502E5}"
   25.10 +	>
   25.11 +	<Platforms>
   25.12 +		<Platform
   25.13 +			Name="Win32"
   25.14 +		/>
   25.15 +	</Platforms>
   25.16 +	<ToolFiles>
   25.17 +	</ToolFiles>
   25.18 +	<Configurations>
   25.19 +		<Configuration
   25.20 +			Name="Release|Win32"
   25.21 +			OutputDirectory=".\Release"
   25.22 +			IntermediateDirectory=".\Release"
   25.23 +			ConfigurationType="1"
   25.24 +			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
   25.25 +			UseOfMFC="0"
   25.26 +			ATLMinimizesCRunTimeLibraryUsage="false"
   25.27 +			>
   25.28 +			<Tool
   25.29 +				Name="VCPreBuildEventTool"
   25.30 +			/>
   25.31 +			<Tool
   25.32 +				Name="VCCustomBuildTool"
   25.33 +			/>
   25.34 +			<Tool
   25.35 +				Name="VCXMLDataGeneratorTool"
   25.36 +			/>
   25.37 +			<Tool
   25.38 +				Name="VCWebServiceProxyGeneratorTool"
   25.39 +			/>
   25.40 +			<Tool
   25.41 +				Name="VCMIDLTool"
   25.42 +				PreprocessorDefinitions="NDEBUG"
   25.43 +				MkTypLibCompatible="true"
   25.44 +				SuppressStartupBanner="true"
   25.45 +				TargetEnvironment="1"
   25.46 +				TypeLibraryName=".\Release/testshape.tlb"
   25.47 +			/>
   25.48 +			<Tool
   25.49 +				Name="VCCLCompilerTool"
   25.50 +				InlineFunctionExpansion="1"
   25.51 +				AdditionalIncludeDirectories="..\..\..\include"
   25.52 +				PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
   25.53 +				StringPooling="true"
   25.54 +				RuntimeLibrary="2"
   25.55 +				EnableFunctionLevelLinking="true"
   25.56 +				UsePrecompiledHeader="0"
   25.57 +				PrecompiledHeaderFile=".\Release/testshape.pch"
   25.58 +				AssemblerListingLocation=".\Release/"
   25.59 +				ObjectFile=".\Release/"
   25.60 +				ProgramDataBaseFileName=".\Release/"
   25.61 +				WarningLevel="3"
   25.62 +				SuppressStartupBanner="true"
   25.63 +				CompileAs="0"
   25.64 +			/>
   25.65 +			<Tool
   25.66 +				Name="VCManagedResourceCompilerTool"
   25.67 +			/>
   25.68 +			<Tool
   25.69 +				Name="VCResourceCompilerTool"
   25.70 +				PreprocessorDefinitions="NDEBUG"
   25.71 +				Culture="1033"
   25.72 +			/>
   25.73 +			<Tool
   25.74 +				Name="VCPreLinkEventTool"
   25.75 +			/>
   25.76 +			<Tool
   25.77 +				Name="VCLinkerTool"
   25.78 +				AdditionalOptions="/MACHINE:I386"
   25.79 +				OutputFile=".\Release/testshape.exe"
   25.80 +				LinkIncremental="1"
   25.81 +				SuppressStartupBanner="true"
   25.82 +				ProgramDatabaseFile=".\Release/testshape.pdb"
   25.83 +				SubSystem="2"
   25.84 +			/>
   25.85 +			<Tool
   25.86 +				Name="VCALinkTool"
   25.87 +			/>
   25.88 +			<Tool
   25.89 +				Name="VCManifestTool"
   25.90 +			/>
   25.91 +			<Tool
   25.92 +				Name="VCXDCMakeTool"
   25.93 +			/>
   25.94 +			<Tool
   25.95 +				Name="VCBscMakeTool"
   25.96 +			/>
   25.97 +			<Tool
   25.98 +				Name="VCFxCopTool"
   25.99 +			/>
  25.100 +			<Tool
  25.101 +				Name="VCAppVerifierTool"
  25.102 +			/>
  25.103 +			<Tool
  25.104 +				Name="VCWebDeploymentTool"
  25.105 +			/>
  25.106 +			<Tool
  25.107 +				Name="VCPostBuildEventTool"
  25.108 +			/>
  25.109 +		</Configuration>
  25.110 +		<Configuration
  25.111 +			Name="Debug|Win32"
  25.112 +			OutputDirectory=".\Debug"
  25.113 +			IntermediateDirectory=".\Debug"
  25.114 +			ConfigurationType="1"
  25.115 +			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
  25.116 +			UseOfMFC="0"
  25.117 +			ATLMinimizesCRunTimeLibraryUsage="false"
  25.118 +			>
  25.119 +			<Tool
  25.120 +				Name="VCPreBuildEventTool"
  25.121 +			/>
  25.122 +			<Tool
  25.123 +				Name="VCCustomBuildTool"
  25.124 +			/>
  25.125 +			<Tool
  25.126 +				Name="VCXMLDataGeneratorTool"
  25.127 +			/>
  25.128 +			<Tool
  25.129 +				Name="VCWebServiceProxyGeneratorTool"
  25.130 +			/>
  25.131 +			<Tool
  25.132 +				Name="VCMIDLTool"
  25.133 +				PreprocessorDefinitions="_DEBUG"
  25.134 +				MkTypLibCompatible="true"
  25.135 +				SuppressStartupBanner="true"
  25.136 +				TargetEnvironment="1"
  25.137 +				TypeLibraryName=".\Debug/testshape.tlb"
  25.138 +			/>
  25.139 +			<Tool
  25.140 +				Name="VCCLCompilerTool"
  25.141 +				Optimization="0"
  25.142 +				AdditionalIncludeDirectories="..\..\..\include"
  25.143 +				PreprocessorDefinitions="WIN32,_DEBUG,_WINDOWS"
  25.144 +				RuntimeLibrary="2"
  25.145 +				UsePrecompiledHeader="0"
  25.146 +				PrecompiledHeaderFile=".\Debug/testshape.pch"
  25.147 +				AssemblerListingLocation=".\Debug/"
  25.148 +				ObjectFile=".\Debug/"
  25.149 +				ProgramDataBaseFileName=".\Debug/"
  25.150 +				WarningLevel="3"
  25.151 +				SuppressStartupBanner="true"
  25.152 +				DebugInformationFormat="4"
  25.153 +				CompileAs="0"
  25.154 +			/>
  25.155 +			<Tool
  25.156 +				Name="VCManagedResourceCompilerTool"
  25.157 +			/>
  25.158 +			<Tool
  25.159 +				Name="VCResourceCompilerTool"
  25.160 +				PreprocessorDefinitions="_DEBUG"
  25.161 +				Culture="1033"
  25.162 +			/>
  25.163 +			<Tool
  25.164 +				Name="VCPreLinkEventTool"
  25.165 +			/>
  25.166 +			<Tool
  25.167 +				Name="VCLinkerTool"
  25.168 +				AdditionalOptions="/MACHINE:I386"
  25.169 +				OutputFile=".\Debug/testshape.exe"
  25.170 +				LinkIncremental="2"
  25.171 +				SuppressStartupBanner="true"
  25.172 +				GenerateDebugInformation="true"
  25.173 +				ProgramDatabaseFile=".\Debug/testshape.pdb"
  25.174 +				SubSystem="2"
  25.175 +			/>
  25.176 +			<Tool
  25.177 +				Name="VCALinkTool"
  25.178 +			/>
  25.179 +			<Tool
  25.180 +				Name="VCManifestTool"
  25.181 +			/>
  25.182 +			<Tool
  25.183 +				Name="VCXDCMakeTool"
  25.184 +			/>
  25.185 +			<Tool
  25.186 +				Name="VCBscMakeTool"
  25.187 +			/>
  25.188 +			<Tool
  25.189 +				Name="VCFxCopTool"
  25.190 +			/>
  25.191 +			<Tool
  25.192 +				Name="VCAppVerifierTool"
  25.193 +			/>
  25.194 +			<Tool
  25.195 +				Name="VCWebDeploymentTool"
  25.196 +			/>
  25.197 +			<Tool
  25.198 +				Name="VCPostBuildEventTool"
  25.199 +			/>
  25.200 +		</Configuration>
  25.201 +	</Configurations>
  25.202 +	<References>
  25.203 +	</References>
  25.204 +	<Files>
  25.205 +		<File
  25.206 +			RelativePath="..\..\Sdl\Debug\SDL.lib"
  25.207 +			>
  25.208 +		</File>
  25.209 +		<File
  25.210 +			RelativePath="..\..\SDLmain\Debug\SDLmain.lib"
  25.211 +			>
  25.212 +		</File>
  25.213 +		<File
  25.214 +			RelativePath="..\..\..\test\testshape.c"
  25.215 +			>
  25.216 +		</File>
  25.217 +	</Files>
  25.218 +	<Globals>
  25.219 +	</Globals>
  25.220 +</VisualStudioProject>
    26.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    26.2 +++ b/VisualC/tests/testshape/testshape.vcxproj	Sun Aug 22 13:45:56 2010 -0700
    26.3 @@ -0,0 +1,130 @@
    26.4 +<?xml version="1.0" encoding="utf-8"?>
    26.5 +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    26.6 +  <ItemGroup Label="ProjectConfigurations">
    26.7 +    <ProjectConfiguration Include="Debug|Win32">
    26.8 +      <Configuration>Debug</Configuration>
    26.9 +      <Platform>Win32</Platform>
   26.10 +    </ProjectConfiguration>
   26.11 +    <ProjectConfiguration Include="Release|Win32">
   26.12 +      <Configuration>Release</Configuration>
   26.13 +      <Platform>Win32</Platform>
   26.14 +    </ProjectConfiguration>
   26.15 +  </ItemGroup>
   26.16 +  <PropertyGroup Label="Globals">
   26.17 +    <ProjectGuid>{EDEA9D00-AF64-45DE-8F60-5957048F2F0F}</ProjectGuid>
   26.18 +  </PropertyGroup>
   26.19 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   26.20 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
   26.21 +    <ConfigurationType>Application</ConfigurationType>
   26.22 +    <UseOfMfc>false</UseOfMfc>
   26.23 +  </PropertyGroup>
   26.24 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
   26.25 +    <ConfigurationType>Application</ConfigurationType>
   26.26 +    <UseOfMfc>false</UseOfMfc>
   26.27 +  </PropertyGroup>
   26.28 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
   26.29 +  <ImportGroup Label="ExtensionSettings">
   26.30 +  </ImportGroup>
   26.31 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
   26.32 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   26.33 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   26.34 +  </ImportGroup>
   26.35 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
   26.36 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   26.37 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
   26.38 +  </ImportGroup>
   26.39 +  <PropertyGroup Label="UserMacros" />
   26.40 +  <PropertyGroup>
   26.41 +    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
   26.42 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
   26.43 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
   26.44 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
   26.45 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
   26.46 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   26.47 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
   26.48 +  </PropertyGroup>
   26.49 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   26.50 +    <Midl>
   26.51 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   26.52 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   26.53 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   26.54 +      <TargetEnvironment>Win32</TargetEnvironment>
   26.55 +      <TypeLibraryName>.\Release/testshape.tlb</TypeLibraryName>
   26.56 +    </Midl>
   26.57 +    <ClCompile>
   26.58 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   26.59 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   26.60 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   26.61 +      <StringPooling>true</StringPooling>
   26.62 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   26.63 +      <FunctionLevelLinking>true</FunctionLevelLinking>
   26.64 +      <PrecompiledHeader>
   26.65 +      </PrecompiledHeader>
   26.66 +      <PrecompiledHeaderOutputFile>.\Release/testshape.pch</PrecompiledHeaderOutputFile>
   26.67 +      <AssemblerListingLocation>.\Release/</AssemblerListingLocation>
   26.68 +      <ObjectFileName>.\Release/</ObjectFileName>
   26.69 +      <ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
   26.70 +      <WarningLevel>Level3</WarningLevel>
   26.71 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   26.72 +      <CompileAs>Default</CompileAs>
   26.73 +    </ClCompile>
   26.74 +    <ResourceCompile>
   26.75 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   26.76 +      <Culture>0x0409</Culture>
   26.77 +    </ResourceCompile>
   26.78 +    <Link>
   26.79 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
   26.80 +      <OutputFile>.\Release/testshape.exe</OutputFile>
   26.81 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   26.82 +      <ProgramDatabaseFile>.\Release/testshape.pdb</ProgramDatabaseFile>
   26.83 +      <SubSystem>Windows</SubSystem>
   26.84 +    </Link>
   26.85 +  </ItemDefinitionGroup>
   26.86 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   26.87 +    <Midl>
   26.88 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   26.89 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   26.90 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   26.91 +      <TargetEnvironment>Win32</TargetEnvironment>
   26.92 +      <TypeLibraryName>.\Debug/testshape.tlb</TypeLibraryName>
   26.93 +    </Midl>
   26.94 +    <ClCompile>
   26.95 +      <Optimization>Disabled</Optimization>
   26.96 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   26.97 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   26.98 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   26.99 +      <PrecompiledHeader>
  26.100 +      </PrecompiledHeader>
  26.101 +      <PrecompiledHeaderOutputFile>.\Debug/testshape.pch</PrecompiledHeaderOutputFile>
  26.102 +      <AssemblerListingLocation>.\Debug/</AssemblerListingLocation>
  26.103 +      <ObjectFileName>.\Debug/</ObjectFileName>
  26.104 +      <ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName>
  26.105 +      <WarningLevel>Level3</WarningLevel>
  26.106 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  26.107 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
  26.108 +      <CompileAs>Default</CompileAs>
  26.109 +    </ClCompile>
  26.110 +    <ResourceCompile>
  26.111 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  26.112 +      <Culture>0x0409</Culture>
  26.113 +    </ResourceCompile>
  26.114 +    <Link>
  26.115 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
  26.116 +      <OutputFile>.\Debug/testshape.exe</OutputFile>
  26.117 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  26.118 +      <GenerateDebugInformation>true</GenerateDebugInformation>
  26.119 +      <ProgramDatabaseFile>.\Debug/testshape.pdb</ProgramDatabaseFile>
  26.120 +      <SubSystem>Windows</SubSystem>
  26.121 +    </Link>
  26.122 +  </ItemDefinitionGroup>
  26.123 +  <ItemGroup>
  26.124 +    <Library Include="..\..\Sdl\Debug\SDL.lib" />
  26.125 +    <Library Include="..\..\SDLmain\Debug\SDLmain.lib" />
  26.126 +  </ItemGroup>
  26.127 +  <ItemGroup>
  26.128 +    <ClCompile Include="..\..\..\test\testshape.c" />
  26.129 +  </ItemGroup>
  26.130 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  26.131 +  <ImportGroup Label="ExtensionTargets">
  26.132 +  </ImportGroup>
  26.133 +</Project>
  26.134 \ No newline at end of file
    27.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    27.2 +++ b/VisualC/tests/testsprite/testsprite.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>{5D0930C0-7C91-4ECE-9014-7B7DDE9502E5}</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/testsprite.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/testsprite.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/testsprite.exe</OutputFile>
   27.81 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   27.82 +      <ProgramDatabaseFile>.\Release/testsprite.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/testsprite.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/testsprite.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/testsprite.exe</OutputFile>
  27.117 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  27.118 +      <GenerateDebugInformation>true</GenerateDebugInformation>
  27.119 +      <ProgramDatabaseFile>.\Debug/testsprite.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\testsprite.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/testsprite2/testsprite2.vcxproj	Sun Aug 22 13:45:56 2010 -0700
    28.3 @@ -0,0 +1,131 @@
    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>{40FB7794-D3C3-4CFE-BCF4-A80C96635682}</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/testsprite2.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/testsprite2.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/testsprite2.exe</OutputFile>
   28.81 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   28.82 +      <ProgramDatabaseFile>.\Release/testsprite2.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/testsprite2.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/testsprite2.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/testsprite2.exe</OutputFile>
  28.117 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  28.118 +      <GenerateDebugInformation>true</GenerateDebugInformation>
  28.119 +      <ProgramDatabaseFile>.\Debug/testsprite2.pdb</ProgramDatabaseFile>
  28.120 +      <SubSystem>Windows</SubSystem>
  28.121 +    </Link>
  28.122 +  </ItemDefinitionGroup>
  28.123 +  <ItemGroup>
  28.124 +    <ClCompile Include="..\..\..\test\common.c" />
  28.125 +    <ClCompile Include="..\..\..\test\testsprite2.c" />
  28.126 +  </ItemGroup>
  28.127 +  <ItemGroup>
  28.128 +    <Library Include="..\..\Sdl\Debug\SDL.lib" />
  28.129 +    <Library Include="..\..\SDLmain\Debug\SDLmain.lib" />
  28.130 +  </ItemGroup>
  28.131 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  28.132 +  <ImportGroup Label="ExtensionTargets">
  28.133 +  </ImportGroup>
  28.134 +</Project>
  28.135 \ No newline at end of file
    29.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    29.2 +++ b/VisualC/tests/testvidinfo/testvidinfo.vcxproj	Sun Aug 22 13:45:56 2010 -0700
    29.3 @@ -0,0 +1,130 @@
    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>{575FD095-EDAB-4BD4-B733-CD4A874F6FB0}</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/testvidinfo.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/testvidinfo.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/testvidinfo.exe</OutputFile>
   29.81 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   29.82 +      <ProgramDatabaseFile>.\Release/testvidinfo.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/testvidinfo.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/testvidinfo.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/testvidinfo.exe</OutputFile>
  29.117 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  29.118 +      <GenerateDebugInformation>true</GenerateDebugInformation>
  29.119 +      <ProgramDatabaseFile>.\Debug/testvidinfo.pdb</ProgramDatabaseFile>
  29.120 +      <SubSystem>Windows</SubSystem>
  29.121 +    </Link>
  29.122 +  </ItemDefinitionGroup>
  29.123 +  <ItemGroup>
  29.124 +    <Library Include="..\..\Sdl\Debug\SDL.lib" />
  29.125 +    <Library Include="..\..\SDLmain\Debug\SDLmain.lib" />
  29.126 +  </ItemGroup>
  29.127 +  <ItemGroup>
  29.128 +    <ClCompile Include="..\..\..\Test\testvidinfo.c" />
  29.129 +  </ItemGroup>
  29.130 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  29.131 +  <ImportGroup Label="ExtensionTargets">
  29.132 +  </ImportGroup>
  29.133 +</Project>
  29.134 \ No newline at end of file
    30.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    30.2 +++ b/VisualC/tests/testwin/testwin.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>{0FFD1A21-11DB-492C-A989-E4F195B0C441}</ProjectGuid>
   30.18 +  </PropertyGroup>
   30.19 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   30.20 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
   30.21 +    <ConfigurationType>Application</ConfigurationType>
   30.22 +    <UseOfMfc>false</UseOfMfc>
   30.23 +  </PropertyGroup>
   30.24 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|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)'=='Release|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)'=='Debug|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)'=='Debug|Win32'">.\Debug\</OutDir>
   30.43 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   30.44 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
   30.45 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
   30.46 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
   30.47 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
   30.48 +  </PropertyGroup>
   30.49 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   30.50 +    <Midl>
   30.51 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   30.52 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   30.53 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   30.54 +      <TargetEnvironment>Win32</TargetEnvironment>
   30.55 +      <TypeLibraryName>.\Debug/testwin.tlb</TypeLibraryName>
   30.56 +    </Midl>
   30.57 +    <ClCompile>
   30.58 +      <Optimization>Disabled</Optimization>
   30.59 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   30.60 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   30.61 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   30.62 +      <PrecompiledHeader>
   30.63 +      </PrecompiledHeader>
   30.64 +      <PrecompiledHeaderOutputFile>.\Debug/testwin.pch</PrecompiledHeaderOutputFile>
   30.65 +      <AssemblerListingLocation>.\Debug/</AssemblerListingLocation>
   30.66 +      <ObjectFileName>.\Debug/</ObjectFileName>
   30.67 +      <ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName>
   30.68 +      <WarningLevel>Level3</WarningLevel>
   30.69 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   30.70 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
   30.71 +      <CompileAs>Default</CompileAs>
   30.72 +    </ClCompile>
   30.73 +    <ResourceCompile>
   30.74 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   30.75 +      <Culture>0x0409</Culture>
   30.76 +    </ResourceCompile>
   30.77 +    <Link>
   30.78 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
   30.79 +      <OutputFile>.\Debug/testwin.exe</OutputFile>
   30.80 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   30.81 +      <GenerateDebugInformation>true</GenerateDebugInformation>
   30.82 +      <ProgramDatabaseFile>.\Debug/testwin.pdb</ProgramDatabaseFile>
   30.83 +      <SubSystem>Windows</SubSystem>
   30.84 +    </Link>
   30.85 +  </ItemDefinitionGroup>
   30.86 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   30.87 +    <Midl>
   30.88 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   30.89 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   30.90 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   30.91 +      <TargetEnvironment>Win32</TargetEnvironment>
   30.92 +      <TypeLibraryName>.\Release/testwin.tlb</TypeLibraryName>
   30.93 +    </Midl>
   30.94 +    <ClCompile>
   30.95 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   30.96 +      <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   30.97 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   30.98 +      <StringPooling>true</StringPooling>
   30.99 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  30.100 +      <FunctionLevelLinking>true</FunctionLevelLinking>
  30.101 +      <PrecompiledHeader>
  30.102 +      </PrecompiledHeader>
  30.103 +      <PrecompiledHeaderOutputFile>.\Release/testwin.pch</PrecompiledHeaderOutputFile>
  30.104 +      <AssemblerListingLocation>.\Release/</AssemblerListingLocation>
  30.105 +      <ObjectFileName>.\Release/</ObjectFileName>
  30.106 +      <ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
  30.107 +      <WarningLevel>Level3</WarningLevel>
  30.108 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  30.109 +      <CompileAs>Default</CompileAs>
  30.110 +    </ClCompile>
  30.111 +    <ResourceCompile>
  30.112 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  30.113 +      <Culture>0x0409</Culture>
  30.114 +    </ResourceCompile>
  30.115 +    <Link>
  30.116 +      <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
  30.117 +      <OutputFile>.\Release/testwin.exe</OutputFile>
  30.118 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  30.119 +      <ProgramDatabaseFile>.\Release/testwin.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\Testwin.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/testwm/testwm.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>{6AF0724B-BAC1-4C9D-AFBF-F63B4A2FB8FB}</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/testwm.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/testwm.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/testwm.exe</OutputFile>
   31.80 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   31.81 +      <GenerateDebugInformation>true</GenerateDebugInformation>
   31.82 +      <ProgramDatabaseFile>.\Debug/testwm.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/testwm.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/testwm.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/testwm.exe</OutputFile>
  31.118 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  31.119 +      <ProgramDatabaseFile>.\Release/testwm.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\testwm.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 --- a/Xcode/SDL/SDL.xcodeproj/project.pbxproj	Sun Aug 22 12:39:56 2010 -0700
    32.2 +++ b/Xcode/SDL/SDL.xcodeproj/project.pbxproj	Sun Aug 22 13:45:56 2010 -0700
    32.3 @@ -486,6 +486,13 @@
    32.4  		8CB0A78111F6A8E700CBA2DE /* SDL_touch.c in Sources */ = {isa = PBXBuildFile; fileRef = 8CB0A77D11F6A8E700CBA2DE /* SDL_touch.c */; };
    32.5  		8CB0A78711F6A90B00CBA2DE /* SDL_eventtouch.c in Sources */ = {isa = PBXBuildFile; fileRef = 8CB0A78511F6A90B00CBA2DE /* SDL_eventtouch.c */; };
    32.6  		8CB0A78811F6A90B00CBA2DE /* SDL_eventtouch.h in Headers */ = {isa = PBXBuildFile; fileRef = 8CB0A78611F6A90B00CBA2DE /* SDL_eventtouch.h */; };
    32.7 +		4537737D1207C4CE002F0F45 /* SDL_shape_internals.h in Headers */ = {isa = PBXBuildFile; fileRef = 4537737B1207C4CE002F0F45 /* SDL_shape_internals.h */; };
    32.8 +		4537737E1207C4CE002F0F45 /* SDL_shape.c in Sources */ = {isa = PBXBuildFile; fileRef = 4537737C1207C4CE002F0F45 /* SDL_shape.c */; };
    32.9 +		453773821207C518002F0F45 /* SDL_shape.h in Headers */ = {isa = PBXBuildFile; fileRef = 453773811207C518002F0F45 /* SDL_shape.h */; };
   32.10 +		453773891207C5A2002F0F45 /* SDL_cocoashape.h in Headers */ = {isa = PBXBuildFile; fileRef = 453773871207C5A2002F0F45 /* SDL_cocoashape.h */; };
   32.11 +		4537738A1207C5A2002F0F45 /* SDL_cocoashape.m in Sources */ = {isa = PBXBuildFile; fileRef = 453773881207C5A2002F0F45 /* SDL_cocoashape.m */; };
   32.12 +		453773921207C6E9002F0F45 /* SDL_x11shape.c in Sources */ = {isa = PBXBuildFile; fileRef = 453773901207C6E9002F0F45 /* SDL_x11shape.c */; };
   32.13 +		453773931207C6E9002F0F45 /* SDL_x11shape.h in Headers */ = {isa = PBXBuildFile; fileRef = 453773911207C6E9002F0F45 /* SDL_x11shape.h */; };
   32.14  		BECDF62E0761BA81005FE872 /* SDL_audio.c in Sources */ = {isa = PBXBuildFile; fileRef = 01538330006D78D67F000001 /* SDL_audio.c */; };
   32.15  		BECDF62F0761BA81005FE872 /* SDL_audiocvt.c in Sources */ = {isa = PBXBuildFile; fileRef = 01538331006D78D67F000001 /* SDL_audiocvt.c */; };
   32.16  		BECDF6300761BA81005FE872 /* SDL_audiodev.c in Sources */ = {isa = PBXBuildFile; fileRef = 01538332006D78D67F000001 /* SDL_audiodev.c */; };
   32.17 @@ -885,6 +892,13 @@
   32.18  		8CB0A77D11F6A8E700CBA2DE /* SDL_touch.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_touch.c; sourceTree = "<group>"; };
   32.19  		8CB0A78511F6A90B00CBA2DE /* SDL_eventtouch.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_eventtouch.c; sourceTree = "<group>"; };
   32.20  		8CB0A78611F6A90B00CBA2DE /* SDL_eventtouch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_eventtouch.h; sourceTree = "<group>"; };
   32.21 +		4537737B1207C4CE002F0F45 /* SDL_shape_internals.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_shape_internals.h; sourceTree = "<group>"; };
   32.22 +		4537737C1207C4CE002F0F45 /* SDL_shape.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_shape.c; sourceTree = "<group>"; };
   32.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; };
   32.24 +		453773871207C5A2002F0F45 /* SDL_cocoashape.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_cocoashape.h; sourceTree = "<group>"; };
   32.25 +		453773881207C5A2002F0F45 /* SDL_cocoashape.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDL_cocoashape.m; sourceTree = "<group>"; };
   32.26 +		453773901207C6E9002F0F45 /* SDL_x11shape.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_x11shape.c; sourceTree = "<group>"; };
   32.27 +		453773911207C6E9002F0F45 /* SDL_x11shape.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_x11shape.h; sourceTree = "<group>"; };
   32.28  		B24DA50405A88D52006B9F1C /* SDL_cpuinfo.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_cpuinfo.c; sourceTree = "<group>"; };
   32.29  		B29A290D04E5B28700A80002 /* SDL_loadso.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_loadso.h; path = ../../include/SDL_loadso.h; sourceTree = "<group>"; };
   32.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; };
   32.31 @@ -1105,6 +1119,8 @@
   32.32  				00CFA70B106B498A00758660 /* SDL_cocoamouse.m */,
   32.33  				00CFA70C106B498A00758660 /* SDL_cocoaopengl.h */,
   32.34  				00CFA70D106B498A00758660 /* SDL_cocoaopengl.m */,
   32.35 +				453773871207C5A2002F0F45 /* SDL_cocoashape.h */,
   32.36 +				453773881207C5A2002F0F45 /* SDL_cocoashape.m */,
   32.37  				00CFA70E106B498A00758660 /* SDL_cocoavideo.h */,
   32.38  				00CFA70F106B498A00758660 /* SDL_cocoavideo.m */,
   32.39  				00CFA710106B498A00758660 /* SDL_cocoawindow.h */,
   32.40 @@ -1153,6 +1169,8 @@
   32.41  				00CFA72B106B498B00758660 /* SDL_x11opengles.h */,
   32.42  				00CFA72C106B498B00758660 /* SDL_x11render.c */,
   32.43  				00CFA72D106B498B00758660 /* SDL_x11render.h */,
   32.44 +				453773901207C6E9002F0F45 /* SDL_x11shape.c */,
   32.45 +				453773911207C6E9002F0F45 /* SDL_x11shape.h */,
   32.46  				00CFA72E106B498B00758660 /* SDL_x11sym.h */,
   32.47  				00CFA72F106B498B00758660 /* SDL_x11video.c */,
   32.48  				00CFA730106B498B00758660 /* SDL_x11video.h */,
   32.49 @@ -1480,6 +1498,8 @@
   32.50  				00CFA80E106B49B600758660 /* SDL_renderer_sw.h */,
   32.51  				00CFA80F106B49B600758660 /* SDL_RLEaccel_c.h */,
   32.52  				00CFA810106B49B600758660 /* SDL_RLEaccel.c */,
   32.53 +				4537737C1207C4CE002F0F45 /* SDL_shape.c */,
   32.54 +				4537737B1207C4CE002F0F45 /* SDL_shape_internals.h */,
   32.55  				00CFA811106B49B600758660 /* SDL_stretch.c */,
   32.56  				00CFA812106B49B600758660 /* SDL_surface.c */,
   32.57  				00CFA813106B49B600758660 /* SDL_sysvideo.h */,
   32.58 @@ -1535,6 +1555,7 @@
   32.59  				00A6EBD91078D569001EEA06 /* SDL_revision.h */,
   32.60  				0C5AF5F801191D2B7F000001 /* SDL_rwops.h */,
   32.61  				00CFA680106B44CE00758660 /* SDL_scancode.h */,
   32.62 +				453773811207C518002F0F45 /* SDL_shape.h */,
   32.63  				00162D3909BD1FA90037C8D0 /* SDL_stdinc.h */,
   32.64  				00CFA681106B44CE00758660 /* SDL_surface.h */,
   32.65  				0C5AF5F901191D2B7F000001 /* SDL_syswm.h */,
   32.66 @@ -1843,6 +1864,10 @@
   32.67  				8CB0A77E11F6A8E700CBA2DE /* SDL_gesture_c.h in Headers */,
   32.68  				8CB0A78011F6A8E700CBA2DE /* SDL_touch_c.h in Headers */,
   32.69  				8CB0A78811F6A90B00CBA2DE /* SDL_eventtouch.h in Headers */,
   32.70 +				4537737D1207C4CE002F0F45 /* SDL_shape_internals.h in Headers */,
   32.71 +				453773821207C518002F0F45 /* SDL_shape.h in Headers */,
   32.72 +				453773891207C5A2002F0F45 /* SDL_cocoashape.h in Headers */,
   32.73 +				453773931207C6E9002F0F45 /* SDL_x11shape.h in Headers */,
   32.74  			);
   32.75  			runOnlyForDeploymentPostprocessing = 0;
   32.76  		};
   32.77 @@ -2319,6 +2344,9 @@
   32.78  				8CB0A77F11F6A8E700CBA2DE /* SDL_gesture.c in Sources */,
   32.79  				8CB0A78111F6A8E700CBA2DE /* SDL_touch.c in Sources */,
   32.80  				8CB0A78711F6A90B00CBA2DE /* SDL_eventtouch.c in Sources */,
   32.81 +				4537737E1207C4CE002F0F45 /* SDL_shape.c in Sources */,
   32.82 +				4537738A1207C5A2002F0F45 /* SDL_cocoashape.m in Sources */,
   32.83 +				453773921207C6E9002F0F45 /* SDL_x11shape.c in Sources */,
   32.84  			);
   32.85  			runOnlyForDeploymentPostprocessing = 0;
   32.86  		};
    33.1 --- a/Xcode/SDLTest/SDLTest.xcodeproj/project.pbxproj	Sun Aug 22 12:39:56 2010 -0700
    33.2 +++ b/Xcode/SDLTest/SDLTest.xcodeproj/project.pbxproj	Sun Aug 22 13:45:56 2010 -0700
    33.3 @@ -609,6 +609,8 @@
    33.4  		00794F0B09D238F4003FC8A1 /* sample.bmp in CopyFiles */ = {isa = PBXBuildFile; fileRef = 00794E6109D20839003FC8A1 /* sample.bmp */; };
    33.5  		00794F1109D2392B003FC8A1 /* icon.bmp in CopyFiles */ = {isa = PBXBuildFile; fileRef = 00794E5D09D20839003FC8A1 /* icon.bmp */; };
    33.6  		00794F8709D2413B003FC8A1 /* sample.bmp in CopyFiles */ = {isa = PBXBuildFile; fileRef = 00794E6109D20839003FC8A1 /* sample.bmp */; };
    33.7 +		4537749F12091551002F0F45 /* libsdlcommon.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEC567FF0761D90600A33029 /* libsdlcommon.a */; };
    33.8 +		453774A5120915E3002F0F45 /* testshape.c in Sources */ = {isa = PBXBuildFile; fileRef = 453774A4120915E3002F0F45 /* testshape.c */; };
    33.9  		BEC566B10761D90300A33029 /* checkkeys.c in Sources */ = {isa = PBXBuildFile; fileRef = 092D6D10FFB30A2C7F000001 /* checkkeys.c */; };
   33.10  		BEC566BE0761D90300A33029 /* graywin.c in Sources */ = {isa = PBXBuildFile; fileRef = 092D6D1BFFB30C237F000001 /* graywin.c */; };
   33.11  		BEC566CB0761D90300A33029 /* loopwave.c in Sources */ = {isa = PBXBuildFile; fileRef = 083E4872006D84C97F000001 /* loopwave.c */; };
   33.12 @@ -1178,6 +1180,20 @@
   33.13  			remoteGlobalIDString = BECDF6C30761BA81005FE872;
   33.14  			remoteInfo = "Devel Extras Package";
   33.15  		};
   33.16 +		4537747F120914AE002F0F45 /* PBXContainerItemProxy */ = {
   33.17 +			isa = PBXContainerItemProxy;
   33.18 +			containerPortal = 003FA63A093FFD41000C53B3 /* SDL.xcodeproj */;
   33.19 +			proxyType = 2;
   33.20 +			remoteGlobalIDString = 00D8D9EF1195090700638393;
   33.21 +			remoteInfo = testsdl;
   33.22 +		};
   33.23 +		4537749D1209152D002F0F45 /* PBXContainerItemProxy */ = {
   33.24 +			isa = PBXContainerItemProxy;
   33.25 +			containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */;
   33.26 +			proxyType = 1;
   33.27 +			remoteGlobalIDString = BEC567F70761D90600A33029;
   33.28 +			remoteInfo = sdlcommon;
   33.29 +		};
   33.30  		BEC568300761D90600A33029 /* PBXContainerItemProxy */ = {
   33.31  			isa = PBXContainerItemProxy;
   33.32  			containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */;
   33.33 @@ -1551,6 +1567,9 @@
   33.34  		092D6D62FFB312AA7F000001 /* testjoystick.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testjoystick.c; path = ../../test/testjoystick.c; sourceTree = SOURCE_ROOT; };
   33.35  		092D6D6CFFB313437F000001 /* testkeys.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testkeys.c; path = ../../test/testkeys.c; sourceTree = SOURCE_ROOT; };
   33.36  		092D6D75FFB313BB7F000001 /* testlock.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testlock.c; path = ../../test/testlock.c; sourceTree = SOURCE_ROOT; };
   33.37 +		4537749212091504002F0F45 /* testshape.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = testshape.app; sourceTree = BUILT_PRODUCTS_DIR; };
   33.38 +		4537749412091505002F0F45 /* testshape-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "testshape-Info.plist"; sourceTree = "<group>"; };
   33.39 +		453774A4120915E3002F0F45 /* testshape.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = testshape.c; path = ../../test/testshape.c; sourceTree = SOURCE_ROOT; };
   33.40  		B207FF2404E1B19600A80002 /* sdlcommon_prefix.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = sdlcommon_prefix.h; sourceTree = "<group>"; };
   33.41  		BEC566B60761D90300A33029 /* checkkeys.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = checkkeys.app; sourceTree = BUILT_PRODUCTS_DIR; };
   33.42  		BEC566C30761D90300A33029 /* graywin.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = graywin.app; sourceTree = BUILT_PRODUCTS_DIR; };
   33.43 @@ -1995,6 +2014,14 @@
   33.44  			);
   33.45  			runOnlyForDeploymentPostprocessing = 0;
   33.46  		};
   33.47 +		4537749012091504002F0F45 /* Frameworks */ = {
   33.48 +			isa = PBXFrameworksBuildPhase;
   33.49 +			buildActionMask = 2147483647;
   33.50 +			files = (
   33.51 +				4537749F12091551002F0F45 /* libsdlcommon.a in Frameworks */,
   33.52 +			);
   33.53 +			runOnlyForDeploymentPostprocessing = 0;
   33.54 +		};
   33.55  		BEC566B20761D90300A33029 /* Frameworks */ = {
   33.56  			isa = PBXFrameworksBuildPhase;
   33.57  			buildActionMask = 2147483647;
   33.58 @@ -2468,6 +2495,7 @@
   33.59  				003FA645093FFD41000C53B3 /* libSDL.a */,
   33.60  				003FA649093FFD41000C53B3 /* Standard DMG */,
   33.61  				003FA64B093FFD41000C53B3 /* Developer Extras Package */,
   33.62 +				45377480120914AE002F0F45 /* testsdl.app */,
   33.63  			);
   33.64  			name = Products;
   33.65  			sourceTree = "<group>";
   33.66 @@ -2495,6 +2523,7 @@
   33.67  				002F33A209CA183B00EBEB88 /* Linked Frameworks */,
   33.68  				00794E4609D207B4003FC8A1 /* Resources */,
   33.69  				1AB674ADFE9D54B511CA2CBB /* Products */,
   33.70 +				4537749412091505002F0F45 /* testshape-Info.plist */,
   33.71  			);
   33.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";
   33.73  			name = SDLTest;
   33.74 @@ -2543,6 +2572,7 @@
   33.75  				001798B910743A4900F5D044 /* testpower.c */,
   33.76  				001798F910743E9200F5D044 /* testresample.c */,
   33.77  				083E487E006D86A17F000001 /* testsem.c */,
   33.78 +				453774A4120915E3002F0F45 /* testshape.c */,
   33.79  				083E487F006D86A17F000001 /* testsprite.c */,
   33.80  				0017991910743F5300F5D044 /* testsprite2.c */,
   33.81  				083E4880006D86A17F000001 /* testtimer.c */,
   33.82 @@ -2608,6 +2638,7 @@
   33.83  				001798F210743BEC00F5D044 /* testresample.app */,
   33.84  				0017991610743F1000F5D044 /* testsprite2.app */,
   33.85  				0017993810743FB700F5D044 /* testwm2.app */,
   33.86 +				4537749212091504002F0F45 /* testshape.app */,
   33.87  			);
   33.88  			name = Products;
   33.89  			sourceTree = "<group>";
   33.90 @@ -3421,6 +3452,24 @@
   33.91  			productReference = 002F346A09CA204F00EBEB88 /* testplatform.app */;
   33.92  			productType = "com.apple.product-type.application";
   33.93  		};
   33.94 +		4537749112091504002F0F45 /* testshape */ = {
   33.95 +			isa = PBXNativeTarget;
   33.96 +			buildConfigurationList = 4537749A1209150C002F0F45 /* Build configuration list for PBXNativeTarget "testshape" */;
   33.97 +			buildPhases = (
   33.98 +				4537748E12091504002F0F45 /* Resources */,
   33.99 +				4537748F12091504002F0F45 /* Sources */,
  33.100 +				4537749012091504002F0F45 /* Frameworks */,
  33.101 +			);
  33.102 +			buildRules = (
  33.103 +			);
  33.104 +			dependencies = (
  33.105 +				4537749E1209152D002F0F45 /* PBXTargetDependency */,
  33.106 +			);
  33.107 +			name = testshape;
  33.108 +			productName = testshape;
  33.109 +			productReference = 4537749212091504002F0F45 /* testshape.app */;
  33.110 +			productType = "com.apple.product-type.application";
  33.111 +		};
  33.112  		BEC566AB0761D90300A33029 /* checkkeys */ = {
  33.113  			isa = PBXNativeTarget;
  33.114  			buildConfigurationList = 001B593808BDB826006539E9 /* Build configuration list for PBXNativeTarget "checkkeys" */;
  33.115 @@ -3996,6 +4045,7 @@
  33.116  				BEC567EA0761D90600A33029 /* torturethread */,
  33.117  				BEC567F70761D90600A33029 /* sdlcommon */,
  33.118  				002F337009CA14F900EBEB88 /* test */,
  33.119 +				4537749112091504002F0F45 /* testshape */,
  33.120  			);
  33.121  		};
  33.122  /* End PBXProject section */
  33.123 @@ -4029,6 +4079,13 @@
  33.124  			remoteRef = 003FA64A093FFD41000C53B3 /* PBXContainerItemProxy */;
  33.125  			sourceTree = BUILT_PRODUCTS_DIR;
  33.126  		};
  33.127 +		45377480120914AE002F0F45 /* testsdl.app */ = {
  33.128 +			isa = PBXReferenceProxy;
  33.129 +			fileType = wrapper.application;
  33.130 +			path = testsdl.app;
  33.131 +			remoteRef = 4537747F120914AE002F0F45 /* PBXContainerItemProxy */;
  33.132 +			sourceTree = BUILT_PRODUCTS_DIR;
  33.133 +		};
  33.134  /* End PBXReferenceProxy section */
  33.135  
  33.136  /* Begin PBXResourcesBuildPhase section */
  33.137 @@ -4193,6 +4250,13 @@
  33.138  			);
  33.139  			runOnlyForDeploymentPostprocessing = 0;
  33.140  		};
  33.141 +		4537748E12091504002F0F45 /* Resources */ = {
  33.142 +			isa = PBXResourcesBuildPhase;
  33.143 +			buildActionMask = 2147483647;
  33.144 +			files = (
  33.145 +			);
  33.146 +			runOnlyForDeploymentPostprocessing = 0;
  33.147 +		};
  33.148  		BEC566AE0761D90300A33029 /* Resources */ = {
  33.149  			isa = PBXResourcesBuildPhase;
  33.150  			buildActionMask = 2147483647;
  33.151 @@ -4561,6 +4625,14 @@
  33.152  			);
  33.153  			runOnlyForDeploymentPostprocessing = 0;
  33.154  		};
  33.155 +		4537748F12091504002F0F45 /* Sources */ = {
  33.156 +			isa = PBXSourcesBuildPhase;
  33.157 +			buildActionMask = 2147483647;
  33.158 +			files = (
  33.159 +				453774A5120915E3002F0F45 /* testshape.c in Sources */,
  33.160 +			);
  33.161 +			runOnlyForDeploymentPostprocessing = 0;
  33.162 +		};
  33.163  		BEC566B00761D90300A33029 /* Sources */ = {
  33.164  			isa = PBXSourcesBuildPhase;
  33.165  			buildActionMask = 2147483647;
  33.166 @@ -5114,6 +5186,11 @@
  33.167  			target = BEC567F70761D90600A33029 /* sdlcommon */;
  33.168  			targetProxy = 002F345B09CA204F00EBEB88 /* PBXContainerItemProxy */;
  33.169  		};
  33.170 +		4537749E1209152D002F0F45 /* PBXTargetDependency */ = {
  33.171 +			isa = PBXTargetDependency;
  33.172 +			target = BEC567F70761D90600A33029 /* sdlcommon */;
  33.173 +			targetProxy = 4537749D1209152D002F0F45 /* PBXContainerItemProxy */;
  33.174 +		};
  33.175  		BEC568310761D90600A33029 /* PBXTargetDependency */ = {
  33.176  			isa = PBXTargetDependency;
  33.177  			target = BEC567F70761D90600A33029 /* sdlcommon */;
  33.178 @@ -7643,6 +7720,112 @@
  33.179  			};
  33.180  			name = Default;
  33.181  		};
  33.182 +		4537749512091509002F0F45 /* Deployment_using_10.4SDK_and_10.6SDK */ = {
  33.183 +			isa = XCBuildConfiguration;
  33.184 +			buildSettings = {
  33.185 +				ALWAYS_SEARCH_USER_PATHS = NO;
  33.186 +				GCC_ENABLE_FIX_AND_CONTINUE = YES;
  33.187 +				GCC_MODEL_TUNING = G5;
  33.188 +				GCC_PRECOMPILE_PREFIX_HEADER = YES;
  33.189 +				GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h";
  33.190 +				INFOPLIST_FILE = "testshape-Info.plist";
  33.191 +				INSTALL_PATH = "$(HOME)/Applications";
  33.192 +				OTHER_LDFLAGS = (
  33.193 +					"-framework",
  33.194 +					Foundation,
  33.195 +					"-framework",
  33.196 +					AppKit,
  33.197 +				);
  33.198 +				PREBINDING = NO;
  33.199 +				PRODUCT_NAME = testshape;
  33.200 +				RUN_CLANG_STATIC_ANALYZER = YES;
  33.201 +			};
  33.202 +			name = Deployment_using_10.4SDK_and_10.6SDK;
  33.203 +		};
  33.204 +		4537749612091509002F0F45 /* Development_using_10.4SDK_and_10.6SDK */ = {
  33.205 +			isa = XCBuildConfiguration;
  33.206 +			buildSettings = {
  33.207 +				ALWAYS_SEARCH_USER_PATHS = NO;
  33.208 +				GCC_ENABLE_FIX_AND_CONTINUE = YES;
  33.209 +				GCC_MODEL_TUNING = G5;
  33.210 +				GCC_PRECOMPILE_PREFIX_HEADER = YES;
  33.211 +				GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h";
  33.212 +				INFOPLIST_FILE = "testshape-Info.plist";
  33.213 +				INSTALL_PATH = "$(HOME)/Applications";
  33.214 +				OTHER_LDFLAGS = (
  33.215 +					"-framework",
  33.216 +					Foundation,
  33.217 +					"-framework",
  33.218 +					AppKit,
  33.219 +				);
  33.220 +				PREBINDING = NO;
  33.221 +				PRODUCT_NAME = testshape;
  33.222 +			};
  33.223 +			name = Development_using_10.4SDK_and_10.6SDK;
  33.224 +		};
  33.225 +		4537749712091509002F0F45 /* Development_native_only */ = {
  33.226 +			isa = XCBuildConfiguration;
  33.227 +			buildSettings = {
  33.228 +				ALWAYS_SEARCH_USER_PATHS = NO;
  33.229 +				GCC_ENABLE_FIX_AND_CONTINUE = YES;
  33.230 +				GCC_MODEL_TUNING = G5;
  33.231 +				GCC_PRECOMPILE_PREFIX_HEADER = YES;
  33.232 +				GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h";
  33.233 +				INFOPLIST_FILE = "testshape-Info.plist";
  33.234 +				INSTALL_PATH = "$(HOME)/Applications";
  33.235 +				OTHER_LDFLAGS = (
  33.236 +					"-framework",
  33.237 +					Foundation,
  33.238 +					"-framework",
  33.239 +					AppKit,
  33.240 +				);
  33.241 +				PREBINDING = NO;
  33.242 +				PRODUCT_NAME = testshape;
  33.243 +			};
  33.244 +			name = Development_native_only;
  33.245 +		};
  33.246 +		4537749812091509002F0F45 /* Deployment_native_only */ = {
  33.247 +			isa = XCBuildConfiguration;
  33.248 +			buildSettings = {
  33.249 +				ALWAYS_SEARCH_USER_PATHS = NO;
  33.250 +				GCC_ENABLE_FIX_AND_CONTINUE = YES;
  33.251 +				GCC_MODEL_TUNING = G5;
  33.252 +				GCC_PRECOMPILE_PREFIX_HEADER = YES;
  33.253 +				GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h";
  33.254 +				INFOPLIST_FILE = "testshape-Info.plist";
  33.255 +				INSTALL_PATH = "$(HOME)/Applications";
  33.256 +				OTHER_LDFLAGS = (
  33.257 +					"-framework",
  33.258 +					Foundation,
  33.259 +					"-framework",
  33.260 +					AppKit,
  33.261 +				);
  33.262 +				PREBINDING = NO;
  33.263 +				PRODUCT_NAME = testshape;
  33.264 +			};
  33.265 +			name = Deployment_native_only;
  33.266 +		};
  33.267 +		4537749912091509002F0F45 /* Default */ = {
  33.268 +			isa = XCBuildConfiguration;
  33.269 +			buildSettings = {
  33.270 +				ALWAYS_SEARCH_USER_PATHS = NO;
  33.271 +				GCC_ENABLE_FIX_AND_CONTINUE = YES;
  33.272 +				GCC_MODEL_TUNING = G5;
  33.273 +				GCC_PRECOMPILE_PREFIX_HEADER = YES;
  33.274 +				GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h";
  33.275 +				INFOPLIST_FILE = "testshape-Info.plist";
  33.276 +				INSTALL_PATH = "$(HOME)/Applications";
  33.277 +				OTHER_LDFLAGS = (
  33.278 +					"-framework",
  33.279 +					Foundation,
  33.280 +					"-framework",
  33.281 +					AppKit,
  33.282 +				);
  33.283 +				PREBINDING = NO;
  33.284 +				PRODUCT_NAME = testshape;
  33.285 +			};
  33.286 +			name = Default;
  33.287 +		};
  33.288  /* End XCBuildConfiguration section */
  33.289  
  33.290  /* Begin XCConfigurationList section */
  33.291 @@ -8246,6 +8429,18 @@
  33.292  			defaultConfigurationIsVisible = 0;
  33.293  			defaultConfigurationName = Default;
  33.294  		};
  33.295 +		4537749A1209150C002F0F45 /* Build configuration list for PBXNativeTarget "testshape" */ = {
  33.296 +			isa = XCConfigurationList;
  33.297 +			buildConfigurations = (
  33.298 +				4537749512091509002F0F45 /* Deployment_using_10.4SDK_and_10.6SDK */,
  33.299 +				4537749612091509002F0F45 /* Development_using_10.4SDK_and_10.6SDK */,
  33.300 +				4537749712091509002F0F45 /* Development_native_only */,
  33.301 +				4537749812091509002F0F45 /* Deployment_native_only */,
  33.302 +				4537749912091509002F0F45 /* Default */,
  33.303 +			);
  33.304 +			defaultConfigurationIsVisible = 0;
  33.305 +			defaultConfigurationName = Default;
  33.306 +		};
  33.307  /* End XCConfigurationList section */
  33.308  	};
  33.309  	rootObject = 08FB7793FE84155DC02AAC07 /* Project object */;
    34.1 --- a/configure.in	Sun Aug 22 12:39:56 2010 -0700
    34.2 +++ b/configure.in	Sun Aug 22 13:45:56 2010 -0700
    34.3 @@ -1122,6 +1122,19 @@
    34.4                  AC_DEFINE(SDL_VIDEO_DRIVER_X11_XINERAMA)
    34.5                  SOURCES="$SOURCES $srcdir/src/video/Xext/Xinerama/*.c"
    34.6              fi
    34.7 +            AC_ARG_ENABLE(video-x11-xshape,
    34.8 +AC_HELP_STRING([--enable-video-x11-xshape], [enable X11 XShape support [[default=yes]]]),
    34.9 +                            , enable_video_x11_xshape=yes)
   34.10 +            if test x$enable_video_x11_xshape = xyes; then
   34.11 +                AC_CHECK_HEADER(X11/extensions/shape.h,
   34.12 +                                have_shape_h_hdr=yes,
   34.13 +                                have_shape_h_hdr=no,
   34.14 +                                [#include <X11/Xlib.h>
   34.15 +                                ])
   34.16 +                if test x$have_shape_h_hdr = xyes; then
   34.17 +                    AC_DEFINE(SDL_VIDEO_DRIVER_X11_XSHAPE)
   34.18 +                fi
   34.19 +            fi
   34.20              AC_ARG_ENABLE(video-x11-xrandr,
   34.21  AC_HELP_STRING([--enable-video-x11-xrandr], [enable X11 Xrandr extension for fullscreen [[default=yes]]]),
   34.22                              , enable_video_x11_xrandr=yes)
    35.1 --- a/include/SDL_config.h.in	Sun Aug 22 12:39:56 2010 -0700
    35.2 +++ b/include/SDL_config.h.in	Sun Aug 22 13:45:56 2010 -0700
    35.3 @@ -283,8 +283,7 @@
    35.4  #undef SDL_VIDEO_DRIVER_X11_XRENDER
    35.5  #undef SDL_VIDEO_DRIVER_X11_XDAMAGE
    35.6  #undef SDL_VIDEO_DRIVER_X11_XFIXES
    35.7 -
    35.8 -#undef SDL_VIDEO_RENDER_X11
    35.9 +#undef SDL_VIDEO_DRIVER_X11_XSHAPE
   35.10  
   35.11  #undef SDL_VIDEO_RENDER_D3D
   35.12  #undef SDL_VIDEO_RENDER_GDI
    36.1 --- a/include/SDL_config_macosx.h	Sun Aug 22 12:39:56 2010 -0700
    36.2 +++ b/include/SDL_config_macosx.h	Sun Aug 22 13:45:56 2010 -0700
    36.3 @@ -144,6 +144,7 @@
    36.4  #define SDL_VIDEO_DRIVER_X11_XINPUT 1
    36.5  #define SDL_VIDEO_DRIVER_X11_SCRNSAVER 1
    36.6  #define SDL_VIDEO_DRIVER_X11_XV 1
    36.7 +#define SDL_VIDEO_DRIVER_X11_XSHAPE 1
    36.8  
    36.9  #define SDL_VIDEO_RENDER_OGL	1
   36.10  #define SDL_VIDEO_RENDER_X11	1
    37.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    37.2 +++ b/include/SDL_shape.h	Sun Aug 22 13:45:56 2010 -0700
    37.3 @@ -0,0 +1,148 @@
    37.4 +/*
    37.5 +    SDL - Simple DirectMedia Layer
    37.6 +    Copyright (C) 2010 Eli Gottlieb
    37.7 +
    37.8 +    This library is free software; you can redistribute it and/or
    37.9 +    modify it under the terms of the GNU Lesser General Public
   37.10 +    License as published by the Free Software Foundation; either
   37.11 +    version 2.1 of the License, or (at your option) any later version.
   37.12 +
   37.13 +    This library is distributed in the hope that it will be useful,
   37.14 +    but WITHOUT ANY WARRANTY; without even the implied warranty of
   37.15 +    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   37.16 +    Lesser General Public License for more details.
   37.17 +
   37.18 +    You should have received a copy of the GNU Lesser General Public
   37.19 +    License along with this library; if not, write to the Free Software
   37.20 +    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
   37.21 +
   37.22 +    Eli Gottlieb
   37.23 +    eligottlieb@gmail.com
   37.24 +*/
   37.25 +
   37.26 +#ifndef _SDL_shape_h
   37.27 +#define _SDL_shape_h
   37.28 +
   37.29 +#include "SDL_stdinc.h"
   37.30 +#include "SDL_pixels.h"
   37.31 +#include "SDL_rect.h"
   37.32 +#include "SDL_surface.h"
   37.33 +#include "SDL_video.h"
   37.34 +
   37.35 +#include "begin_code.h"
   37.36 +/* Set up for C function definitions, even when using C++ */
   37.37 +#ifdef __cplusplus
   37.38 +/* *INDENT-OFF* */
   37.39 +extern "C" {
   37.40 +/* *INDENT-ON* */
   37.41 +#endif
   37.42 +
   37.43 +/** \file SDL_shape.h
   37.44 + *
   37.45 + * Header file for the shaped window API.
   37.46 + */
   37.47 +
   37.48 +#define SDL_NONSHAPEABLE_WINDOW -1
   37.49 +#define SDL_INVALID_SHAPE_ARGUMENT -2
   37.50 +#define SDL_WINDOW_LACKS_SHAPE -3
   37.51 +
   37.52 +/**
   37.53 + *  \brief Create a window that can be shaped with the specified position, dimensions, and flags.
   37.54 + *  
   37.55 + *  \param title The title of the window, in UTF-8 encoding.
   37.56 + *  \param x     The x position of the window, ::SDL_WINDOWPOS_CENTERED, or 
   37.57 + *               ::SDL_WINDOWPOS_UNDEFINED.
   37.58 + *  \param y     The y position of the window, ::SDL_WINDOWPOS_CENTERED, or 
   37.59 + *               ::SDL_WINDOWPOS_UNDEFINED.
   37.60 + *  \param w     The width of the window.
   37.61 + *  \param h     The height of the window.
   37.62 + *  \param flags The flags for the window, a mask of SDL_WINDOW_BORDERLESS with any of the following: 
   37.63 + *               ::SDL_WINDOW_OPENGL,     ::SDL_WINDOW_INPUT_GRABBED,
   37.64 + *               ::SDL_WINDOW_SHOWN,      ::SDL_WINDOW_RESIZABLE,
   37.65 + *               ::SDL_WINDOW_MAXIMIZED,  ::SDL_WINDOW_MINIMIZED,
   37.66 + *		 ::SDL_WINDOW_BORDERLESS is always set, and ::SDL_WINDOW_FULLSCREEN is always unset.
   37.67 + *  
   37.68 + *  \return The window created, or NULL if window creation failed.
   37.69 + *  
   37.70 + *  \sa SDL_DestroyWindow()
   37.71 + */
   37.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);
   37.73 +
   37.74 +/**
   37.75 + * \brief Return whether the given window is a shaped window. 
   37.76 + *
   37.77 + * \param window The window to query for being shaped.
   37.78 + *
   37.79 + * \return SDL_TRUE if the window is a window that can be shaped, SDL_FALSE if the window is unshaped or NULL.
   37.80 + * \sa SDL_CreateShapedWindow
   37.81 + */
   37.82 +extern DECLSPEC SDL_bool SDLCALL SDL_IsShapedWindow(const SDL_Window *window);
   37.83 +
   37.84 +/** \brief An enum denoting the specific type of contents present in an SDL_WindowShapeParams union. */
   37.85 +typedef enum {
   37.86 +	/** \brief The default mode, a binarized alpha cutoff of 1. */
   37.87 +	ShapeModeDefault,
   37.88 +	/** \brief A binarized alpha cutoff with a given integer value. */
   37.89 +	ShapeModeBinarizeAlpha,
   37.90 +	/** \brief A binarized alpha cutoff with a given integer value, but with the opposite comparison. */
   37.91 +	ShapeModeReverseBinarizeAlpha,
   37.92 +	/** \brief A color key is applied. */
   37.93 +	ShapeModeColorKey
   37.94 +} WindowShapeMode;
   37.95 +
   37.96 +#define SDL_SHAPEMODEALPHA(mode) (mode == ShapeModeDefault || mode == ShapeModeBinarizeAlpha || mode == ShapeModeReverseBinarizeAlpha)
   37.97 +
   37.98 +/** \brief A union containing parameters for shaped windows. */
   37.99 +typedef union {
  37.100 +	/** \brief a cutoff alpha value for binarization of the window shape's alpha channel. */
  37.101 +	Uint8 binarizationCutoff;
  37.102 +	SDL_Color colorKey;
  37.103 +} SDL_WindowShapeParams;
  37.104 +
  37.105 +/** \brief A struct that tags the SDL_WindowShapeParams union with an enum describing the type of its contents. */
  37.106 +typedef struct SDL_WindowShapeMode {
  37.107 +	/** \brief The mode of these window-shape parameters. */
  37.108 +	WindowShapeMode mode;
  37.109 +	/** \brief Window-shape parameters. */
  37.110 +	SDL_WindowShapeParams parameters;
  37.111 +} SDL_WindowShapeMode;
  37.112 +
  37.113 +/**
  37.114 + * \brief Set the shape and parameters of a shaped window.
  37.115 + *
  37.116 + * \param window The shaped window whose parameters should be set.
  37.117 + * \param shape A surface encoding the desired shape for the window.
  37.118 + * \param shape_mode The parameters to set for the shaped window.
  37.119 + *
  37.120 + * \return 0 on success, SDL_INVALID_SHAPE_ARGUMENT on invalid an invalid shape argument, or SDL_NONSHAPEABLE_WINDOW
  37.121 + *           if the SDL_Window* given does not reference a valid shaped window.
  37.122 + *
  37.123 + * \sa SDL_WindowShapeMode
  37.124 + * \sa SDL_GetShapedWindowMode.
  37.125 + */
  37.126 +extern DECLSPEC int SDLCALL SDL_SetWindowShape(SDL_Window *window,SDL_Surface *shape,SDL_WindowShapeMode *shape_mode);
  37.127 +
  37.128 +/**
  37.129 + * \brief Get the shape parameters of a shaped window.
  37.130 + *
  37.131 + * \param window The shaped window whose parameters should be retrieved.
  37.132 + * \param shape_mode An empty shape-mode structure to fill, or NULL to check whether the window has a shape.
  37.133 + *
  37.134 + * \return 0 if the window has a shape and, provided shape_mode was not NULL, shape_mode has been filled with the mode
  37.135 + *           data, SDL_NONSHAPEABLE_WINDOW if the SDL_Window given is not a shaped window, or SDL_WINDOW_LACKS_SHAPE if
  37.136 + *           the SDL_Window* given is a shapeable window currently lacking a shape.
  37.137 + *
  37.138 + * \sa SDL_WindowShapeMode
  37.139 + * \sa SDL_SetWindowShape
  37.140 + */
  37.141 +extern DECLSPEC int SDLCALL SDL_GetShapedWindowMode(SDL_Window *window,SDL_WindowShapeMode *shape_mode);
  37.142 +
  37.143 +/* Ends C function definitions when using C++ */
  37.144 +#ifdef __cplusplus
  37.145 +/* *INDENT-OFF* */
  37.146 +}
  37.147 +/* *INDENT-ON* */
  37.148 +#endif
  37.149 +#include "close_code.h"
  37.150 +
  37.151 +#endif /* _SDL_shape_h */
    38.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    38.2 +++ b/src/video/SDL_shape.c	Sun Aug 22 13:45:56 2010 -0700
    38.3 @@ -0,0 +1,279 @@
    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 +#include "SDL_config.h"
   38.26 +
   38.27 +#include "SDL.h"
   38.28 +#include "SDL_assert.h"
   38.29 +#include "SDL_video.h"
   38.30 +#include "SDL_sysvideo.h"
   38.31 +#include "SDL_pixels.h"
   38.32 +#include "SDL_surface.h"
   38.33 +#include "SDL_shape.h"
   38.34 +#include "SDL_shape_internals.h"
   38.35 +
   38.36 +SDL_Window*
   38.37 +SDL_CreateShapedWindow(const char *title,unsigned int x,unsigned int y,unsigned int w,unsigned int h,Uint32 flags) {
   38.38 +    SDL_Window *result = NULL;
   38.39 +    result = SDL_CreateWindow(title,-1000,-1000,w,h,(flags | SDL_WINDOW_BORDERLESS) & (~SDL_WINDOW_FULLSCREEN) & (~SDL_WINDOW_RESIZABLE) /*& (~SDL_WINDOW_SHOWN)*/);
   38.40 +    if(result != NULL) {
   38.41 +        result->shaper = result->display->device->shape_driver.CreateShaper(result);
   38.42 +        if(result->shaper != NULL) {
   38.43 +            result->shaper->userx = x;
   38.44 +            result->shaper->usery = y;
   38.45 +            result->shaper->mode.mode = ShapeModeDefault;
   38.46 +            result->shaper->mode.parameters.binarizationCutoff = 1;
   38.47 +            result->shaper->hasshape = SDL_FALSE;
   38.48 +            return result;
   38.49 +        }
   38.50 +        else {
   38.51 +            SDL_DestroyWindow(result);
   38.52 +            return NULL;
   38.53 +        }
   38.54 +    }
   38.55 +    else
   38.56 +        return NULL;
   38.57 +}
   38.58 +
   38.59 +SDL_bool
   38.60 +SDL_IsShapedWindow(const SDL_Window *window) {
   38.61 +    if(window == NULL)
   38.62 +        return SDL_FALSE;
   38.63 +    else
   38.64 +        return (SDL_bool)(window->shaper != NULL);
   38.65 +}
   38.66 +
   38.67 +/* REQUIRES that bitmap point to a w-by-h bitmap with ppb pixels-per-byte. */
   38.68 +void
   38.69 +SDL_CalculateShapeBitmap(SDL_WindowShapeMode mode,SDL_Surface *shape,Uint8* bitmap,Uint8 ppb) {
   38.70 +    int x = 0;
   38.71 +    int y = 0;
   38.72 +    Uint8 r = 0,g = 0,b = 0,alpha = 0;
   38.73 +    Uint8* pixel = NULL;
   38.74 +    Uint32 bitmap_pixel,pixel_value = 0,mask_value = 0;
   38.75 +    SDL_Color key;
   38.76 +    if(SDL_MUSTLOCK(shape))
   38.77 +        SDL_LockSurface(shape);
   38.78 +    pixel = (Uint8*)shape->pixels;
   38.79 +    for(y = 0;y<shape->h;y++) {
   38.80 +        for(x=0;x<shape->w;x++) {
   38.81 +            alpha = 0;
   38.82 +            pixel_value = 0;
   38.83 +            pixel = (Uint8 *)(shape->pixels) + (y*shape->pitch) + (x*shape->format->BytesPerPixel);
   38.84 +            switch(shape->format->BytesPerPixel) {
   38.85 +                case(1):
   38.86 +                    pixel_value = *(Uint8*)pixel;
   38.87 +                    break;
   38.88 +                case(2):
   38.89 +                    pixel_value = *(Uint16*)pixel;
   38.90 +                    break;
   38.91 +                case(3):
   38.92 +                    pixel_value = *(Uint32*)pixel & (~shape->format->Amask);
   38.93 +                    break;
   38.94 +                case(4):
   38.95 +                    pixel_value = *(Uint32*)pixel;
   38.96 +                    break;
   38.97 +            }
   38.98 +            SDL_GetRGBA(pixel_value,shape->format,&r,&g,&b,&alpha);
   38.99 +            bitmap_pixel = y*shape->w + x;
  38.100 +            switch(mode.mode) {
  38.101 +                case(ShapeModeDefault):
  38.102 +                    mask_value = (alpha >= 1 ? 1 : 0);
  38.103 +                    break;
  38.104 +                case(ShapeModeBinarizeAlpha):
  38.105 +                    mask_value = (alpha >= mode.parameters.binarizationCutoff ? 1 : 0);
  38.106 +                    break;
  38.107 +                case(ShapeModeReverseBinarizeAlpha):
  38.108 +                    mask_value = (alpha <= mode.parameters.binarizationCutoff ? 1 : 0);
  38.109 +                    break;
  38.110 +                case(ShapeModeColorKey):
  38.111 +                    key = mode.parameters.colorKey;
  38.112 +                    mask_value = ((key.r != r || key.g != g || key.b != b) ? 1 : 0);
  38.113 +                    break;
  38.114 +            }
  38.115 +            bitmap[bitmap_pixel / ppb] |= mask_value << (7 - ((ppb - 1) - (bitmap_pixel % ppb)));
  38.116 +        }
  38.117 +    }
  38.118 +    if(SDL_MUSTLOCK(shape))
  38.119 +        SDL_UnlockSurface(shape);
  38.120 +}
  38.121 +
  38.122 +SDL_ShapeTree*
  38.123 +RecursivelyCalculateShapeTree(SDL_WindowShapeMode mode,SDL_Surface* mask,SDL_Rect dimensions) {
  38.124 +    int x = 0,y = 0;
  38.125 +    Uint8* pixel = NULL;
  38.126 +    Uint32 pixel_value = 0;
  38.127 +    Uint8 r = 0,g = 0,b = 0,a = 0;
  38.128 +    SDL_bool pixel_opaque = SDL_FALSE;
  38.129 +    int last_opaque = -1;
  38.130 +    SDL_Color key;
  38.131 +    SDL_ShapeTree* result = (SDL_ShapeTree*)SDL_malloc(sizeof(SDL_ShapeTree));
  38.132 +    SDL_Rect next = {0,0,0,0};
  38.133 +    for(y=dimensions.y;y<dimensions.y + dimensions.h;y++) {
  38.134 +        for(x=dimensions.x;x<dimensions.x + dimensions.w;x++) {
  38.135 +            pixel_value = 0;
  38.136 +            pixel = (Uint8 *)(mask->pixels) + (y*mask->pitch) + (x*mask->format->BytesPerPixel);
  38.137 +            switch(mask->format->BytesPerPixel) {
  38.138 +                case(1):
  38.139 +                    pixel_value = *(Uint8*)pixel;
  38.140 +                    break;
  38.141 +                case(2):
  38.142 +                    pixel_value = *(Uint16*)pixel;
  38.143 +                    break;
  38.144 +                case(3):
  38.145 +                    pixel_value = *(Uint32*)pixel & (~mask->format->Amask);
  38.146 +                    break;
  38.147 +                case(4):
  38.148 +                    pixel_value = *(Uint32*)pixel;
  38.149 +                    break;
  38.150 +            }
  38.151 +            SDL_GetRGBA(pixel_value,mask->format,&r,&g,&b,&a);
  38.152 +            switch(mode.mode) {
  38.153 +                case(ShapeModeDefault):
  38.154 +                    pixel_opaque = (a >= 1 ? SDL_TRUE : SDL_FALSE);
  38.155 +                    break;
  38.156 +                case(ShapeModeBinarizeAlpha):
  38.157 +                    pixel_opaque = (a >= mode.parameters.binarizationCutoff ? SDL_TRUE : SDL_FALSE);
  38.158 +                    break;
  38.159 +                case(ShapeModeReverseBinarizeAlpha):
  38.160 +                    pixel_opaque = (a <= mode.parameters.binarizationCutoff ? SDL_TRUE : SDL_FALSE);
  38.161 +                    break;
  38.162 +                case(ShapeModeColorKey):
  38.163 +                    key = mode.parameters.colorKey;
  38.164 +                    pixel_opaque = ((key.r != r || key.g != g || key.b != b) ? SDL_TRUE : SDL_FALSE);
  38.165 +                    break;
  38.166 +            }
  38.167 +            if(last_opaque == -1)
  38.168 +                last_opaque = pixel_opaque;
  38.169 +            if(last_opaque != pixel_opaque) {
  38.170 +                result->kind = QuadShape;
  38.171 +                //These will stay the same.
  38.172 +                next.w = dimensions.w / 2;
  38.173 +                next.h = dimensions.h / 2;
  38.174 +                //These will change from recursion to recursion.
  38.175 +                next.x = dimensions.x;
  38.176 +                next.y = dimensions.y;
  38.177 +                result->data.children.upleft = (struct SDL_ShapeTree *)RecursivelyCalculateShapeTree(mode,mask,next);
  38.178 +                next.x += next.w;
  38.179 +                //Unneeded: next.y = dimensions.y;
  38.180 +                result->data.children.upright = (struct SDL_ShapeTree *)RecursivelyCalculateShapeTree(mode,mask,next);
  38.181 +                next.x = dimensions.x;
  38.182 +                next.y += next.h;
  38.183 +                result->data.children.downleft = (struct SDL_ShapeTree *)RecursivelyCalculateShapeTree(mode,mask,next);
  38.184 +                next.x += next.w;
  38.185 +                //Unneeded: next.y = dimensions.y + dimensions.h /2;
  38.186 +                result->data.children.downright = (struct SDL_ShapeTree *)RecursivelyCalculateShapeTree(mode,mask,next);
  38.187 +                return result;
  38.188 +            }
  38.189 +        }
  38.190 +    }
  38.191 +    //If we never recursed, all the pixels in this quadrant have the same "value".
  38.192 +    result->kind = (last_opaque == SDL_TRUE ? OpaqueShape : TransparentShape);
  38.193 +    result->data.shape = dimensions;
  38.194 +    return result;
  38.195 +}
  38.196 +
  38.197 +SDL_ShapeTree*
  38.198 +SDL_CalculateShapeTree(SDL_WindowShapeMode mode,SDL_Surface* shape) {
  38.199 +    SDL_Rect dimensions = {0,0,shape->w,shape->h};
  38.200 +    SDL_ShapeTree* result = NULL;
  38.201 +    if(SDL_MUSTLOCK(shape))
  38.202 +        SDL_LockSurface(shape);
  38.203 +    result = RecursivelyCalculateShapeTree(mode,shape,dimensions);
  38.204 +    if(SDL_MUSTLOCK(shape))
  38.205 +        SDL_UnlockSurface(shape);
  38.206 +    return result;
  38.207 +}
  38.208 +
  38.209 +void
  38.210 +SDL_TraverseShapeTree(SDL_ShapeTree *tree,SDL_TraversalFunction function,void* closure) {
  38.211 +    SDL_assert(tree != NULL);
  38.212 +    if(tree->kind == QuadShape) {
  38.213 +        SDL_TraverseShapeTree((SDL_ShapeTree *)tree->data.children.upleft,function,closure);
  38.214 +        SDL_TraverseShapeTree((SDL_ShapeTree *)tree->data.children.upright,function,closure);
  38.215 +        SDL_TraverseShapeTree((SDL_ShapeTree *)tree->data.children.downleft,function,closure);
  38.216 +        SDL_TraverseShapeTree((SDL_ShapeTree *)tree->data.children.downright,function,closure);
  38.217 +    }
  38.218 +    else
  38.219 +        function(tree,closure);
  38.220 +}
  38.221 +
  38.222 +void
  38.223 +SDL_FreeShapeTree(SDL_ShapeTree** shape_tree) {
  38.224 +    if((*shape_tree)->kind == QuadShape) {
  38.225 +        SDL_FreeShapeTree((SDL_ShapeTree **)&(*shape_tree)->data.children.upleft);
  38.226 +        SDL_FreeShapeTree((SDL_ShapeTree **)&(*shape_tree)->data.children.upright);
  38.227 +        SDL_FreeShapeTree((SDL_ShapeTree **)&(*shape_tree)->data.children.downleft);
  38.228 +        SDL_FreeShapeTree((SDL_ShapeTree **)&(*shape_tree)->data.children.downright);
  38.229 +    }
  38.230 +    SDL_free(*shape_tree);
  38.231 +    *shape_tree = NULL;
  38.232 +}
  38.233 +
  38.234 +int
  38.235 +SDL_SetWindowShape(SDL_Window *window,SDL_Surface *shape,SDL_WindowShapeMode *shape_mode) {
  38.236 +    int result;
  38.237 +    if(window == NULL || !SDL_IsShapedWindow(window))
  38.238 +        //The window given was not a shapeable window.
  38.239 +        return SDL_NONSHAPEABLE_WINDOW;
  38.240 +    if(shape == NULL)
  38.241 +        //Invalid shape argument.
  38.242 +        return SDL_INVALID_SHAPE_ARGUMENT;
  38.243 +    
  38.244 +    if(shape_mode != NULL)
  38.245 +        window->shaper->mode = *shape_mode;
  38.246 +    result = window->display->device->shape_driver.SetWindowShape(window->shaper,shape,shape_mode);
  38.247 +    window->shaper->hasshape = SDL_TRUE;
  38.248 +    if(window->shaper->userx != 0 && window->shaper->usery != 0) {
  38.249 +        SDL_SetWindowPosition(window,window->shaper->userx,window->shaper->usery);
  38.250 +        window->shaper->userx = 0;
  38.251 +        window->shaper->usery = 0;
  38.252 +    }
  38.253 +    return result;
  38.254 +}
  38.255 +
  38.256 +SDL_bool
  38.257 +SDL_WindowHasAShape(SDL_Window *window) {
  38.258 +    if (window == NULL || !SDL_IsShapedWindow(window))
  38.259 +        return SDL_FALSE;
  38.260 +    return window->shaper->hasshape;
  38.261 +}
  38.262 +
  38.263 +int
  38.264 +SDL_GetShapedWindowMode(SDL_Window *window,SDL_WindowShapeMode *shape_mode) {
  38.265 +    if(window != NULL && SDL_IsShapedWindow(window)) {
  38.266 +        if(shape_mode == NULL) {
  38.267 +            if(SDL_WindowHasAShape(window))
  38.268 +                //The window given has a shape.
  38.269 +                return 0;
  38.270 +            else
  38.271 +                //The window given is shapeable but lacks a shape.
  38.272 +                return SDL_WINDOW_LACKS_SHAPE;
  38.273 +        }
  38.274 +        else {
  38.275 +            *shape_mode = window->shaper->mode;
  38.276 +            return 0;
  38.277 +        }
  38.278 +    }
  38.279 +    else
  38.280 +        //The window given is not a valid shapeable window.
  38.281 +        return SDL_NONSHAPEABLE_WINDOW;
  38.282 +}
    39.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    39.2 +++ b/src/video/SDL_shape_internals.h	Sun Aug 22 13:45:56 2010 -0700
    39.3 @@ -0,0 +1,70 @@
    39.4 +/*
    39.5 +    SDL - Simple DirectMedia Layer
    39.6 +    Copyright (C) 2010 Eli Gottlieb
    39.7 +
    39.8 +    This library is free software; you can redistribute it and/or
    39.9 +    modify it under the terms of the GNU Lesser General Public
   39.10 +    License as published by the Free Software Foundation; either
   39.11 +    version 2.1 of the License, or (at your option) any later version.
   39.12 +
   39.13 +    This library is distributed in the hope that it will be useful,
   39.14 +    but WITHOUT ANY WARRANTY; without even the implied warranty of
   39.15 +    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   39.16 +    Lesser General Public License for more details.
   39.17 +
   39.18 +    You should have received a copy of the GNU Lesser General Public
   39.19 +    License along with this library; if not, write to the Free Software
   39.20 +    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
   39.21 +
   39.22 +    Eli Gottlieb
   39.23 +    eligottlieb@gmail.com
   39.24 +*/
   39.25 +#include "SDL_config.h"
   39.26 +
   39.27 +#ifndef _SDL_shape_internals_h
   39.28 +#define _SDL_shape_internals_h
   39.29 +
   39.30 +#include "SDL_rect.h"
   39.31 +#include "SDL_shape.h"
   39.32 +#include "SDL_surface.h"
   39.33 +
   39.34 +#include "begin_code.h"
   39.35 +/* Set up for C function definitions, even when using C++ */
   39.36 +#ifdef __cplusplus
   39.37 +/* *INDENT-OFF* */
   39.38 +extern "C" {
   39.39 +/* *INDENT-ON* */
   39.40 +#endif
   39.41 +
   39.42 +typedef struct {
   39.43 +	struct SDL_ShapeTree *upleft,*upright,*downleft,*downright;
   39.44 +} SDL_QuadTreeChildren;
   39.45 +
   39.46 +typedef union {
   39.47 +	SDL_QuadTreeChildren children;
   39.48 +	SDL_Rect shape;
   39.49 +} SDL_ShapeUnion;
   39.50 +
   39.51 +typedef enum { QuadShape,TransparentShape,OpaqueShape } SDL_ShapeKind;
   39.52 +
   39.53 +typedef struct {
   39.54 +	SDL_ShapeKind kind;
   39.55 +	SDL_ShapeUnion data;
   39.56 +} SDL_ShapeTree;
   39.57 +	
   39.58 +typedef void(*SDL_TraversalFunction)(SDL_ShapeTree*,void*);
   39.59 +
   39.60 +extern void SDL_CalculateShapeBitmap(SDL_WindowShapeMode mode,SDL_Surface *shape,Uint8* bitmap,Uint8 ppb);
   39.61 +extern SDL_ShapeTree* SDL_CalculateShapeTree(SDL_WindowShapeMode mode,SDL_Surface* shape);
   39.62 +extern void SDL_TraverseShapeTree(SDL_ShapeTree *tree,SDL_TraversalFunction function,void* closure);
   39.63 +extern void SDL_FreeShapeTree(SDL_ShapeTree** shape_tree);
   39.64 +
   39.65 +/* Ends C function definitions when using C++ */
   39.66 +#ifdef __cplusplus
   39.67 +/* *INDENT-OFF* */
   39.68 +}
   39.69 +/* *INDENT-ON* */
   39.70 +#endif
   39.71 +#include "close_code.h"
   39.72 +
   39.73 +#endif
    40.1 --- a/src/video/SDL_sysvideo.h	Sun Aug 22 12:39:56 2010 -0700
    40.2 +++ b/src/video/SDL_sysvideo.h	Sun Aug 22 13:45:56 2010 -0700
    40.3 @@ -26,11 +26,14 @@
    40.4  
    40.5  #include "SDL_mouse.h"
    40.6  #include "SDL_keysym.h"
    40.7 +#include "SDL_shape.h"
    40.8  
    40.9  /* The SDL video driver */
   40.10  
   40.11  typedef struct SDL_Renderer SDL_Renderer;
   40.12  typedef struct SDL_RenderDriver SDL_RenderDriver;
   40.13 +typedef struct SDL_WindowShaper SDL_WindowShaper;
   40.14 +typedef struct SDL_ShapeDriver SDL_ShapeDriver;
   40.15  typedef struct SDL_VideoDisplay SDL_VideoDisplay;
   40.16  typedef struct SDL_VideoDevice SDL_VideoDevice;
   40.17  
   40.18 @@ -97,10 +100,6 @@
   40.19                              int count);
   40.20      int (*RenderFillRects) (SDL_Renderer * renderer, const SDL_Rect ** rects,
   40.21                              int count);
   40.22 -    int (*RenderDrawEllipse) (SDL_Renderer * renderer, int x, int y,
   40.23 -                              int w, int h);
   40.24 -    int (*RenderFillEllipse) (SDL_Renderer * renderer, int x, int y,
   40.25 -                              int w, int h);
   40.26      int (*RenderCopy) (SDL_Renderer * renderer, SDL_Texture * texture,
   40.27                         const SDL_Rect * srcrect, const SDL_Rect * dstrect);
   40.28      int (*RenderReadPixels) (SDL_Renderer * renderer, const SDL_Rect * rect,
   40.29 @@ -136,6 +135,32 @@
   40.30      SDL_RendererInfo info;
   40.31  };
   40.32  
   40.33 +/* Define the SDL window-shaper structure */
   40.34 +struct SDL_WindowShaper
   40.35 +{   
   40.36 +    /* The window associated with the shaper */
   40.37 +    SDL_Window *window;
   40.38 +    
   40.39 +    /* The user's specified coordinates for the window, for once we give it a shape. */
   40.40 +    Uint32 userx,usery;
   40.41 +    
   40.42 +    /* The parameters for shape calculation. */
   40.43 +    SDL_WindowShapeMode mode;
   40.44 +    
   40.45 +    /* Has this window been assigned a shape? */
   40.46 +    SDL_bool hasshape;
   40.47 +    
   40.48 +    void *driverdata;
   40.49 +};
   40.50 +
   40.51 +/* Define the SDL shape driver structure */
   40.52 +struct SDL_ShapeDriver
   40.53 +{
   40.54 +    SDL_WindowShaper *(*CreateShaper)(SDL_Window * window);
   40.55 +    int (*SetWindowShape)(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shape_mode);
   40.56 +    int (*ResizeWindowShape)(SDL_Window *window);
   40.57 +};
   40.58 +
   40.59  /* Define the SDL window structure, corresponding to toplevel windows */
   40.60  struct SDL_Window
   40.61  {
   40.62 @@ -150,6 +175,8 @@
   40.63      SDL_Renderer *renderer;
   40.64  
   40.65      SDL_DisplayMode fullscreen_mode;
   40.66 +    
   40.67 +    SDL_WindowShaper *shaper;
   40.68  
   40.69      void *userdata;
   40.70      void *driverdata;
   40.71 @@ -270,6 +297,12 @@
   40.72      void (*RestoreWindow) (_THIS, SDL_Window * window);
   40.73      void (*SetWindowGrab) (_THIS, SDL_Window * window);
   40.74      void (*DestroyWindow) (_THIS, SDL_Window * window);
   40.75 +    
   40.76 +    /* * * */
   40.77 +    /*
   40.78 +     * Shaped-window functions
   40.79 +     */
   40.80 +    SDL_ShapeDriver shape_driver;
   40.81  
   40.82      /* Get some platform dependent window information */
   40.83        SDL_bool(*GetWindowWMInfo) (_THIS, SDL_Window * window,
    41.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    41.2 +++ b/src/video/cocoa/SDL_cocoashape.h	Sun Aug 22 13:45:56 2010 -0700
    41.3 @@ -0,0 +1,44 @@
    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 +
   41.26 +#include "SDL_config.h"
   41.27 +
   41.28 +#ifndef _SDL_cocoashape_h
   41.29 +#define _SDL_cocoashape_h
   41.30 +
   41.31 +#include "SDL_stdinc.h"
   41.32 +#include "SDL_video.h"
   41.33 +#include "SDL_shape.h"
   41.34 +#include "../SDL_shape_internals.h"
   41.35 +
   41.36 +typedef struct {
   41.37 +	NSGraphicsContext* context;
   41.38 +	SDL_bool saved;
   41.39 +	
   41.40 +	SDL_ShapeTree* shape;
   41.41 +} SDL_ShapeData;
   41.42 +
   41.43 +extern SDL_WindowShaper* Cocoa_CreateShaper(SDL_Window* window);
   41.44 +extern int Cocoa_SetWindowShape(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shape_mode);
   41.45 +extern int Cocoa_ResizeWindowShape(SDL_Window *window);
   41.46 +
   41.47 +#endif
    42.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    42.2 +++ b/src/video/cocoa/SDL_cocoashape.m	Sun Aug 22 13:45:56 2010 -0700
    42.3 @@ -0,0 +1,98 @@
    42.4 +/*
    42.5 +    SDL - Simple DirectMedia Layer
    42.6 +    Copyright (C) 2010 Eli Gottlieb
    42.7 +
    42.8 +    This library is free software; you can redistribute it and/or
    42.9 +    modify it under the terms of the GNU Lesser General Public
   42.10 +    License as published by the Free Software Foundation; either
   42.11 +    version 2.1 of the License, or (at your option) any later version.
   42.12 +
   42.13 +    This library is distributed in the hope that it will be useful,
   42.14 +    but WITHOUT ANY WARRANTY; without even the implied warranty of
   42.15 +    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   42.16 +    Lesser General Public License for more details.
   42.17 +
   42.18 +    You should have received a copy of the GNU Lesser General Public
   42.19 +    License along with this library; if not, write to the Free Software
   42.20 +    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
   42.21 +
   42.22 +    Eli Gottlieb
   42.23 +    eligottlieb@gmail.com
   42.24 +*/
   42.25 +
   42.26 +#include "SDL_cocoavideo.h"
   42.27 +#include "SDL_shape.h"
   42.28 +#include "SDL_cocoashape.h"
   42.29 +#include "../src/video/SDL_sysvideo.h"
   42.30 +
   42.31 +SDL_WindowShaper*
   42.32 +Cocoa_CreateShaper(SDL_Window* window) {
   42.33 +    SDL_WindowData* windata = (SDL_WindowData*)window->driverdata;
   42.34 +    [windata->nswindow setOpaque:NO];
   42.35 +    [windata->nswindow setStyleMask:NSBorderlessWindowMask];
   42.36 +    SDL_WindowShaper* result = result = malloc(sizeof(SDL_WindowShaper));
   42.37 +    result->window = window;
   42.38 +    result->mode.mode = ShapeModeDefault;
   42.39 +    result->mode.parameters.binarizationCutoff = 1;
   42.40 +    result->userx = result->usery = 0;
   42.41 +    window->shaper = result;
   42.42 +    
   42.43 +    SDL_ShapeData* data = malloc(sizeof(SDL_ShapeData));
   42.44 +    result->driverdata = data;
   42.45 +    data->context = [windata->nswindow graphicsContext];
   42.46 +    data->saved = SDL_FALSE;
   42.47 +    data->shape = NULL;
   42.48 +    
   42.49 +    int resized_properly = Cocoa_ResizeWindowShape(window);
   42.50 +    assert(resized_properly == 0);
   42.51 +    return result;
   42.52 +}
   42.53 +
   42.54 +typedef struct {
   42.55 +    NSView* view;
   42.56 +    NSBezierPath* path;
   42.57 +    SDL_Window* window;
   42.58 +} SDL_CocoaClosure;
   42.59 +
   42.60 +void
   42.61 +ConvertRects(SDL_ShapeTree* tree,void* closure) {
   42.62 +    SDL_CocoaClosure* data = (SDL_CocoaClosure*)closure;
   42.63 +    if(tree->kind == OpaqueShape) {
   42.64 +        NSRect rect = NSMakeRect(tree->data.shape.x,data->window->h - tree->data.shape.y,tree->data.shape.w,tree->data.shape.h);
   42.65 +        [data->path appendBezierPathWithRect:[data->view convertRect:rect toView:nil]];
   42.66 +    }
   42.67 +}
   42.68 +
   42.69 +int
   42.70 +Cocoa_SetWindowShape(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shape_mode) {
   42.71 +    SDL_ShapeData* data = (SDL_ShapeData*)shaper->driverdata;
   42.72 +	SDL_WindowData* windata = (SDL_WindowData*)shaper->window->driverdata;
   42.73 +	SDL_CocoaClosure closure;
   42.74 +	NSAutoreleasePool *pool = NULL;
   42.75 +    if(data->saved == SDL_TRUE) {
   42.76 +        [data->context restoreGraphicsState];
   42.77 +        data->saved = SDL_FALSE;
   42.78 +    }
   42.79 +        
   42.80 +    //[data->context saveGraphicsState];
   42.81 +    //data->saved = SDL_TRUE;
   42.82 +	[NSGraphicsContext setCurrentContext:data->context];
   42.83 +    
   42.84 +    [[NSColor clearColor] set];
   42.85 +    NSRectFill([[windata->nswindow contentView] frame]);
   42.86 +    data->shape = SDL_CalculateShapeTree(*shape_mode,shape);
   42.87 +	
   42.88 +	pool = [[NSAutoreleasePool alloc] init];
   42.89 +    closure.view = [windata->nswindow contentView];
   42.90 +    closure.path = [[NSBezierPath bezierPath] autorelease];
   42.91 +	closure.window = shaper->window;
   42.92 +    SDL_TraverseShapeTree(data->shape,&ConvertRects,&closure);
   42.93 +    [closure.path addClip];
   42.94 +}
   42.95 +
   42.96 +int
   42.97 +Cocoa_ResizeWindowShape(SDL_Window *window) {
   42.98 +    SDL_ShapeData* data = window->shaper->driverdata;
   42.99 +    assert(data != NULL);
  42.100 +    return 0;
  42.101 +}
    43.1 --- a/src/video/cocoa/SDL_cocoavideo.m	Sun Aug 22 12:39:56 2010 -0700
    43.2 +++ b/src/video/cocoa/SDL_cocoavideo.m	Sun Aug 22 13:45:56 2010 -0700
    43.3 @@ -22,6 +22,7 @@
    43.4  #include "SDL_config.h"
    43.5  
    43.6  #include "SDL_cocoavideo.h"
    43.7 +#include "SDL_cocoashape.h"
    43.8  #include "SDL_assert.h"
    43.9  
   43.10  /* Initialization/Query functions */
   43.11 @@ -92,6 +93,11 @@
   43.12      device->SetWindowGrab = Cocoa_SetWindowGrab;
   43.13      device->DestroyWindow = Cocoa_DestroyWindow;
   43.14      device->GetWindowWMInfo = Cocoa_GetWindowWMInfo;
   43.15 +    
   43.16 +    device->shape_driver.CreateShaper = Cocoa_CreateShaper;
   43.17 +    device->shape_driver.SetWindowShape = Cocoa_SetWindowShape;
   43.18 +    device->shape_driver.ResizeWindowShape = Cocoa_ResizeWindowShape;
   43.19 +    
   43.20  #ifdef SDL_VIDEO_OPENGL_CGL
   43.21      device->GL_LoadLibrary = Cocoa_GL_LoadLibrary;
   43.22      device->GL_GetProcAddress = Cocoa_GL_GetProcAddress;
    44.1 --- a/src/video/cocoa/SDL_cocoawindow.m	Sun Aug 22 12:39:56 2010 -0700
    44.2 +++ b/src/video/cocoa/SDL_cocoawindow.m	Sun Aug 22 13:45:56 2010 -0700
    44.3 @@ -28,6 +28,7 @@
    44.4  #include "../../events/SDL_touch_c.h"
    44.5  #include "../../events/SDL_windowevents_c.h"
    44.6  #include "SDL_cocoavideo.h"
    44.7 +#include "SDL_cocoashape.h"
    44.8  
    44.9  static __inline__ void ConvertNSRect(NSRect *r)
   44.10  {
   44.11 @@ -112,6 +113,7 @@
   44.12      NSRect rect = [_data->nswindow contentRectForFrameRect:[_data->nswindow frame]];
   44.13      w = (int)rect.size.width;
   44.14      h = (int)rect.size.height;
   44.15 +    Cocoa_ResizeWindowShape(_data->window);
   44.16      SDL_SendWindowEvent(_data->window, SDL_WINDOWEVENT_RESIZED, w, h);
   44.17  }
   44.18  
    45.1 --- a/src/video/win32/SDL_win32events.c	Sun Aug 22 12:39:56 2010 -0700
    45.2 +++ b/src/video/win32/SDL_win32events.c	Sun Aug 22 13:45:56 2010 -0700
    45.3 @@ -28,6 +28,7 @@
    45.4  #include "SDL_config.h"
    45.5  
    45.6  #include "SDL_win32video.h"
    45.7 +#include "SDL_win32shape.h"
    45.8  #include "SDL_syswm.h"
    45.9  #include "SDL_vkeys.h"
   45.10  #include "../../events/SDL_events_c.h"
   45.11 @@ -364,6 +365,8 @@
   45.12              BOOL menu;
   45.13  
   45.14              /* If we allow resizing, let the resize happen naturally */
   45.15 +            if(SDL_IsShapedWindow(data->window))
   45.16 +                Win32_ResizeWindowShape(data->window);
   45.17              if (SDL_GetWindowFlags(data->window) & SDL_WINDOW_RESIZABLE) {
   45.18                  returnCode = 0;
   45.19                  break;
    46.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    46.2 +++ b/src/video/win32/SDL_win32shape.c	Sun Aug 22 13:45:56 2010 -0700
    46.3 @@ -0,0 +1,104 @@
    46.4 +/*
    46.5 +    SDL - Simple DirectMedia Layer
    46.6 +    Copyright (C) 2010 Eli Gottlieb
    46.7 +
    46.8 +    This library is free software; you can redistribute it and/or
    46.9 +    modify it under the terms of the GNU Lesser General Public
   46.10 +    License as published by the Free Software Foundation; either
   46.11 +    version 2.1 of the License, or (at your option) any later version.
   46.12 +
   46.13 +    This library is distributed in the hope that it will be useful,
   46.14 +    but WITHOUT ANY WARRANTY; without even the implied warranty of
   46.15 +    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   46.16 +    Lesser General Public License for more details.
   46.17 +
   46.18 +    You should have received a copy of the GNU Lesser General Public
   46.19 +    License along with this library; if not, write to the Free Software
   46.20 +    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
   46.21 +
   46.22 +    Eli Gottlieb
   46.23 +    eligottlieb@gmail.com
   46.24 +*/
   46.25 +
   46.26 +#include <stdio.h>
   46.27 +#include "SDL_assert.h"
   46.28 +#include "SDL_win32shape.h"
   46.29 +#include "SDL_win32video.h"
   46.30 +
   46.31 +SDL_WindowShaper*
   46.32 +Win32_CreateShaper(SDL_Window * window) {
   46.33 +    int resized_properly;
   46.34 +    SDL_WindowShaper* result = (SDL_WindowShaper *)SDL_malloc(sizeof(SDL_WindowShaper));
   46.35 +    result->window = window;
   46.36 +    result->mode.mode = ShapeModeDefault;
   46.37 +    result->mode.parameters.binarizationCutoff = 1;
   46.38 +    result->userx = result->usery = 0;
   46.39 +    result->driverdata = (SDL_ShapeData*)SDL_malloc(sizeof(SDL_ShapeData));
   46.40 +    ((SDL_ShapeData*)result->driverdata)->mask_tree = NULL;
   46.41 +    //Put some driver-data here.
   46.42 +    window->shaper = result;
   46.43 +    resized_properly = Win32_ResizeWindowShape(window);
   46.44 +    if (resized_properly != 0)
   46.45 +            return NULL;
   46.46 +    
   46.47 +    return result;
   46.48 +}
   46.49 +
   46.50 +void
   46.51 +CombineRectRegions(SDL_ShapeTree* node,void* closure) {
   46.52 +    HRGN mask_region = *((HRGN*)closure),temp_region = NULL;
   46.53 +    if(node->kind == OpaqueShape) {
   46.54 +        //Win32 API regions exclude their outline, so we widen the region by one pixel in each direction to include the real outline.
   46.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);
   46.56 +        if(mask_region != NULL) {
   46.57 +            CombineRgn(mask_region,mask_region,temp_region,RGN_OR);
   46.58 +            DeleteObject(temp_region);
   46.59 +		}
   46.60 +		else
   46.61 +            *((HRGN*)closure) = temp_region;
   46.62 +	}
   46.63 +}
   46.64 +
   46.65 +int
   46.66 +Win32_SetWindowShape(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shape_mode) {
   46.67 +    SDL_ShapeData *data;
   46.68 +    HRGN mask_region = NULL;
   46.69 +
   46.70 +    if (shaper == NULL || shape == NULL)
   46.71 +        return SDL_INVALID_SHAPE_ARGUMENT;
   46.72 +    if(shape->format->Amask == 0 && shape_mode->mode != ShapeModeColorKey || shape->w != shaper->window->w || shape->h != shaper->window->h)
   46.73 +        return SDL_INVALID_SHAPE_ARGUMENT;
   46.74 +    
   46.75 +    data = (SDL_ShapeData*)shaper->driverdata;
   46.76 +    if(data->mask_tree != NULL)
   46.77 +        SDL_FreeShapeTree(&data->mask_tree);
   46.78 +    data->mask_tree = SDL_CalculateShapeTree(*shape_mode,shape);
   46.79 +    
   46.80 +    SDL_TraverseShapeTree(data->mask_tree,&CombineRectRegions,&mask_region);
   46.81 +	SDL_assert(mask_region != NULL);
   46.82 +
   46.83 +    SetWindowRgn(((SDL_WindowData *)(shaper->window->driverdata))->hwnd, mask_region, TRUE);
   46.84 +    
   46.85 +    return 0;
   46.86 +}
   46.87 +
   46.88 +int
   46.89 +Win32_ResizeWindowShape(SDL_Window *window) {
   46.90 +    SDL_ShapeData* data;
   46.91 +
   46.92 +    if (window == NULL)
   46.93 +        return -1;
   46.94 +    data = (SDL_ShapeData *)window->shaper->driverdata;
   46.95 +    if (data == NULL)
   46.96 +        return -1;
   46.97 +    
   46.98 +    if(data->mask_tree != NULL)
   46.99 +        SDL_FreeShapeTree(&data->mask_tree);
  46.100 +    if(window->shaper->hasshape == SDL_TRUE) {
  46.101 +        window->shaper->userx = window->x;
  46.102 +        window->shaper->usery = window->y;
  46.103 +        SDL_SetWindowPosition(window,-1000,-1000);
  46.104 +	}
  46.105 +    
  46.106 +    return 0;
  46.107 +}
    47.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    47.2 +++ b/src/video/win32/SDL_win32shape.h	Sun Aug 22 13:45:56 2010 -0700
    47.3 @@ -0,0 +1,41 @@
    47.4 +/*
    47.5 +    SDL - Simple DirectMedia Layer
    47.6 +    Copyright (C) 2010 Eli Gottlieb
    47.7 +
    47.8 +    This library is free software; you can redistribute it and/or
    47.9 +    modify it under the terms of the GNU Lesser General Public
   47.10 +    License as published by the Free Software Foundation; either
   47.11 +    version 2.1 of the License, or (at your option) any later version.
   47.12 +
   47.13 +    This library is distributed in the hope that it will be useful,
   47.14 +    but WITHOUT ANY WARRANTY; without even the implied warranty of
   47.15 +    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   47.16 +    Lesser General Public License for more details.
   47.17 +
   47.18 +    You should have received a copy of the GNU Lesser General Public
   47.19 +    License along with this library; if not, write to the Free Software
   47.20 +    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
   47.21 +
   47.22 +    Eli Gottlieb
   47.23 +    eligottlieb@gmail.com
   47.24 +*/
   47.25 +
   47.26 +#include "SDL_config.h"
   47.27 +
   47.28 +#ifndef _SDL_win32shape_h
   47.29 +#define _SDL_win32shape_h
   47.30 +
   47.31 +#include "SDL_video.h"
   47.32 +#include "SDL_shape.h"
   47.33 +#include "../SDL_sysvideo.h"
   47.34 +#include "../SDL_shape_internals.h"
   47.35 +
   47.36 +typedef struct {
   47.37 +	SDL_ShapeTree *mask_tree;
   47.38 +} SDL_ShapeData;
   47.39 +
   47.40 +extern SDL_WindowShaper* Win32_CreateShaper(SDL_Window * window);
   47.41 +extern int Win32_SetWindowShape(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shape_mode);
   47.42 +extern int Win32_ResizeWindowShape(SDL_Window *window);
   47.43 +
   47.44 +#endif /* _SDL_win32shape_h */
    48.1 --- a/src/video/win32/SDL_win32video.c	Sun Aug 22 12:39:56 2010 -0700
    48.2 +++ b/src/video/win32/SDL_win32video.c	Sun Aug 22 13:45:56 2010 -0700
    48.3 @@ -28,6 +28,7 @@
    48.4  #include "../SDL_pixels_c.h"
    48.5  
    48.6  #include "SDL_win32video.h"
    48.7 +#include "SDL_win32shape.h"
    48.8  #include "SDL_d3drender.h"
    48.9  #include "SDL_gdirender.h"
   48.10  #include "SDL_gapirender.h"
   48.11 @@ -180,6 +181,11 @@
   48.12      device->SetWindowGrab = WIN_SetWindowGrab;
   48.13      device->DestroyWindow = WIN_DestroyWindow;
   48.14      device->GetWindowWMInfo = WIN_GetWindowWMInfo;
   48.15 +    
   48.16 +    device->shape_driver.CreateShaper = Win32_CreateShaper;
   48.17 +    device->shape_driver.SetWindowShape = Win32_SetWindowShape;
   48.18 +    device->shape_driver.ResizeWindowShape = Win32_ResizeWindowShape;
   48.19 +    
   48.20  #ifdef SDL_VIDEO_OPENGL_WGL
   48.21      device->GL_LoadLibrary = WIN_GL_LoadLibrary;
   48.22      device->GL_GetProcAddress = WIN_GL_GetProcAddress;
    49.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    49.2 +++ b/src/video/x11/SDL_x11shape.c	Sun Aug 22 13:45:56 2010 -0700
    49.3 @@ -0,0 +1,110 @@
    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 "SDL_assert.h"
   49.27 +#include "SDL_x11video.h"
   49.28 +#include "SDL_x11shape.h"
   49.29 +#include "SDL_x11window.h"
   49.30 +
   49.31 +SDL_Window*
   49.32 +X11_CreateShapedWindow(const char *title,unsigned int x,unsigned int y,unsigned int w,unsigned int h,Uint32 flags) {
   49.33 +    return SDL_CreateWindow(title,x,y,w,h,flags);
   49.34 +}
   49.35 +
   49.36 +SDL_WindowShaper*
   49.37 +X11_CreateShaper(SDL_Window* window) {
   49.38 +    SDL_WindowShaper* result = NULL;
   49.39 +
   49.40 +#if SDL_VIDEO_DRIVER_X11_XSHAPE
   49.41 +    if (SDL_X11_HAVE_XSHAPE) {  /* Make sure X server supports it. */
   49.42 +        result = malloc(sizeof(SDL_WindowShaper));
   49.43 +        result->window = window;
   49.44 +        result->mode.mode = ShapeModeDefault;
   49.45 +        result->mode.parameters.binarizationCutoff = 1;
   49.46 +        result->userx = result->usery = 0;
   49.47 +        SDL_ShapeData* data = SDL_malloc(sizeof(SDL_ShapeData));
   49.48 +        result->driverdata = data;
   49.49 +        data->bitmapsize = 0;
   49.50 +        data->bitmap = NULL;
   49.51 +        window->shaper = result;
   49.52 +        int resized_properly = X11_ResizeWindowShape(window);
   49.53 +        SDL_assert(resized_properly == 0);
   49.54 +    }
   49.55 +#endif
   49.56 +
   49.57 +    return result;
   49.58 +}
   49.59 +
   49.60 +int
   49.61 +X11_ResizeWindowShape(SDL_Window* window) {
   49.62 +    SDL_ShapeData* data = window->shaper->driverdata;
   49.63 +    SDL_assert(data != NULL);
   49.64 +    
   49.65 +    unsigned int bitmapsize = window->w / 8;
   49.66 +    if(window->w % 8 > 0)
   49.67 +        bitmapsize += 1;
   49.68 +    bitmapsize *= window->h;
   49.69 +    if(data->bitmapsize != bitmapsize || data->bitmap == NULL) {
   49.70 +        data->bitmapsize = bitmapsize;
   49.71 +        if(data->bitmap != NULL)
   49.72 +            free(data->bitmap);
   49.73 +        data->bitmap = malloc(data->bitmapsize);
   49.74 +        if(data->bitmap == NULL) {
   49.75 +            SDL_SetError("Could not allocate memory for shaped-window bitmap.");
   49.76 +            return -1;
   49.77 +        }
   49.78 +    }
   49.79 +    memset(data->bitmap,0,data->bitmapsize);
   49.80 +    
   49.81 +    window->shaper->userx = window->x;
   49.82 +    window->shaper->usery = window->y;
   49.83 +    SDL_SetWindowPosition(window,-1000,-1000);
   49.84 +    
   49.85 +    return 0;
   49.86 +}
   49.87 +    
   49.88 +int
   49.89 +X11_SetWindowShape(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shape_mode) {
   49.90 +    if(shaper == NULL || shape == NULL || shaper->driverdata == NULL)
   49.91 +        return -1;
   49.92 +
   49.93 +#if SDL_VIDEO_DRIVER_X11_XSHAPE
   49.94 +    if(shape->format->Amask == 0 && SDL_SHAPEMODEALPHA(shape_mode->mode))
   49.95 +        return -2;
   49.96 +    if(shape->w != shaper->window->w || shape->h != shaper->window->h)
   49.97 +        return -3;
   49.98 +    SDL_ShapeData *data = shaper->driverdata;
   49.99 +    
  49.100 +    /* Assume that shaper->alphacutoff already has a value, because SDL_SetWindowShape() should have given it one. */
  49.101 +    SDL_CalculateShapeBitmap(shaper->mode,shape,data->bitmap,8);
  49.102 +        
  49.103 +    SDL_WindowData *windowdata = (SDL_WindowData*)(shaper->window->driverdata);
  49.104 +    Pixmap shapemask = XCreateBitmapFromData(windowdata->videodata->display,windowdata->xwindow,data->bitmap,shaper->window->w,shaper->window->h);
  49.105 +    
  49.106 +    XShapeCombineMask(windowdata->videodata->display,windowdata->xwindow, ShapeBounding, 0, 0,shapemask, ShapeSet);
  49.107 +    XSync(windowdata->videodata->display,False);
  49.108 +
  49.109 +    XFreePixmap(windowdata->videodata->display,shapemask);
  49.110 +#endif
  49.111 +
  49.112 +    return 0;
  49.113 +}
    50.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    50.2 +++ b/src/video/x11/SDL_x11shape.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 +#include "SDL_config.h"
   50.26 +
   50.27 +#ifndef _SDL_x11shape_h
   50.28 +#define _SDL_x11shape_h
   50.29 +
   50.30 +#include "SDL_video.h"
   50.31 +#include "SDL_shape.h"
   50.32 +#include "../SDL_sysvideo.h"
   50.33 +
   50.34 +typedef struct {
   50.35 +	void* bitmap;
   50.36 +	Uint32 bitmapsize;
   50.37 +} SDL_ShapeData;
   50.38 +
   50.39 +extern SDL_Window* X11_CreateShapedWindow(const char *title,unsigned int x,unsigned int y,unsigned int w,unsigned int h,Uint32 flags);
   50.40 +extern SDL_WindowShaper* X11_CreateShaper(SDL_Window* window);
   50.41 +extern int X11_ResizeWindowShape(SDL_Window* window);
   50.42 +extern int X11_SetWindowShape(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shapeMode);	
   50.43 +
   50.44 +#endif /* _SDL_x11shape_h */
    51.1 --- a/src/video/x11/SDL_x11sym.h	Sun Aug 22 12:39:56 2010 -0700
    51.2 +++ b/src/video/x11/SDL_x11sym.h	Sun Aug 22 13:45:56 2010 -0700
    51.3 @@ -39,6 +39,7 @@
    51.4  SDL_X11_SYM(int,XCloseDisplay,(Display* a),(a),return)
    51.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)
    51.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)
    51.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)
    51.8  SDL_X11_SYM(Colormap,XCreateColormap,(Display* a,Window b,Visual* c,int d),(a,b,c,d),return)
    51.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)
   51.10  SDL_X11_SYM(GC,XCreateGC,(Display* a,Drawable b,unsigned long c,XGCValues* d),(a,b,c,d),return)
   51.11 @@ -277,6 +278,12 @@
   51.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)
   51.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)
   51.14  #endif
   51.15 +
   51.16 +#if SDL_VIDEO_DRIVER_X11_XSHAPE
   51.17 +SDL_X11_MODULE(XSHAPE)
   51.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),)
   51.19 +#endif
   51.20 +
   51.21  /* *INDENT-ON* */
   51.22  
   51.23  /* vi: set ts=4 sw=4 expandtab: */
    52.1 --- a/src/video/x11/SDL_x11video.c	Sun Aug 22 12:39:56 2010 -0700
    52.2 +++ b/src/video/x11/SDL_x11video.c	Sun Aug 22 13:45:56 2010 -0700
    52.3 @@ -31,6 +31,7 @@
    52.4  
    52.5  #include "SDL_x11video.h"
    52.6  #include "SDL_x11render.h"
    52.7 +#include "SDL_x11shape.h"
    52.8  
    52.9  #if SDL_VIDEO_DRIVER_PANDORA
   52.10  #include "SDL_x11opengles.h"
   52.11 @@ -205,6 +206,9 @@
   52.12      device->SetWindowGrab = X11_SetWindowGrab;
   52.13      device->DestroyWindow = X11_DestroyWindow;
   52.14      device->GetWindowWMInfo = X11_GetWindowWMInfo;
   52.15 +    device->shape_driver.CreateShaper = X11_CreateShaper;
   52.16 +    device->shape_driver.SetWindowShape = X11_SetWindowShape;
   52.17 +    device->shape_driver.ResizeWindowShape = X11_ResizeWindowShape;
   52.18  #ifdef SDL_VIDEO_OPENGL_GLX
   52.19      device->GL_LoadLibrary = X11_GL_LoadLibrary;
   52.20      device->GL_GetProcAddress = X11_GL_GetProcAddress;
    53.1 --- a/src/video/x11/SDL_x11video.h	Sun Aug 22 12:39:56 2010 -0700
    53.2 +++ b/src/video/x11/SDL_x11video.h	Sun Aug 22 13:45:56 2010 -0700
    53.3 @@ -54,6 +54,10 @@
    53.4  #if SDL_VIDEO_DRIVER_X11_XFIXES
    53.5  #include <X11/extensions/Xfixes.h>
    53.6  #endif
    53.7 +#if SDL_VIDEO_DRIVER_X11_XSHAPE
    53.8 +#include <X11/extensions/shape.h>
    53.9 +#endif
   53.10 +
   53.11  #include "SDL_x11dyn.h"
   53.12  
   53.13  #include "SDL_x11clipboard.h"
    54.1 --- a/src/video/x11/SDL_x11window.c	Sun Aug 22 12:39:56 2010 -0700
    54.2 +++ b/src/video/x11/SDL_x11window.c	Sun Aug 22 13:45:56 2010 -0700
    54.3 @@ -29,6 +29,7 @@
    54.4  #include "SDL_x11video.h"
    54.5  #include "SDL_x11mouse.h"
    54.6  #include "SDL_x11gamma.h"
    54.7 +#include "SDL_x11shape.h"
    54.8  #include "../Xext/extensions/StdCmap.h"
    54.9  
   54.10  #ifdef SDL_VIDEO_DRIVER_PANDORA
   54.11 @@ -941,6 +942,8 @@
   54.12      SDL_WindowData *data = (SDL_WindowData *) window->driverdata;
   54.13      Display *display = data->videodata->display;
   54.14  
   54.15 +    if(SDL_IsShapedWindow(window))
   54.16 +        X11_ResizeWindowShape(window);
   54.17      XResizeWindow(display, data->xwindow, window->w, window->h);
   54.18  }
   54.19  
    55.1 --- a/test/Makefile.in	Sun Aug 22 12:39:56 2010 -0700
    55.2 +++ b/test/Makefile.in	Sun Aug 22 13:45:56 2010 -0700
    55.3 @@ -7,7 +7,7 @@
    55.4  CFLAGS  = @CFLAGS@
    55.5  LIBS	= @LIBS@
    55.6  
    55.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)
    55.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)
    55.9  
   55.10  all: Makefile $(TARGETS)
   55.11  
   55.12 @@ -110,6 +110,9 @@
   55.13  testsem$(EXE): $(srcdir)/testsem.c
   55.14  	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   55.15  
   55.16 +testshape$(EXE): $(srcdir)/testshape.c
   55.17 +	$(CC) -o $@ $? -std=c99 $(CFLAGS) $(LIBS)
   55.18 +
   55.19  testspriteminimal$(EXE): $(srcdir)/testspriteminimal.c
   55.20  	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
   55.21  
    56.1 --- a/test/README	Sun Aug 22 12:39:56 2010 -0700
    56.2 +++ b/test/README	Sun Aug 22 13:45:56 2010 -0700
    56.3 @@ -28,6 +28,7 @@
    56.4  	testpalette	Tests palette color cycling
    56.5  	testplatform	Tests types, endianness and cpu capabilities
    56.6  	testsem		Tests SDL's semaphore implementation
    56.7 +	testshape	Tests shaped windows
    56.8  	testsprite	Example of fast sprite movement on the screen
    56.9  	testsprite2	Improved version of testsprite
   56.10  	testtimer	Test the timer facilities
    57.1 Binary file test/shapes/p01_shape24.bmp has changed
    58.1 Binary file test/shapes/p01_shape32alpha.bmp has changed
    59.1 Binary file test/shapes/p01_shape8.bmp has changed
    60.1 Binary file test/shapes/p01_shape8alpha.bmp has changed
    61.1 Binary file test/shapes/p02_shape24.bmp has changed
    62.1 Binary file test/shapes/p02_shape32alpha.bmp has changed
    63.1 Binary file test/shapes/p02_shape8.bmp has changed
    64.1 Binary file test/shapes/p02_shape8alpha.bmp has changed
    65.1 Binary file test/shapes/p03_shape24.bmp has changed
    66.1 Binary file test/shapes/p03_shape8.bmp has changed
    67.1 Binary file test/shapes/p04_shape1.bmp has changed
    68.1 Binary file test/shapes/p04_shape24.bmp has changed
    69.1 Binary file test/shapes/p04_shape32alpha.bmp has changed
    70.1 Binary file test/shapes/p04_shape8.bmp has changed
    71.1 Binary file test/shapes/p05_shape8.bmp has changed
    72.1 Binary file test/shapes/p06_shape1alpha.bmp has changed
    73.1 Binary file test/shapes/p06_shape24.bmp has changed
    74.1 Binary file test/shapes/p06_shape32alpha.bmp has changed
    75.1 Binary file test/shapes/p06_shape8.bmp has changed
    76.1 Binary file test/shapes/p06_shape8alpha.bmp has changed
    77.1 Binary file test/shapes/p07_shape1alpha.bmp has changed
    78.1 Binary file test/shapes/p07_shape24.bmp has changed
    79.1 Binary file test/shapes/p07_shape32alpha.bmp has changed
    80.1 Binary file test/shapes/p07_shape8.bmp has changed
    81.1 Binary file test/shapes/p07_shape8alpha.bmp has changed
    82.1 Binary file test/shapes/p08_shape1alpha.bmp has changed
    83.1 Binary file test/shapes/p08_shape24.bmp has changed
    84.1 Binary file test/shapes/p08_shape32alpha.bmp has changed
    85.1 Binary file test/shapes/p08_shape8.bmp has changed
    86.1 Binary file test/shapes/p08_shape8alpha.bmp has changed
    87.1 Binary file test/shapes/p09_shape24.bmp has changed
    88.1 Binary file test/shapes/p09_shape32alpha.bmp has changed
    89.1 Binary file test/shapes/p09_shape8.bmp has changed
    90.1 Binary file test/shapes/p09_shape8alpha.bmp has changed
    91.1 Binary file test/shapes/p10_shape1.bmp has changed
    92.1 Binary file test/shapes/p10_shape1alpha.bmp has changed
    93.1 Binary file test/shapes/p10_shape24.bmp has changed
    94.1 Binary file test/shapes/p10_shape32alpha.bmp has changed
    95.1 Binary file test/shapes/p10_shape8.bmp has changed
    96.1 Binary file test/shapes/p10_shape8alpha.bmp has changed
    97.1 Binary file test/shapes/p11_shape24.bmp has changed
    98.1 Binary file test/shapes/p11_shape32alpha.bmp has changed
    99.1 Binary file test/shapes/p11_shape8.bmp has changed
   100.1 Binary file test/shapes/p11_shape8alpha.bmp has changed
   101.1 Binary file test/shapes/p12_shape24.bmp has changed
   102.1 Binary file test/shapes/p12_shape8.bmp has changed
   103.1 Binary file test/shapes/p13_shape24.bmp has changed
   104.1 Binary file test/shapes/p13_shape32alpha.bmp has changed
   105.1 Binary file test/shapes/p13_shape8.bmp has changed
   106.1 Binary file test/shapes/p13_shape8alpha.bmp has changed
   107.1 Binary file test/shapes/p14_shape24.bmp has changed
   108.1 Binary file test/shapes/p14_shape8.bmp has changed
   109.1 Binary file test/shapes/p15_shape24.bmp has changed
   110.1 Binary file test/shapes/p15_shape32alpha.bmp has changed
   111.1 Binary file test/shapes/p15_shape8.bmp has changed
   112.1 Binary file test/shapes/p15_shape8alpha.bmp has changed
   113.1 Binary file test/shapes/p16_shape1.bmp has changed
   114.1 Binary file test/shapes/p16_shape24.bmp has changed
   115.1 Binary file test/shapes/p16_shape8.bmp has changed
   116.1 Binary file test/shapes/trollface_24.bmp has changed
   117.1 Binary file test/shapes/trollface_32alpha.bmp has changed
   118.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   118.2 +++ b/test/testshape.c	Sun Aug 22 13:45:56 2010 -0700
   118.3 @@ -0,0 +1,187 @@
   118.4 +#include <stdlib.h>
   118.5 +#include <math.h>
   118.6 +#include <stdio.h>
   118.7 +#include "SDL.h"
   118.8 +#include "SDL_shape.h"
   118.9 +
  118.10 +#define SHAPED_WINDOW_X 150
  118.11 +#define SHAPED_WINDOW_Y 150
  118.12 +#define SHAPED_WINDOW_DIMENSION 640
  118.13 +
  118.14 +#define TICK_INTERVAL 1000/10
  118.15 +
  118.16 +typedef struct LoadedPicture {
  118.17 +	SDL_Surface *surface;
  118.18 +	SDL_Texture *texture;
  118.19 +	SDL_WindowShapeMode mode;
  118.20 +} LoadedPicture;
  118.21 +
  118.22 +void render(SDL_Window* window,SDL_Texture *texture,SDL_Rect texture_dimensions) {
  118.23 +	SDL_SelectRenderer(window);
  118.24 +	
  118.25 +	//Clear render-target to blue.
  118.26 +	SDL_SetRenderDrawColor(0x00,0x00,0xff,0xff);
  118.27 +	SDL_RenderClear();
  118.28 +	
  118.29 +	//Render the texture.
  118.30 +	SDL_RenderCopy(texture,&texture_dimensions,&texture_dimensions);
  118.31 +	
  118.32 +	SDL_RenderPresent();
  118.33 +}
  118.34 +
  118.35 +static Uint32 next_time;
  118.36 +
  118.37 +Uint32 time_left() {
  118.38 +    Uint32 now = SDL_GetTicks();
  118.39 +    if(next_time <= now)
  118.40 +        return 0;
  118.41 +	else
  118.42 +        return next_time - now;
  118.43 +}
  118.44 +
  118.45 +int main(int argc,char** argv) {
  118.46 +	Uint8 num_pictures;
  118.47 +	LoadedPicture* pictures;
  118.48 +	int i, j;
  118.49 +	SDL_PixelFormat* format = NULL;
  118.50 +	SDL_Window *window;
  118.51 +	SDL_Color black = {0,0,0,0xff};
  118.52 +	SDL_Event event;
  118.53 +	int event_pending = 0;
  118.54 +	int should_exit = 0;
  118.55 +	unsigned int current_picture;
  118.56 +	int button_down;
  118.57 +	Uint32 pixelFormat = 0;
  118.58 +	int access = 0;
  118.59 +	SDL_Rect texture_dimensions;;
  118.60 +
  118.61 +	if(argc < 2) {
  118.62 +        	printf("SDL_Shape requires at least one bitmap file as argument.\n");
  118.63 +        	exit(-1);
  118.64 +        }
  118.65 +	
  118.66 +	if(SDL_VideoInit(NULL,0) == -1) {
  118.67 +		printf("Could not initialize SDL video.\n");
  118.68 +		exit(-2);
  118.69 +	}
  118.70 +	
  118.71 +	num_pictures = argc - 1;
  118.72 +	pictures = (LoadedPicture *)malloc(sizeof(LoadedPicture)*num_pictures);
  118.73 +	for(i=0;i<num_pictures;i++)
  118.74 +		pictures[i].surface = NULL;
  118.75 +	for(i=0;i<num_pictures;i++) {
  118.76 +		pictures[i].surface = SDL_LoadBMP(argv[i+1]);
  118.77 +		if(pictures[i].surface == NULL) {
  118.78 +			j = 0;
  118.79 +			for(j=0;j<num_pictures;j++)
  118.80 +				if(pictures[j].surface != NULL)
  118.81 +					SDL_FreeSurface(pictures[j].surface);
  118.82 +			free(pictures);
  118.83 +			SDL_VideoQuit();
  118.84 +			printf("Could not load surface from named bitmap file.\n");
  118.85 +			exit(-3);
  118.86 +		}
  118.87 +
  118.88 +		format = pictures[i].surface->format;
  118.89 +		if(format->Amask != 0) {
  118.90 +			pictures[i].mode.mode = ShapeModeBinarizeAlpha;
  118.91 +			pictures[i].mode.parameters.binarizationCutoff = 255;
  118.92 +		}
  118.93 +		else {
  118.94 +			pictures[i].mode.mode = ShapeModeColorKey;
  118.95 +			pictures[i].mode.parameters.colorKey = black;
  118.96 +		}
  118.97 +	}
  118.98 +	
  118.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);
 118.100 +	if(window == NULL) {
 118.101 +		for(i=0;i<num_pictures;i++)
 118.102 +			SDL_FreeSurface(pictures[i].surface);
 118.103 +		free(pictures);
 118.104 +		SDL_VideoQuit();
 118.105 +		printf("Could not create shaped window for SDL_Shape.\n");
 118.106 +		exit(-4);
 118.107 +	}
 118.108 +	if(SDL_CreateRenderer(window,-1,SDL_RENDERER_PRESENTFLIP2) == -1) {
 118.109 +		SDL_DestroyWindow(window);
 118.110 +		for(i=0;i<num_pictures;i++)
 118.111 +			SDL_FreeSurface(pictures[i].surface);
 118.112 +		free(pictures);
 118.113 +		SDL_VideoQuit();
 118.114 +		printf("Could not create rendering context for SDL_Shape window.\n");
 118.115 +		exit(-5);
 118.116 +	}
 118.117 +	
 118.118 +	for(i=0;i<num_pictures;i++)
 118.119 +		pictures[i].texture = NULL;
 118.120 +	for(i=0;i<num_pictures;i++) {
 118.121 +		pictures[i].texture = SDL_CreateTextureFromSurface(0,pictures[i].surface);
 118.122 +		if(pictures[i].texture == NULL) {
 118.123 +			j = 0;
 118.124 +			for(j=0;j<num_pictures;i++)
 118.125 +				if(pictures[i].texture != NULL)
 118.126 +					SDL_DestroyTexture(pictures[i].texture);
 118.127 +			for(i=0;i<num_pictures;i++)
 118.128 +				SDL_FreeSurface(pictures[i].surface);
 118.129 +			free(pictures);
 118.130 +			SDL_DestroyRenderer(window);
 118.131 +			SDL_DestroyWindow(window);
 118.132 +			SDL_VideoQuit();
 118.133 +			printf("Could not create texture for SDL_shape.\n");
 118.134 +			exit(-6);
 118.135 +		}
 118.136 +	}
 118.137 +	
 118.138 +	event_pending = 0;
 118.139 +	should_exit = 0;
 118.140 +	event_pending = SDL_PollEvent(&event);
 118.141 +	current_picture = 0;
 118.142 +	button_down = 0;
 118.143 +	texture_dimensions.h = 0;
 118.144 +	texture_dimensions.w = 0;
 118.145 +	texture_dimensions.x = 0;
 118.146 +	texture_dimensions.y = 0;
 118.147 +	SDL_QueryTexture(pictures[current_picture].texture,(Uint32 *)&pixelFormat,(int *)&access,&texture_dimensions.w,&texture_dimensions.h);
 118.148 +	SDL_SetWindowSize(window,texture_dimensions.w,texture_dimensions.h);
 118.149 +	SDL_SetWindowShape(window,pictures[current_picture].surface,&pictures[current_picture].mode);
 118.150 +	next_time = SDL_GetTicks() + TICK_INTERVAL;
 118.151 +	while(should_exit == 0) {
 118.152 +		event_pending = SDL_PollEvent(&event);
 118.153 +		if(event_pending == 1) {
 118.154 +			if(event.type == SDL_KEYDOWN) {
 118.155 +				button_down = 1;
 118.156 +				if(event.key.keysym.sym == SDLK_ESCAPE)
 118.157 +					should_exit = 1;
 118.158 +			}
 118.159 +			if(button_down && event.type == SDL_KEYUP) {
 118.160 +				button_down = 0;
 118.161 +				current_picture += 1;
 118.162 +				if(current_picture >= num_pictures)
 118.163 +					current_picture = 0;
 118.164 +				SDL_QueryTexture(pictures[current_picture].texture,(Uint32 *)&pixelFormat,(int *)&access,&texture_dimensions.w,&texture_dimensions.h);
 118.165 +				SDL_SetWindowSize(window,texture_dimensions.w,texture_dimensions.h);
 118.166 +				SDL_SetWindowShape(window,pictures[current_picture].surface,&pictures[current_picture].mode);
 118.167 +			}
 118.168 +			if(event.type == SDL_QUIT)
 118.169 +				should_exit = 1;
 118.170 +			event_pending = 0;
 118.171 +		}
 118.172 +		render(window,pictures[current_picture].texture,texture_dimensions);
 118.173 +		SDL_Delay(time_left());
 118.174 +		next_time += TICK_INTERVAL;
 118.175 +	}
 118.176 +	
 118.177 +	//Free the textures.
 118.178 +	for(i=0;i<num_pictures;i++)
 118.179 +		SDL_DestroyTexture(pictures[i].texture);
 118.180 +	//Destroy the window.
 118.181 +	SDL_DestroyWindow(window);
 118.182 +	//Free the original surfaces backing the textures.
 118.183 +	for(i=0;i<num_pictures;i++)
 118.184 +		SDL_FreeSurface(pictures[i].surface);
 118.185 +	free(pictures);
 118.186 +	//Call SDL_VideoQuit() before quitting.
 118.187 +	SDL_VideoQuit();
 118.188 +
 118.189 +	return 0;
 118.190 +}