Sam Lantinga
d4acca7166
Renamed SDL_keysym.h to SDL_keycode.h to avoid confusion.
...
--HG--
rename : include/SDL_keysym.h => include/SDL_keycode.h
2011-02-16 15:46:12 -08:00
Sam Lantinga
e0bf2dc643
Made it possible to build SDL from a fresh checkout without any additional steps.
...
The trick is that if you're using configure and you don't want to have SDL_config.h and SDL_revision.h to show up as modified, you need to configure and build from a separate directory.
You also need to include SDL_revision.h directly if you want to use the SDL_REVISION constant, as a side effect of these changes.
--HG--
rename : include/SDL_config.h.default => include/SDL_config.h
2011-02-16 02:37:09 -08:00
Sam Lantinga
20b4d9f762
Patch from Ken Rogoway:
...
Migrate all of the recent changes into the SDL VS2005 project file.
Fix missing return value in SDL_pixels.c
Fix compile error in testscale.c, variable was incorrectly named.
Added VS2005 project file for testscale
2011-02-14 00:45:16 -08:00
Sam Lantinga
5a0ad0fca0
Removed unused leak detection code.
2011-02-11 14:23:22 -08:00
Sam Lantinga
b26aaee0f2
Fixed compiling on Windows
2011-02-11 10:13:30 -08:00
Sam Lantinga
0f1080b558
Fixed compiling on Windows
...
Added an untested shader for YV12 textures
2011-02-09 10:31:12 -08:00
Sam Lantinga
f582f9e58e
Added a simple log message API
2011-02-07 16:45:40 -08:00
Sam Lantinga
90afe5e825
Updated projects
2011-02-05 12:01:36 -08:00
Sam Lantinga
a9d652d20e
Updated Visual Studio 2010 project
...
--HG--
extra : rebase_source : 8f8bc7a40ab9772086b227ac608b436af048d18a
2011-02-04 14:06:01 -08:00
Sam Lantinga
1667e9cf70
Removed missing file
2011-02-04 13:57:55 -08:00
Sam Lantinga
052351dbe2
Added a way to get a framebuffer interface for a window, and also a way to create a software renderer for an arbitrary surface.
...
The software renderer has been re-routed to use the framebuffer interface, which makes it possible to have software rendering available even on simple ports.
2011-02-03 15:49:37 -08:00
Sam Lantinga
d2b54f7d24
Made it possible to create a texture of any format, even if not supported by the renderer.
...
This allows me to reduce the set of formats supported by the renderers to the most optimal set, for a nice speed boost.
--HG--
rename : src/video/SDL_yuv_mmx.c => src/render/SDL_yuv_mmx.c
rename : src/video/SDL_yuv_sw.c => src/render/SDL_yuv_sw.c
rename : src/video/SDL_yuv_sw_c.h => src/render/SDL_yuv_sw_c.h
rename : src/video/mmx.h => src/render/mmx.h
2011-02-03 00:19:40 -08:00
Sam Lantinga
5897ef7d95
Moved the rendering code out to a separate directory in the hope that it can someday be completely decoupled from the rest of the library and be expanded to an awesome 2D on 3D library.
...
--HG--
rename : src/video/windows/SDL_d3drender.c => src/render/direct3d/SDL_d3drender.c
rename : src/video/SDL_renderer_gl.c => src/render/opengl/SDL_renderer_gl.c
rename : src/video/SDL_renderer_gles.c => src/render/opengles/SDL_renderer_gles.c
rename : src/video/SDL_renderer_sw.c => src/render/software/SDL_renderer_sw.c
2011-02-02 14:34:54 -08:00
Sam Lantinga
3b68836c8d
Removing Visual Studio projects for testpalette
2011-02-01 21:51:54 -08:00
Sam Lantinga
9c12618379
Removed partially functional renderers
...
--HG--
extra : rebase_source : 3fc2560c02393bf9e7c46360fc24f2585c9409be
2011-01-31 22:21:29 -08:00
Sam Lantinga
b0a2a8957e
Fixed quotes around Mercurial revision text
2011-01-27 20:37:54 -08:00
Sam Lantinga
7d33cf09be
0 isn't a valid Mercurial revision
2011-01-27 20:14:10 -08:00
krogoway
7f1b3595cc
Always copy the SDL_config_windows.h to SDL_config.h for VisualC 2005, 2008 and 2010 projects.
2011-01-27 20:30:39 -06:00
krogoway
c8cd5b9028
Added SDL_window.* to the project.
2011-01-24 23:54:21 -06:00
Sam Lantinga
b4497865bd
Include windows.h in a single point in the source, so we can be consistent about the definition of UNICODE and have core utility functions for Windows that all modules can share.
...
I think this also fixes the bug relating to non-latin characters in filenames, since UNICODE wasn't defined in SDL_rwops.c
--HG--
rename : src/SDL_android.cpp => src/core/android/SDL_android.cpp
rename : src/SDL_android.h => src/core/android/SDL_android.h
2011-01-24 21:20:30 -08:00
Sam Lantinga
9d25ba272a
Fixed bug #925
...
Changed "win32" to "windows"
--HG--
rename : include/SDL_config_win32.h => include/SDL_config_windows.h
rename : src/events/scancodes_win32.h => src/events/scancodes_windows.h
rename : src/haptic/win32/SDL_syshaptic.c => src/haptic/windows/SDL_syshaptic.c
rename : src/joystick/win32/SDL_dxjoystick.c => src/joystick/windows/SDL_dxjoystick.c
rename : src/joystick/win32/SDL_dxjoystick_c.h => src/joystick/windows/SDL_dxjoystick_c.h
rename : src/joystick/win32/SDL_mmjoystick.c => src/joystick/windows/SDL_mmjoystick.c
rename : src/loadso/win32/SDL_sysloadso.c => src/loadso/windows/SDL_sysloadso.c
rename : src/main/win32/SDL_win32_main.c => src/main/windows/SDL_windows_main.c
rename : src/main/win32/version.rc => src/main/windows/version.rc
rename : src/thread/win32/SDL_sysmutex.c => src/thread/windows/SDL_sysmutex.c
rename : src/thread/win32/SDL_syssem.c => src/thread/windows/SDL_syssem.c
rename : src/thread/win32/SDL_systhread.c => src/thread/windows/SDL_systhread.c
rename : src/thread/win32/SDL_systhread_c.h => src/thread/windows/SDL_systhread_c.h
rename : src/thread/win32/win_ce_semaphore.c => src/thread/windows/win_ce_semaphore.c
rename : src/thread/win32/win_ce_semaphore.h => src/thread/windows/win_ce_semaphore.h
rename : src/timer/win32/SDL_systimer.c => src/timer/windows/SDL_systimer.c
rename : src/video/win32/SDL_ceddrawrender.c => src/video/windows/SDL_ceddrawrender.c
rename : src/video/win32/SDL_ceddrawrender.h => src/video/windows/SDL_ceddrawrender.h
rename : src/video/win32/SDL_d3drender.c => src/video/windows/SDL_d3drender.c
rename : src/video/win32/SDL_d3drender.h => src/video/windows/SDL_d3drender.h
rename : src/video/win32/SDL_gapirender.c => src/video/windows/SDL_gapirender.c
rename : src/video/win32/SDL_gapirender.h => src/video/windows/SDL_gapirender.h
rename : src/video/win32/SDL_gapirender_c.h => src/video/windows/SDL_gapirender_c.h
rename : src/video/win32/SDL_gdirender.c => src/video/windows/SDL_gdirender.c
rename : src/video/win32/SDL_gdirender.h => src/video/windows/SDL_gdirender.h
rename : src/video/win32/SDL_msctf.h => src/video/windows/SDL_msctf.h
rename : src/video/win32/SDL_vkeys.h => src/video/windows/SDL_vkeys.h
rename : src/video/win32/SDL_win32clipboard.c => src/video/windows/SDL_windowsclipboard.c
rename : src/video/win32/SDL_win32clipboard.h => src/video/windows/SDL_windowsclipboard.h
rename : src/video/win32/SDL_win32events.c => src/video/windows/SDL_windowsevents.c
rename : src/video/win32/SDL_win32events.h => src/video/windows/SDL_windowsevents.h
rename : src/video/win32/SDL_win32gamma.c => src/video/windows/SDL_windowsgamma.c
rename : src/video/win32/SDL_win32gamma.h => src/video/windows/SDL_windowsgamma.h
rename : src/video/win32/SDL_win32keyboard.c => src/video/windows/SDL_windowskeyboard.c
rename : src/video/win32/SDL_win32keyboard.h => src/video/windows/SDL_windowskeyboard.h
rename : src/video/win32/SDL_win32modes.c => src/video/windows/SDL_windowsmodes.c
rename : src/video/win32/SDL_win32modes.h => src/video/windows/SDL_windowsmodes.h
rename : src/video/win32/SDL_win32mouse.c => src/video/windows/SDL_windowsmouse.c
rename : src/video/win32/SDL_win32mouse.h => src/video/windows/SDL_windowsmouse.h
rename : src/video/win32/SDL_win32opengl.c => src/video/windows/SDL_windowsopengl.c
rename : src/video/win32/SDL_win32opengl.h => src/video/windows/SDL_windowsopengl.h
rename : src/video/win32/SDL_win32shape.c => src/video/windows/SDL_windowsshape.c
rename : src/video/win32/SDL_win32shape.h => src/video/windows/SDL_windowsshape.h
rename : src/video/win32/SDL_win32video.c => src/video/windows/SDL_windowsvideo.c
rename : src/video/win32/SDL_win32video.h => src/video/windows/SDL_windowsvideo.h
rename : src/video/win32/SDL_win32window.c => src/video/windows/SDL_windowswindow.c
rename : src/video/win32/SDL_win32window.h => src/video/windows/SDL_windowswindow.h
rename : src/video/win32/wmmsg.h => src/video/windows/wmmsg.h
2011-01-20 18:04:05 -08:00
Sam Lantinga
de8bd33888
Use the debug C runtime for the debug configuration
2011-01-19 13:50:53 -08:00
Sam Lantinga
a7486944ea
The clipboard API was missing from the 2010 project
2011-01-19 13:44:21 -08:00
Sam Lantinga
546a3a8d30
Added post build step to copy SDL and data files into the test projects
2011-01-19 13:07:25 -08:00
Sam Lantinga
10d46c3beb
Added testshape to the Debug configuration
2011-01-19 13:07:06 -08:00
Sam Lantinga
e73252548b
Added post build step to copy SDL and data files into the test projects
2011-01-19 11:35:54 -08:00
Sam Lantinga
2bd8b29550
Added testatomic test project
2011-01-17 13:42:24 -08:00
Sam Lantinga
1bc8fe69ce
Updated the atomic API for better use cases
2011-01-15 12:41:59 -08:00
Sam Lantinga
21f3b33f9c
Jcw87 to Sam
...
The project files for VS 2005 are still outdated/messed up. I have a patch that will bring the VS 2005 project files up to date with the VS 2008 project files, add the x64 platform to the VS 2005 project files, fix a few issues with x64 in VS 2008, and a few other misc changes that don't really change the output at all.
2011-01-09 08:35:18 -08:00
Jim Grandpre
bd88a60533
Fixed SDL_VS2005.vcproj
2010-12-15 21:31:12 -05:00
Jim Grandpre
cb98f67b45
Reverted SDL_VS2005.vcproj to revision 4634.
2010-12-15 21:21:13 -05:00
Sam Lantinga
f7fc00e75c
Added a Visual Studio project for testgesture
2010-11-30 12:38:46 -08:00
Sam Lantinga
f8d3e248f2
Removed references to testwm
2010-11-30 12:04:01 -08:00
Andreas Schiffler
ea576e6386
Fix and rename VS2010 project files, add tests to VS2010 solution, fix VS compiler warning
...
--HG--
rename : VisualC/tests/automated/automated.vcxproj => VisualC/tests/automated/automated_VS2010.vcxproj
rename : VisualC/tests/checkkeys/checkkeys.vcxproj => VisualC/tests/checkkeys/checkkeys_VS2010.vcxproj
rename : VisualC/tests/graywin/graywin.vcxproj => VisualC/tests/graywin/graywin_VS2010.vcxproj
rename : VisualC/tests/loopwave/loopwave.vcxproj => VisualC/tests/loopwave/loopwave_VS2010.vcxproj
rename : VisualC/tests/testalpha/testalpha.vcxproj => VisualC/tests/testalpha/testalpha_VS2010.vcxproj
rename : VisualC/tests/testdraw2/testdraw2.vcxproj => VisualC/tests/testdraw2/testdraw2_VS2010.vcxproj
rename : VisualC/tests/testfile/testfile.vcxproj => VisualC/tests/testfile/testfile_VS2010.vcxproj
rename : VisualC/tests/testgamma/testgamma.vcxproj => VisualC/tests/testgamma/testgamma_VS2010.vcxproj
rename : VisualC/tests/testgl/testgl.vcxproj => VisualC/tests/testgl/testgl_VS2010.vcxproj
rename : VisualC/tests/testgl2/testgl2.vcxproj => VisualC/tests/testgl2/testgl2_VS2010.vcxproj
rename : VisualC/tests/testjoystick/testjoystick.vcxproj => VisualC/tests/testjoystick/testjoystick_VS2010.vcxproj
rename : VisualC/tests/testoverlay/testoverlay.vcxproj => VisualC/tests/testoverlay/testoverlay_VS2010.vcxproj
rename : VisualC/tests/testoverlay2/testoverlay2.vcxproj => VisualC/tests/testoverlay2/testoverlay2_VS2010.vcxproj
rename : VisualC/tests/testpalette/testpalette.vcxproj => VisualC/tests/testpalette/testpalette_VS2010.vcxproj
rename : VisualC/tests/testplatform/testplatform.vcxproj => VisualC/tests/testplatform/testplatform_VS2010.vcxproj
rename : VisualC/tests/testpower/testpower.vcxproj => VisualC/tests/testpower/testpower_VS2010.vcxproj
rename : VisualC/tests/testshape/testshape.vcproj => VisualC/tests/testshape/testshape_VS2008.vcproj
rename : VisualC/tests/testshape/testshape.vcxproj => VisualC/tests/testshape/testshape_VS2010.vcxproj
rename : VisualC/tests/testsprite/testsprite.vcxproj => VisualC/tests/testsprite/testsprite_VS2010.vcxproj
rename : VisualC/tests/testsprite2/testsprite2.vcxproj => VisualC/tests/testsprite2/testsprite2_VS2010.vcxproj
rename : VisualC/tests/testvidinfo/testvidinfo.vcxproj => VisualC/tests/testvidinfo/testvidinfo_VS2010.vcxproj
rename : VisualC/tests/testwin/testwin.vcxproj => VisualC/tests/testwin/testwin_VS2010.vcxproj
rename : VisualC/tests/testwm/testwm.vcxproj => VisualC/tests/testwm/testwm_VS2010.vcxproj
2010-11-19 21:51:33 -08:00
Sam Lantinga
f968057d82
Updated build for Visual Studio 2010
2010-09-17 09:08:47 -07:00
Andreas Schiffler
1975b91fae
- added directx include path to VS2008 solution
...
- updated shape vcproj and add it to VS2008 solution
- minor changes (i.e. typecasting) to get rid of compiler warnings in VS
2010-09-15 22:15:47 -07:00
Andreas Schiffler
5b9ec3c812
Add missing imm32.lib from VS2010 project
2010-09-07 20:56:02 -07:00
Sam Lantinga
515a3e58ab
Compiling in atan()/atan2() implementation on Visual Studio 2008.
2010-08-29 16:55:58 -07:00
Sam Lantinga
7411f7531b
Fixed compiling with Visual Studio 2008
2010-08-29 14:22:22 -07:00
Andreas Schiffler
dc0f95c447
Update VS2010 project to add new files; update new files so code builds on Win32/Win64
2010-08-23 23:44:28 -07:00
Sam Lantinga
7c463932c2
Merged Eli's Google Summer of Code work from SDL-gsoc2010-shaped_windows
...
--HG--
rename : VisualC/SDL.sln => VisualC/SDL_VS2005.sln
2010-08-22 13:45:56 -07:00
Sam Lantinga
1f8dacabd7
Merged Daniel's Google Summer of Code work from SDL-gsoc2010_IME
2010-08-22 12:39:27 -07:00
egottlieb
4e4cb86ffe
Finally got the Win32 API code for shaping to work! Just need to fix SDL_CalculateShapeTree() now!
2010-08-14 16:14:36 -04:00
egottlieb
c95526b7ce
Improving Cocoa implementation and fixed a small bug in SDL_shape.c.
2010-08-05 18:58:45 -04:00
egottlieb
2d2a93ff5d
Removed superfluous VS2010 build files.
2010-08-03 10:10:06 -04:00
egottlieb
0a0b18c761
Added and re-added VS2010 solution files.
2010-08-02 22:20:13 -04:00
egottlieb
4caaaf9b10
Added VS2010 build files.
2010-08-02 21:43:08 -04:00
egottlieb
56ab3ca590
Worked on Windows implementation and the quad-trees.
2010-08-02 01:54:59 -04:00
egottlieb
c33852e995
Added VS2010 tests solution file.
2010-08-01 23:27:22 -04:00
egottlieb
e44b848675
Added Windows build files for testshape.
2010-08-01 23:26:37 -04:00