project for a (works on my devices) demo

This commit is contained in:
beno
2026-03-13 16:48:03 +01:00
parent 0c0b42fbd0
commit 7ca7ec5d61
38 changed files with 4797 additions and 62 deletions

16
headers/glut_timers.h Normal file
View File

@@ -0,0 +1,16 @@
#pragma once
/* list of timers, no way to identify them, so no prunability outside of their exhaustion */
typedef struct timer_list_entry_t {
int remaining_ms;
void (*callback) (int);
struct timer_list_entry_t* next;
} timer_list_entry ;
void timers_add( timer_list_entry *toAdd);
void decrease_timers();
int timers_isEmpty();
int timers_isUpdating();