all repos — katbug @ bd4016931f91ffc084c96ad016996a91c7e96cbe

side-scrolling infinite arcade game in C with SDL 1.2

Timer.h (raw)

1
2
3
4
5
6
7
8
typedef struct timer
{
    int startTicks;

} Timer;

void timeStart(Timer* self);
int getTicks(Timer* self);