forked from HarbourMasters/Shipwright
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'tags/7.0.2' into new_item_menu
Spock Charlie
- Loading branch information
Showing
149 changed files
with
448 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?xml version='1.0' encoding='UTF-8' standalone='yes'?> | ||
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'> | ||
<dependency> | ||
<dependentAssembly> | ||
<assemblyIdentity | ||
type="win32" | ||
name="Microsoft.Windows.Common-Controls" | ||
version="6.0.0.0" | ||
publicKeyToken="6595b64144ccf1df" | ||
language="*" | ||
processorArchitecture="*" /> | ||
</dependentAssembly> | ||
</dependency> | ||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> | ||
<security> | ||
<requestedPrivileges> | ||
<requestedExecutionLevel level='asInvoker' uiAccess='false' /> | ||
</requestedPrivileges> | ||
</security> | ||
</trustInfo> | ||
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> | ||
<application> | ||
<!-- Windows 8 --> | ||
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" /> | ||
<!-- Windows 8.1 --> | ||
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" /> | ||
<!-- Windows 10 --> | ||
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" /> | ||
</application> | ||
</compatibility> | ||
</assembly> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 35 additions & 29 deletions
64
soh/soh/Enhancements/game-interactor/GameInteractor_Hooks.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,46 @@ | ||
#include "GameInteractor.h" | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
// MARK: - Gameplay | ||
extern "C" void GameInteractor_ExecuteOnLoadGame(int32_t fileNum); | ||
extern "C" void GameInteractor_ExecuteOnExitGame(int32_t fileNum); | ||
extern "C" void GameInteractor_ExecuteOnGameFrameUpdate(); | ||
extern "C" void GameInteractor_ExecuteOnItemReceiveHooks(GetItemEntry itemEntry); | ||
extern "C" void GameInteractor_ExecuteOnSaleEndHooks(GetItemEntry itemEntry); | ||
extern "C" void GameInteractor_ExecuteOnTransitionEndHooks(int16_t sceneNum); | ||
extern "C" void GameInteractor_ExecuteOnSceneInit(int16_t sceneNum); | ||
extern "C" void GameInteractor_ExecuteOnSceneSpawnActors(); | ||
extern "C" void GameInteractor_ExecuteOnPlayerUpdate(); | ||
extern "C" void GameInteractor_ExecuteOnOcarinaSongAction(); | ||
extern "C" void GameInteractor_ExecuteOnActorUpdate(void* actor); | ||
extern "C" void GameInteractor_ExecuteOnPlayerBonk(); | ||
extern "C" void GameInteractor_ExecuteOnOcarinaSongAction(); | ||
void GameInteractor_ExecuteOnLoadGame(int32_t fileNum); | ||
void GameInteractor_ExecuteOnExitGame(int32_t fileNum); | ||
void GameInteractor_ExecuteOnGameFrameUpdate(); | ||
void GameInteractor_ExecuteOnItemReceiveHooks(GetItemEntry itemEntry); | ||
void GameInteractor_ExecuteOnSaleEndHooks(GetItemEntry itemEntry); | ||
void GameInteractor_ExecuteOnTransitionEndHooks(int16_t sceneNum); | ||
void GameInteractor_ExecuteOnSceneInit(int16_t sceneNum); | ||
void GameInteractor_ExecuteOnSceneSpawnActors(); | ||
void GameInteractor_ExecuteOnPlayerUpdate(); | ||
void GameInteractor_ExecuteOnOcarinaSongAction(); | ||
void GameInteractor_ExecuteOnActorUpdate(void* actor); | ||
void GameInteractor_ExecuteOnPlayerBonk(); | ||
void GameInteractor_ExecuteOnOcarinaSongAction(); | ||
|
||
// MARK: - Save Files | ||
extern "C" void GameInteractor_ExecuteOnSaveFile(int32_t fileNum); | ||
extern "C" void GameInteractor_ExecuteOnLoadFile(int32_t fileNum); | ||
extern "C" void GameInteractor_ExecuteOnDeleteFile(int32_t fileNum); | ||
void GameInteractor_ExecuteOnSaveFile(int32_t fileNum); | ||
void GameInteractor_ExecuteOnLoadFile(int32_t fileNum); | ||
void GameInteractor_ExecuteOnDeleteFile(int32_t fileNum); | ||
|
||
// MARK: - Dialog | ||
extern "C" void GameInteractor_ExecuteOnDialogMessage(); | ||
extern "C" void GameInteractor_ExecuteOnPresentTitleCard(); | ||
extern "C" void GameInteractor_ExecuteOnInterfaceUpdate(); | ||
extern "C" void GameInteractor_ExecuteOnKaleidoscopeUpdate(int16_t inDungeonScene); | ||
void GameInteractor_ExecuteOnDialogMessage(); | ||
void GameInteractor_ExecuteOnPresentTitleCard(); | ||
void GameInteractor_ExecuteOnInterfaceUpdate(); | ||
void GameInteractor_ExecuteOnKaleidoscopeUpdate(int16_t inDungeonScene); | ||
|
||
// MARK: - Main Menu | ||
extern "C" void GameInteractor_ExecuteOnPresentFileSelect(); | ||
extern "C" void GameInteractor_ExecuteOnUpdateFileSelectSelection(uint16_t optionIndex); | ||
extern "C" void GameInteractor_ExecuteOnUpdateFileCopySelection(uint16_t optionIndex); | ||
extern "C" void GameInteractor_ExecuteOnUpdateFileCopyConfirmationSelection(uint16_t optionIndex); | ||
extern "C" void GameInteractor_ExecuteOnUpdateFileEraseSelection(uint16_t optionIndex); | ||
extern "C" void GameInteractor_ExecuteOnUpdateFileEraseConfirmationSelection(uint16_t optionIndex); | ||
extern "C" void GameInteractor_ExecuteOnUpdateFileAudioSelection(uint8_t optionIndex); | ||
extern "C" void GameInteractor_ExecuteOnUpdateFileTargetSelection(uint8_t optionIndex); | ||
void GameInteractor_ExecuteOnPresentFileSelect(); | ||
void GameInteractor_ExecuteOnUpdateFileSelectSelection(uint16_t optionIndex); | ||
void GameInteractor_ExecuteOnUpdateFileCopySelection(uint16_t optionIndex); | ||
void GameInteractor_ExecuteOnUpdateFileCopyConfirmationSelection(uint16_t optionIndex); | ||
void GameInteractor_ExecuteOnUpdateFileEraseSelection(uint16_t optionIndex); | ||
void GameInteractor_ExecuteOnUpdateFileEraseConfirmationSelection(uint16_t optionIndex); | ||
void GameInteractor_ExecuteOnUpdateFileAudioSelection(uint8_t optionIndex); | ||
void GameInteractor_ExecuteOnUpdateFileTargetSelection(uint8_t optionIndex); | ||
|
||
// MARK: - Game | ||
extern "C" void GameInteractor_ExecuteOnSetGameLanguage(); | ||
void GameInteractor_ExecuteOnSetGameLanguage(); | ||
#ifdef __cplusplus | ||
} | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.