You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not managed by IM2 ISR, but from the main game loop - check for current_time.seconds changes
Tasks:
New data struct timer_data_s: counter, state and initial state (running, stopped)
New global table all_timers
New functions: timer_init (called at program initialization), timer_reset (called on game initialization and in FLOW action), timer_start (called at game start and in flow action), timer_stop (called in flow action), timer_update_all_timers (called from main game loop), timer_reset_all_timers (called on game initialization)
Allow definition of game timers:
Tasks:
struct timer_data_s
: counter, state and initial state (running, stopped)all_timers
timer_init
(called at program initialization),timer_reset
(called on game initialization and in FLOW action),timer_start
(called at game start and in flow action),timer_stop
(called in flow action),timer_update_all_timers
(called from main game loop),timer_reset_all_timers
(called on game initialization)The text was updated successfully, but these errors were encountered: