papermario/include/messages.h
2021-02-10 13:45:00 +00:00

12 lines
231 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 << 16) + index))
#endif