Sam Lantinga
|
4fa92d233d
Include stdbool.h when using Visual Studio 2017+
|
1 年間 前 |
Sam Lantinga
|
a90ad3b0e2
Removed SDL_bool in favor of plain bool
|
1 年間 前 |
Sam Lantinga
|
28b94c4758
Re-added SDL_getenv() as a thread-safe getenv() implementation
|
1 年間 前 |
Sam Lantinga
|
90e01040c5
Added thread-safe environment functions
|
1 年間 前 |
Sam Lantinga
|
9ff3446f03
Use SDL_bool instead an int return code in the SDL API
|
1 年間 前 |
Sam Lantinga
|
8f546bb3c9
Use C99 bool internally in SDL
|
1 年間 前 |
Sam Lantinga
|
6501e90018
Use C++ style comments consistently in SDL source code
|
1 年間 前 |
Sam Lantinga
|
037541a0e0
Check standard error code return values as < 0 instead of == -1
|
1 年間 前 |
Sam Lantinga
|
6f399c3beb
Note that SDL_HAPTIC_GAIN_MAX should remain an environment variable.
|
1 年間 前 |
Sam Lantinga
|
4f55271571
Removed temporary memory from the API
|
1 年間 前 |
Sam Lantinga
|
b32c9615a7
SDL_GetHaptics() follows the SDL_GetStringRule
|
1 年間 前 |
Sam Lantinga
|
bb96320cc4
Make sure we always copy the data returned using SDL_GetStringRule
|
1 年間 前 |
Sam Lantinga
|
5c875e1183
Renamed *FromID() to *ForID()
|
1 年間 前 |
Sam Lantinga
|
d154b37b41
Renamed *FromInstanceID() to *FromID()
|
1 年間 前 |
Sam Lantinga
|
e90060d07f
Renamed functions to get information from device IDs
|
1 年間 前 |
Sam Lantinga
|
26fc7a8060
Fixed signatures for internal haptics functions
|
1 年間 前 |
Ryan C. Gordon
|
e23257307e
Introduce formal policy for APIs that return strings.
|
1 年間 前 |
Sam Lantinga
|
b0e93e4e63
Prevent crashes if freed objects are passed to SDL API functions
|
1 年間 前 |
Sam Lantinga
|
052b958bf2
Made SDL_HapticEffect const in the API
|
2 年 前 |
Sam Lantinga
|
9fc1135e3b
Fixed warning C4127: conditional expression is constant
|
2 年 前 |
Sam Lantinga
|
cda2bffeee
Re-add SDL_HAPTIC_SQUARE for SDL 3.0
|
2 年 前 |
Sam Lantinga
|
f224af5ac5
Updated Haptic API for SDL 3.0 conventions
|
2 年 前 |
Sam Lantinga
|
5b3ee51c6c
Updated copyright for 2024
|
2 年 前 |
Ryan C. Gordon
|
447b508a77
error: SDL's allocators now call SDL_OutOfMemory on error.
|
2 年 前 |
Sylvain
|
d8600f717e
Pointer as bool (libsdl-org#7214)
|
2 年 前 |
Sam Lantinga
|
ddbdd73258
Updated source to match SDL function prototype style
|
2 年 前 |
Sam Lantinga
|
308bcbbe76
Fixed Visual Studio warning 4244
|
3 年 前 |
Sam Lantinga
|
c6443d86c9
Code style: changed "sizeof foo" to "sizeof(foo)" (thanks @sezero!)
|
3 年 前 |
Sylvain Becker
|
cb6b8b0132
Simplify flags testing (#7220)
|
3 年 前 |
Sam Lantinga
|
fde78d12f2
Updated copyright for 2023
|
3 年 前 |