Commit graph

44 commits

Author SHA1 Message Date
Sebastian Krzyszkowiak
3a0b8a706a
timeline: add TM_END and TM_REPEAT boolean aliases 2019-08-28 20:38:31 +02:00
Sebastian Krzyszkowiak
1e7fe215c4
timeline: gracefullly handle out of bounds indexes in TM_GetArg 2019-03-30 04:06:40 +01:00
Sebastian Krzyszkowiak
993e9884e6
adjust to clang-tidy 8.0 2019-03-29 03:24:36 +01:00
Sebastian Krzyszkowiak
1350fe9437
timeline: use floating-point seconds instead of integer miliseconds for delays in API 2019-03-16 01:58:28 +01:00
Sebastian Krzyszkowiak
6e07719beb
timeline: add STOP action state 2019-03-16 01:44:02 +01:00
Sebastian Krzyszkowiak
ef77bedeae
clean up 2019-01-11 15:26:12 +01:00
Sebastian Krzyszkowiak
e5937537df
initial draft of particle engine 2018-11-26 09:18:28 +01:00
Sebastian Krzyszkowiak
ab17bd8050 timeline: add TM_AddActionAfter 2018-07-05 22:31:18 +02:00
Sebastian Krzyszkowiak
4b4e6cc023 timeline: capitalise TM_ACTION macro to prevent confusion with function declaration 2018-06-30 16:37:43 +02:00
Sebastian Krzyszkowiak
c7fac39b79 timeline: use macros to get action name by default 2018-06-30 02:52:06 +02:00
Sebastian Krzyszkowiak
40bda569b9 timeline: rework API to better handle common use cases 2018-06-30 00:50:55 +02:00
Sebastian Krzyszkowiak
b9774052eb timeline: add TM_RunningOnly convienence macro 2018-06-29 23:00:58 +02:00
Sebastian Krzyszkowiak
a4a1c356df timeline: don't use ALLEGRO_TIMERs anymore, rely on delta time instead 2018-06-29 23:00:13 +02:00
Sebastian Krzyszkowiak
12faed0921 timeline: add TM_Action macro for defining action callbacks 2018-06-27 19:30:18 +02:00
Sebastian Krzyszkowiak
1c66f219d8 timeline: expose the delta value to actions 2018-06-27 19:00:48 +02:00
Sebastian Krzyszkowiak
52883755f1 timeline: initial API change for handling time delta 2018-05-30 03:10:03 +02:00
Sebastian Krzyszkowiak
2b1248ce14 clang-tidy support; clang-tidy and clang-format fixes 2017-09-10 21:35:14 +02:00
Sebastian Krzyszkowiak
3fe7df2982 timeline: make debug draw optional and automatic 2017-08-07 02:26:36 +02:00
Sebastian Krzyszkowiak
e9bd4eefa5 update license to GPLv3+ 2017-07-22 18:22:28 +02:00
Sebastian Krzyszkowiak
e0c422972b add TM_DrawDebug: debug view for timelines 2017-03-16 22:05:22 +01:00
Sebastian Krzyszkowiak
8bebe6c5e2 timeline: add new functions: TM_IsEmpty, TM_IsBackgroundEmpty, TM_SkipDelay 2016-09-04 03:06:26 +02:00
Sebastian Krzyszkowiak
686514fba5 fix memory leaks and other mem-bugs 2016-08-16 18:01:12 +02:00
Sebastian Krzyszkowiak
b8008d2872 librarization clean up 2016-07-03 00:43:32 +02:00
Sebastian Krzyszkowiak
46827594b4 import Radio Edit codebase 2016-06-27 21:20:02 +02:00
Sebastian Krzyszkowiak
25dcae6151 timeline: add TM_CleanQueue and TM_CleanBackgroundQueue functions 2015-03-18 02:48:56 +01:00
Sebastian Krzyszkowiak
937981a1df no more global timeline - from now on timelines can be instantiated! 2015-03-18 02:21:57 +01:00
Sebastian Krzyszkowiak
f73b9abd26 make TM_AddToArgs variadic function 2013-06-05 23:59:02 +02:00
Sebastian Krzyszkowiak
001ed62181 lots of level 1 tweaks 2013-06-05 23:20:55 +02:00
Sebastian Krzyszkowiak
194a81fa55 correctly define functions that take no arguments 2012-11-13 16:49:18 +01:00
Sebastian Krzyszkowiak
986378ec53 add start event to timeline manager 2012-09-29 02:34:42 +02:00
Sebastian Krzyszkowiak
4ec5686aac fix pausing timers in timeline manager 2012-09-26 23:28:16 +02:00
Sebastian Krzyszkowiak
d6b68a3740 refactor first level and timeline 2012-09-26 18:48:36 +02:00
Sebastian Krzyszkowiak
4bbbd1958f indentation fixes 2012-09-03 02:25:32 +02:00
Sebastian Krzyszkowiak
50e9bb8815 moar docs 2012-05-21 10:14:49 +02:00
Sebastian Krzyszkowiak
fe8fbcb425 move timeline actions and obstacle callbacks to separate files 2012-05-20 18:07:24 +02:00
Sebastian Krzyszkowiak
c6e3707ab4 moar documentation 2012-05-19 18:28:19 +02:00
Sebastian Krzyszkowiak
555cc0b9e0 use ANSI C gcc mode 2012-04-14 22:26:33 +02:00
Sebastian Krzyszkowiak
cd6e5a0ff9 support action names in timeline manager 2012-04-09 17:17:16 +02:00
Sebastian Krzyszkowiak
cf2bc20b68 implement and use TM_AddQueuedBackgroundAction 2012-04-09 12:55:04 +02:00
Sebastian Krzyszkowiak
4c039847a0 more work on first level 2012-04-08 23:25:14 +02:00
Sebastian Krzyszkowiak
efaa1803ea implement delays in timeline manager 2012-04-07 23:03:34 +02:00
Sebastian Krzyszkowiak
27ddfaafc9 revamp argument handling of timeline actions 2012-04-07 13:04:55 +02:00
Sebastian Krzyszkowiak
f1e26219c4 moar work on timeline 2012-04-06 23:32:15 +02:00
Sebastian Krzyszkowiak
90c20b0c1c introduce timeline manager, split moonwalk code from level code 2012-04-06 17:28:38 +02:00