2020-08-10 23:30:46 +02:00
|
|
|
#ifndef _TYPES_H_
|
|
|
|
#define _TYPES_H_
|
|
|
|
|
2020-08-19 02:21:04 +02:00
|
|
|
#include "ultra64.h"
|
|
|
|
|
2020-08-10 23:30:46 +02:00
|
|
|
#define UNK_TYPE s32
|
|
|
|
#define UNK_PTR void*
|
|
|
|
#define UNK_RET void
|
|
|
|
#define UNK_FUN_ARG void(*)(void)
|
|
|
|
#define UNK_FUN_PTR(name) void(*name)(void)
|
|
|
|
#define UNK_ARGS
|
|
|
|
|
2021-07-08 17:53:00 +02:00
|
|
|
typedef void (*StateFunc)(void);
|
2021-04-17 13:46:17 +02:00
|
|
|
|
2021-12-29 21:14:20 +01:00
|
|
|
typedef char* (*PrintCallback)(void*, const char*, u32);
|
2021-09-30 01:01:31 +02:00
|
|
|
|
2021-04-13 09:47:52 +02:00
|
|
|
/// Linker symbol address, as in `ld_addrs.h`.
|
|
|
|
typedef u8 Addr[];
|
|
|
|
|
2022-09-08 14:12:26 +02:00
|
|
|
#define BTL_NONE 0
|
|
|
|
#define BTL_DEFAULT_STAGE -1
|
2020-10-20 08:49:40 +02:00
|
|
|
|
2021-08-24 18:42:29 +02:00
|
|
|
/// Terminates an extraAnimationList
|
2022-09-11 18:23:47 +02:00
|
|
|
#define ANIM_LIST_END -1
|
2021-08-24 18:42:29 +02:00
|
|
|
|
2020-08-16 03:54:04 +02:00
|
|
|
#endif
|