Commit Graph

175 Commits

Author SHA1 Message Date
Sam Lantinga
91c26c9eb7 Removing test projects for Visual Studio 2005 2012-01-09 04:39:55 -05:00
Sam Lantinga
cc8501bdc4 I can't test Visual Studio 2005 configurations anymore, and I don't think anyone is using it for production games. 2012-01-09 04:38:34 -05:00
Sam Lantinga
5972cfa610 Fixed bug 1287 - VS2010 project doesn't include the SDL_syscond.c file
Liam 2011-08-23 09:09:18 PDT
Hiya!

Seems like there's no implementation of condition variables included when
building with VS2010, adding the generic SDL_syscond.c file to the project
seems to fix it right up.
2012-01-08 01:15:20 -05:00
Sam Lantinga
e256711bb9 Happy New Year! 2011-12-31 09:28:07 -05:00
Andreas Schiffler
7d44cb1995 Updated VS2010 project files 2011-12-04 21:45:34 -08:00
Ryan C. Gordon
3bd23ad70f Removed SDL_xaudio2.h ... no real need for this to be separate. 2011-08-22 14:37:45 -04:00
Ryan C. Gordon
854a2e9098 Implemented XAudio2 target for Windows (and Xbox360, theoretically!). 2011-08-04 01:07:09 -04:00
Ryan C. Gordon
7de8cc401e Reworked Windows waveOut code.
Implemented multi-device support, changed name to "winmm".
2011-08-04 01:24:22 -04:00
Ryan C. Gordon
26705b7afc Reworked Windows DirectSound code.
Now supports multiple devices, and uses DirectSound 8 instead of 5. Changed
name to "directsound" and renamed source directory.
2011-08-04 01:26:12 -04:00
Tim Angus
e4de79558c * SDL_IOS_IDLE_TIMER_DISABLED hint 2011-06-10 14:23:36 +01:00
Dennis Cappendijk
61b88719cb Debug win 32 settings was wrongfully set to build the Release 32bit version. 2011-04-20 11:25:01 +02:00
Sam Lantinga
4b0ddc8d7c Fixed bug 1185 (VS 2010 project files do not support side-by-side 32-bit and 64-bit builds)
Ed Kiser      2011-04-19 09:28:53 PDT

The Visual Studio 2010 project files have hard-coded relative paths which
prevent them from doing side-by-side 32-bit and 64-bit builds.

I have attached a patch that appears to fix this problem.
2011-04-19 09:53:01 -07:00
Sam Lantinga
117146456c Removed buggy and LGPL MMX mixing routines. 2011-04-08 13:16:33 -07:00
Sam Lantinga
f45b146128 Fixed permissions 2011-03-25 10:54:13 -07:00
Sam Lantinga
6af452ca77 Added quotes to the post-build copy commands 2011-03-15 22:42:26 -07:00
Sam Lantinga
de7e7ed3e2 Fixed dependencies for testcursor 2011-03-15 22:41:14 -07:00
Sam Lantinga
9ad3d2ebf8 Copy icon.bmp for the testcursor build 2011-03-11 14:30:00 -08:00
Sam Lantinga
069fbf4861 Gamma support is back!
New API functions:
	SDL_SetWindowBrightness()
	SDL_GetWindowBrightness()
	SDL_SetWindowGammaRamp()
	SDL_GetWindowGammaRamp()
	SDL_CalculateGammaRamp()
