mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-20 13:23:45 -07:00
Improvement: Additional Spoiler Hint Info (#2727)
* First attempt at tracking hinted locations. Not looking promising for more than a hint tracker. * Spoiler log now generates with human-readable hinted area, type, and item for gossip stone hints. * Hints now only output location if their hint text specifically states the check. Any overworld or dungeon region hint no longer does. * Expanded gossip stone hints to include item, hinted location and area, and `RandomizerGet` names. Currently only English names. Part of this required changing `HintType` into a `typedef enum` instead of an `enum class` to allow usage in a .c filespace, and consolidating types from `randomizer_check_objects.h` to `randomizerTypes.h`. * Beginning of alter rewards information. * Step 2 of altar reward info. * Altar reward info (location and area) now writes to and reads from the spoiler log. Added a few entries to `SpoilerfileAreaNameToEnum` to accommodate area name variants from region hint names. * Streamlined altar data (only needed location name for `RandomizerCheck` translation. `RandomizerCheck` provides access to `RandomizerCheckArea` via `RandomizerCheckObject`). Added Light Arrows, Greg, and Dampe's Hookshot hint locations to write and read of the spoiler. * Fix attempts to lookup values in `hintTypeNames` as array, now uses map's `find()`.
This commit is contained in:
parent
f976003563
commit
c9bcd64beb
8 changed files with 356 additions and 188 deletions
|
@ -155,6 +155,10 @@ typedef struct {
|
|||
|
||||
typedef struct {
|
||||
RandomizerCheck check;
|
||||
RandomizerCheck hintedCheck;
|
||||
RandomizerGet rGet;
|
||||
RandomizerCheckArea area;
|
||||
HintType type;
|
||||
char hintText[200];
|
||||
} HintLocationRando;
|
||||
|
||||
|
@ -298,6 +302,7 @@ typedef struct {
|
|||
/* */ EntranceOverride entranceOverrides[ENTRANCE_OVERRIDES_MAX_COUNT];
|
||||
/* */ char childAltarText[250];
|
||||
/* */ char adultAltarText[750];
|
||||
/* */ RandomizerCheck rewardCheck[9];
|
||||
/* */ char ganonHintText[150];
|
||||
/* */ char gregHintText[250];
|
||||
/* */ char ganonText[250];
|
||||
|
@ -308,6 +313,9 @@ typedef struct {
|
|||
/* */ char warpRequiemText[100];
|
||||
/* */ char warpNocturneText[100];
|
||||
/* */ char warpPreludeText[100];
|
||||
/* */ RandomizerCheck ganonHintCheck;
|
||||
/* */ RandomizerCheck gregCheck;
|
||||
/* */ RandomizerCheck dampeCheck;
|
||||
/* */ u8 seedIcons[5];
|
||||
/* */ u16 randomizerInf[9];
|
||||
/* */ u16 adultTradeItems;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue