mirror of
https://github.com/pmret/papermario.git
synced 2024-11-08 20:12:30 +01:00
70d3b7b3a8
* minor NPC fixup * most var type renames * rest of var names * remove deprecated * var types cleanup * fixed -> float 1 * fixed -> float 2 * fixed -> float 3 * fixed -> float 4 * evt fixed removed * localvar shorthand * missing byte names * missing flag names * evt var cleanup * local var shorthand redux * minor cleanup * mario anim name * item ranges cleanup * player anim names * all message names * renames for existing * remove unused enum * squash msg ids * again * all message refs replaced * area headers * idk * also merged * remove superfluous parens Co-authored-by: HailSanta <Hail2Santa@gmail.com>
27 lines
497 B
C
27 lines
497 B
C
#ifndef _TYPES_H_
|
|
#define _TYPES_H_
|
|
|
|
#include "ultra64.h"
|
|
|
|
#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
|
|
|
|
typedef void (*StateFunc)(void);
|
|
|
|
typedef char* (*PrintCallback)(void*, const char*, u32);
|
|
|
|
/// Linker symbol address, as in `ld_addrs.h`.
|
|
typedef u8 Addr[];
|
|
|
|
#define BTL_NONE 0
|
|
#define BTL_DEFAULT_STAGE -1
|
|
|
|
/// Terminates an extraAnimationList
|
|
#define ANIM_LIST_END -1
|
|
|
|
#endif
|