blob: 7a9f545eae3d71cc427291b19d768bfc7bc89553 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef D_ACTOR_INFO_H
#define D_ACTOR_INFO_H
#include "common.h"
/**
* profileId and profileId2 are always the same.
*/
struct ActorInfo {
/* 0x00 */ const char *name;
/* 0x04 */ u16 profileId;
/* 0x06 */ u16 profileId2;
/* 0x08 */ u16 fiTextEntryId; // also used for kill counters
/* 0x0A */ s8 soundSourceType;
/* 0x0B */ u8 subtype;
};
const ActorInfo *getActorInfoByName(const char *name);
u16 getProfileIdForName(const char *name);
u16 getProfileId2ForName(const char *name);
const char *getNameForProfileId(u32 profileId);
const char *getActorName(const ActorInfo *actorInfo);
const ActorInfo *getActorInfoByProfileAndSubtype(u32 profileId, u32 subtype);
s32 getSoundSourceTypeForName(const char *name);
#endif
|