mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-25 17:54:15 +00:00
3d050f2861
* Decompile a bunch of small files * Rename dacrate to dacRate * Run format.sh * Minor fixes in PR #160
28 lines
451 B
C
28 lines
451 B
C
#ifndef _ULTRA64_TIME_H_
|
|
#define _ULTRA64_TIME_H_
|
|
|
|
#include <ultra64/os_message.h>
|
|
|
|
/* Types */
|
|
|
|
typedef u64 OSTime;
|
|
|
|
typedef struct OSTimer_s
|
|
{
|
|
struct OSTimer_s *next;
|
|
struct OSTimer_s *prev;
|
|
OSTime interval;
|
|
OSTime value;
|
|
OSMesgQueue *mq;
|
|
OSMesg msg;
|
|
} OSTimer;
|
|
|
|
|
|
/* Functions */
|
|
|
|
OSTime osGetTime(void);
|
|
|
|
int osSetTimer(OSTimer *timer, OSTime countdown, OSTime interval, OSMesgQueue *mq, OSMesg msg);
|
|
s32 osStopTimer(OSTimer *timer);
|
|
|
|
#endif
|