mirror of
https://github.com/izzy2lost/2ship2harkinian-Android.git
synced 2026-06-19 01:20:08 -07:00
Rename elf_message to QuestHint (sync with oot) (#1124)
* rename elf_message to QuestHint * port more things and review * command arg name * Update include/z64scene.h Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * Update src/code/z_scene.c Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com> Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com>
This commit is contained in:
co-authored by
engineer124
EllipticEllipsis
parent
bd373940ac
commit
29a7a6714a
+1
-1
@@ -1263,7 +1263,7 @@ void SoundSource_InitAll(PlayState* play);
|
||||
void SoundSource_UpdateAll(PlayState* play);
|
||||
void SoundSource_PlaySfxAtFixedWorldPos(PlayState* play, Vec3f* worldPos, u32 duration, u16 sfxId);
|
||||
void SoundSource_PlaySfxEachFrameAtFixedWorldPos(PlayState* play, Vec3f* worldPos, u32 duration, u16 sfxId);
|
||||
u16 ElfMessage_GetFirstCycleHint(PlayState* play);
|
||||
u16 QuestHint_GetTatlTextId(PlayState* play);
|
||||
|
||||
u16 Text_GetFaceReaction(PlayState* play, u32 reactionSet);
|
||||
void EnvFlags_UnsetAll(PlayState* play);
|
||||
|
||||
+1
-1
@@ -1067,7 +1067,7 @@ struct PlayState {
|
||||
/* 0x1885C */ EntranceEntry* setupEntranceList;
|
||||
/* 0x18860 */ u16* setupExitList;
|
||||
/* 0x18864 */ Path* setupPathList;
|
||||
/* 0x18868 */ void* unk_18868;
|
||||
/* 0x18868 */ void* naviQuestHints; // leftover from OoT, system which processes this is removed
|
||||
/* 0x1886C */ AnimatedMaterial* sceneMaterialAnims;
|
||||
/* 0x18870 */ void* specialEffects;
|
||||
/* 0x18874 */ u8 skyboxId;
|
||||
|
||||
+11
-3
@@ -67,7 +67,7 @@ typedef struct {
|
||||
|
||||
typedef struct {
|
||||
/* 0x0 */ u8 code;
|
||||
/* 0x1 */ u8 cUpElfMsgNum;
|
||||
/* 0x1 */ u8 naviQuestHintFileId;
|
||||
/* 0x4 */ u32 subKeepIndex;
|
||||
} SCmdSpecialFiles; // size = 0x8
|
||||
|
||||
@@ -825,6 +825,14 @@ typedef enum {
|
||||
/* 7 */ SCENE_DRAW_CFG_MAT_ANIM_MANUAL_STEP
|
||||
} SceneDrawConfigIds;
|
||||
|
||||
// TODO: make ZAPD use this enum for `SCENE_CMD_SPECIAL_FILES`
|
||||
// Leftover from OoT
|
||||
typedef enum {
|
||||
/* 0 */ NAVI_QUEST_HINTS_NONE,
|
||||
/* 1 */ NAVI_QUEST_HINTS_OVERWORLD,
|
||||
/* 2 */ NAVI_QUEST_HINTS_DUNGEON
|
||||
} NaviQuestHintFileId;
|
||||
|
||||
// SceneTableEntry commands
|
||||
typedef enum {
|
||||
/* 0x00 */ SCENE_CMD_ID_SPAWN_LIST,
|
||||
@@ -882,8 +890,8 @@ typedef enum {
|
||||
#define SCENE_CMD_ENTRANCE_LIST(entranceList) \
|
||||
{ SCENE_CMD_ID_ENTRANCE_LIST, 0, CMD_PTR(entranceList) }
|
||||
|
||||
#define SCENE_CMD_SPECIAL_FILES(elfMessageFile, keepObjectId) \
|
||||
{ SCENE_CMD_ID_SPECIAL_FILES, elfMessageFile, CMD_W(keepObjectId) }
|
||||
#define SCENE_CMD_SPECIAL_FILES(naviQuestHintFileId, keepObjectId) \
|
||||
{ SCENE_CMD_ID_SPECIAL_FILES, naviQuestHintFileId, CMD_W(keepObjectId) }
|
||||
|
||||
#define SCENE_CMD_ROOM_BEHAVIOR(curRoomUnk3, curRoomUnk2, curRoomUnk5, msgCtxunk12044, enablePosLights, \
|
||||
kankyoContextUnkE2) \
|
||||
|
||||
Reference in New Issue
Block a user