Files
tp/include/global.h
T

23 lines
423 B
C
Raw Normal View History

#ifndef _global_h_
#define _global_h_
2020-11-30 14:26:55 -08:00
#define ARRAY_SIZE(o) (sizeof((o)) / sizeof(*(o)))
2020-12-26 11:31:49 -05:00
struct Vec {
float x, y, z;
2020-12-13 12:43:16 -08:00
};
#include "dolphin/types.h"
#include "functions.h"
2021-01-03 05:15:12 +01:00
#include "mwcc.h"
2020-12-26 11:31:49 -05:00
#include "os/OS.h"
#include "variables.h"
2020-12-31 21:12:29 +01:00
// hack to make functions that return comparisons as int match
extern int __cntlzw(unsigned int);
inline BOOL checkEqual(s32 a, s32 b) {
return (u32)__cntlzw(a - b) >> 5;
}
#endif