Commit Graph

17 Commits

Author SHA1 Message Date
Kim Woelders 9c31fe29ed Clean up header file inclusion order.
Fixes building with e.g. -std=c99 and c11 by always including config.h
(which defines _GNU_SOURCE) first.
2015-01-17 19:33:42 +01:00
Kim Woelders e5b71f40f3 Remove unused AnimatorsDelCat(). 2015-01-10 18:56:58 +01:00
Kim Woelders ce298f6b42 Fix animator initialisation when duration is 0.
When adding an animator with zero duration the animation would just run
forever.
2015-01-02 14:09:55 +01:00
Kim Woelders 0981a53f1b Fix animation bug.
If animators are added within 1 ms from a call to _AnimatorsTimer()
in a previous event loop run, the animation timer might not be
rescheduled properly.
2015-01-02 11:36:15 +01:00
Kim Woelders 4d1bde02ae Wrap XID and some other X types.
Mostly to change longs to ints to reduce memory footprint a bit on 64
bit systems.
2014-04-23 19:13:00 +02:00
Kim Woelders 1dab5ff5c2 Move EDBUG_TYPE_ANIM to where it belongs. 2014-04-23 16:20:43 +02:00
Kim Woelders b78b8f5b14 Avoid unnecessary FP calculation. 2014-04-23 11:19:50 +02:00
Kim Woelders e1f062fff5 Use NoXID in stead of None. 2013-12-29 08:59:38 +01:00
Kim Woelders 3d03033e7f Some more double to float. 2013-07-08 00:05:20 +02:00
Kim Woelders c1ebaaae8f Forgot some 2013.
SVN revision: 83994
2013-02-16 14:18:50 +00:00
Kim Woelders 7d12d80ff6 Get frame rate from randr.
SVN revision: 83574
2013-02-03 08:06:45 +00:00
Kim Woelders c69356c39e AnimatorsDelCatAll() is now unused.
SVN revision: 81823
2012-12-28 16:04:37 +00:00
Kim Woelders 1f535e9561 Add AnimatorGetData().
SVN revision: 81821
2012-12-28 16:04:33 +00:00
Kim Woelders 4fbe87de66 Add AnimatorDel().
SVN revision: 81820
2012-12-28 16:04:31 +00:00
Kim Woelders 46c772cb19 Non-time-limited animations should not run until next ?!?
SVN revision: 81816
2012-12-28 16:04:22 +00:00
Kim Woelders 542192954c Make frame debug printout conditional.
SVN revision: 80901
2012-12-13 21:32:14 +00:00
Kim Woelders 51a19d26e7 Introduce new animation engine.
Based on work by Daniel Manjarres.

One of the major changes is to eliminate the "TimedLoop" construction
where we have "local" animation loops, in which we don't pass through
the main event handler.

SVN revision: 80542
2012-12-09 10:03:07 +00:00