mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-29 04:42:18 -05:00
Merge branch 'develop-rachael' into rachael-zhora
# Conflicts: # libultraship/libultraship/ImGuiImpl.cpp
This commit is contained in:
commit
53229f0905
@ -897,10 +897,12 @@ namespace SohImGui {
|
|||||||
|
|
||||||
if (ImGui::BeginMenu("Graphics"))
|
if (ImGui::BeginMenu("Graphics"))
|
||||||
{
|
{
|
||||||
|
#ifndef __APPLE__
|
||||||
EnhancementSliderFloat("Internal Resolution: %d %%", "##IMul", "gInternalResolution", 0.5f, 2.0f, "", 1.0f, true);
|
EnhancementSliderFloat("Internal Resolution: %d %%", "##IMul", "gInternalResolution", 0.5f, 2.0f, "", 1.0f, true);
|
||||||
Tooltip("Multiplies your output resolution by the value inputted, as a more intensive but effective form of anti-aliasing");
|
Tooltip("Multiplies your output resolution by the value inputted, as a more intensive but effective form of anti-aliasing");
|
||||||
gfx_current_dimensions.internal_mul = CVar_GetFloat("gInternalResolution", 1);
|
gfx_current_dimensions.internal_mul = CVar_GetFloat("gInternalResolution", 1);
|
||||||
EnhancementSliderInt("MSAA: %d", "##IMSAA", "gMSAAValue", 1, 8, "");
|
#endif
|
||||||
|
EnhancementSliderInt("MSAA: %d", "##IMSAA", "gMSAAValue", 1, 8, "", 1, true);
|
||||||
Tooltip("Activates multi-sample anti-aliasing when above 1x up to 8x for 8 samples for every pixel");
|
Tooltip("Activates multi-sample anti-aliasing when above 1x up to 8x for 8 samples for every pixel");
|
||||||
gfx_msaa_level = CVar_GetS32("gMSAAValue", 1);
|
gfx_msaa_level = CVar_GetS32("gMSAAValue", 1);
|
||||||
|
|
||||||
|
@ -2651,7 +2651,11 @@ void gfx_init(struct GfxWindowManagerAPI *wapi, struct GfxRenderingAPI *rapi, co
|
|||||||
gfx_wapi->init(game_name, start_in_fullscreen, width, height);
|
gfx_wapi->init(game_name, start_in_fullscreen, width, height);
|
||||||
gfx_rapi->init();
|
gfx_rapi->init();
|
||||||
gfx_rapi->update_framebuffer_parameters(0, width, height, 1, false, true, true, true);
|
gfx_rapi->update_framebuffer_parameters(0, width, height, 1, false, true, true, true);
|
||||||
|
#ifdef __APPLE__
|
||||||
|
gfx_current_dimensions.internal_mul = 1;
|
||||||
|
#else
|
||||||
gfx_current_dimensions.internal_mul = CVar_GetFloat("gInternalResolution", 1);
|
gfx_current_dimensions.internal_mul = CVar_GetFloat("gInternalResolution", 1);
|
||||||
|
#endif
|
||||||
gfx_msaa_level = CVar_GetS32("gMSAAValue", 1);
|
gfx_msaa_level = CVar_GetS32("gMSAAValue", 1);
|
||||||
gfx_current_dimensions.width = width;
|
gfx_current_dimensions.width = width;
|
||||||
gfx_current_dimensions.height = height;
|
gfx_current_dimensions.height = height;
|
||||||
|
@ -356,7 +356,20 @@ typedef struct {
|
|||||||
/* 0x00 */ s32 active;
|
/* 0x00 */ s32 active;
|
||||||
/* 0x04 */ Vec3f tip;
|
/* 0x04 */ Vec3f tip;
|
||||||
/* 0x10 */ Vec3f base;
|
/* 0x10 */ Vec3f base;
|
||||||
} WeaponInfo; // size = 0x1C
|
} WeaponInfo; // size = 0x1C\
|
||||||
|
|
||||||
|
typedef enum {
|
||||||
|
FLAG_NONE,
|
||||||
|
FLAG_SCENE_SWITCH,
|
||||||
|
FLAG_SCENE_TREASURE,
|
||||||
|
FLAG_SCENE_CLEAR,
|
||||||
|
FLAG_SCENE_COLLECTIBLE,
|
||||||
|
} FlagType;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
/* 0x00 */ s32 flagID; // which flag to set when Player_SetPendingFlag is called
|
||||||
|
/* 0x04 */ FlagType flagType; // type of flag to set when Player_SetPendingFlag is called
|
||||||
|
} PendingFlag; // size = 0x06
|
||||||
|
|
||||||
#define PLAYER_STATE1_0 (1 << 0)
|
#define PLAYER_STATE1_0 (1 << 0)
|
||||||
#define PLAYER_STATE1_1 (1 << 1)
|
#define PLAYER_STATE1_1 (1 << 1)
|
||||||
@ -612,6 +625,7 @@ typedef struct Player {
|
|||||||
/* 0x0A86 */ s8 unk_A86;
|
/* 0x0A86 */ s8 unk_A86;
|
||||||
/* 0x0A87 */ u8 unk_A87;
|
/* 0x0A87 */ u8 unk_A87;
|
||||||
/* 0x0A88 */ Vec3f unk_A88; // previous body part 0 position
|
/* 0x0A88 */ Vec3f unk_A88; // previous body part 0 position
|
||||||
} Player; // size = 0xA94
|
/* 0x0A94 */ PendingFlag pendingFlag;
|
||||||
|
} Player; // size = 0xAA0
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -82,6 +82,24 @@
|
|||||||
<Filter Include="Source Files\soh\Enhancements\debugger">
|
<Filter Include="Source Files\soh\Enhancements\debugger">
|
||||||
<UniqueIdentifier>{04fc1c52-49ff-48e2-ae23-2c00867374f8}</UniqueIdentifier>
|
<UniqueIdentifier>{04fc1c52-49ff-48e2-ae23-2c00867374f8}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
|
<Filter Include="Source Files\soh\Enhancements\randomizer">
|
||||||
|
<UniqueIdentifier>{fd63976d-64b1-45ee-b3ab-530c636391c3}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Source Files\soh\Enhancements\randomizer\3drando">
|
||||||
|
<UniqueIdentifier>{ff94f63c-a792-49af-869b-42557318a32b}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Source Files\soh\Enhancements\randomizer\3drando\hint_list">
|
||||||
|
<UniqueIdentifier>{1ba82a8d-b7d9-4f79-b80b-389322e189bc}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Source Files\soh\Enhancements\randomizer\3drando\location_access">
|
||||||
|
<UniqueIdentifier>{9e20d69b-6a26-48ef-9aae-09c149b2c459}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Header Files\soh\Enhancements\randomizer">
|
||||||
|
<UniqueIdentifier>{d7b4c12f-3876-40ec-a8ec-db435513156c}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Header Files\soh\Enhancements\randomizer\3drando">
|
||||||
|
<UniqueIdentifier>{38ae4e39-fade-4f81-bfdb-af83bf641df0}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="src\boot\assert.c">
|
<ClCompile Include="src\boot\assert.c">
|
||||||
@ -2206,172 +2224,172 @@
|
|||||||
<Filter>Header Files\include</Filter>
|
<Filter>Header Files\include</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\hint_list\hint_list_exclude_dungeon.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\hint_list\hint_list_exclude_dungeon.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando\hint_list</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\hint_list\hint_list_exclude_overworld.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\hint_list\hint_list_exclude_overworld.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando\hint_list</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\hint_list\hint_list_item.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\hint_list\hint_list_item.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando\hint_list</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_bottom_of_the_well.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_bottom_of_the_well.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando\location_access</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_castle_town.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_castle_town.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando\location_access</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_death_mountain.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_death_mountain.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando\location_access</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_deku_tree.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_deku_tree.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando\location_access</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_dodongos_cavern.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_dodongos_cavern.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando\location_access</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_fire_temple.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_fire_temple.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando\location_access</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_forest_temple.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_forest_temple.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando\location_access</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_ganons_castle.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_ganons_castle.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando\location_access</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_gerudo_training_grounds.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_gerudo_training_grounds.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando\location_access</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_gerudo_valley.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_gerudo_valley.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando\location_access</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_hyrule_field.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_hyrule_field.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando\location_access</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_ice_cavern.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_ice_cavern.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando\location_access</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_jabujabus_belly.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_jabujabus_belly.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando\location_access</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_kakariko.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_kakariko.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando\location_access</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_lost_woods.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_lost_woods.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando\location_access</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_shadow_temple.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_shadow_temple.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando\location_access</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_spirit_temple.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_spirit_temple.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando\location_access</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_water_temple.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_water_temple.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando\location_access</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_zoras_domain.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access\locacc_zoras_domain.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando\location_access</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\cosmetics.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\cosmetics.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\custom_messages.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\custom_messages.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\debug.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\debug.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\dungeon.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\dungeon.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\entrance.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\entrance.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\fill.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\fill.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\hints.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\hints.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\hint_list.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\hint_list.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\item.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\item.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\item_list.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\item_list.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\item_location.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\item_location.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\item_pool.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\item_pool.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\location_access.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\logic.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\logic.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\menu.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\menu.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\music.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\music.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\patch.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\patch.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\playthrough.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\playthrough.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\preset.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\preset.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\random.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\random.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\rando_main.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\rando_main.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\settings.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\settings.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\setting_descriptions.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\setting_descriptions.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\shops.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\shops.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\sound_effects.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\sound_effects.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\spoiler_log.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\spoiler_log.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\starting_inventory.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\starting_inventory.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\tinyxml2.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\tinyxml2.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\trial.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\trial.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\3drando\utils.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\3drando\utils.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\randomizer.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\randomizer.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\randomizer.h">
|
<ClCompile Include="soh\Enhancements\randomizer\randomizer.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\gfx.c">
|
<ClCompile Include="soh\Enhancements\gfx.c">
|
||||||
<Filter>Header Files\soh\Enhancements</Filter>
|
<Filter>Header Files\soh\Enhancements</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="soh\Enhancements\randomizer\randomizer_item_tracker.cpp">
|
<ClCompile Include="soh\Enhancements\randomizer\randomizer_item_tracker.cpp">
|
||||||
<Filter>Source Files\src</Filter>
|
<Filter>Source Files\soh\Enhancements\randomizer</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
@ -3945,118 +3963,118 @@
|
|||||||
<Filter>Header Files\include</Filter>
|
<Filter>Header Files\include</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\category.hpp">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\category.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\cosmetics.hpp">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\cosmetics.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\custom_messages.hpp">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\custom_messages.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\debug.hpp">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\debug.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\dungeon.hpp">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\dungeon.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\entrance.hpp">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\entrance.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\fill.hpp">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\fill.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\hints.hpp">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\hints.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\hint_list.hpp">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\hint_list.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\item.hpp">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\item.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\item_list.hpp">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\item_list.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\item_location.hpp">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\item_location.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\item_pool.hpp">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\item_pool.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\keys.hpp">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\keys.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\location_access.hpp">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\location_access.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\logic.hpp">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\logic.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\menu.hpp">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\menu.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\music.hpp">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\music.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\patch.hpp">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\patch.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\playthrough.hpp">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\playthrough.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\pool_functions.hpp">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\pool_functions.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\preset.hpp">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\preset.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\random.hpp">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\random.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\randomizer.hpp">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\randomizer.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\rando_main.hpp">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\rando_main.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\settings.hpp">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\settings.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\setting_descriptions.hpp">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\setting_descriptions.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\shops.hpp">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\shops.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\sound_effects.hpp">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\sound_effects.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\spoiler_log.hpp">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\spoiler_log.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\starting_inventory.hpp">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\starting_inventory.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\text.hpp">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\text.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\tinyxml2.h">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\tinyxml2.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\trial.hpp">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\trial.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\3drando\utils.hpp">
|
<ClInclude Include="soh\Enhancements\randomizer\3drando\utils.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer\3drando</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\randomizerTypes.h">
|
<ClInclude Include="soh\Enhancements\randomizer\randomizerTypes.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\gfx.h">
|
<ClInclude Include="soh\Enhancements\gfx.h">
|
||||||
<Filter>Header Files\soh\Enhancements</Filter>
|
<Filter>Header Files\soh\Enhancements</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="soh\Enhancements\randomizer\randomizer_item_tracker.h">
|
<ClInclude Include="soh\Enhancements\randomizer\randomizer_item_tracker.h">
|
||||||
<Filter>Source Files\src</Filter>
|
<Filter>Header Files\soh\Enhancements\randomizer</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -2102,7 +2102,7 @@ void HintTable_Init() {
|
|||||||
|
|
||||||
hintTable[GANON_LINE07] = HintText::GanonLine({
|
hintTable[GANON_LINE07] = HintText::GanonLine({
|
||||||
//obscure text
|
//obscure text
|
||||||
Text{"What about Zelda makes you think she'd be a better ruler than I?^I saved Lon Lon Ranch,&fed the hungry,&and my castle floats.",
|
Text{"What about Zelda makes you think&she'd be a better ruler than I?^I saved Lon Lon Ranch,&fed the hungry,&and my castle floats.",
|
||||||
/*french*/"Zelda ne sera jamais un meilleur monarque que moi!^J'ai un château volant, mes sujets sont des belles amazones... et mes Moblins sont clairement plus puissants que jamais!",
|
/*french*/"Zelda ne sera jamais un meilleur monarque que moi!^J'ai un château volant, mes sujets sont des belles amazones... et mes Moblins sont clairement plus puissants que jamais!",
|
||||||
/*spanish*/"¿Qué te hace pensar que Zelda gobierna mejor que yo?^Yo he salvado el Rancho Lon Lon,&he alimentado a los hambrientos&y hasta hago que mi castillo flote."},
|
/*spanish*/"¿Qué te hace pensar que Zelda gobierna mejor que yo?^Yo he salvado el Rancho Lon Lon,&he alimentado a los hambrientos&y hasta hago que mi castillo flote."},
|
||||||
});
|
});
|
||||||
|
@ -579,7 +579,7 @@ std::string AutoFormatHintTextString(std::string unformattedHintTextString) {
|
|||||||
bool needsAutomaicNewlines = true;
|
bool needsAutomaicNewlines = true;
|
||||||
if (textStr == "Erreur 0x69a504:&Traduction manquante^C'est de la faute à Purple Hato!&J'vous jure!" ||
|
if (textStr == "Erreur 0x69a504:&Traduction manquante^C'est de la faute à Purple Hato!&J'vous jure!" ||
|
||||||
textStr == "Mon très cher @:&Viens vite au château, je t'ai préparé&un délicieux gâteau...^À bientôt, Princesse Zelda" ||
|
textStr == "Mon très cher @:&Viens vite au château, je t'ai préparé&un délicieux gâteau...^À bientôt, Princesse Zelda" ||
|
||||||
textStr == "What about Zelda makes you think she'd be a better ruler than I?^I saved Lon Lon Ranch,&fed the hungry,&and my castle floats." ||
|
textStr == "What about Zelda makes you think&she'd be a better ruler than I?^I saved Lon Lon Ranch,&fed the hungry,&and my castle floats." ||
|
||||||
textStr == "Many tricks are up my sleeve,&to save yourself&you'd better leave!" ||
|
textStr == "Many tricks are up my sleeve,&to save yourself&you'd better leave!" ||
|
||||||
textStr == "I've learned this spell,&it's really neat,&I'll keep it later&for your treat!" ||
|
textStr == "I've learned this spell,&it's really neat,&I'll keep it later&for your treat!" ||
|
||||||
textStr == "Sale petit garnement,&tu fais erreur!&C'est maintenant que marque&ta dernière heure!" ||
|
textStr == "Sale petit garnement,&tu fais erreur!&C'est maintenant que marque&ta dernière heure!" ||
|
||||||
|
@ -1514,3 +1514,7 @@ extern "C" s32 Randomizer_GetRandomizedItemId(GetItemID ogId, s16 actorId, s16 a
|
|||||||
extern "C" s32 Randomizer_GetItemIdFromKnownCheck(RandomizerCheck randomizerCheck, GetItemID ogId) {
|
extern "C" s32 Randomizer_GetItemIdFromKnownCheck(RandomizerCheck randomizerCheck, GetItemID ogId) {
|
||||||
return OTRGlobals::Instance->gRandomizer->GetRandomizedItemIdFromKnownCheck(randomizerCheck, ogId);
|
return OTRGlobals::Instance->gRandomizer->GetRandomizedItemIdFromKnownCheck(randomizerCheck, ogId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
extern "C" bool Randomizer_ItemIsIceTrap(RandomizerCheck randomizerCheck, GetItemID ogId) {
|
||||||
|
return gSaveContext.n64ddFlag && Randomizer_GetItemIdFromKnownCheck(randomizerCheck, ogId) == GI_ICE_TRAP;
|
||||||
|
}
|
||||||
|
@ -100,6 +100,7 @@ s16 Randomizer_GetItemModelFromId(s16 itemId);
|
|||||||
s32 Randomizer_GetItemIDFromGetItemID(s32 getItemId);
|
s32 Randomizer_GetItemIDFromGetItemID(s32 getItemId);
|
||||||
s32 Randomizer_GetRandomizedItemId(GetItemID ogId, s16 actorId, s16 actorParams, s16 sceneNum);
|
s32 Randomizer_GetRandomizedItemId(GetItemID ogId, s16 actorId, s16 actorParams, s16 sceneNum);
|
||||||
s32 Randomizer_GetItemIdFromKnownCheck(RandomizerCheck randomizerCheck, GetItemID ogId);
|
s32 Randomizer_GetItemIdFromKnownCheck(RandomizerCheck randomizerCheck, GetItemID ogId);
|
||||||
|
bool Randomizer_ItemIsIceTrap(RandomizerCheck randomizerCheck, GetItemID ogId);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -238,10 +238,11 @@ void GivePlayerRandoRewardZeldaLightArrowsGift(GlobalContext* globalCtx, Randomi
|
|||||||
if (CHECK_QUEST_ITEM(QUEST_MEDALLION_SPIRIT) && CHECK_QUEST_ITEM(QUEST_MEDALLION_SHADOW) && LINK_IS_ADULT &&
|
if (CHECK_QUEST_ITEM(QUEST_MEDALLION_SPIRIT) && CHECK_QUEST_ITEM(QUEST_MEDALLION_SHADOW) && LINK_IS_ADULT &&
|
||||||
(gEntranceTable[((void)0, gSaveContext.entranceIndex)].scene == SCENE_TOKINOMA) &&
|
(gEntranceTable[((void)0, gSaveContext.entranceIndex)].scene == SCENE_TOKINOMA) &&
|
||||||
!Flags_GetTreasure(globalCtx, 0x1E) && player != NULL && !Player_InBlockingCsMode(globalCtx, player) &&
|
!Flags_GetTreasure(globalCtx, 0x1E) && player != NULL && !Player_InBlockingCsMode(globalCtx, player) &&
|
||||||
globalCtx->sceneLoadFlag == 0 && player->getItemId == GI_NONE) {
|
globalCtx->sceneLoadFlag == 0) {
|
||||||
GetItemID getItemId = Randomizer_GetItemIdFromKnownCheck(check, GI_ARROW_LIGHT);
|
GetItemID getItemId = Randomizer_GetItemIdFromKnownCheck(check, GI_ARROW_LIGHT);
|
||||||
GiveItemWithoutActor(globalCtx, getItemId);
|
GiveItemWithoutActor(globalCtx, getItemId);
|
||||||
Flags_SetTreasure(globalCtx, 0x1E);
|
player->pendingFlag.flagID = 0x1E;
|
||||||
|
player->pendingFlag.flagType = FLAG_SCENE_TREASURE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1409,7 +1410,7 @@ void Gameplay_Draw(GlobalContext* globalCtx) {
|
|||||||
OVERLAY_DISP = sp70;
|
OVERLAY_DISP = sp70;
|
||||||
globalCtx->unk_121C7 = 2;
|
globalCtx->unk_121C7 = 2;
|
||||||
SREG(33) |= 1;
|
SREG(33) |= 1;
|
||||||
} else {
|
} else if (R_PAUSE_MENU_MODE != 3) {
|
||||||
Gameplay_Draw_DrawOverlayElements:
|
Gameplay_Draw_DrawOverlayElements:
|
||||||
if ((HREG(80) != 10) || (HREG(89) != 0)) {
|
if ((HREG(80) != 10) || (HREG(89) != 0)) {
|
||||||
Gameplay_DrawOverlayElements(globalCtx);
|
Gameplay_DrawOverlayElements(globalCtx);
|
||||||
|
@ -1059,7 +1059,7 @@ void EnSkj_SetupPostSariasSong(EnSkj* this) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void EnSkj_ChangeModeAfterSong(EnSkj* this, GlobalContext* globalCtx) {
|
void EnSkj_ChangeModeAfterSong(EnSkj* this, GlobalContext* globalCtx) {
|
||||||
if ((Message_GetState(&globalCtx->msgCtx) == TEXT_STATE_DONE) && Message_ShouldAdvance(globalCtx)) {
|
if (((Message_GetState(&globalCtx->msgCtx) == TEXT_STATE_DONE) && Message_ShouldAdvance(globalCtx)) || Randomizer_ItemIsIceTrap(RC_LW_SKULL_KID, GI_HEART_PIECE)) {
|
||||||
gSaveContext.itemGetInf[1] |= 0x40;
|
gSaveContext.itemGetInf[1] |= 0x40;
|
||||||
EnSkj_SetNaviId(this);
|
EnSkj_SetNaviId(this);
|
||||||
EnSkj_SetupWaitInRange(this);
|
EnSkj_SetupWaitInRange(this);
|
||||||
|
@ -288,14 +288,16 @@ void func_80B3CA38(EnXc* this, GlobalContext* globalCtx) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void GivePlayerRandoRewardSheikSong(EnXc* sheik, GlobalContext* globalCtx, RandomizerCheck check, int sheikType, GetItemID ogSongId) {
|
void GivePlayerRandoRewardSheikSong(EnXc* sheik, GlobalContext* globalCtx, RandomizerCheck check, int sheikType, GetItemID ogSongId) {
|
||||||
if (sheik->actor.parent != NULL && sheik->actor.parent->id == GET_PLAYER(globalCtx)->actor.id &&
|
Player* player = GET_PLAYER(globalCtx);
|
||||||
|
if (sheik->actor.parent != NULL && sheik->actor.parent->id == player->actor.id &&
|
||||||
!(gSaveContext.eventChkInf[5] & sheikType)) {
|
!(gSaveContext.eventChkInf[5] & sheikType)) {
|
||||||
gSaveContext.eventChkInf[5] |= sheikType;
|
gSaveContext.eventChkInf[5] |= sheikType;
|
||||||
} else if (!(gSaveContext.eventChkInf[5] & sheikType)) {
|
} else if (!(gSaveContext.eventChkInf[5] & sheikType)) {
|
||||||
GetItemID getItemId = Randomizer_GetItemIdFromKnownCheck(check, ogSongId);
|
GetItemID getItemId = Randomizer_GetItemIdFromKnownCheck(check, ogSongId);
|
||||||
if (check == RC_SHEIK_AT_TEMPLE && !Flags_GetTreasure(globalCtx, 0x1F)) {
|
if (check == RC_SHEIK_AT_TEMPLE && !Flags_GetTreasure(globalCtx, 0x1F)) {
|
||||||
if (func_8002F434(&sheik->actor, globalCtx, getItemId, 10000.0f, 100.0f)) {
|
if (func_8002F434(&sheik->actor, globalCtx, getItemId, 10000.0f, 100.0f)) {
|
||||||
Flags_SetTreasure(globalCtx, 0x1F);
|
player->pendingFlag.flagID = 0x1F;
|
||||||
|
player->pendingFlag.flagType = FLAG_SCENE_TREASURE;
|
||||||
}
|
}
|
||||||
} else if (check != RC_SHEIK_AT_TEMPLE) {
|
} else if (check != RC_SHEIK_AT_TEMPLE) {
|
||||||
func_8002F434(&sheik->actor, globalCtx, getItemId, 10000.0f, 100.0f);
|
func_8002F434(&sheik->actor, globalCtx, getItemId, 10000.0f, 100.0f);
|
||||||
|
@ -167,6 +167,7 @@ void func_8083CA20(GlobalContext* globalCtx, Player* this);
|
|||||||
void func_8083CA54(GlobalContext* globalCtx, Player* this);
|
void func_8083CA54(GlobalContext* globalCtx, Player* this);
|
||||||
void func_8083CA9C(GlobalContext* globalCtx, Player* this);
|
void func_8083CA9C(GlobalContext* globalCtx, Player* this);
|
||||||
s32 func_8083E0FC(Player* this, GlobalContext* globalCtx);
|
s32 func_8083E0FC(Player* this, GlobalContext* globalCtx);
|
||||||
|
void Player_SetPendingFlag(Player* this, GlobalContext* globalCtx);
|
||||||
s32 func_8083E5A8(Player* this, GlobalContext* globalCtx);
|
s32 func_8083E5A8(Player* this, GlobalContext* globalCtx);
|
||||||
s32 func_8083EB44(Player* this, GlobalContext* globalCtx);
|
s32 func_8083EB44(Player* this, GlobalContext* globalCtx);
|
||||||
s32 func_8083F7BC(Player* this, GlobalContext* globalCtx);
|
s32 func_8083F7BC(Player* this, GlobalContext* globalCtx);
|
||||||
@ -6236,6 +6237,30 @@ void func_8083E4C4(GlobalContext* globalCtx, Player* this, GetItemEntry* giEntry
|
|||||||
func_80078884((this->getItemId < 0) ? NA_SE_SY_GET_BOXITEM : NA_SE_SY_GET_ITEM);
|
func_80078884((this->getItemId < 0) ? NA_SE_SY_GET_BOXITEM : NA_SE_SY_GET_ITEM);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Sets a flag according to which type of flag is specified in player->pendingFlag.flagType
|
||||||
|
// and which flag is specified in player->pendingFlag.flagID.
|
||||||
|
void Player_SetPendingFlag(Player* this, GlobalContext* globalCtx) {
|
||||||
|
switch (this->pendingFlag.flagType) {
|
||||||
|
case FLAG_SCENE_CLEAR:
|
||||||
|
Flags_SetClear(globalCtx, this->pendingFlag.flagID);
|
||||||
|
break;
|
||||||
|
case FLAG_SCENE_COLLECTIBLE:
|
||||||
|
Flags_SetCollectible(globalCtx, this->pendingFlag.flagID);
|
||||||
|
break;
|
||||||
|
case FLAG_SCENE_SWITCH:
|
||||||
|
Flags_SetSwitch(globalCtx, this->pendingFlag.flagID);
|
||||||
|
break;
|
||||||
|
case FLAG_SCENE_TREASURE:
|
||||||
|
Flags_SetTreasure(globalCtx, this->pendingFlag.flagID);
|
||||||
|
break;
|
||||||
|
case FLAG_NONE:
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
this->pendingFlag.flagType = FLAG_NONE;
|
||||||
|
this->pendingFlag.flagID = 0;
|
||||||
|
}
|
||||||
|
|
||||||
s32 func_8083E5A8(Player* this, GlobalContext* globalCtx) {
|
s32 func_8083E5A8(Player* this, GlobalContext* globalCtx) {
|
||||||
Actor* interactedActor;
|
Actor* interactedActor;
|
||||||
|
|
||||||
@ -6259,6 +6284,7 @@ s32 func_8083E5A8(Player* this, GlobalContext* globalCtx) {
|
|||||||
this->stateFlags1 &= ~(PLAYER_STATE1_10 | PLAYER_STATE1_11);
|
this->stateFlags1 &= ~(PLAYER_STATE1_10 | PLAYER_STATE1_11);
|
||||||
this->actor.colChkInfo.damage = 0;
|
this->actor.colChkInfo.damage = 0;
|
||||||
func_80837C0C(globalCtx, this, 3, 0.0f, 0.0f, 0, 20);
|
func_80837C0C(globalCtx, this, 3, 0.0f, 0.0f, 0, 20);
|
||||||
|
Player_SetPendingFlag(this, globalCtx);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -12692,6 +12718,8 @@ s32 func_8084DFF4(GlobalContext* globalCtx, Player* this) {
|
|||||||
Message_StartTextbox(globalCtx, giEntry->textId, &this->actor);
|
Message_StartTextbox(globalCtx, giEntry->textId, &this->actor);
|
||||||
Item_Give(globalCtx, giEntry->itemId);
|
Item_Give(globalCtx, giEntry->itemId);
|
||||||
|
|
||||||
|
Player_SetPendingFlag(this, globalCtx);
|
||||||
|
|
||||||
if (((this->getItemId >= GI_RUPEE_GREEN) && (this->getItemId <= GI_RUPEE_RED)) ||
|
if (((this->getItemId >= GI_RUPEE_GREEN) && (this->getItemId <= GI_RUPEE_RED)) ||
|
||||||
((this->getItemId >= GI_RUPEE_PURPLE) && (this->getItemId <= GI_RUPEE_GOLD)) ||
|
((this->getItemId >= GI_RUPEE_PURPLE) && (this->getItemId <= GI_RUPEE_GOLD)) ||
|
||||||
((this->getItemId >= GI_RUPEE_GREEN_LOSE) && (this->getItemId <= GI_RUPEE_PURPLE_LOSE)) ||
|
((this->getItemId >= GI_RUPEE_GREEN_LOSE) && (this->getItemId <= GI_RUPEE_PURPLE_LOSE)) ||
|
||||||
|
Loading…
Reference in New Issue
Block a user