Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
os_time.h
Go to the documentation of this file.
1 #ifndef _ULTRA64_TIME_H_
2 #define _ULTRA64_TIME_H_
3 #include <PR/os_message.h>
4 
5 /* Types */
6 
7 typedef struct OSTimer_str
8 {
9  struct OSTimer_str *next;
10  struct OSTimer_str *prev;
13  OSMesgQueue *mq;
14  OSMesg *msg;
15 } OSTimer;
16 
17 typedef u64 OSTime;
18 
19 /* Functions */
20 
21 OSTime osGetTime(void);
22 void osSetTime(OSTime time);
23 u32 osSetTimer(OSTimer *, OSTime, u64, OSMesgQueue *, OSMesg);
24 
25 #endif
void osSetTime(OSTime time)
Definition: osSetTime.c:5
struct OSTimer_str * next
Definition: os_time.h:9
u64 remaining
Definition: os_time.h:12
unsigned long long int u64
Definition: ultratypes.h:18
struct OSTimer_str OSTimer
Definition: os_time.h:7
u64 interval
Definition: os_time.h:11
OSTime osGetTime(void)
Definition: osGetTime.c:6
struct OSTimer_str * prev
Definition: os_time.h:10
u64 OSTime
Definition: os_time.h:17
u32 osSetTimer(OSTimer *, OSTime, u64, OSMesgQueue *, OSMesg)
Definition: osSetTimer.c:5
OSMesgQueue * mq
Definition: os_time.h:13
unsigned int u32
Definition: ultratypes.h:16
OSMesg * msg
Definition: os_time.h:14