mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-10 19:45:09 -05:00
3187564f5b
* Pause Warp Enhancement
This commit introduces the PauseWarp mod, a feature that allows players to warp to different locations in the game directly from the pause menu.
- Add PauseWarpState structure to manage flags and cooldowns for the pause warp feature.
- Implement IsStateValid function for state validation.
- Implement ResetStateFlags function to reset all state flags to default values.
- Add InitiateWarp function to handle the initiation of warp sequences.
- Implement HandleWarpConfirmation function to confirm and execute warp actions.
- Implement HandleCooldowns function to manage various cooldown timers.
- Add PauseWarp_Main function as the main logic, called every frame to handle pause warp functionality.
- Map warp song messages to in-game text messages.
* Warp Song Check
-Now if you do not have a warp song you won't be able to select the empty slot and still teleport.
* Added Audio Fanfares and Changed stateFlag1 to PLAYER_STATE1_IN_CUTSCENE
-When selecting a warp song the audio for the applicable warp song will now play for a extra vanilla feel.
-Changed the stateFlag1 because previously it just disabled input allowing enemies to harm you. Now that won't happen because the game is put into a cutscene state.
* Feedback Update
-A new hook was created 'OnPauseMenu' so now PauseWarp_Main is only called when the pause menu is open
-Moved pauswarp.c to the Enhancements folder
-Removed from graph.c
PR Change:
Changing to the main branch instead of sulu
* Feedback Update #2
-Introduced new function 'PauseWarp_Idle' now that 'PauseWarp_Main' is no longer called every frame
-Added C wrapper to access 'GameInteractor::IsSaveLoaded' and scrapped the 'IsStateValid' function
-Added 'PauseWarp_Idle' to the the 'RegisterPauseWarp' function
-Refactored the code some
* Linux Compile Issue
-Added a missing header that was causing a compile issue for linux
-Hopefully, it won't crash
* Minor Bug Fix
-Now link won't get soft locked when warping to the same location twice
* Update libultraship
* Revert "Update libultraship"
This reverts commit
|
||
---|---|---|
.. | ||
boost_custom/container_hash | ||
libc | ||
tables | ||
align_asset_macro.h | ||
alignment.h | ||
alloca.h | ||
command_macros_base.h | ||
fp.h | ||
functions.h | ||
global.h | ||
ichain.h | ||
macro.inc | ||
macros.h | ||
message_data_fmt.h | ||
message_data_static.h | ||
message_data_textbox_types.h | ||
regs.h | ||
segment_symbols.h | ||
sequence.h | ||
sfx.h | ||
unk.h | ||
variables.h | ||
vt.h | ||
z64.h | ||
z64actor.h | ||
z64animation.h | ||
z64audio.h | ||
z64bgcheck.h | ||
z64camera.h | ||
z64collision_check.h | ||
z64cutscene_commands.h | ||
z64cutscene.h | ||
z64dma.h | ||
z64effect.h | ||
z64elf_message.h | ||
z64environment.h | ||
z64interface.h | ||
z64item.h | ||
z64light.h | ||
z64map_mark.h | ||
z64math.h | ||
z64object.h | ||
z64player.h | ||
z64save.h | ||
z64scene.h | ||
z64skin.h | ||
z64transition.h |