mirror of
https://github.com/zeldaret/oot
synced 2026-09-06 10:55:27 -04:00
[headers] Create one_point_cutscene.h, z64olib.h and move stuff to z64{object,player,scene}.h (#2250)
* [headers] Create `one_point_cutscene.h`, `z64olib.h` and move stuff to `z64{object,player,scene}.h`
* bss
* sSceneCmdHandlers
* bss
* bss
This commit is contained in:
+4
-3
@@ -2,6 +2,7 @@
|
||||
#include "terminal.h"
|
||||
#include "versions.h"
|
||||
|
||||
SceneCmdHandlerFunc sSceneCmdHandlers[SCENE_CMD_ID_MAX];
|
||||
RomFile sNaviQuestHintFiles[];
|
||||
|
||||
/**
|
||||
@@ -191,8 +192,8 @@ s32 Scene_ExecuteCommands(PlayState* play, SceneCmd* sceneCmd) {
|
||||
break;
|
||||
}
|
||||
|
||||
if (cmdCode < ARRAY_COUNT(gSceneCmdHandlers)) {
|
||||
gSceneCmdHandlers[cmdCode](play, sceneCmd);
|
||||
if (cmdCode < ARRAY_COUNT(sSceneCmdHandlers)) {
|
||||
sSceneCmdHandlers[cmdCode](play, sceneCmd);
|
||||
} else {
|
||||
PRINTF(VT_FGCOL(RED));
|
||||
PRINTF(T("code の値が異常です\n", "code variable is abnormal\n"));
|
||||
@@ -515,7 +516,7 @@ void Scene_SetTransitionForNextEntrance(PlayState* play) {
|
||||
play->transitionType = ENTRANCE_INFO_START_TRANS_TYPE(gEntranceTable[entranceIndex].field);
|
||||
}
|
||||
|
||||
SceneCmdHandlerFunc gSceneCmdHandlers[SCENE_CMD_ID_MAX] = {
|
||||
SceneCmdHandlerFunc sSceneCmdHandlers[SCENE_CMD_ID_MAX] = {
|
||||
Scene_CommandPlayerEntryList, // SCENE_CMD_ID_SPAWN_LIST
|
||||
Scene_CommandActorEntryList, // SCENE_CMD_ID_ACTOR_LIST
|
||||
Scene_CommandUnused2, // SCENE_CMD_ID_UNUSED_2
|
||||
|
||||
Reference in New Issue
Block a user