papermario/include/messages.h
2021-02-10 01:36:01 +00:00

12 lines
233 B
C

#ifndef _MESSAGES_H_
#define _MESSAGES_H_
#include "types.h"
typedef s32 MessageID;
// Prefer editing splat.yaml's msg ids section than using this directly!
#define MESSAGE_ID(section, index) (((section << 0x10) + index))
#endif