mirror of
https://github.com/n64decomp/mk64
synced 2026-05-24 15:01:10 -04:00
17a6f4bb3d
* update clang and add action * try clang on course folder only * forget two file * Update course_displaylists.inc.c * forget few other file * Update course_vertices.inc.c * format all code while get it match * second pass * format other dir * disable clang format on bad ido code * fix some tabulation * revert format on tool dir * Update clang-format.yml * ignore gbi.h * add some read me instruction * fix error * format and fixing error * Update README.md --------- Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
27 lines
455 B
C
27 lines
455 B
C
#ifndef _ULTRA64_TIME_H_
|
|
#define _ULTRA64_TIME_H_
|
|
|
|
#include <PR/ultratypes.h>
|
|
#include <PR/os_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
|