mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-06-21 07:42:19 -04:00
8cc9fc069c
* Create chraicommands.c * Move include to src/include * Use .o files next to each .c file
26 lines
423 B
C
26 lines
423 B
C
#ifndef _ULTRA64_TIME_H_
|
|
#define _ULTRA64_TIME_H_
|
|
#include "message.h"
|
|
|
|
/* Types */
|
|
|
|
typedef struct OSTimer_str
|
|
{
|
|
struct OSTimer_str *next;
|
|
struct OSTimer_str *prev;
|
|
u64 interval;
|
|
u64 remaining;
|
|
OSMesgQueue *mq;
|
|
OSMesg *msg;
|
|
} OSTimer;
|
|
|
|
typedef u64 OSTime;
|
|
|
|
/* Functions */
|
|
|
|
OSTime osGetTime(void);
|
|
void osSetTime(OSTime time);
|
|
u32 osSetTimer(OSTimer *, OSTime, u64, OSMesgQueue *, OSMesg);
|
|
|
|
#endif
|