papermario/include/messages.h

12 lines
233 B
C
Raw Normal View History

2020-10-20 07:48:47 +02:00
#ifndef _MESSAGES_H_
#define _MESSAGES_H_
#include "types.h"
typedef s32 MessageID;
2021-02-10 02:36:01 +01:00
// Prefer editing splat.yaml's msg ids section than using this directly!
2020-12-24 12:15:05 +01:00
#define MESSAGE_ID(section, index) (((section << 0x10) + index))
2020-10-20 07:48:47 +02:00
#endif