2011-03-11 08:49:20 -08:00
Sam Lantinga
b206d7290d Include an updated Version.rc in Visual Studio builds 2011-03-09 18:26:35 -08:00
Sam Lantinga
cd962003a0 Fixed 64-bit compiling 2011-03-07 23:27:51 -08:00
Sam Lantinga
6b919539d3 The msimg library isn't needed anymore. 2011-03-07 22:06:12 -08:00
Sam Lantinga
89d7238dbf Fixed the libraries linked with Visual Studio 2010, the msimg library isn't needed anymore. 2011-03-07 22:03:11 -08:00
Sam Lantinga
572abba9b9 Added support for Windows cursors 2011-02-28 23:50:32 -08:00
Sam Lantinga
a3bb35d039 Removed extra NoStdio configuration 2011-02-28 20:16:12 -08:00
Sam Lantinga
7fa84f6a78 Re-added the 3DNow! and AltiVec instruction support. 2011-02-22 21:44:36 -08:00
Sam Lantinga
c2092ce469 Fixed debug format 2011-02-17 18:53:46 -08:00
Sam Lantinga
579f2fc55e Removed the obsolete NoSTDIO configurations 2011-02-17 12:16:01 -08:00
Sam Lantinga
dbb0a44739 Renamed SDL_keysym.h to SDL_keycode.h to avoid confusion. 2011-02-16 15:46:12 -08:00
Sam Lantinga
307a90d292 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.
2011-02-16 02:37:09 -08:00
Sam Lantinga
e66826bbdf 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
76489b5e9e Removed unused leak detection code. 2011-02-11 14:23:22 -08:00
Sam Lantinga
7e3a76e238 Fixed compiling on Windows 2011-02-11 10:13:30 -08:00
Sam Lantinga
efc19178c7 Fixed compiling on Windows
Added an untested shader for YV12 textures
2011-02-09 10:31:12 -08:00
Sam Lantinga
47818cfba9 Added a simple log message API 2011-02-07 16:45:40 -08:00
Sam Lantinga
8d99feca16 Updated projects 2011-02-05 12:01:36 -08:00
Sam Lantinga
64db716d1b Updated Visual Studio 2010 project 2011-02-04 14:06:01 -08:00
Sam Lantinga
9f81da0aa6 Removed missing file 2011-02-04 13:57:55 -08:00
Sam Lantinga
93a4e38e98 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
405d4ed7e4 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.
2011-02-03 00:19:40 -08:00
Sam Lantinga
8bf50cc83c 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. 2011-02-02 14:34:54 -08:00
Sam Lantinga
adfafcaa35 Removing Visual Studio projects for testpalette 2011-02-01 21:51:54 -08:00
Sam Lantinga
096a6b8d79 Removed partially functional renderers 2011-01-31 22:21:29 -08:00
Sam Lantinga
cff0c4846b Fixed quotes around Mercurial revision text 2011-01-27 20:37:54 -08:00
Sam Lantinga
8903c6651b 0 isn't a valid Mercurial revision 2011-01-27 20:14:10 -08:00
krogoway
ece000dbf1 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
86dd80b24b Added SDL_window.* to the project. 2011-01-24 23:54:21 -06:00
Sam Lantinga
01fa14dc42 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
2011-01-24 21:20:30 -08:00
Sam Lantinga
08ad787807 Fixed bug #925
Changed "win32" to "windows"
2011-01-20 18:04:05 -08:00
Sam Lantinga
317257b056 Use the debug C runtime for the debug configuration 2011-01-19 13:50:53 -08:00
Sam Lantinga
127b01bc8a The clipboard API was missing from the 2010 project 2011-01-19 13:44:21 -08:00
Sam Lantinga
8018c7aff8 Added post build step to copy SDL and data files into the test projects 2011-01-19 13:07:25 -08:00
Sam Lantinga
b171384544 Added testshape to the Debug configuration 2011-01-19 13:07:06 -08:00
Sam Lantinga
2454e69555 Added post build step to copy SDL and data files into the test projects 2011-01-19 11:35:54 -08:00
Sam Lantinga
54e9e14daf Added testatomic test project 2011-01-17 13:42:24 -08:00
Sam Lantinga
38e31e4598 Updated the atomic API for better use cases 2011-01-15 12:41:59 -08:00
Sam Lantinga
6e25b65a44 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
c6627d1b6d Fixed SDL_VS2005.vcproj 2010-12-15 21:31:12 -05:00
Jim Grandpre
0d9ae52c6c Reverted SDL_VS2005.vcproj to revision 4634. 2010-12-15 21:21:13 -05:00
Sam Lantinga
deaf19e6c2 Added a Visual Studio project for testgesture 2010-11-30 12:38:46 -08:00
Sam Lantinga
bd97b747e3 Removed references to testwm 2010-11-30 12:04:01 -08:00
Andreas Schiffler
92523c9d44 Fix and rename VS2010 project files, add tests to VS2010 solution, fix VS compiler warning 2010-11-19 21:51:33 -08:00
Sam Lantinga
a9078b519d Updated build for Visual Studio 2010 2010-09-17 09:08:47 -07:00
Andreas Schiffler
04a527d771 - 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
c366d9cf51 Add missing imm32.lib from VS2010 project 2010-09-07 20:56:02 -07:00
Sam Lantinga
256b2c3990 Compiling in atan()/atan2() implementation on Visual Studio 2008. 2010-08-29 16:55:58 -07:00
Sam Lantinga
d343754786 Fixed compiling with Visual Studio 2008 2010-08-29 14:22:22 -07:00
Andreas Schiffler
b0d0e9f2f0 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
b7c5d88e6a Merged Eli's Google Summer of Code work from SDL-gsoc2010-shaped_windows 2010-08-22 13:45:56 -07:00
Sam Lantinga
d4d88abae0 Merged Daniel's Google Summer of Code work from SDL-gsoc2010_IME 2010-08-22 12:39:27 -07:00
egottlieb
1dac65bd3a 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
86bd63adea Improving Cocoa implementation and fixed a small bug in SDL_shape.c. 2010-08-05 18:58:45 -04:00
egottlieb
1123728a5d Removed superfluous VS2010 build files. 2010-08-03 10:10:06 -04:00
egottlieb
1d4ad960e8 Added and re-added VS2010 solution files. 2010-08-02 22:20:13 -04:00
egottlieb
d8d77da906 Added VS2010 build files. 2010-08-02 21:43:08 -04:00
egottlieb
ce799da578 Worked on Windows implementation and the quad-trees. 2010-08-02 01:54:59 -04:00
egottlieb
1341532f15 Added VS2010 tests solution file. 2010-08-01 23:27:22 -04:00
egottlieb
94bc2a7db5 Added Windows build files for testshape. 2010-08-01 23:26:37 -04:00
egottlieb
157494348a Converted some project files to VS2010, adding new files. Backups were made. 2010-08-01 23:16:32 -04:00
egottlieb
ad864c387a Changed the file name to its correct, required one. 2010-08-01 23:07:59 -04:00
Eli Gottlieb
c94b94e367 Added Andreas's patch to fix my silly C++-style errors. 2010-07-29 22:57:39 -04:00
Eli Gottlieb
e58ba0a462 Reapplied Win32 make-it-build patch. What's going on? Still get rendering artifacts when testing on x11, have literally no idea why. 2010-07-20 12:42:43 -04:00
dewyatt
ea01e5af61 Merge with main repo (mainly for non-printable character fix) 2010-07-18 13:48:23 -04:00
Eli Gottlieb
bc85c58194 Added in Visual Studio patch. 2010-07-15 01:41:38 -04:00
Jim Grandpre
4b707013d1 Added alternative finger tracking method. Still prefer IPHONE_TOUCH_EFFICIENT_DANGEROUS. 2010-07-13 18:31:09 -04:00
Sam Lantinga
6f2000e6d2 Merged changes from the main SDL codebase 2010-07-12 21:09:23 -07:00
Sam Lantinga
b833ea1351 Amazingly the Windows code is almost identical to the Mac OS X code. :) 2010-07-08 23:07:34 -07:00
Eli Gottlieb
86a73e972e Ported over, to the best of my ability, the code for Win32 shaped windows and patched in the correct C syntax and coding conventions of SDL. 2010-07-08 22:52:49 -04:00
Sam Lantinga
ca5e2aca83 Added Windows clipboard support 2010-07-08 05:43:34 -07:00
Sam Lantinga
2be0429676 Removed obsolete header file 2010-07-06 10:58:23 -07:00
dewyatt
3e89cf84fc Merge 2010-07-06 02:07:42 -04:00
Sam Lantinga
f37a98447c Removed SDL.lib and SDLmain.lib from the projects since the dependencies are set up properly. 2010-07-05 18:18:25 -07:00
Sam Lantinga
acc9de6fd9 Added dependencies on SDL.lib and SDLmain.lib to the test programs 2010-07-05 17:14:37 -07:00
Sam Lantinga
6931049bd6 Split out the Visual C++ 2005 and 2008 projects explicitly.
Added the test programs to the Visual C++ 2008 project.
2010-07-05 17:10:34 -07:00
Sam Lantinga
ee344feef6 Added missing file to the automated test project 2010-07-05 13:10:31 -07:00
jimtla
02a308063c More fixes for windows. Disabled tablet code. 2010-06-10 00:15:17 -04:00
jimtla
abf13d5afd Fixed some windows compilation bugs - Still does not compile. 2010-06-03 11:08:17 -04:00
Sam Lantinga
cb028e3357 Fixed building under Visual Studio 2010-01-15 20:05:49 +00:00
Sam Lantinga
4c1edf5a4e Updated to include new files 2009-12-24 19:18:41 +00:00
Sam Lantinga
5837d39cf6 Added rectangle test 2009-12-24 19:16:08 +00:00
Sam Lantinga
f0f7a43ea2 Added the automated test to the Visual Studio 2008 project 2009-11-25 04:41:09 +00:00