Sam Lantinga
c43be6965f
Turned on OmitDefaultLibName for SDL, SDLmain and SDLtest
2014-07-27 19:56:53 -07:00
Sam Lantinga
9cdeec59f3
Split the XInput and DirectInput code so Windows RT can use the existing XInput support.
...
--HG--
rename : src/audio/directsound/directx.h => src/core/windows/SDL_directx.h
rename : src/haptic/windows/SDL_syshaptic.c => src/haptic/windows/SDL_windowshaptic.c
rename : src/haptic/windows/SDL_syshaptic_c.h => src/haptic/windows/SDL_windowshaptic_c.h
rename : src/joystick/windows/SDL_dxjoystick.c => src/joystick/windows/SDL_dinputjoystick.c
rename : src/joystick/windows/SDL_dxjoystick_c.h => src/joystick/windows/SDL_dinputjoystick_c.h
rename : src/joystick/windows/SDL_dxjoystick_c.h => src/joystick/windows/SDL_windowsjoystick_c.h
2014-07-03 15:39:55 -07:00
Sam Lantinga
73ddbd3f85
Fixed Visual Studio 2008 projects
...
Added missing files to SDL2 project
Added missing Visual Studio 2008 tests to the solution
Added output paths which match the 2010+ projects
Added SDL project references instead of old style project dependencies
Removed post-build copy step and added data files to projects
2014-06-15 10:42:28 -07:00
Sam Lantinga
1c2df7b03d
Updated projects for Visual Studio 2010, 2012 and 2013
...
* Test programs use project references instead of hard-coding SDL library dependencies
* Test data files are copied only when needed.
* Copying SDL2.dll is no longer necessary
* Fixed /SAFESEH warning
* Fixed attempted rebuild of SDL every time a test program is run
2014-06-07 21:58:18 -07:00
Sam Lantinga
d16a9a6781
Fixed D3D9 initialization on Windows 8, which doesn't have D3DX
2014-03-10 17:19:19 -07:00
Sam Lantinga
1348631206
Converted David Ludwig's D3D11 renderer to C and optimized it.
...
The D3D11 renderer is now slightly faster than D3D9 on my Windows 8 machine (testsprite2 runs at 3400 FPS vs 3100 FPS)
This will need tweaking to fix the Windows RT build.
--HG--
rename : src/render/direct3d11/SDL_render_d3d11.cpp => src/render/direct3d11/SDL_render_d3d11.c
2014-03-10 01:51:03 -07:00
Sam Lantinga
f6e1a153be
Visual Studio 2013 project updates
2014-03-09 10:37:45 -07:00
Ryan C. Gordon
63256a2384
Implemented the Dynamic API magic.
...
--HG--
extra : rebase_source : 38f639089d3d142895d5cf106919a0bfbb65c5ed
2013-12-09 16:03:18 -05:00
Gabriel Jacobo
f21d3e7e2a
OpenGL ES support for Windows
2013-11-22 13:24:53 -03:00
Sam Lantinga
c04efa65dc
Added project files for Visual Studio 2013
...
Added /arch:SSE code generation option to prevent SSE2 floating point functions from being implicitly called (which aren't linked in SDL)
2013-11-10 11:51:06 -08:00
Sam Lantinga
4abff3bd75
Fixed project conflict during commit
2013-10-14 09:14:09 -07:00
Ryan C. Gordon
2b9a2802b2
Added SDL_GetBasePath() and SDL_GetPrefPath() in new filesystem module.
...
--HG--
extra : rebase_source : c1fac232063443a2880e64f1abda85e0bdb2e710
2013-08-20 19:57:11 -04:00
Ryan C. Gordon
d99a4adff9
SDL_*Parachute() are no-ops, remove them.
2013-08-07 11:12:11 -07:00
Sam Lantinga
6f83bd0e2a
Finished updating testoverlay2 for the new API and added it to the Visual Studio 2010 projects
2013-07-23 12:46:22 -07:00
Sam Lantinga
bfcb08d569
Implemented an API for thread-local storage: SDL_TLSCreate(), SDL_TLSSet(), SDL_TLSGet()
2013-07-10 02:32:04 -07:00
Ryan C. Gordon
2740a12ae3
Backout hg changset 898992405fa7; lots of things still use SDL_types.h. :/
...
Will remove this again at some point in the future, though.
2013-07-09 11:57:32 -04:00
Ryan C. Gordon
7afed3e5ae
Removed deprecated SDL_types.h header.
...
Fixes Bugzilla #1945 .
2013-07-08 23:37:00 -04:00
Andreas Schiffler
5d3e05c2c4
Fix bug 1492: Visual Studio builds sdl.lib and sdl.dll for version 2.0 (contributed by Jan Reitz); update SDL_bool handling in test_common to fix VS compiler warnings
2013-05-30 20:03:56 -07:00
Sam Lantinga
914c1c4469
Disable C++ exceptions, use debug format that includes debug information in the static libraries, and standardize on Program Database / Program Database with edit and continue for the DLL debug format.
2013-05-06 13:39:17 -07:00
Sam Lantinga
ee24414406
Generate debug info for all configurations on all platforms
...
Turned off C++ exception handling for all configurations and all platforms
Turned on comdat folding and optimized references for all optimized builds
CR: Bruce Dawson
2013-02-27 11:39:38 -08:00
Sam Lantinga
aa427c702d
Removed SDL_input.h from various projects
2013-02-19 05:46:51 -08:00
Jørgen P. Tjernø
6fee8913ec
New SDL_MSBIndex, updated VS projects, cleanup gamecontroller.
...
- Updated Visual Studio 2010 project with SDL 2.0 library names
- Don't use a 256 byte LUT, but rather <32 bytes of data on the stack.
- Cleanups in SDL_gamecontroller.h
--HG--
extra : amend_source : e7d1b224d1356c5be7a89df7b82a7f5e1141c167
2013-02-13 17:19:21 -08:00
Jørgen P. Tjernø
f85aeb98c7
Don't clobber refcounting in SDL_Init.
...
- Fixes bug 1712 by not overwriting SDL_SubsystemRefCount in SDL_Init.
- Removes the SDL_initialized variable, and makes SDL_SubsystemRefCount
the canonical source of truth for whether or not a subsystem has been
initialized.
- Refactors SDL_InitSubSystem and SDL_QuitSubSystem to use helper
functions to manage refcount.
- Adds automated tests for SDL_Init/Quit*.
- Adds SDL_bits.h which contains SDL_MostSignificantBitIndex.
2013-02-12 11:47:31 -08:00
Andreas Schiffler
fb3b70940c
Update VS2012 solution - add missing files; fix some static analysis warnings
2012-12-01 23:30:53 -08:00
Sam Lantinga
57259c85de
Fixed Visual Studio 2008 build
2012-11-26 23:56:24 -08:00
Sam Lantinga
34b88dfaae
Added hotplug joystick support and simplified game controller API, courtesy of Alfred Reynolds
2012-11-26 16:37:54 -08:00
Andreas Schiffler
9144abbf82
Added VS2012 project files
2012-11-08 21:53:57 -08:00
Sam Lantinga
6d8f54f9cd
Updated the Visual Studio 2010 project with the new message box functionality.
2012-10-30 19:21:42 -07:00
Sam Lantinga
f8a4c99701
Added Windows message box implementation, but it needs a little work on layout.
2012-10-30 18:59:56 -07:00
Sam Lantinga
805e184f75
Whoops, that's a header!
2012-10-01 00:02:07 -07:00
Sam Lantinga
f6f13fc7c4
Added SDL_dropevents.c to the Visual C projects
2012-09-30 23:08:46 -07:00
Sam Lantinga
909cf0f0b4
Added SDL_system.h to the various projects
2012-06-23 06:46:06 -04:00
Sam Lantinga
beb1db9b5b
Fixed compiling with Visual Studio
2012-06-19 13:50:14 -04:00
Sam Lantinga
777b9659e9
Updated VS2010 project for the new version.rc location - thanks to Rainer Deyke
2012-02-04 10:42:12 -05:00
Sam Lantinga
08e3824fa0
Removed old compat files from Visual Studio and Xcode projects
2012-01-22 22:09:29 -05:00
Sam Lantinga
d71e0546a9
Updated to SDL 2.0, and SDL 2.0 can now be installed coexisting with SDL 1.2
...
--HG--
rename : sdl-config.in => sdl2-config.in
rename : sdl.m4 => sdl2.m4
rename : sdl.pc.in => sdl2.pc.in
2012-01-22 17:21:00 -05:00
Sam Lantinga
d64668508c
Added the correct version.rc to the Visual Studio build.
2012-01-21 12:10:14 -05:00
Sam Lantinga
ec7e4ac7a7
Added spaces for the include path
2012-01-16 20:40:10 -05:00
Sam Lantinga
5d1613d59e
Don't hardcode output paths, Visual Studio does the right thing.
2012-01-09 04:53:58 -05:00
Sam Lantinga
765e15d7b9
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
02fe20203d
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
028e5dcdbd
Happy New Year!
2011-12-31 09:28:07 -05:00
Andreas Schiffler
4d6a742cd1
Updated VS2010 project files
2011-12-04 21:45:34 -08:00
Ryan C. Gordon
6412a3147e
Removed SDL_xaudio2.h ... no real need for this to be separate.
2011-08-22 14:37:45 -04:00
Ryan C. Gordon
46bb3d8770
Implemented XAudio2 target for Windows (and Xbox360, theoretically!).
2011-08-04 01:07:09 -04:00
Ryan C. Gordon
6bd5c1b002
Reworked Windows waveOut code.
...
Implemented multi-device support, changed name to "winmm".
--HG--
rename : src/audio/windib/SDL_dibaudio.h => src/audio/winmm/SDL_winmm.h
2011-08-04 01:24:22 -04:00
Ryan C. Gordon
ac93bd6e55
Reworked Windows DirectSound code.
...
Now supports multiple devices, and uses DirectSound 8 instead of 5. Changed
name to "directsound" and renamed source directory.
--HG--
rename : src/audio/windx5/SDL_dx5audio.c => src/audio/directsound/SDL_directsound.c
rename : src/audio/windx5/SDL_dx5audio.h => src/audio/directsound/SDL_directsound.h
rename : src/audio/windx5/directx.h => src/audio/directsound/directx.h
2011-08-04 01:26:12 -04:00
Tim Angus
2f0bec3220
* SDL_IOS_IDLE_TIMER_DISABLED hint
2011-06-10 14:23:36 +01:00
Sam Lantinga
782b8b7d6e
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
605263ee5f
Removed buggy and LGPL MMX mixing routines.
2011-04-08 13:16:33 -07:00