mirror of
https://github.com/pmret/papermario.git
synced 2024-11-09 12:32:38 +01:00
d0be37641b
* git subrepo pull (merge) --force tools/splat subrepo: subdir: "tools/splat" merged: "5d7a6c0813" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "5d7a6c0813" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" * configure: add --no-warn * clean up hud_element.h * fix some warnings
24 lines
481 B
C
24 lines
481 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);
|
|
|
|
/// Linker symbol address, as in `ld_addrs.h`.
|
|
typedef u8 Addr[];
|
|
|
|
#define BATTLE_ID(unk, area, stage, index) ((unk << 24) + (area << 16) + (stage << 8) + index)
|
|
|
|
/// Terminates an extraAnimationList
|
|
#define ANIM_END -1
|
|
|
|
#endif
|