Edward Rudd
3f7516d961
auto init the ticks if the GetTicks and the like methods are called before SDL_Init().. This prevents annoying game bugs such as caching SDL_GetPerformanceFrequency in a static initializer
2013-08-17 18:07:29 -04:00
Sam Lantinga
019c60c1e8
Happy New Year!
2013-02-15 08:47:44 -08:00
Sam Lantinga
b3d60cfcbb
Removed executable bit from source files
2012-09-27 14:35:28 -07:00
Sam Lantinga
e256711bb9
Happy New Year!
2011-12-31 09:28:07 -05:00
Sam Lantinga
6196aa221e
SDL 1.3 is now under the zlib license.
2011-04-08 13:03:26 -07:00
Sam Lantinga
56c4464487
Added high resolution timing API: SDL_GetPerformanceCounter(), SDL_GetPerformanceFrequency()
2011-03-25 14:45:04 -07:00
Sam Lantinga
a2cdcf5486
Happy 2011! :)
2011-02-11 22:37:15 -08:00
Sam Lantinga
9b5a15bc30
Improved timer implementation
...
The new timer model is formalized as using a separate thread to handle timer callbacks. This was the case on almost every platform before, but it's now a requirement, and simplifies the implementation and makes it perform consistently across platforms.
Goals:
* Minimize timer thread blocking
* Dispatch timers as accurately as possible
* SDL_AddTimer() and SDL_RemoveTimer() are completely threadsafe
* SDL_RemoveTimer() doesn't crash with a timer that's expired or removed
2011-01-27 14:45:06 -08:00
Sam Lantinga
7052036491
Fixed bug #926
...
Updated copyright to LGPL version 2.1 and year 2010
2010-01-24 21:10:53 +00:00
Sam Lantinga
befb0f7f42
Updated copyright date
2008-12-08 00:27:32 +00:00
Sam Lantinga
6bc598ea61
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
2006-07-10 21:04:37 +00:00
Sam Lantinga
4ffa1daabc
Make sure code is only compiled if the appropriate subsystem is enabled
2006-04-14 04:46:47 +00:00
Sam Lantinga
339f03befc
Added documentation on how to build a completely useless SDL library. :)
2006-03-08 08:30:17 +00:00
Sam Lantinga
190b425364
Use consistent identifiers for the various platforms we support.
...
Make sure every source file includes SDL_config.h, so the proper system
headers are chosen.
2006-02-21 08:46:50 +00:00
Sam Lantinga
f05187e232
New configure-based build system. Still work in progress, but much improved
2006-02-16 10:11:48 +00:00