forked from snesrev/zelda3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
messaging.h
141 lines (140 loc) · 4.95 KB
/
messaging.h
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
#pragma once
#include "types.h"
const uint8 *GetDungmapFloorLayout();
uint8 GetOtherDungmapInfo(int count);
void DungMap_4();
const uint8 *GetCurrentTextPtr();
void Module_Messaging_6();
void OverworldMap_SetupHdma();
const uint8 *GetLightOverworldTilemap();
void SaveGameFile();
void TransferMode7Characters();
void Module0E_Interface();
void Module_Messaging_0();
void Module0E_05_DesertPrayer();
void Module0E_04_RedPotion();
void Module0E_08_GreenPotion();
void Module0E_09_BluePotion();
void Module0E_0B_SaveMenu();
void Module1B_SpawnSelect();
void CleanUpAndPrepDesertPrayerHDMA();
void DesertPrayer_InitializeIrisHDMA();
void DesertPrayer_BuildIrisHDMATable();
Pair16U DesertHDMA_CalculateIrisShapeLine();
void Animate_GAMEOVER_Letters();
void GameOverText_SweepLeft();
void GameOverText_UnfurlRight();
void Module12_GameOver();
void GameOver_AdvanceImmediately();
void Death_Func1();
void GameOver_DelayBeforeIris();
void GameOver_IrisWipe();
void GameOver_SplatAndFade();
void Death_Func6();
void Death_Func4();
void Animate_GAMEOVER_Letters_bounce();
void GameOver_Finalize_GAMEOVR();
void GameOver_SaveAndOrContinue();
void Death_Func15(bool count_as_death);
void GameOver_AnimateChoiceFairy();
void GameOver_InitializeRevivalFairy();
void RevivalFairy_Main_bounce();
void GameOver_RiseALittle();
void GameOver_Restore0D();
void GameOver_Restore0E();
void GameOver_ResituateLink();
void Module0E_0A_FluteMenu();
void FluteMenu_HandleSelection();
void FluteMenu_LoadSelectedScreen();
void Overworld_LoadOverlayAndMap();
void FluteMenu_FadeInAndQuack();
void BirdTravel_Finish_Doit();
void Messaging_OverworldMap();
void WorldMap_FadeOut();
void WorldMap_LoadLightWorldMap();
void WorldMap_LoadDarkWorldMap();
void WorldMap_LoadSpriteGFX();
void WorldMap_Brighten();
void WorldMap_PlayerControl();
void WorldMap_RestoreGraphics();
void Attract_SetUpConclusionHDMA();
void WorldMap_ExitMap();
void WorldMap_SetUpHDMA();
void WorldMap_FillTilemapWithEF();
void WorldMap_HandleSprites();
bool WorldMap_CalculateOamCoordinates(PointU8 *pt);
void WorldMap_HandleSpriteBlink(int spr, uint8 r11_ext, uint8 r12_flags, uint8 r13_char, uint8 r14_x, uint8 r15_y);
bool OverworldMap_CheckForPendant(int k);
bool OverworldMap_CheckForCrystal(int k);
void Module0E_03_DungeonMap();
void Module0E_03_01_DrawMap();
void Module0E_03_01_00_PrepMapGraphics();
void Module0E_03_01_01_DrawLEVEL();
void Module0E_03_01_02_DrawFloorsBackdrop();
void DungeonMap_BuildFloorListBoxes(uint8 t5, uint16 r14);
void Module0E_03_01_03_DrawRooms();
void DungeonMap_DrawBorderForRooms(uint16 pd, uint16 mask);
void DungeonMap_DrawFloorNumbersByRoom(uint16 pd, uint16 r8);
void DungeonMap_DrawDungeonLayout(int pd);
void DungeonMap_DrawSingleRowOfRooms(int i, int arg_x);
void DungeonMap_DrawRoomMarkers();
void DungeonMap_HandleInputAndSprites();
void DungeonMap_HandleInput();
void DungeonMap_HandleMovementInput();
void DungeonMap_HandleFloorSelect();
void DungeonMap_ScrollFloors();
void DungeonMap_DrawSprites();
void DungeonMap_DrawLinkPointing(int spr_pos, uint8 r2, uint8 r3);
int DungeonMap_DrawBlinkingIndicator(int spr_pos);
int DungeonMap_DrawLocationMarker(int spr_pos, uint16 r14);
int DungeonMap_DrawFloorNumberObjects(int spr_pos);
void DungeonMap_DrawFloorBlinker();
int DungeonMap_DrawBossIcon(int spr_pos);
int DungeonMap_DrawBossIconByFloor(int spr_pos);
void DungeonMap_RecoverGFX();
void ToggleStarTilesAndAdvance();
void Death_InitializeGameOverLetters();
void CopySaveToWRAM();
void RenderText();
void RenderText_PostDeathSaveOptions();
void Text_Initialize();
void Text_Initialize_initModuleStateLoop();
void Text_InitVwfState();
void Text_LoadCharacterBuffer();
uint8 *Text_WritePlayerName(uint8 *p);
uint8 Text_FilterPlayerNameCharacters(uint8 a);
void Text_Render();
void RenderText_Draw_Border();
void RenderText_Draw_BorderIncremental();
void RenderText_Draw_CharacterTilemap();
void RenderText_Draw_MessageCharacters();
void RenderText_Draw_Finish();
void RenderText_Draw_RenderCharacter_All();
void VWF_RenderSingle();
void VWF_RenderCharacter();
void RenderText_Draw_Choose2LowOr3();
void RenderText_Draw_ChooseItem();
void RenderText_FindYItem_Previous();
void RenderText_FindYItem_Next();
void RenderText_DrawSelectedYItem();
void RenderText_Draw_Choose2HiOr3();
void RenderText_Draw_Choose3();
void RenderText_Draw_Choose1Or2();
void RenderText_Draw_Scroll();
void RenderText_Draw_Command7B();
void RenderText_Draw_ABunchOfSpaces();
void RenderText_Draw_EmptyBuffer();
void RenderText_SetDefaultWindowPosition();
void RenderText_DrawBorderInitialize();
uint16 *RenderText_DrawBorderRow(uint16 *d, int y);
void Text_BuildCharacterTilemap();
void RenderText_Refresh();
void Text_GenerateMessagePointers();
void DungMap_LightenUpMap();
void DungMap_Backup();
void DungMap_FadeMapToBlack();
void DungMap_RestoreOld();
void Death_PlayerSwoon();
void Death_PrepFaint();
void DisplaySelectMenu();
bool DidPressButtonForMap();