├── mm
├── assets
│ ├── c
│ │ └── .gitignore
│ ├── extractor
│ │ ├── symbols
│ │ │ └── SymbolMap_MM.txt
│ │ ├── Config_GC_US.xml
│ │ └── Config_N64_US.xml
│ ├── custom
│ │ ├── accessibility
│ │ │ └── texts
│ │ │ │ └── scenes_eng.json
│ │ ├── fonts
│ │ │ ├── Fipps-Regular.otf
│ │ │ ├── Inconsolata-Regular.ttf
│ │ │ ├── Montserrat-Regular.ttf
│ │ │ └── PressStart2P-Regular.ttf
│ │ ├── textures
│ │ │ ├── buttons
│ │ │ │ ├── CUp.png
│ │ │ │ ├── ABtn.png
│ │ │ │ ├── BBtn.png
│ │ │ │ ├── CDown.png
│ │ │ │ ├── CLeft.png
│ │ │ │ ├── LBtn.png
│ │ │ │ ├── Mod1.png
│ │ │ │ ├── Mod2.png
│ │ │ │ ├── RBtn.png
│ │ │ │ ├── ZBtn.png
│ │ │ │ ├── CRight.png
│ │ │ │ ├── DPadDown.png
│ │ │ │ ├── DPadLeft.png
│ │ │ │ ├── DPadUp.png
│ │ │ │ ├── StartBtn.png
│ │ │ │ ├── CUpOutline.png
│ │ │ │ ├── DPadRight.png
│ │ │ │ ├── RightStick.png
│ │ │ │ ├── ABtnOutline.png
│ │ │ │ ├── AnalogStick.png
│ │ │ │ ├── BBtnOutline.png
│ │ │ │ ├── CDownOutline.png
│ │ │ │ ├── CLeftOutline.png
│ │ │ │ ├── CRightOutline.png
│ │ │ │ ├── DPadUpOutline.png
│ │ │ │ ├── LBtnOutline.png
│ │ │ │ ├── Mod1Outline.png
│ │ │ │ ├── Mod2Outline.png
│ │ │ │ ├── RBtnOutline.png
│ │ │ │ ├── ZBtnOutline.png
│ │ │ │ ├── DPadDownOutline.png
│ │ │ │ ├── DPadLeftOutline.png
│ │ │ │ ├── StartBtnOutline.png
│ │ │ │ ├── AnalogStickOutline.png
│ │ │ │ ├── DPadRightOutline.png
│ │ │ │ ├── RightStickOutline.png
│ │ │ │ └── InputViewerBackground.png
│ │ │ ├── icons
│ │ │ │ ├── g2ShipIcon.png
│ │ │ │ ├── gPotTrackerIcon.rgba32.png
│ │ │ │ ├── gBarrelTrackerIcon.rgba32.png
│ │ │ │ ├── gChestTrackerIcon.rgba32.png
│ │ │ │ └── gCrateTrackerIcon.rgba32.png
│ │ │ ├── parameter_static
│ │ │ │ ├── gDPad.ia16.png
│ │ │ │ ├── gArrowUp.ia16.png
│ │ │ │ ├── gArrowDown.ia16.png
│ │ │ │ ├── gTriforcePiece.rgba32.png
│ │ │ │ ├── gThreeDayClock3DSArrowTex.ia8.png
│ │ │ │ ├── gThreeDayClock3DSEdgeTex.ia8.png
│ │ │ │ ├── gThreeDayClock3DSFillTex.ia8.png
│ │ │ │ ├── gThreeDayClockHour13Tex.ia4.png
│ │ │ │ ├── gThreeDayClockHour14Tex.ia4.png
│ │ │ │ ├── gThreeDayClockHour15Tex.ia4.png
│ │ │ │ ├── gThreeDayClockHour16Tex.ia4.png
│ │ │ │ ├── gThreeDayClockHour17Tex.ia4.png
│ │ │ │ ├── gThreeDayClockHour18Tex.ia4.png
│ │ │ │ ├── gThreeDayClockHour19Tex.ia4.png
│ │ │ │ ├── gThreeDayClockHour20Tex.ia4.png
│ │ │ │ ├── gThreeDayClockHour21Tex.ia4.png
│ │ │ │ ├── gThreeDayClockHour22Tex.ia4.png
│ │ │ │ ├── gThreeDayClockHour23Tex.ia4.png
│ │ │ │ ├── gThreeDayClockHour24Tex.ia4.png
│ │ │ │ ├── gThreeDayClock3DSMiddleTex.ia8.png
│ │ │ │ ├── gThreeDayClock3DSSlowTimeTex.ia8.png
│ │ │ │ ├── gThreeDayClock3DSTimeBackdropTex.ia8.png
│ │ │ │ ├── gThreeDayClock3DSFinalHoursColonTex.ia8.png
│ │ │ │ ├── gThreeDayClock3DSFinalHoursMoonTex.ia8.png
│ │ │ │ ├── gThreeDayClock3DSFinalHoursDigit0Tex.ia8.png
│ │ │ │ ├── gThreeDayClock3DSFinalHoursDigit1Tex.ia8.png
│ │ │ │ ├── gThreeDayClock3DSFinalHoursDigit2Tex.ia8.png
│ │ │ │ ├── gThreeDayClock3DSFinalHoursDigit3Tex.ia8.png
│ │ │ │ ├── gThreeDayClock3DSFinalHoursDigit4Tex.ia8.png
│ │ │ │ ├── gThreeDayClock3DSFinalHoursDigit5Tex.ia8.png
│ │ │ │ ├── gThreeDayClock3DSFinalHoursDigit6Tex.ia8.png
│ │ │ │ ├── gThreeDayClock3DSFinalHoursDigit7Tex.ia8.png
│ │ │ │ ├── gThreeDayClock3DSFinalHoursDigit8Tex.ia8.png
│ │ │ │ └── gThreeDayClock3DSFinalHoursDigit9Tex.ia8.png
│ │ │ ├── virtual
│ │ │ │ └── gEmptyTexture.rgba32.png
│ │ │ ├── icon_item_static
│ │ │ │ ├── gPauseNoENGTex.ia8.png
│ │ │ │ ├── gPauseYesENGTex.ia8.png
│ │ │ │ ├── gContinuePlayingENGTex.ia8.png
│ │ │ │ ├── gPauseSavePromptENGTex.ia8.png
│ │ │ │ └── gPauseSaveConfirmationENGTex.ia8.png
│ │ │ └── title_static
│ │ │ │ ├── gFileSelBossRushSettingsENGTex.ia8.png
│ │ │ │ ├── gFileSelBossRushSettingsFRATex.ia8.png
│ │ │ │ ├── gFileSelBossRushSettingsGERTex.ia8.png
│ │ │ │ ├── gFileSelPleaseChooseAQuestENGTex.ia8.png
│ │ │ │ ├── gFileSelPleaseChooseAQuestFRATex.ia8.png
│ │ │ │ └── gFileSelPleaseChooseAQuestGERTex.ia8.png
│ │ ├── objects
│ │ │ ├── object_trap
│ │ │ │ └── ice_2
│ │ │ ├── object_taru
│ │ │ │ ├── FairyBarrelTop
│ │ │ │ ├── HeartBarrelTop
│ │ │ │ ├── JunkBarrelSide
│ │ │ │ ├── JunkBarrelTop
│ │ │ │ ├── MajorBarrelTop
│ │ │ │ ├── MaskBarrelSide
│ │ │ │ ├── MaskBarrelTop
│ │ │ │ ├── MinorBarrelTop
│ │ │ │ ├── RandoBarrelTop
│ │ │ │ ├── TokenBarrelTop
│ │ │ │ ├── BossKeyBarrelTop
│ │ │ │ ├── FairyBarrelSide
│ │ │ │ ├── HeartBarrelSide
│ │ │ │ ├── MajorBarrelSide
│ │ │ │ ├── MinorBarrelSide
│ │ │ │ ├── RandoBarrelSide
│ │ │ │ ├── TokenBarrelSide
│ │ │ │ ├── BossKeyBarrelSide
│ │ │ │ ├── SmallKeyBarrelSide
│ │ │ │ ├── SmallKeyBarrelTop
│ │ │ │ ├── gBarrelJunkDL_tri_1
│ │ │ │ └── gBarrelMaskDL_tri_1
│ │ │ ├── object_tsubo
│ │ │ │ ├── PotBase_fairy
│ │ │ │ ├── PotBase_heart
│ │ │ │ ├── PotBase_major
│ │ │ │ ├── PotBase_mask
│ │ │ │ ├── PotBase_minor
│ │ │ │ ├── PotBase_token
│ │ │ │ ├── PotFace_fairy
│ │ │ │ ├── PotFace_heart
│ │ │ │ ├── PotFace_major
│ │ │ │ ├── PotFace_mask
│ │ │ │ ├── PotFace_minor
│ │ │ │ ├── PotFace_token
│ │ │ │ ├── PotLip_fairy
│ │ │ │ ├── PotLip_heart
│ │ │ │ ├── PotLip_major
│ │ │ │ ├── PotLip_mask
│ │ │ │ ├── PotLip_minor
│ │ │ │ ├── PotLip_token
│ │ │ │ ├── PotBase_bosskey
│ │ │ │ ├── PotFace_bosskey
│ │ │ │ ├── PotFace_mystery
│ │ │ │ ├── PotLip_bosskey
│ │ │ │ ├── PotLip_smallkey
│ │ │ │ ├── PotLip_standard
│ │ │ │ ├── PotBase_smallkey
│ │ │ │ ├── PotBase_standard
│ │ │ │ ├── PotFace_smallkey
│ │ │ │ ├── PotFace_standard
│ │ │ │ ├── gPotFairyDL_tri_3
│ │ │ │ ├── gPotFairyDL_tri_4
│ │ │ │ ├── gPotHeartDL_tri_3
│ │ │ │ ├── gPotHeartDL_tri_4
│ │ │ │ ├── gPotMajorDL_tri_3
│ │ │ │ ├── gPotMajorDL_tri_4
│ │ │ │ ├── gPotMaskDL_tri_3
│ │ │ │ ├── gPotMaskDL_tri_4
│ │ │ │ ├── gPotMinorDL_tri_3
│ │ │ │ ├── gPotMinorDL_tri_4
│ │ │ │ ├── gPotRandomDL_tri_3
│ │ │ │ ├── gPotRandomDL_tri_4
│ │ │ │ ├── gPotTokenDL_tri_3
│ │ │ │ └── gPotTokenDL_tri_4
│ │ │ ├── object_ability_swim
│ │ │ │ ├── flippers
│ │ │ │ └── flippers2
│ │ │ ├── object_kibako
│ │ │ │ ├── junk_crate_top
│ │ │ │ ├── mask_crate_top
│ │ │ │ ├── bosskey_crate_top
│ │ │ │ ├── fairy_crate_top
│ │ │ │ ├── heart_crate_top
│ │ │ │ ├── major_crate_top
│ │ │ │ ├── minor_crate_top
│ │ │ │ ├── rando_crate_top
│ │ │ │ ├── token_crate_top
│ │ │ │ └── smallkey_crate_top
│ │ │ ├── object_kibako2
│ │ │ │ ├── fairy_crate_side
│ │ │ │ ├── fairy_crate_top
│ │ │ │ ├── heart_crate_side
│ │ │ │ ├── heart_crate_top
│ │ │ │ ├── junk_crate_side
│ │ │ │ ├── junk_crate_top
│ │ │ │ ├── major_crate_side
│ │ │ │ ├── major_crate_top
│ │ │ │ ├── mask_crate_side
│ │ │ │ ├── mask_crate_top
│ │ │ │ ├── minor_crate_side
│ │ │ │ ├── minor_crate_top
│ │ │ │ ├── rando_crate_side
│ │ │ │ ├── rando_crate_top
│ │ │ │ ├── token_crate_side
│ │ │ │ ├── token_crate_top
│ │ │ │ ├── bosskey_crate_side
│ │ │ │ ├── bosskey_crate_top
│ │ │ │ ├── smallkey_crate_top
│ │ │ │ ├── smallkey_crate_side
│ │ │ │ ├── gLargeFairyCrateDL_tri_0
│ │ │ │ ├── gLargeHeartCrateDL_tri_0
│ │ │ │ ├── gLargeJunkCrateDL_tri_0
│ │ │ │ ├── gLargeMajorCrateDL_tri_0
│ │ │ │ ├── gLargeMaskCrateDL_tri_0
│ │ │ │ ├── gLargeMinorCrateDL_tri_0
│ │ │ │ ├── gLargeRandoCrateDL_tri_0
│ │ │ │ ├── gLargeTokenCrateDL_tri_0
│ │ │ │ ├── gLargeBossKeyCrateDL_tri_0
│ │ │ │ └── gLargeSmallKeyCrateDL_tri_0
│ │ │ ├── object_triforce_piece_0
│ │ │ │ └── noise_tex
│ │ │ ├── object_triforce_piece_1
│ │ │ │ └── noise_tex
│ │ │ ├── object_triforce_piece_2
│ │ │ │ └── noise_tex
│ │ │ ├── gameplay_field_keep
│ │ │ │ ├── BushTex.rgba16
│ │ │ │ ├── LeafTex.rgba16
│ │ │ │ ├── flower_fairy_tex.rgba16
│ │ │ │ ├── flower_gold_tex.rgba16
│ │ │ │ ├── flower_heart_tex.rgba16
│ │ │ │ ├── flower_mask_tex.rgba16
│ │ │ │ ├── flower_token_tex.rgba16
│ │ │ │ ├── flower_bosskey_tex.rgba16
│ │ │ │ ├── flower_bronze_tex.rgba16
│ │ │ │ ├── flower_random_tex.rgba16
│ │ │ │ └── flower_silver_tex.rgba16
│ │ │ ├── object_triforce_completed
│ │ │ │ ├── noise_tex
│ │ │ │ └── gTriforcePieceCompletedDL_tri_1
│ │ │ ├── object_box
│ │ │ │ ├── gBoxChestLockMajorTex.rgb5a1.png
│ │ │ │ ├── gBoxChestLockMaskTex.rgb5a1.png
│ │ │ │ ├── gBoxChestCornerHealthTex.rgb5a1.png
│ │ │ │ ├── gBoxChestCornerLesserTex.rgb5a1.png
│ │ │ │ ├── gBoxChestCornerMajorTex.rgb5a1.png
│ │ │ │ ├── gBoxChestCornerMaskTex.rgb5a1.png
│ │ │ │ ├── gBoxChestLockHealthTex.rgb5a1.png
│ │ │ │ ├── gBoxChestLockLesserTex.rgb5a1.png
│ │ │ │ ├── gBoxChestLockSmallKeyTex.rgb5a1.png
│ │ │ │ ├── gBoxChestCornerSmallKeyTex.rgb5a1.png
│ │ │ │ ├── gBoxChestLockSkullTokenTex.rgb5a1.png
│ │ │ │ ├── gBoxChestLockStrayFairyTex.rgb5a1.png
│ │ │ │ ├── gKeyTreasureChestFrontTex.rgb5a1.png
│ │ │ │ ├── gBoxChestCornerSkullTokenTex.rgb5a1.png
│ │ │ │ ├── gBoxChestCornerStrayFairyTex.rgb5a1.png
│ │ │ │ ├── gSkullTreasureChestFrontTex.rgb5a1.png
│ │ │ │ ├── gKeyTreasureChestSideAndTopTex.rgb5a1.png
│ │ │ │ ├── gChristmasRedTreasureChestFrontTex.rgb5a1.png
│ │ │ │ ├── gSkullTreasureChestSideAndTopTex.rgb5a1.png
│ │ │ │ ├── gChristmasGreenTreasureChestFrontTex.rgb5a1.png
│ │ │ │ ├── gChristmasRedTreasureChestSideAndTopTex.rgb5a1.png
│ │ │ │ └── gChristmasGreenTreasureChestSideAndTopTex.rgb5a1.png
│ │ │ └── object_mag
│ │ │ │ ├── gTitleBossRushSubtitleTex.rgba32.png
│ │ │ │ └── gTitleRandomizerSubtitleTex.rgba32.png
│ │ ├── misc
│ │ │ ├── nintendo_rogo_static
│ │ │ │ ├── SoHShiny
│ │ │ │ ├── metal2
│ │ │ │ ├── metal2_copy
│ │ │ │ ├── gLUSLogoTextTex
│ │ │ │ └── _2shipBetaLogoFLAT
│ │ │ └── title_static
│ │ │ │ ├── gFileSelRandIconTex.i4.png
│ │ │ │ ├── gFileSelFourthDayTex.i4.png
│ │ │ │ └── gFileSelCheatingDayTex.i4.png
│ │ ├── helpers
│ │ │ └── cosmetics
│ │ │ │ └── gEndGrayscaleAndEndDlistDL
│ │ └── overlays
│ │ │ └── ovl_En_Bom
│ │ │ └── gPowderKegFuseTexLarger.i8.png
│ ├── .gitignore
│ ├── misc
│ │ ├── link_animetion
│ │ │ └── link_animetion.h
│ │ ├── skyboxes
│ │ │ └── d2_fine_pal_static.h
│ │ ├── locerrmsg
│ │ │ └── locerrmsg.h
│ │ ├── scene_texture_07
│ │ │ └── scene_texture_07.h
│ │ └── scene_texture_03
│ │ │ └── scene_texture_03.h
│ ├── text
│ │ ├── message_data_static
│ │ │ ├── message_data_static.h
│ │ │ └── staff_message_data_static.h
│ │ ├── message_data_static.c
│ │ └── staff_message_data_static.c
│ ├── xml
│ │ ├── GC_US
│ │ │ ├── objects
│ │ │ │ ├── object_gm.xml
│ │ │ │ ├── object_tanron1.xml
│ │ │ │ ├── object_bubble.xml
│ │ │ │ ├── object_masterzoora.xml
│ │ │ │ ├── object_mastergolon.xml
│ │ │ │ ├── object_kusa.xml
│ │ │ │ ├── object_ishi.xml
│ │ │ │ ├── object_mask_kyojin.xml
│ │ │ │ ├── object_mask_truth.xml
│ │ │ │ ├── object_dor03.xml
│ │ │ │ ├── object_sinkai_kabe.xml
│ │ │ │ ├── object_stream.xml
│ │ │ │ ├── object_funen.xml
│ │ │ │ ├── object_gi_bean.xml
│ │ │ │ ├── object_big_fwall.xml
│ │ │ │ └── object_gi_bomb_1.xml
│ │ │ ├── overlays
│ │ │ │ ├── ovl_En_Mm3.xml
│ │ │ │ ├── ovl_Obj_Smork.xml
│ │ │ │ ├── ovl_Obj_Entotu.xml
│ │ │ │ ├── ovl_Obj_Toudai.xml
│ │ │ │ ├── ovl_En_Bomjima.xml
│ │ │ │ ├── ovl_En_Bomjimb.xml
│ │ │ │ ├── ovl_Boss_05.xml
│ │ │ │ ├── ovl_En_Bombers.xml
│ │ │ │ ├── ovl_En_Bom_Bowl_Man.xml
│ │ │ │ ├── ovl_En_Horse_Game_Check.xml
│ │ │ │ ├── ovl_fbdemo_triforce.xml
│ │ │ │ ├── ovl_Effect_Ss_Fhg_Flash.xml
│ │ │ │ ├── ovl_En_Kanban.xml
│ │ │ │ ├── ovl_En_Okuta.xml
│ │ │ │ ├── ovl_Dm_Char01.xml
│ │ │ │ └── ovl_En_Gakufu.xml
│ │ │ ├── misc
│ │ │ │ ├── scene_texture_07.xml
│ │ │ │ ├── locerrmsg.xml
│ │ │ │ ├── scene_texture_03.xml
│ │ │ │ └── memerrmsg.xml
│ │ │ ├── code
│ │ │ │ ├── fbdemo_circle.xml
│ │ │ │ ├── actor.xml
│ │ │ │ ├── sub_s.xml
│ │ │ │ ├── z_map_disp.xml
│ │ │ │ ├── eff_shield_particle.xml
│ │ │ │ └── circle_tex.xml
│ │ │ ├── text
│ │ │ │ └── message_data_static.xml
│ │ │ ├── scenes
│ │ │ │ ├── SPOT00
│ │ │ │ │ └── SPOT00.xml
│ │ │ │ ├── Z2_OKUJOU
│ │ │ │ │ └── Z2_OKUJOU.xml
│ │ │ │ └── Z2_BOWLING
│ │ │ │ │ └── Z2_BOWLING.xml
│ │ │ └── interface
│ │ │ │ └── message_texture_static.xml
│ │ └── N64_US
│ │ │ ├── objects
│ │ │ ├── object_gm.xml
│ │ │ ├── object_tanron1.xml
│ │ │ ├── object_bubble.xml
│ │ │ ├── object_masterzoora.xml
│ │ │ ├── object_mastergolon.xml
│ │ │ ├── object_kusa.xml
│ │ │ ├── object_ishi.xml
│ │ │ ├── object_dor03.xml
│ │ │ ├── object_mask_kyojin.xml
│ │ │ ├── object_mask_truth.xml
│ │ │ ├── object_sinkai_kabe.xml
│ │ │ ├── object_stream.xml
│ │ │ ├── object_funen.xml
│ │ │ ├── object_gi_bean.xml
│ │ │ ├── object_big_fwall.xml
│ │ │ └── object_gi_bomb_1.xml
│ │ │ ├── overlays
│ │ │ ├── ovl_En_Mm3.xml
│ │ │ ├── ovl_Obj_Smork.xml
│ │ │ ├── ovl_Obj_Entotu.xml
│ │ │ ├── ovl_Obj_Toudai.xml
│ │ │ ├── ovl_Boss_05.xml
│ │ │ ├── ovl_En_Bombers.xml
│ │ │ ├── ovl_En_Bomjima.xml
│ │ │ ├── ovl_En_Bomjimb.xml
│ │ │ ├── ovl_En_Bom_Bowl_Man.xml
│ │ │ ├── ovl_En_Horse_Game_Check.xml
│ │ │ ├── ovl_fbdemo_triforce.xml
│ │ │ ├── ovl_Effect_Ss_Fhg_Flash.xml
│ │ │ ├── ovl_En_Kanban.xml
│ │ │ ├── ovl_En_Okuta.xml
│ │ │ ├── ovl_Dm_Char01.xml
│ │ │ └── ovl_En_Gakufu.xml
│ │ │ ├── misc
│ │ │ ├── scene_texture_07.xml
│ │ │ ├── locerrmsg.xml
│ │ │ ├── scene_texture_03.xml
│ │ │ └── memerrmsg.xml
│ │ │ ├── code
│ │ │ ├── actor.xml
│ │ │ ├── fbdemo_circle.xml
│ │ │ ├── sub_s.xml
│ │ │ ├── z_map_disp.xml
│ │ │ ├── eff_shield_particle.xml
│ │ │ └── circle_tex.xml
│ │ │ ├── text
│ │ │ └── message_data_static.xml
│ │ │ ├── scenes
│ │ │ ├── SPOT00
│ │ │ │ └── SPOT00.xml
│ │ │ ├── Z2_OKUJOU
│ │ │ │ └── Z2_OKUJOU.xml
│ │ │ └── Z2_BOWLING
│ │ │ │ └── Z2_BOWLING.xml
│ │ │ └── interface
│ │ │ └── message_texture_static.xml
│ ├── overlays
│ │ ├── ovl_En_Mm3
│ │ │ └── ovl_En_Mm3.h
│ │ ├── ovl_Boss_05
│ │ │ └── ovl_Boss_05.h
│ │ ├── ovl_En_Okuta
│ │ │ └── ovl_En_Okuta.h
│ │ ├── ovl_Obj_Smork
│ │ │ └── ovl_Obj_Smork.h
│ │ ├── ovl_Obj_Entotu
│ │ │ └── ovl_Obj_Entotu.h
│ │ └── ovl_Obj_Toudai
│ │ │ └── ovl_Obj_Toudai.h
│ ├── code
│ │ ├── fbdemo_circle
│ │ │ └── fbdemo_circle.h
│ │ ├── eff_shield_particle
│ │ │ └── eff_shield_particle.h
│ │ └── actor
│ │ │ └── actor.h
│ ├── objects
│ │ ├── object_gm
│ │ │ └── object_gm.h
│ │ ├── object_gi_bean
│ │ │ └── object_gi_bean.h
│ │ ├── object_gi_key
│ │ │ └── object_gi_key.h
│ │ ├── object_gi_stick
│ │ │ └── object_gi_stick.h
│ │ ├── object_gi_bomb_1
│ │ │ └── object_gi_bomb_1.h
│ │ ├── object_gi_bomb_2
│ │ │ └── object_gi_bomb_2.h
│ │ ├── object_tanron1
│ │ │ └── object_tanron1.h
│ │ ├── object_gi_fish
│ │ │ └── object_gi_fish.h
│ │ ├── object_gi_heart
│ │ │ └── object_gi_heart.h
│ │ ├── object_gi_longsword
│ │ │ └── object_gi_longsword.h
│ │ ├── object_masterzoora
│ │ │ └── object_masterzoora.h
│ │ ├── object_mastergolon
│ │ │ └── object_mastergolon.h
│ │ └── object_sinkai_kabe
│ │ │ └── object_sinkai_kabe.h
│ └── scenes
│ │ └── SPOT00
│ │ └── SPOT00
│ │ └── SPOT00_room_00.h
├── .gitattributes
├── 2s2h
│ ├── DeveloperTools
│ │ ├── DebugConsole.h
│ │ ├── DLViewer.h
│ │ ├── EventLog.h
│ │ └── ActorViewer.h
│ ├── Enhancements
│ │ ├── Cutscenes
│ │ │ └── StoryCutscenes
│ │ │ │ └── SkipGiantsChamber.h
│ │ ├── Songs
│ │ │ └── Songs.h
│ │ ├── GfxPatcher
│ │ │ └── AuthenticGfxPatches.h
│ │ ├── Graphics
│ │ │ └── Graphics.h
│ │ ├── Trackers
│ │ │ ├── TimeSplits
│ │ │ │ └── TimesplitsSettings.h
│ │ │ ├── DisplayOverlay.h
│ │ │ └── ItemTracker
│ │ │ │ └── ItemTrackerSettings.h
│ │ └── Enhancements.cpp
│ ├── PresetManager
│ │ └── PresetManager.h
│ ├── Rando
│ │ ├── ActorBehavior
│ │ │ ├── EnHg.cpp
│ │ │ └── EnGg.cpp
│ │ ├── MiscBehavior
│ │ │ └── Traps.h
│ │ └── DrawFuncs.h
│ ├── resource
│ │ └── type
│ │ │ ├── Path.cpp
│ │ │ ├── scenecommand
│ │ │ ├── EndMarker.cpp
│ │ │ ├── SetMesh.cpp
│ │ │ ├── RomFile.h
│ │ │ ├── SetExitList.cpp
│ │ │ ├── SetMinimapList.cpp
│ │ │ ├── SetRoomList.cpp
│ │ │ ├── SetPathways.cpp
│ │ │ ├── SetEchoSettings.cpp
│ │ │ ├── SetObjectList.cpp
│ │ │ ├── SetTimeSettings.cpp
│ │ │ ├── SetWindSettings.cpp
│ │ │ ├── SetLightList.cpp
│ │ │ ├── SetRoomBehavior.cpp
│ │ │ ├── SetSoundSettings.cpp
│ │ │ ├── SetActorList.cpp
│ │ │ ├── SetCameraSettings.cpp
│ │ │ ├── SetSkyboxModifier.cpp
│ │ │ ├── SetSkyboxSettings.cpp
│ │ │ ├── SetSpecialObjects.cpp
│ │ │ ├── SetMinimapChests.cpp
│ │ │ ├── SetEntranceList.cpp
│ │ │ ├── SetActorCutsceneList.cpp
│ │ │ ├── SetAnimatedMaterialList.cpp
│ │ │ ├── SetLightingSettings.cpp
│ │ │ ├── SetStartPositionList.cpp
│ │ │ ├── SetAlternateHeaders.cpp
│ │ │ ├── SetTransitionActorList.cpp
│ │ │ └── EndMarker.h
│ │ │ ├── Background.cpp
│ │ │ ├── TextMM.cpp
│ │ │ ├── CollisionHeader.cpp
│ │ │ ├── Cutscene.cpp
│ │ │ ├── Scene.cpp
│ │ │ └── PlayerAnimation.cpp
│ ├── BenGui
│ │ └── ResolutionEditor.h
│ └── SaveManager
│ │ └── Migrations
│ │ └── 4.cpp
├── src
│ ├── boot
│ │ ├── carthandle.c
│ │ ├── syncprintf.c
│ │ └── O2
│ │ │ ├── __osStrcpy.c
│ │ │ ├── __osMemset.c
│ │ │ ├── debug.c
│ │ │ ├── fmodf.c
│ │ │ └── __osStrcmp.c
│ ├── libultra
│ │ ├── os
│ │ │ ├── threadsave.c
│ │ │ ├── afterprenmi.c
│ │ │ ├── settime.c
│ │ │ ├── getactivequeue.c
│ │ │ ├── getcurrfaultthread.c
│ │ │ ├── getthreadid.c
│ │ │ ├── getthreadpri.c
│ │ │ ├── setglobalintmask.c
│ │ │ ├── resetglobalintmask.c
│ │ │ ├── yieldthread.c
│ │ │ ├── gethwinterrupt.c
│ │ │ ├── createmesgqueue.c
│ │ │ ├── virtualtophysical.c
│ │ │ └── sethwinterrupt.c
│ │ ├── io
│ │ │ ├── aigetlen.c
│ │ │ ├── spgetstat.c
│ │ │ ├── dpgetstat.c
│ │ │ ├── sptaskyield.c
│ │ │ ├── dpsetstat.c
│ │ │ ├── spsetstat.c
│ │ │ ├── viextendvstart.c
│ │ │ ├── vigetcurrcontext.c
│ │ │ ├── pigetcmdq.c
│ │ │ ├── sirawread.c
│ │ │ ├── sirawwrite.c
│ │ │ ├── vigetcurrframebuf.c
│ │ │ ├── epilinkhandle.c
│ │ │ ├── spsetpc.c
│ │ │ ├── visetyscale.c
│ │ │ ├── epiread.c
│ │ │ ├── vigetnextframebuf.c
│ │ │ ├── viswapbuf.c
│ │ │ ├── epiwrite.c
│ │ │ ├── si.c
│ │ │ ├── viblack.c
│ │ │ ├── visetevent.c
│ │ │ ├── sp.c
│ │ │ ├── visetmode.c
│ │ │ └── contsetch.c
│ │ └── gu
│ │ │ ├── sqrtf.c
│ │ │ └── coss.c
│ ├── buffers
│ │ ├── audio_heap.c
│ │ ├── framebuffer_hi.c
│ │ ├── framebuffer_lo.c
│ │ ├── gfxbuffers.c
│ │ └── system_heap.c
│ ├── code
│ │ ├── z_construct.c
│ │ └── sys_freeze.c
│ └── overlays
│ │ ├── effects
│ │ ├── ovl_Effect_Ss_G_Fire
│ │ │ └── z_eff_ss_g_fire.h
│ │ ├── ovl_Effect_Ss_Stick
│ │ │ └── z_eff_ss_stick.h
│ │ ├── ovl_Effect_Ss_Stone1
│ │ │ └── z_eff_ss_stone1.h
│ │ ├── ovl_Effect_Ss_Sbn
│ │ │ └── z_eff_ss_sbn.h
│ │ ├── ovl_Effect_Ss_G_Ripple
│ │ │ └── z_eff_ss_g_ripple.h
│ │ └── ovl_Effect_Ss_Ice_Smoke
│ │ │ └── z_eff_ss_ice_smoke.h
│ │ ├── actors
│ │ ├── ovl_En_Torch
│ │ │ └── z_en_torch.h
│ │ ├── ovl_Obj_Hana
│ │ │ └── z_obj_hana.h
│ │ ├── ovl_Obj_Funen
│ │ │ └── z_obj_funen.h
│ │ ├── ovl_En_Sda
│ │ │ └── z_en_sda.h
│ │ ├── ovl_En_Zl1
│ │ │ └── z_en_zl1.h
│ │ ├── ovl_Obj_Yado
│ │ │ └── z_obj_yado.h
│ │ ├── ovl_Bg_Keikoku_Spr
│ │ │ └── z_bg_keikoku_spr.h
│ │ ├── ovl_Bg_Mbar_Chair
│ │ │ └── z_bg_mbar_chair.h
│ │ ├── ovl_Demo_Shd
│ │ │ └── z_demo_shd.h
│ │ ├── ovl_En_Boj_01
│ │ │ └── z_en_boj_01.h
│ │ ├── ovl_En_Boj_02
│ │ │ └── z_en_boj_02.h
│ │ ├── ovl_En_Boj_03
│ │ │ └── z_en_boj_03.h
│ │ ├── ovl_En_Boj_04
│ │ │ └── z_en_boj_04.h
│ │ ├── ovl_En_Boj_05
│ │ │ └── z_en_boj_05.h
│ │ ├── ovl_Dm_Statue
│ │ │ └── z_dm_statue.h
│ │ ├── ovl_Obj_Dinner
│ │ │ └── z_obj_dinner.h
│ │ ├── ovl_Oceff_Wipe2
│ │ │ └── z_oceff_wipe2.h
│ │ ├── ovl_Oceff_Wipe6
│ │ │ └── z_oceff_wipe6.h
│ │ ├── ovl_Oceff_Wipe7
│ │ │ └── z_oceff_wipe7.h
│ │ ├── ovl_Bg_Lbfshot
│ │ │ └── z_bg_lbfshot.h
│ │ ├── ovl_En_Firefly2
│ │ │ └── z_en_firefly2.h
│ │ ├── ovl_Oceff_Wipe3
│ │ │ └── z_oceff_wipe3.h
│ │ ├── ovl_En_Fire_Rock
│ │ │ └── z_en_fire_rock.h
│ │ ├── ovl_Obj_Yasi
│ │ │ └── z_obj_yasi.h
│ │ ├── ovl_Bg_Open_Spot
│ │ │ └── z_bg_open_spot.h
│ │ ├── ovl_Obj_Kepn_Koya
│ │ │ └── z_obj_kepn_koya.h
│ │ ├── ovl_Obj_Kinoko
│ │ │ └── z_obj_kinoko.h
│ │ ├── ovl_En_M_Fire1
│ │ │ └── z_en_m_fire1.h
│ │ ├── ovl_Obj_Visiblock
│ │ │ └── z_obj_visiblock.h
│ │ ├── ovl_Bg_Fu_Mizu
│ │ │ └── z_bg_fu_mizu.h
│ │ ├── ovl_En_Tag_Obj
│ │ │ └── z_en_tag_obj.h
│ │ ├── ovl_Obj_Shutter
│ │ │ └── z_obj_shutter.h
│ │ ├── ovl_Obj_Jg_Gakki
│ │ │ └── z_obj_jg_gakki.h
│ │ └── ovl_Bg_Market_Step
│ │ │ └── z_bg_market_step.h
│ │ └── gamestates
│ │ └── ovl_opening
│ │ └── z_opening.h
├── linux
│ ├── 2s2hIcon.png
│ ├── 2s2h.desktop
│ └── build.sh
├── macosx
│ └── 2s2hIcon.png
├── windows
│ └── 2SHIP2HARKINIAN.ico
└── include
│ ├── debug.h
│ ├── carthandle.h
│ ├── PR
│ ├── os_reg.h
│ ├── voiceinternal.h
│ ├── os_tlb.h
│ ├── os_internal_error.h
│ ├── os_host.h
│ ├── siint.h
│ ├── os_internal_rsp.h
│ ├── os_ai.h
│ └── os_internal_si.h
│ ├── global.h
│ ├── libc
│ ├── alloca.h
│ └── string.h
│ ├── align_asset_macro.h
│ ├── stack.h
│ ├── system_heap.h
│ ├── z_title_setup.h
│ ├── z_prenmi.h
│ └── padutils.h
├── .gitattributes
├── docs
├── poweredbylus.darkmode.png
├── poweredbylus.lightmode.png
└── supportedHashes.json
├── .github
└── workflows
│ ├── gtar
│ ├── apt-deps.txt
│ └── macports-deps.txt
├── run-docker.sh
└── .gitmodules
/mm/assets/c/.gitignore:
--------------------------------------------------------------------------------
1 | !*.c
2 | !*.h
3 |
--------------------------------------------------------------------------------
/mm/assets/extractor/symbols/SymbolMap_MM.txt:
--------------------------------------------------------------------------------
1 | 801D1DE0 gIdentityMtx
--------------------------------------------------------------------------------
/mm/assets/custom/accessibility/texts/scenes_eng.json:
--------------------------------------------------------------------------------
1 | {
2 | "0": ""
3 | }
4 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
3 |
--------------------------------------------------------------------------------
/mm/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
3 |
--------------------------------------------------------------------------------
/mm/2s2h/DeveloperTools/DebugConsole.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | void DebugConsole_Init(void);
4 |
--------------------------------------------------------------------------------
/mm/src/boot/carthandle.c:
--------------------------------------------------------------------------------
1 | #include "carthandle.h"
2 |
3 | OSPiHandle* gCartHandle = NULL;
4 |
--------------------------------------------------------------------------------
/mm/src/libultra/os/threadsave.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | OSThread __osThreadSave;
4 |
--------------------------------------------------------------------------------
/mm/src/buffers/audio_heap.c:
--------------------------------------------------------------------------------
1 | #include "buffers.h"
2 |
3 | // u8 gAudioHeap[0x138000] ALIGNED(16);
4 |
--------------------------------------------------------------------------------
/mm/linux/2s2hIcon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/linux/2s2hIcon.png
--------------------------------------------------------------------------------
/mm/macosx/2s2hIcon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/macosx/2s2hIcon.png
--------------------------------------------------------------------------------
/docs/poweredbylus.darkmode.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/docs/poweredbylus.darkmode.png
--------------------------------------------------------------------------------
/docs/poweredbylus.lightmode.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/docs/poweredbylus.lightmode.png
--------------------------------------------------------------------------------
/mm/src/code/z_construct.c:
--------------------------------------------------------------------------------
1 | #include "global.h"
2 |
3 | // Remnant from OoT
4 | void Regs_InitData(PlayState* play) {
5 | }
6 |
--------------------------------------------------------------------------------
/mm/windows/2SHIP2HARKINIAN.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/windows/2SHIP2HARKINIAN.ico
--------------------------------------------------------------------------------
/mm/src/libultra/io/aigetlen.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | u32 osAiGetLength(void) {
4 | return IO_READ(AI_LEN_REG);
5 | }
6 |
--------------------------------------------------------------------------------
/mm/src/libultra/io/spgetstat.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | u32 __osSpGetStatus() {
4 | return IO_READ(SP_STATUS_REG);
5 | }
6 |
--------------------------------------------------------------------------------
/mm/src/libultra/os/afterprenmi.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | s32 osAfterPreNMI(void) {
4 | return __osSpSetPc(0);
5 | }
6 |
--------------------------------------------------------------------------------
/mm/src/libultra/os/settime.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | void osSetTime(OSTime ticks) {
4 | __osCurrentTime = ticks;
5 | }
6 |
--------------------------------------------------------------------------------
/mm/src/libultra/io/dpgetstat.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | u32 osDpGetStatus(void) {
4 | return IO_READ(DPC_STATUS_REG);
5 | }
6 |
--------------------------------------------------------------------------------
/mm/src/libultra/io/sptaskyield.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | void osSpTaskYield(void) {
4 | __osSpSetStatus(SP_SET_YIELD);
5 | }
6 |
--------------------------------------------------------------------------------
/mm/src/libultra/io/dpsetstat.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | void osDpSetStatus(u32 data) {
4 | IO_WRITE(DPC_STATUS_REG, data);
5 | }
6 |
--------------------------------------------------------------------------------
/mm/src/libultra/io/spsetstat.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | void __osSpSetStatus(u32 data) {
4 | IO_WRITE(SP_STATUS_REG, data);
5 | }
6 |
--------------------------------------------------------------------------------
/mm/assets/custom/fonts/Fipps-Regular.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/fonts/Fipps-Regular.otf
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/CUp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/CUp.png
--------------------------------------------------------------------------------
/mm/src/libultra/os/getactivequeue.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | OSThread* __osGetActiveQueue(void) {
4 | return __osActiveQueue;
5 | }
6 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_trap/ice_2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_trap/ice_2
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/ABtn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/ABtn.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/BBtn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/BBtn.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/CDown.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/CDown.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/CLeft.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/CLeft.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/LBtn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/LBtn.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/Mod1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/Mod1.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/Mod2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/Mod2.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/RBtn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/RBtn.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/ZBtn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/ZBtn.png
--------------------------------------------------------------------------------
/mm/src/libultra/io/viextendvstart.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | void osViExtendVStart(u32 value) {
4 | __additional_scanline = value;
5 | }
6 |
--------------------------------------------------------------------------------
/mm/src/libultra/io/vigetcurrcontext.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | __OSViContext* __osViGetCurrentContext(void) {
4 | return __osViCurr;
5 | }
6 |
--------------------------------------------------------------------------------
/mm/assets/custom/fonts/Inconsolata-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/fonts/Inconsolata-Regular.ttf
--------------------------------------------------------------------------------
/mm/assets/custom/fonts/Montserrat-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/fonts/Montserrat-Regular.ttf
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/CRight.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/CRight.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/DPadDown.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/DPadDown.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/DPadLeft.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/DPadLeft.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/DPadUp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/DPadUp.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/StartBtn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/StartBtn.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/icons/g2ShipIcon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/icons/g2ShipIcon.png
--------------------------------------------------------------------------------
/mm/include/debug.h:
--------------------------------------------------------------------------------
1 | #ifndef DEBUG_H
2 | #define DEBUG_H
3 |
4 | void _dbg_hungup(const char* file, int lineNum);
5 | void Reset(void);
6 |
7 | #endif
8 |
--------------------------------------------------------------------------------
/mm/src/code/sys_freeze.c:
--------------------------------------------------------------------------------
1 | #include "global.h"
2 |
3 | NORETURN void Sys_Freeze(void) {
4 | for (;;) {
5 | Sleep_Msec(1000);
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/mm/src/libultra/os/getcurrfaultthread.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | OSThread* __osGetCurrFaultedThread(void) {
4 | return __osFaultedThread;
5 | }
6 |
--------------------------------------------------------------------------------
/mm/assets/custom/fonts/PressStart2P-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/fonts/PressStart2P-Regular.ttf
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/CUpOutline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/CUpOutline.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/DPadRight.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/DPadRight.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/RightStick.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/RightStick.png
--------------------------------------------------------------------------------
/mm/include/carthandle.h:
--------------------------------------------------------------------------------
1 | #ifndef CARTHANDLE_H
2 | #define CARTHANDLE_H
3 |
4 | #include "ultra64.h"
5 |
6 | extern OSPiHandle* gCartHandle;
7 |
8 | #endif
9 |
--------------------------------------------------------------------------------
/mm/assets/custom/misc/nintendo_rogo_static/SoHShiny:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/misc/nintendo_rogo_static/SoHShiny
--------------------------------------------------------------------------------
/mm/assets/custom/misc/nintendo_rogo_static/metal2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/misc/nintendo_rogo_static/metal2
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_taru/FairyBarrelTop:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_taru/FairyBarrelTop
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_taru/HeartBarrelTop:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_taru/HeartBarrelTop
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_taru/JunkBarrelSide:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_taru/JunkBarrelSide
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_taru/JunkBarrelTop:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_taru/JunkBarrelTop
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_taru/MajorBarrelTop:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_taru/MajorBarrelTop
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_taru/MaskBarrelSide:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_taru/MaskBarrelSide
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_taru/MaskBarrelTop:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_taru/MaskBarrelTop
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_taru/MinorBarrelTop:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_taru/MinorBarrelTop
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_taru/RandoBarrelTop:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_taru/RandoBarrelTop
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_taru/TokenBarrelTop:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_taru/TokenBarrelTop
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/PotBase_fairy:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_tsubo/PotBase_fairy
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/PotBase_heart:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_tsubo/PotBase_heart
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/PotBase_major:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_tsubo/PotBase_major
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/PotBase_mask:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_tsubo/PotBase_mask
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/PotBase_minor:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_tsubo/PotBase_minor
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/PotBase_token:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_tsubo/PotBase_token
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/PotFace_fairy:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_tsubo/PotFace_fairy
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/PotFace_heart:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_tsubo/PotFace_heart
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/PotFace_major:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_tsubo/PotFace_major
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/PotFace_mask:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_tsubo/PotFace_mask
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/PotFace_minor:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_tsubo/PotFace_minor
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/PotFace_token:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_tsubo/PotFace_token
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/PotLip_fairy:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_tsubo/PotLip_fairy
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/PotLip_heart:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_tsubo/PotLip_heart
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/PotLip_major:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_tsubo/PotLip_major
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/PotLip_mask:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_tsubo/PotLip_mask
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/PotLip_minor:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_tsubo/PotLip_minor
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/PotLip_token:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_tsubo/PotLip_token
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/ABtnOutline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/ABtnOutline.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/AnalogStick.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/AnalogStick.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/BBtnOutline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/BBtnOutline.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/CDownOutline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/CDownOutline.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/CLeftOutline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/CLeftOutline.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/CRightOutline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/CRightOutline.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/DPadUpOutline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/DPadUpOutline.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/LBtnOutline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/LBtnOutline.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/Mod1Outline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/Mod1Outline.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/Mod2Outline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/Mod2Outline.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/RBtnOutline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/RBtnOutline.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/ZBtnOutline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/ZBtnOutline.png
--------------------------------------------------------------------------------
/mm/include/PR/os_reg.h:
--------------------------------------------------------------------------------
1 | #ifndef PR_OS_REG_H
2 | #define PR_OS_REG_H
3 |
4 | #include "ultratypes.h"
5 |
6 |
7 | u32 osGetCount(void);
8 |
9 | #endif
10 |
--------------------------------------------------------------------------------
/mm/assets/custom/helpers/cosmetics/gEndGrayscaleAndEndDlistDL:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_ability_swim/flippers:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_ability_swim/flippers
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako/junk_crate_top:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_kibako/junk_crate_top
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako/mask_crate_top:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_kibako/mask_crate_top
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_taru/BossKeyBarrelTop:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_taru/BossKeyBarrelTop
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_taru/FairyBarrelSide:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_taru/FairyBarrelSide
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_taru/HeartBarrelSide:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_taru/HeartBarrelSide
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_taru/MajorBarrelSide:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_taru/MajorBarrelSide
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_taru/MinorBarrelSide:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_taru/MinorBarrelSide
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_taru/RandoBarrelSide:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_taru/RandoBarrelSide
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_taru/TokenBarrelSide:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_taru/TokenBarrelSide
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/PotBase_bosskey:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_tsubo/PotBase_bosskey
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/PotFace_bosskey:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_tsubo/PotFace_bosskey
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/PotFace_mystery:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_tsubo/PotFace_mystery
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/PotLip_bosskey:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_tsubo/PotLip_bosskey
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/PotLip_smallkey:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_tsubo/PotLip_smallkey
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/PotLip_standard:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_tsubo/PotLip_standard
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/DPadDownOutline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/DPadDownOutline.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/DPadLeftOutline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/DPadLeftOutline.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/StartBtnOutline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/StartBtnOutline.png
--------------------------------------------------------------------------------
/mm/src/buffers/framebuffer_hi.c:
--------------------------------------------------------------------------------
1 | #include "buffers.h"
2 |
3 | // Don't add symbols here unless you know what you are doing.
4 |
5 | BufferHigh gHiBuffer ALIGNED(64);
6 |
--------------------------------------------------------------------------------
/mm/src/buffers/framebuffer_lo.c:
--------------------------------------------------------------------------------
1 | #include "buffers.h"
2 |
3 | // Don't add symbols here unless you know what you are doing.
4 |
5 | BufferLow gLoBuffer ALIGNED(64);
6 |
--------------------------------------------------------------------------------
/mm/assets/custom/misc/nintendo_rogo_static/metal2_copy:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/misc/nintendo_rogo_static/metal2_copy
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_ability_swim/flippers2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_ability_swim/flippers2
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako/bosskey_crate_top:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_kibako/bosskey_crate_top
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako/fairy_crate_top:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_kibako/fairy_crate_top
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako/heart_crate_top:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_kibako/heart_crate_top
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako/major_crate_top:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_kibako/major_crate_top
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako/minor_crate_top:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_kibako/minor_crate_top
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako/rando_crate_top:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_kibako/rando_crate_top
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako/token_crate_top:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_kibako/token_crate_top
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako2/fairy_crate_side:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_kibako2/fairy_crate_side
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako2/fairy_crate_top:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_kibako2/fairy_crate_top
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako2/heart_crate_side:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_kibako2/heart_crate_side
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako2/heart_crate_top:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_kibako2/heart_crate_top
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako2/junk_crate_side:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_kibako2/junk_crate_side
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako2/junk_crate_top:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_kibako2/junk_crate_top
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako2/major_crate_side:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_kibako2/major_crate_side
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako2/major_crate_top:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_kibako2/major_crate_top
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako2/mask_crate_side:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_kibako2/mask_crate_side
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako2/mask_crate_top:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_kibako2/mask_crate_top
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako2/minor_crate_side:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_kibako2/minor_crate_side
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako2/minor_crate_top:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_kibako2/minor_crate_top
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako2/rando_crate_side:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_kibako2/rando_crate_side
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako2/rando_crate_top:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_kibako2/rando_crate_top
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako2/token_crate_side:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_kibako2/token_crate_side
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako2/token_crate_top:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_kibako2/token_crate_top
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_taru/BossKeyBarrelSide:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_taru/BossKeyBarrelSide
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_taru/SmallKeyBarrelSide:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_taru/SmallKeyBarrelSide
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_taru/SmallKeyBarrelTop:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_taru/SmallKeyBarrelTop
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/PotBase_smallkey:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_tsubo/PotBase_smallkey
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/PotBase_standard:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_tsubo/PotBase_standard
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/PotFace_smallkey:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_tsubo/PotFace_smallkey
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/PotFace_standard:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_tsubo/PotFace_standard
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/AnalogStickOutline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/AnalogStickOutline.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/DPadRightOutline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/DPadRightOutline.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/RightStickOutline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/RightStickOutline.png
--------------------------------------------------------------------------------
/mm/assets/custom/misc/nintendo_rogo_static/gLUSLogoTextTex:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/misc/nintendo_rogo_static/gLUSLogoTextTex
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako/smallkey_crate_top:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_kibako/smallkey_crate_top
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako2/bosskey_crate_side:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_kibako2/bosskey_crate_side
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako2/bosskey_crate_top:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_kibako2/bosskey_crate_top
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako2/smallkey_crate_top:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_kibako2/smallkey_crate_top
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_triforce_piece_0/noise_tex:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_triforce_piece_0/noise_tex
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_triforce_piece_1/noise_tex:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_triforce_piece_1/noise_tex
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_triforce_piece_2/noise_tex:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_triforce_piece_2/noise_tex
--------------------------------------------------------------------------------
/mm/assets/custom/textures/icons/gPotTrackerIcon.rgba32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/icons/gPotTrackerIcon.rgba32.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/parameter_static/gDPad.ia16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/parameter_static/gDPad.ia16.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/virtual/gEmptyTexture.rgba32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/virtual/gEmptyTexture.rgba32.png
--------------------------------------------------------------------------------
/mm/include/PR/voiceinternal.h:
--------------------------------------------------------------------------------
1 | #ifndef PR_VOICE_INTERNAL_H
2 | #define PR_VOICE_INTERNAL_H
3 |
4 | #include "ultratypes.h"
5 |
6 | extern s32 __osPfsLastChannel;
7 |
8 | #endif
9 |
--------------------------------------------------------------------------------
/.github/workflows/gtar:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | # Call the original gtar executable with sudo for macports cache restoration to root folder
4 | exec sudo /opt/homebrew/bin/gtar.orig "$@"
5 |
--------------------------------------------------------------------------------
/mm/assets/.gitignore:
--------------------------------------------------------------------------------
1 | *.bin
2 | *.c
3 | *.h
4 | *.cfg
5 | *.vtx.inc
6 | *.dlist.inc
7 |
8 | # Unignore our custom assets and header file
9 | !custom/**/*
10 | !2s2h_assets.h
11 |
--------------------------------------------------------------------------------
/mm/assets/custom/misc/nintendo_rogo_static/_2shipBetaLogoFLAT:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/misc/nintendo_rogo_static/_2shipBetaLogoFLAT
--------------------------------------------------------------------------------
/mm/assets/custom/misc/title_static/gFileSelRandIconTex.i4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/misc/title_static/gFileSelRandIconTex.i4.png
--------------------------------------------------------------------------------
/mm/assets/custom/objects/gameplay_field_keep/BushTex.rgba16:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/gameplay_field_keep/BushTex.rgba16
--------------------------------------------------------------------------------
/mm/assets/custom/objects/gameplay_field_keep/LeafTex.rgba16:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/gameplay_field_keep/LeafTex.rgba16
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako2/smallkey_crate_side:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_kibako2/smallkey_crate_side
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_triforce_completed/noise_tex:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_triforce_completed/noise_tex
--------------------------------------------------------------------------------
/mm/assets/custom/textures/buttons/InputViewerBackground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/buttons/InputViewerBackground.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/icons/gBarrelTrackerIcon.rgba32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/icons/gBarrelTrackerIcon.rgba32.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/icons/gChestTrackerIcon.rgba32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/icons/gChestTrackerIcon.rgba32.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/icons/gCrateTrackerIcon.rgba32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/icons/gCrateTrackerIcon.rgba32.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/parameter_static/gArrowUp.ia16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/parameter_static/gArrowUp.ia16.png
--------------------------------------------------------------------------------
/mm/assets/custom/misc/title_static/gFileSelFourthDayTex.i4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/misc/title_static/gFileSelFourthDayTex.i4.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/parameter_static/gArrowDown.ia16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/parameter_static/gArrowDown.ia16.png
--------------------------------------------------------------------------------
/mm/include/PR/os_tlb.h:
--------------------------------------------------------------------------------
1 | #ifndef PR_OS_TLB_H
2 | #define PR_OS_TLB_H
3 |
4 | #include "ultratypes.h"
5 |
6 | void osMapTLBRdb(void);
7 | void osUnmapTLBAll(void);
8 |
9 | #endif
10 |
--------------------------------------------------------------------------------
/mm/include/global.h:
--------------------------------------------------------------------------------
1 | #ifndef GLOBAL_H
2 | #define GLOBAL_H
3 |
4 | #include "z64.h"
5 | #include "functions.h"
6 | #include "variables.h"
7 | #include "macros.h"
8 |
9 | #endif
10 |
--------------------------------------------------------------------------------
/mm/assets/custom/misc/title_static/gFileSelCheatingDayTex.i4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/misc/title_static/gFileSelCheatingDayTex.i4.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/icon_item_static/gPauseNoENGTex.ia8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/icon_item_static/gPauseNoENGTex.ia8.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/icon_item_static/gPauseYesENGTex.ia8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/icon_item_static/gPauseYesENGTex.ia8.png
--------------------------------------------------------------------------------
/mm/assets/misc/link_animetion/link_animetion.h:
--------------------------------------------------------------------------------
1 | #ifndef MISC_LINK_ANIMETION_H
2 | #define MISC_LINK_ANIMETION_H 1
3 |
4 | #include "align_asset_macro.h"
5 |
6 | #endif // MISC_LINK_ANIMETION_H
7 |
--------------------------------------------------------------------------------
/mm/src/libultra/os/getthreadid.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | OSId osGetThreadId(OSThread* t) {
4 | if (t == NULL) {
5 | t = __osRunningThread;
6 | }
7 | return t->id;
8 | }
9 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/gameplay_field_keep/flower_fairy_tex.rgba16:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/gameplay_field_keep/flower_fairy_tex.rgba16
--------------------------------------------------------------------------------
/mm/assets/custom/objects/gameplay_field_keep/flower_gold_tex.rgba16:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/gameplay_field_keep/flower_gold_tex.rgba16
--------------------------------------------------------------------------------
/mm/assets/custom/objects/gameplay_field_keep/flower_heart_tex.rgba16:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/gameplay_field_keep/flower_heart_tex.rgba16
--------------------------------------------------------------------------------
/mm/assets/custom/objects/gameplay_field_keep/flower_mask_tex.rgba16:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/gameplay_field_keep/flower_mask_tex.rgba16
--------------------------------------------------------------------------------
/mm/assets/custom/objects/gameplay_field_keep/flower_token_tex.rgba16:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/gameplay_field_keep/flower_token_tex.rgba16
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_box/gBoxChestLockMajorTex.rgb5a1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_box/gBoxChestLockMajorTex.rgb5a1.png
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_box/gBoxChestLockMaskTex.rgb5a1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_box/gBoxChestLockMaskTex.rgb5a1.png
--------------------------------------------------------------------------------
/mm/assets/custom/overlays/ovl_En_Bom/gPowderKegFuseTexLarger.i8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/overlays/ovl_En_Bom/gPowderKegFuseTexLarger.i8.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/parameter_static/gTriforcePiece.rgba32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/parameter_static/gTriforcePiece.rgba32.png
--------------------------------------------------------------------------------
/mm/src/libultra/gu/sqrtf.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | #ifndef __GNUC__
4 | #define __builtin_sqrtf sqrtf
5 | #endif
6 |
7 | f32 sqrtf(f32 f) {
8 | return __builtin_sqrtf(f);
9 | }
10 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/gameplay_field_keep/flower_bosskey_tex.rgba16:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/gameplay_field_keep/flower_bosskey_tex.rgba16
--------------------------------------------------------------------------------
/mm/assets/custom/objects/gameplay_field_keep/flower_bronze_tex.rgba16:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/gameplay_field_keep/flower_bronze_tex.rgba16
--------------------------------------------------------------------------------
/mm/assets/custom/objects/gameplay_field_keep/flower_random_tex.rgba16:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/gameplay_field_keep/flower_random_tex.rgba16
--------------------------------------------------------------------------------
/mm/assets/custom/objects/gameplay_field_keep/flower_silver_tex.rgba16:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/gameplay_field_keep/flower_silver_tex.rgba16
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_box/gBoxChestCornerHealthTex.rgb5a1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_box/gBoxChestCornerHealthTex.rgb5a1.png
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_box/gBoxChestCornerLesserTex.rgb5a1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_box/gBoxChestCornerLesserTex.rgb5a1.png
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_box/gBoxChestCornerMajorTex.rgb5a1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_box/gBoxChestCornerMajorTex.rgb5a1.png
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_box/gBoxChestCornerMaskTex.rgb5a1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_box/gBoxChestCornerMaskTex.rgb5a1.png
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_box/gBoxChestLockHealthTex.rgb5a1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_box/gBoxChestLockHealthTex.rgb5a1.png
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_box/gBoxChestLockLesserTex.rgb5a1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_box/gBoxChestLockLesserTex.rgb5a1.png
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_box/gBoxChestLockSmallKeyTex.rgb5a1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_box/gBoxChestLockSmallKeyTex.rgb5a1.png
--------------------------------------------------------------------------------
/mm/include/libc/alloca.h:
--------------------------------------------------------------------------------
1 | #ifndef LIBC_ALLOCA_H
2 | #define LIBC_ALLOCA_H
3 |
4 | #ifndef __linux__
5 | void* alloca(u32);
6 | #endif
7 |
8 | #define alloca __builtin_alloca
9 |
10 | #endif
11 |
--------------------------------------------------------------------------------
/mm/src/libultra/os/getthreadpri.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | OSPri osGetThreadPri(OSThread* t) {
4 | if (t == NULL) {
5 | t = __osRunningThread;
6 | }
7 | return t->priority;
8 | }
9 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_box/gBoxChestCornerSmallKeyTex.rgb5a1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_box/gBoxChestCornerSmallKeyTex.rgb5a1.png
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_box/gBoxChestLockSkullTokenTex.rgb5a1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_box/gBoxChestLockSkullTokenTex.rgb5a1.png
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_box/gBoxChestLockStrayFairyTex.rgb5a1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_box/gBoxChestLockStrayFairyTex.rgb5a1.png
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_box/gKeyTreasureChestFrontTex.rgb5a1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_box/gKeyTreasureChestFrontTex.rgb5a1.png
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_mag/gTitleBossRushSubtitleTex.rgba32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_mag/gTitleBossRushSubtitleTex.rgba32.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/icon_item_static/gContinuePlayingENGTex.ia8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/icon_item_static/gContinuePlayingENGTex.ia8.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/icon_item_static/gPauseSavePromptENGTex.ia8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/icon_item_static/gPauseSavePromptENGTex.ia8.png
--------------------------------------------------------------------------------
/mm/linux/2s2h.desktop:
--------------------------------------------------------------------------------
1 | [Desktop Entry]
2 | Version=1.0
3 | Name=2SHIP
4 | Exec=2s2h.elf
5 | Terminal=true
6 | Icon=2s2hIcon
7 | Type=Application
8 | Categories=Game;
9 | X-AppImage-Integrate=false
10 |
--------------------------------------------------------------------------------
/mm/2s2h/Enhancements/Cutscenes/StoryCutscenes/SkipGiantsChamber.h:
--------------------------------------------------------------------------------
1 | #ifndef SKIP_GIANTS_CHAMBER_H
2 | #define SKIP_GIANTS_CHAMBER_H
3 |
4 | void HandleGiantsCutsceneSkip();
5 |
6 | #endif // SKIP_GIANTS_CHAMBER_H
7 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_box/gBoxChestCornerSkullTokenTex.rgb5a1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_box/gBoxChestCornerSkullTokenTex.rgb5a1.png
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_box/gBoxChestCornerStrayFairyTex.rgb5a1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_box/gBoxChestCornerStrayFairyTex.rgb5a1.png
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_box/gSkullTreasureChestFrontTex.rgb5a1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_box/gSkullTreasureChestFrontTex.rgb5a1.png
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_mag/gTitleRandomizerSubtitleTex.rgba32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_mag/gTitleRandomizerSubtitleTex.rgba32.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSArrowTex.ia8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSArrowTex.ia8.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSEdgeTex.ia8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSEdgeTex.ia8.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSFillTex.ia8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSFillTex.ia8.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/parameter_static/gThreeDayClockHour13Tex.ia4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/parameter_static/gThreeDayClockHour13Tex.ia4.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/parameter_static/gThreeDayClockHour14Tex.ia4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/parameter_static/gThreeDayClockHour14Tex.ia4.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/parameter_static/gThreeDayClockHour15Tex.ia4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/parameter_static/gThreeDayClockHour15Tex.ia4.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/parameter_static/gThreeDayClockHour16Tex.ia4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/parameter_static/gThreeDayClockHour16Tex.ia4.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/parameter_static/gThreeDayClockHour17Tex.ia4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/parameter_static/gThreeDayClockHour17Tex.ia4.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/parameter_static/gThreeDayClockHour18Tex.ia4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/parameter_static/gThreeDayClockHour18Tex.ia4.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/parameter_static/gThreeDayClockHour19Tex.ia4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/parameter_static/gThreeDayClockHour19Tex.ia4.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/parameter_static/gThreeDayClockHour20Tex.ia4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/parameter_static/gThreeDayClockHour20Tex.ia4.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/parameter_static/gThreeDayClockHour21Tex.ia4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/parameter_static/gThreeDayClockHour21Tex.ia4.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/parameter_static/gThreeDayClockHour22Tex.ia4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/parameter_static/gThreeDayClockHour22Tex.ia4.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/parameter_static/gThreeDayClockHour23Tex.ia4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/parameter_static/gThreeDayClockHour23Tex.ia4.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/parameter_static/gThreeDayClockHour24Tex.ia4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/parameter_static/gThreeDayClockHour24Tex.ia4.png
--------------------------------------------------------------------------------
/mm/include/PR/os_internal_error.h:
--------------------------------------------------------------------------------
1 | #ifndef PR_OS_INTERNAL_ERROR_H
2 | #define PR_OS_INTERNAL_ERROR_H
3 |
4 | #include "os_thread.h"
5 |
6 |
7 | OSThread* __osGetCurrFaultedThread(void);
8 |
9 | #endif
10 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_box/gKeyTreasureChestSideAndTopTex.rgb5a1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_box/gKeyTreasureChestSideAndTopTex.rgb5a1.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSMiddleTex.ia8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSMiddleTex.ia8.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/title_static/gFileSelBossRushSettingsENGTex.ia8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/title_static/gFileSelBossRushSettingsENGTex.ia8.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/title_static/gFileSelBossRushSettingsFRATex.ia8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/title_static/gFileSelBossRushSettingsFRATex.ia8.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/title_static/gFileSelBossRushSettingsGERTex.ia8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/title_static/gFileSelBossRushSettingsGERTex.ia8.png
--------------------------------------------------------------------------------
/mm/assets/text/message_data_static/message_data_static.h:
--------------------------------------------------------------------------------
1 | #ifndef TEXT_MESSAGE_DATA_STATIC_H
2 | #define TEXT_MESSAGE_DATA_STATIC_H 1
3 |
4 | #include "align_asset_macro.h"
5 |
6 | #endif // TEXT_MESSAGE_DATA_STATIC_H
7 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_box/gChristmasRedTreasureChestFrontTex.rgb5a1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_box/gChristmasRedTreasureChestFrontTex.rgb5a1.png
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_box/gSkullTreasureChestSideAndTopTex.rgb5a1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_box/gSkullTreasureChestSideAndTopTex.rgb5a1.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/icon_item_static/gPauseSaveConfirmationENGTex.ia8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/icon_item_static/gPauseSaveConfirmationENGTex.ia8.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSSlowTimeTex.ia8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSSlowTimeTex.ia8.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/title_static/gFileSelPleaseChooseAQuestENGTex.ia8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/title_static/gFileSelPleaseChooseAQuestENGTex.ia8.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/title_static/gFileSelPleaseChooseAQuestFRATex.ia8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/title_static/gFileSelPleaseChooseAQuestFRATex.ia8.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/title_static/gFileSelPleaseChooseAQuestGERTex.ia8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/title_static/gFileSelPleaseChooseAQuestGERTex.ia8.png
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/objects/object_gm.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/objects/object_tanron1.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/objects/object_gm.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/linux/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | cmake --no-warn-unused-cli -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE:STRING=Release
4 | cmake --build build-cmake --config Release --
5 |
6 | (cd build-cmake && cpack -G External)
7 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_box/gChristmasGreenTreasureChestFrontTex.rgb5a1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_box/gChristmasGreenTreasureChestFrontTex.rgb5a1.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSTimeBackdropTex.ia8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSTimeBackdropTex.ia8.png
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/objects/object_tanron1.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/src/libultra/gu/coss.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | /**
4 | * Compute the sine of a hex angle and return a short, using the formula cos(x) = sin(x+pi).
5 | */
6 | s16 coss(u16 x) {
7 | return sins(x + 0x4000);
8 | }
9 |
--------------------------------------------------------------------------------
/mm/src/libultra/io/pigetcmdq.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | OSMesgQueue* osPiGetCmdQueue(void) {
4 | if (!__osPiDevMgr.active) {
5 | return NULL;
6 | }
7 |
8 | return __osPiDevMgr.cmdQueue;
9 | }
10 |
--------------------------------------------------------------------------------
/.github/workflows/apt-deps.txt:
--------------------------------------------------------------------------------
1 | libusb-dev libusb-1.0-0-dev libsdl2-dev libsdl2-net-dev libpng-dev libglew-dev nlohmann-json3-dev libtinyxml2-dev libspdlog-dev ninja-build libogg-dev libopus-dev opus-tools libopusfile-dev libvorbis-dev
2 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_box/gChristmasRedTreasureChestSideAndTopTex.rgb5a1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_box/gChristmasRedTreasureChestSideAndTopTex.rgb5a1.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSFinalHoursColonTex.ia8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSFinalHoursColonTex.ia8.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSFinalHoursMoonTex.ia8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSFinalHoursMoonTex.ia8.png
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/overlays/ovl_En_Mm3.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/overlays/ovl_En_Mm3.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/src/boot/syncprintf.c:
--------------------------------------------------------------------------------
1 | #include "global.h"
2 |
3 | void osSyncPrintfUnused(const char* fmt, ...) {
4 | }
5 |
6 | void osSyncPrintf(const char* fmt, ...) {
7 | }
8 |
9 | void rmonPrintf(const char* fmt, ...) {
10 | }
11 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_box/gChristmasGreenTreasureChestSideAndTopTex.rgb5a1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/objects/object_box/gChristmasGreenTreasureChestSideAndTopTex.rgb5a1.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSFinalHoursDigit0Tex.ia8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSFinalHoursDigit0Tex.ia8.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSFinalHoursDigit1Tex.ia8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSFinalHoursDigit1Tex.ia8.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSFinalHoursDigit2Tex.ia8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSFinalHoursDigit2Tex.ia8.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSFinalHoursDigit3Tex.ia8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSFinalHoursDigit3Tex.ia8.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSFinalHoursDigit4Tex.ia8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSFinalHoursDigit4Tex.ia8.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSFinalHoursDigit5Tex.ia8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSFinalHoursDigit5Tex.ia8.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSFinalHoursDigit6Tex.ia8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSFinalHoursDigit6Tex.ia8.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSFinalHoursDigit7Tex.ia8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSFinalHoursDigit7Tex.ia8.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSFinalHoursDigit8Tex.ia8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSFinalHoursDigit8Tex.ia8.png
--------------------------------------------------------------------------------
/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSFinalHoursDigit9Tex.ia8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HarbourMasters/2ship2harkinian/HEAD/mm/assets/custom/textures/parameter_static/gThreeDayClock3DSFinalHoursDigit9Tex.ia8.png
--------------------------------------------------------------------------------
/mm/include/PR/os_host.h:
--------------------------------------------------------------------------------
1 | #ifndef PR_OS_HOST_H
2 | #define PR_OS_HOST_H
3 |
4 | void __osInitialize_common(void);
5 | void __osInitialize_autodetect(void);
6 |
7 | #define osInitialize() __osInitialize_common()
8 |
9 | #endif
10 |
--------------------------------------------------------------------------------
/mm/src/libultra/os/setglobalintmask.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | void __osSetGlobalIntMask(OSHWIntr mask) {
4 | register s32 prevInt = __osDisableInt();
5 |
6 | __OSGlobalIntMask |= mask;
7 | __osRestoreInt(prevInt);
8 | }
9 |
--------------------------------------------------------------------------------
/mm/assets/text/message_data_static/staff_message_data_static.h:
--------------------------------------------------------------------------------
1 | #ifndef TEXT_STAFF_MESSAGE_DATA_STATIC_H
2 | #define TEXT_STAFF_MESSAGE_DATA_STATIC_H 1
3 |
4 | #include "align_asset_macro.h"
5 |
6 | #endif // TEXT_STAFF_MESSAGE_DATA_STATIC_H
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/misc/scene_texture_07.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/misc/scene_texture_07.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/src/libultra/io/sirawread.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | s32 __osSiRawReadIo(uintptr_t devAddr, u32* data) {
4 | if (__osSiDeviceBusy()) {
5 | return -1;
6 | }
7 | *data = IO_READ(devAddr);
8 | return 0;
9 | }
10 |
--------------------------------------------------------------------------------
/.github/workflows/macports-deps.txt:
--------------------------------------------------------------------------------
1 | libsdl2 +universal libsdl2_net +universal libpng +universal glew +universal libzip +universal nlohmann-json +universal tinyxml2 +universal libogg +universal libopus +universal opusfile +universal libvorbis +universal
2 |
--------------------------------------------------------------------------------
/mm/src/buffers/gfxbuffers.c:
--------------------------------------------------------------------------------
1 | #include "prevent_bss_reordering.h"
2 | #include "buffers.h"
3 |
4 | u8 gGfxSPTaskYieldBuffer[OS_YIELD_DATA_SIZE] ALIGNED(16);
5 |
6 | STACK(gGfxSPTaskStack, 0x400) ALIGNED(16);
7 |
8 | GfxPool gGfxPools[2] ALIGNED(16);
9 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/misc/locerrmsg.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/mm/src/buffers/system_heap.c:
--------------------------------------------------------------------------------
1 | #include "buffers.h"
2 |
3 | // Don't add symbols here unless you know what you are doing.
4 |
5 | // Dummy, marks the start of system_heap space whose actual size depends on the spec
6 | // u8 gSystemHeap[UNK_SIZE] ALIGNED(16);
7 |
--------------------------------------------------------------------------------
/mm/src/libultra/io/sirawwrite.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | s32 __osSiRawWriteIo(uintptr_t devAddr, u32 data) {
4 | if (__osSiDeviceBusy()) {
5 | return -1;
6 | }
7 |
8 | IO_WRITE(devAddr, data);
9 |
10 | return 0;
11 | }
12 |
--------------------------------------------------------------------------------
/mm/src/libultra/os/resetglobalintmask.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | void __osResetGlobalIntMask(OSHWIntr mask) {
4 | register s32 prevInt = __osDisableInt();
5 |
6 | __OSGlobalIntMask &= ~(mask & ~OS_IM_RCP);
7 | __osRestoreInt(prevInt);
8 | }
9 |
--------------------------------------------------------------------------------
/run-docker.sh:
--------------------------------------------------------------------------------
1 | cookie=$(xauth list | head -1 | sed "s/unix: /unix:0 /")
2 | sudo docker build --build-arg MY_XAUTH_COOKIE="$cookie" . -t soh
3 | sudo docker run --rm -it -e DISPLAY --net=host --device=/dev/dri --device /dev/snd -v $(pwd):/2ship soh /bin/bash
4 |
--------------------------------------------------------------------------------
/mm/2s2h/Enhancements/Songs/Songs.h:
--------------------------------------------------------------------------------
1 | #ifndef SONGS_H
2 | #define SONGS_H
3 |
4 | #ifdef __cplusplus
5 | extern "C" {
6 | #endif
7 |
8 | bool PauseOwlWarp_IsOwlWarpEnabled(void);
9 |
10 | #ifdef __cplusplus
11 | }
12 | #endif
13 |
14 | #endif // SONGS_H
15 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/misc/locerrmsg.xml:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/mm/include/align_asset_macro.h:
--------------------------------------------------------------------------------
1 | #ifndef ALIGN_ASSET_MACRO_H
2 | #define ALIGN_ASSET_MACRO_H
3 |
4 | #if defined(_WIN32)
5 | #define ALIGN_ASSET(x) __declspec(align(x))
6 | #else
7 | #define ALIGN_ASSET(x) __attribute__((aligned (x)))
8 | #endif
9 |
10 | #endif
--------------------------------------------------------------------------------
/mm/include/stack.h:
--------------------------------------------------------------------------------
1 | #ifndef STACK_H
2 | #define STACK_H
3 |
4 | #include "alignment.h"
5 |
6 | #define STACK(stack, size) \
7 | u64 stack[ALIGN8(size) / sizeof(u64)]
8 |
9 | #define STACK_TOP(stack) \
10 | ((u8*)(stack) + sizeof(stack))
11 |
12 | #endif
13 |
--------------------------------------------------------------------------------
/mm/src/boot/O2/__osStrcpy.c:
--------------------------------------------------------------------------------
1 | #include "global.h"
2 |
3 | char* __osStrcpy(char* dst, const char* src) {
4 | char* _dst = dst;
5 |
6 | while (*src != '\0') {
7 | *_dst++ = *src++;
8 | }
9 | *_dst = '\0';
10 |
11 | return dst;
12 | }
13 |
--------------------------------------------------------------------------------
/docs/supportedHashes.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "name": "NTSC-U 1.0",
4 | "sha1": "d6133ace5afaa0882cf214cf88daba39e266c078"
5 | },
6 | {
7 | "name": "NTSC-U GC",
8 | "sha1": "9743aa026e9269b339eb0e3044cd5830a440c1fd"
9 | }
10 | ]
11 |
--------------------------------------------------------------------------------
/mm/2s2h/PresetManager/PresetManager.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef PRESET_MANAGER_H
3 | #define PRESET_MANAGER_H
4 |
5 | #include
6 |
7 | bool PresetManager_HandleFileDropped(const std::string& filePath);
8 | void PresetManager_Draw();
9 |
10 | #endif // PRESET_MANAGER_H
11 |
--------------------------------------------------------------------------------
/mm/2s2h/Rando/ActorBehavior/EnHg.cpp:
--------------------------------------------------------------------------------
1 | #include "ActorBehavior.h"
2 |
3 | void Rando::ActorBehavior::InitEnHgBehavior() {
4 | COND_VB_SHOULD(VB_HAVE_HEALED_PAMELAS_FATHER, IS_RANDO,
5 | { *should = RANDO_SAVE_CHECKS[RC_MUSIC_BOX_HOUSE_FATHER].cycleObtained; });
6 | }
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/misc/scene_texture_03.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/misc/scene_texture_03.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/src/libultra/io/vigetcurrframebuf.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | void* osViGetCurrentFramebuffer(void) {
4 | register u32 prevInt = __osDisableInt();
5 | void* curBuf = __osViCurr->buffer;
6 |
7 | __osRestoreInt(prevInt);
8 |
9 | return curBuf;
10 | }
11 |
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/Path.cpp:
--------------------------------------------------------------------------------
1 | #include "Path.h"
2 |
3 | namespace SOH {
4 | PathDataMM* PathMM::GetPointer() {
5 | return pathData.data();
6 | }
7 | size_t PathMM::GetPointerSize() {
8 | return pathData.size() * sizeof(PathDataMM);
9 | }
10 |
11 | } // namespace SOH
12 |
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/scenecommand/EndMarker.cpp:
--------------------------------------------------------------------------------
1 | #include "EndMarker.h"
2 |
3 | namespace SOH {
4 | Marker* EndMarker::GetPointer() {
5 | return &endMarker;
6 | }
7 |
8 | size_t EndMarker::GetPointerSize() {
9 | return sizeof(Marker);
10 | }
11 | } // namespace SOH
12 |
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/scenecommand/SetMesh.cpp:
--------------------------------------------------------------------------------
1 | #include "SetMesh.h"
2 |
3 | namespace SOH {
4 | MeshHeader* SetMesh::GetPointer() {
5 | return &meshHeader;
6 | }
7 |
8 | size_t SetMesh::GetPointerSize() {
9 | return sizeof(MeshHeader);
10 | }
11 | } // namespace SOH
12 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/code/fbdemo_circle.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/mm/src/boot/O2/__osMemset.c:
--------------------------------------------------------------------------------
1 | #include "global.h"
2 |
3 | void* __osMemset(void* ptr, s32 val, size_t size) {
4 | u8* dst = ptr;
5 | register s32 rem;
6 |
7 | for (rem = size--; rem != 0; rem = size--) {
8 | *dst++ = val;
9 | }
10 | return ptr;
11 | }
12 |
--------------------------------------------------------------------------------
/mm/src/overlays/effects/ovl_Effect_Ss_G_Fire/z_eff_ss_g_fire.h:
--------------------------------------------------------------------------------
1 | #ifndef _Z64_EFFECT_SS_G_FIRE_H_
2 | #define _Z64_EFFECT_SS_G_FIRE_H_
3 |
4 | #include "global.h"
5 |
6 | typedef struct {
7 | /* 0x00 */ Vec3f pos;
8 | } EffectSsGFireInitParams; // size = 0xC
9 |
10 | #endif
11 |
--------------------------------------------------------------------------------
/mm/2s2h/BenGui/ResolutionEditor.h:
--------------------------------------------------------------------------------
1 | #ifndef RESOLUTIONEDITOR_H
2 | #define RESOLUTIONEDITOR_H
3 |
4 | namespace BenGui {
5 | bool IsDroppingFrames();
6 | void RegisterResolutionWidgets();
7 | void UpdateResolutionVars();
8 | } // namespace BenGui
9 |
10 | #endif // RESOLUTIONEDITOR_H
11 |
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/Background.cpp:
--------------------------------------------------------------------------------
1 | #include "Background.h"
2 |
3 | namespace SOH {
4 | uint8_t* Background::GetPointer() {
5 | return Data.data();
6 | }
7 |
8 | size_t Background::GetPointerSize() {
9 | return Data.size() * sizeof(uint8_t);
10 | }
11 | } // namespace SOH
12 |
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/scenecommand/RomFile.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include
4 |
5 | namespace SOH {
6 | typedef struct {
7 | /* 0x00 */ uintptr_t vromStart;
8 | /* 0x04 */ uintptr_t vromEnd;
9 | char* fileName;
10 | } RomFile; // size = 0x8
11 | } // namespace SOH
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/code/actor.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/objects/object_bubble.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/code/actor.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/code/fbdemo_circle.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/objects/object_bubble.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/src/overlays/actors/ovl_En_Torch/z_en_torch.h:
--------------------------------------------------------------------------------
1 | #ifndef Z_EN_TORCH_H
2 | #define Z_EN_TORCH_H
3 |
4 | #include "global.h"
5 |
6 | struct EnTorch;
7 |
8 | typedef struct EnTorch {
9 | /* 0x000 */ Actor actor;
10 | } EnTorch; // size = 0x144
11 |
12 | #endif // Z_EN_TORCH_H
13 |
--------------------------------------------------------------------------------
/mm/src/overlays/actors/ovl_Obj_Hana/z_obj_hana.h:
--------------------------------------------------------------------------------
1 | #ifndef Z_OBJ_HANA_H
2 | #define Z_OBJ_HANA_H
3 |
4 | #include "global.h"
5 |
6 | struct ObjHana;
7 |
8 | typedef struct ObjHana {
9 | /* 0x000 */ Actor actor;
10 | } ObjHana; // size = 0x144
11 |
12 | #endif // Z_OBJ_HANA_H
13 |
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/TextMM.cpp:
--------------------------------------------------------------------------------
1 | #include "TextMM.h"
2 |
3 | namespace SOH {
4 | MessageEntryMM* TextMM::GetPointer() {
5 | return messages.data();
6 | }
7 |
8 | size_t TextMM::GetPointerSize() {
9 | return messages.size() * sizeof(MessageEntryMM);
10 | }
11 | } // namespace SOH
12 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/overlays/ovl_Obj_Smork.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/mm/src/libultra/io/epilinkhandle.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | s32 osEPiLinkHandle(OSPiHandle* handle) {
4 | u32 saveMask = __osDisableInt();
5 |
6 | handle->next = __osPiTable;
7 | __osPiTable = handle;
8 |
9 | __osRestoreInt(saveMask);
10 |
11 | return 0;
12 | }
13 |
--------------------------------------------------------------------------------
/mm/src/libultra/io/spsetpc.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | s32 __osSpSetPc(u32 pc) {
4 | register u32 spStatus = IO_READ(SP_STATUS_REG);
5 |
6 | if (!(spStatus & SP_STATUS_HALT)) {
7 | return -1;
8 | }
9 | IO_WRITE(SP_PC_REG, pc);
10 |
11 | return 0;
12 | }
13 |
--------------------------------------------------------------------------------
/mm/src/libultra/os/yieldthread.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | void osYieldThread(void) {
4 | register u32 saveMask = __osDisableInt();
5 |
6 | __osRunningThread->state = OS_STATE_RUNNABLE;
7 | __osEnqueueAndYield(&__osRunQueue);
8 |
9 | __osRestoreInt(saveMask);
10 | }
11 |
--------------------------------------------------------------------------------
/mm/src/overlays/actors/ovl_Obj_Funen/z_obj_funen.h:
--------------------------------------------------------------------------------
1 | #ifndef Z_OBJ_FUNEN_H
2 | #define Z_OBJ_FUNEN_H
3 |
4 | #include "global.h"
5 |
6 | struct ObjFunen;
7 |
8 | typedef struct ObjFunen {
9 | /* 0x000 */ Actor actor;
10 | } ObjFunen; // size = 0x144
11 |
12 | #endif // Z_OBJ_FUNEN_H
13 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/objects/object_masterzoora.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/overlays/ovl_Obj_Entotu.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/objects/object_masterzoora.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/overlays/ovl_Obj_Smork.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/mm/include/libc/string.h:
--------------------------------------------------------------------------------
1 | #ifndef LIBC_STRING_H
2 | #define LIBC_STRING_H
3 |
4 | #include "libc/stddef.h"
5 |
6 | #ifdef __sgi
7 | const char* strchr(const char* s, int c);
8 | size_t strlen(const char* s);
9 | void* memcpy(void* s1, const void* s2, size_t n);
10 | #endif
11 |
12 | #endif
13 |
--------------------------------------------------------------------------------
/mm/include/system_heap.h:
--------------------------------------------------------------------------------
1 | #ifndef SYSTEM_HEAP_H
2 | #define SYSTEM_HEAP_H
3 |
4 | #include "libc/stddef.h"
5 | #include "PR/ultratypes.h"
6 |
7 | void* SystemHeap_Malloc(size_t size);
8 | void SystemHeap_Free(void* ptr);
9 | void SystemHeap_Init(void* start, size_t size);
10 |
11 | #endif
12 |
--------------------------------------------------------------------------------
/mm/src/boot/O2/debug.c:
--------------------------------------------------------------------------------
1 | #include "global.h"
2 | #include "fault.h"
3 |
4 | void _dbg_hungup(const char* file, int lineNum) {
5 | // osGetThreadId(NULL);
6 | Fault_AddHungupAndCrash(file, lineNum);
7 | }
8 |
9 | void Reset(void) {
10 | Fault_AddHungupAndCrash("Reset", 0);
11 | }
12 |
--------------------------------------------------------------------------------
/mm/src/boot/O2/fmodf.c:
--------------------------------------------------------------------------------
1 | #include "global.h"
2 | #if 0
3 | f32 fmodf(f32 dividend, f32 divisor) {
4 | s32 quotient;
5 |
6 | if (divisor == 0.0f) {
7 | return 0.0f;
8 | }
9 | quotient = dividend / divisor;
10 |
11 | return dividend - quotient * divisor;
12 | }
13 | #endif
--------------------------------------------------------------------------------
/mm/src/libultra/io/visetyscale.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | void osViSetYScale(f32 value) {
4 | register u32 saveMask = __osDisableInt();
5 |
6 | __osViNext->y.factor = value;
7 |
8 | __osViNext->state |= VI_STATE_YSCALE_UPDATED;
9 |
10 | __osRestoreInt(saveMask);
11 | }
12 |
--------------------------------------------------------------------------------
/mm/src/libultra/os/gethwinterrupt.c:
--------------------------------------------------------------------------------
1 | #include "PR/os_internal.h"
2 | #include "PR/osint.h"
3 |
4 | void __osGetHWIntrRoutine(OSHWIntr interrupt, s32 (**handler)(void), void** stackEnd) {
5 | *handler = __osHwIntTable[interrupt].handler;
6 | *stackEnd = __osHwIntTable[interrupt].stackEnd;
7 | }
8 |
--------------------------------------------------------------------------------
/mm/src/overlays/actors/ovl_En_Sda/z_en_sda.h:
--------------------------------------------------------------------------------
1 | #ifndef Z_EN_SDA_H
2 | #define Z_EN_SDA_H
3 |
4 | #include "global.h"
5 |
6 | struct EnSda;
7 |
8 | #define ENSDA_1 1
9 |
10 | typedef struct EnSda {
11 | /* 0x000 */ Actor actor;
12 | } EnSda; // size = 0x144
13 |
14 | #endif // Z_EN_SDA_H
15 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/code/sub_s.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/objects/object_mastergolon.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/overlays/ovl_Obj_Toudai.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/code/sub_s.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/objects/object_mastergolon.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/overlays/ovl_Obj_Entotu.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/overlays/ovl_Obj_Toudai.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/mm/include/PR/siint.h:
--------------------------------------------------------------------------------
1 | #ifndef PR_SIINT_H
2 | #define PR_SIINT_H
3 |
4 | #include "ultratypes.h"
5 |
6 | extern u8 __osPfsInodeCacheBank;
7 |
8 | void __osSiGetAccess(void);
9 | void __osSiRelAccess(void);
10 | s32 __osSiDeviceBusy(void);
11 | void __osSiCreateAccessQueue(void);
12 |
13 | #endif
14 |
--------------------------------------------------------------------------------
/mm/src/libultra/io/epiread.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | s32 osEPiReadIo(OSPiHandle* handle, uintptr_t devAddr, u32* data) {
4 | register s32 ret;
5 |
6 | __osPiGetAccess();
7 | ret = __osEPiRawReadIo(handle, devAddr, data);
8 | __osPiRelAccess();
9 |
10 | return ret;
11 | }
12 |
--------------------------------------------------------------------------------
/mm/src/libultra/io/vigetnextframebuf.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | void* osViGetNextFramebuffer(void) {
4 | register u32 saveMask = __osDisableInt();
5 | void* buffer;
6 |
7 | buffer = __osViNext->buffer;
8 |
9 | __osRestoreInt(saveMask);
10 |
11 | return buffer;
12 | }
13 |
--------------------------------------------------------------------------------
/mm/src/libultra/io/viswapbuf.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | void osViSwapBuffer(void* frameBufPtr) {
4 |
5 | u32 saveMask = __osDisableInt();
6 |
7 | __osViNext->buffer = frameBufPtr;
8 | __osViNext->state |= VI_STATE_BUFFER_UPDATED;
9 |
10 | __osRestoreInt(saveMask);
11 | }
12 |
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/scenecommand/SetExitList.cpp:
--------------------------------------------------------------------------------
1 | #include "SetExitList.h"
2 |
3 | namespace SOH {
4 | uint16_t* SetExitList::GetPointer() {
5 | return exits.data();
6 | }
7 |
8 | size_t SetExitList::GetPointerSize() {
9 | return exits.size() * sizeof(int16_t);
10 | }
11 | } // namespace SOH
12 |
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/scenecommand/SetMinimapList.cpp:
--------------------------------------------------------------------------------
1 | #include "SetMinimapList.h"
2 |
3 | namespace SOH {
4 |
5 | MinimapListData* SetMinimapList::GetPointer() {
6 | return &list;
7 | }
8 |
9 | size_t SetMinimapList::GetPointerSize() {
10 | return sizeof(list);
11 | }
12 |
13 | } // namespace SOH
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/scenecommand/SetRoomList.cpp:
--------------------------------------------------------------------------------
1 | #include "SetRoomList.h"
2 |
3 | namespace SOH {
4 | RomFile* SetRoomList::GetPointer() {
5 | return rooms.data();
6 | }
7 |
8 | size_t SetRoomList::GetPointerSize() {
9 | return rooms.size() * sizeof(RomFile);
10 | }
11 | } // namespace SOH
12 |
--------------------------------------------------------------------------------
/mm/assets/overlays/ovl_En_Mm3/ovl_En_Mm3.h:
--------------------------------------------------------------------------------
1 | #ifndef OVERLAYS_OVL_EN_MM3_H
2 | #define OVERLAYS_OVL_EN_MM3_H 1
3 |
4 | #include "align_asset_macro.h"
5 |
6 | #define dsEnMm3DL "__OTR__overlays/ovl_En_Mm3/sEnMm3DL"
7 | static const ALIGN_ASSET(2) char sEnMm3DL[] = dsEnMm3DL;
8 | #endif // OVERLAYS_OVL_EN_MM3_H
9 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/code/z_map_disp.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/overlays/ovl_En_Bomjima.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/overlays/ovl_En_Bomjimb.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/text/message_data_static.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/code/z_map_disp.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/text/message_data_static.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/mm/src/libultra/io/epiwrite.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | s32 osEPiWriteIo(OSPiHandle* handle, uintptr_t devAddr, u32 data) {
4 | register s32 ret;
5 |
6 | __osPiGetAccess();
7 | ret = __osEPiRawWriteIo(handle, devAddr, data);
8 | __osPiRelAccess();
9 |
10 | return ret;
11 | }
12 |
--------------------------------------------------------------------------------
/mm/src/overlays/effects/ovl_Effect_Ss_Stick/z_eff_ss_stick.h:
--------------------------------------------------------------------------------
1 | #ifndef _Z64_EFFECT_SS_STICK_H_
2 | #define _Z64_EFFECT_SS_STICK_H_
3 |
4 | #include "global.h"
5 |
6 | typedef struct {
7 | /* 0x0 */ Vec3f pos;
8 | /* 0xC */ s16 yaw;
9 | } EffectSsStickInitParams; // size = 0x10
10 |
11 | #endif
12 |
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/scenecommand/SetPathways.cpp:
--------------------------------------------------------------------------------
1 | #include "SetPathways.h"
2 |
3 | namespace SOH {
4 | PathDataMM** SetPathwaysMM::GetPointer() {
5 | return paths.data();
6 | }
7 | size_t SetPathwaysMM::GetPointerSize() {
8 | return paths.size() * sizeof(PathDataMM*);
9 | }
10 | } // namespace SOH
11 |
--------------------------------------------------------------------------------
/mm/assets/code/fbdemo_circle/fbdemo_circle.h:
--------------------------------------------------------------------------------
1 | #ifndef CODE_FBDEMO_CIRCLE_H
2 | #define CODE_FBDEMO_CIRCLE_H 1
3 |
4 | #include "align_asset_macro.h"
5 |
6 | #define dgCircleTex "__OTR__code/fbdemo_circle/gCircleTex"
7 | static const ALIGN_ASSET(2) char gCircleTex[] = dgCircleTex;
8 | #endif // CODE_FBDEMO_CIRCLE_H
9 |
--------------------------------------------------------------------------------
/mm/assets/objects/object_gm/object_gm.h:
--------------------------------------------------------------------------------
1 | #ifndef OBJECTS_OBJECT_GM_H
2 | #define OBJECTS_OBJECT_GM_H 1
3 |
4 | #include "align_asset_macro.h"
5 |
6 | #define dgGmEmptyBlob "__OTR__objects/object_gm/gGmEmptyBlob"
7 | static const ALIGN_ASSET(2) char gGmEmptyBlob[] = dgGmEmptyBlob;
8 | #endif // OBJECTS_OBJECT_GM_H
9 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/overlays/ovl_Boss_05.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/overlays/ovl_En_Bombers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/overlays/ovl_Boss_05.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/overlays/ovl_En_Bombers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/overlays/ovl_En_Bomjima.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/overlays/ovl_En_Bomjimb.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/src/overlays/actors/ovl_En_Zl1/z_en_zl1.h:
--------------------------------------------------------------------------------
1 | #ifndef Z_EN_ZL1_H
2 | #define Z_EN_ZL1_H
3 |
4 | #include "global.h"
5 |
6 | struct EnZl1;
7 |
8 | typedef struct EnZl1 {
9 | /* 0x000 */ Actor actor;
10 | /* 0x144 */ char unk_144[0xC0];
11 | } EnZl1; // size = 0x204
12 |
13 | #endif // Z_EN_ZL1_H
14 |
--------------------------------------------------------------------------------
/mm/src/overlays/effects/ovl_Effect_Ss_Stone1/z_eff_ss_stone1.h:
--------------------------------------------------------------------------------
1 | #ifndef _Z64_EFFECT_SS_STONE1_H_
2 | #define _Z64_EFFECT_SS_STONE1_H_
3 |
4 | #include "global.h"
5 |
6 | typedef struct {
7 | /* 0x0 */ Vec3f pos;
8 | /* 0xC */ s32 reg0;
9 | } EffectSsStone1InitParams; // size = 0x10
10 |
11 | #endif
12 |
--------------------------------------------------------------------------------
/mm/2s2h/Enhancements/GfxPatcher/AuthenticGfxPatches.h:
--------------------------------------------------------------------------------
1 | #ifndef AUTHENTIC_GFX_PATCHES_H
2 | #define AUTHENTIC_GFX_PATCHES_H
3 |
4 | void GfxPatcher_ApplyNecessaryAuthenticPatches();
5 | void GfxPatcher_ApplyOverflowTexturePatches();
6 | void GfxPatcher_ApplyGeometryIssuePatches();
7 |
8 | #endif // AUTHENTIC_GFX_PATCHES_H
9 |
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/scenecommand/SetEchoSettings.cpp:
--------------------------------------------------------------------------------
1 | #include "SetEchoSettings.h"
2 |
3 | namespace SOH {
4 | EchoSettings* SetEchoSettings::GetPointer() {
5 | return &settings;
6 | }
7 |
8 | size_t SetEchoSettings::GetPointerSize() {
9 | return sizeof(EchoSettings);
10 | }
11 | } // namespace SOH
12 |
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/scenecommand/SetObjectList.cpp:
--------------------------------------------------------------------------------
1 | #include "SetObjectList.h"
2 |
3 | namespace SOH {
4 | int16_t* SetObjectList::GetPointer() {
5 | return objects.data();
6 | }
7 |
8 | size_t SetObjectList::GetPointerSize() {
9 | return objects.size() * sizeof(int16_t);
10 | }
11 | } // namespace SOH
12 |
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/scenecommand/SetTimeSettings.cpp:
--------------------------------------------------------------------------------
1 | #include "SetTimeSettings.h"
2 |
3 | namespace SOH {
4 | TimeSettings* SetTimeSettings::GetPointer() {
5 | return &settings;
6 | }
7 |
8 | size_t SetTimeSettings::GetPointerSize() {
9 | return sizeof(TimeSettings);
10 | }
11 | } // namespace SOH
12 |
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/scenecommand/SetWindSettings.cpp:
--------------------------------------------------------------------------------
1 | #include "SetWindSettings.h"
2 |
3 | namespace SOH {
4 | WindSettings* SetWindSettings::GetPointer() {
5 | return &settings;
6 | }
7 |
8 | size_t SetWindSettings::GetPointerSize() {
9 | return sizeof(WindSettings);
10 | }
11 | } // namespace SOH
12 |
--------------------------------------------------------------------------------
/mm/src/overlays/actors/ovl_Obj_Yado/z_obj_yado.h:
--------------------------------------------------------------------------------
1 | #ifndef Z_OBJ_YADO_H
2 | #define Z_OBJ_YADO_H
3 |
4 | #include "global.h"
5 |
6 | struct ObjYado;
7 |
8 | typedef struct ObjYado {
9 | /* 0x000 */ Actor actor;
10 | /* 0x144 */ u8 isNight;
11 | } ObjYado; // size = 0x148
12 |
13 | #endif // Z_OBJ_YADO_H
14 |
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/CollisionHeader.cpp:
--------------------------------------------------------------------------------
1 | #include "CollisionHeader.h"
2 |
3 | namespace SOH {
4 | CollisionHeaderData* CollisionHeader::GetPointer() {
5 | return &collisionHeaderData;
6 | }
7 |
8 | size_t CollisionHeader::GetPointerSize() {
9 | return sizeof(collisionHeaderData);
10 | }
11 | } // namespace SOH
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/scenecommand/SetLightList.cpp:
--------------------------------------------------------------------------------
1 | #include "SetLightList.h"
2 |
3 | namespace SOH {
4 | LightInfo* SetLightList::GetPointer() {
5 | return lightList.data();
6 | }
7 |
8 | size_t SetLightList::GetPointerSize() {
9 | return lightList.size() * sizeof(LightInfo);
10 | }
11 | } // namespace SOH
12 |
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/scenecommand/SetRoomBehavior.cpp:
--------------------------------------------------------------------------------
1 | #include "SetRoomBehavior.h"
2 |
3 | namespace SOH {
4 | RoomBehaviorMM* SetRoomBehaviorMM::GetPointer() {
5 | return &roomBehavior;
6 | }
7 | size_t SetRoomBehaviorMM::GetPointerSize() {
8 | return sizeof(RoomBehaviorMM);
9 | }
10 | } // namespace SOH
11 |
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/scenecommand/SetSoundSettings.cpp:
--------------------------------------------------------------------------------
1 | #include "SetSoundSettings.h"
2 |
3 | namespace SOH {
4 | SoundSettings* SetSoundSettings::GetPointer() {
5 | return &settings;
6 | }
7 |
8 | size_t SetSoundSettings::GetPointerSize() {
9 | return sizeof(SoundSettings);
10 | }
11 | } // namespace SOH
12 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/code/eff_shield_particle.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/objects/object_kusa.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/code/eff_shield_particle.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/mm/include/z_title_setup.h:
--------------------------------------------------------------------------------
1 | #ifndef Z64TITLE_SETUP_H
2 | #define Z64TITLE_SETUP_H
3 |
4 | #include "z64game.h"
5 |
6 | typedef struct {
7 | /* 0x00 */ GameState state;
8 | } SetupState; // size = 0xA4
9 |
10 | void Setup_Destroy(GameState* gameState);
11 | void Setup_Init(GameState* thisx);
12 |
13 | #endif
14 |
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/Cutscene.cpp:
--------------------------------------------------------------------------------
1 | #include "Cutscene.h"
2 | #include
3 |
4 | namespace SOH {
5 | uint32_t* Cutscene::GetPointer() {
6 | return commands.data();
7 | }
8 |
9 | size_t Cutscene::GetPointerSize() {
10 | return commands.size() * sizeof(uint32_t);
11 | }
12 | } // namespace SOH
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/Scene.cpp:
--------------------------------------------------------------------------------
1 | #include "Scene.h"
2 |
3 | namespace SOH {
4 | void* Scene::GetPointer() {
5 | // Scene is a special type that requries C++ processing. As such, we return nothing.
6 | return nullptr;
7 | }
8 |
9 | size_t Scene::GetPointerSize() {
10 | return 0;
11 | }
12 | } // namespace SOH
13 |
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/scenecommand/SetActorList.cpp:
--------------------------------------------------------------------------------
1 | #include "SetActorList.h"
2 |
3 | namespace SOH {
4 | ActorEntry* SetActorList::GetPointer() {
5 | return actorList.data();
6 | }
7 |
8 | size_t SetActorList::GetPointerSize() {
9 | return actorList.size() * sizeof(ActorEntry);
10 | }
11 | } // namespace SOH
12 |
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/scenecommand/SetCameraSettings.cpp:
--------------------------------------------------------------------------------
1 | #include "SetCameraSettings.h"
2 |
3 | namespace SOH {
4 | CameraSettings* SetCameraSettings::GetPointer() {
5 | return &settings;
6 | }
7 |
8 | size_t SetCameraSettings::GetPointerSize() {
9 | return sizeof(CameraSettings);
10 | }
11 | } // namespace SOH
12 |
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/scenecommand/SetSkyboxModifier.cpp:
--------------------------------------------------------------------------------
1 | #include "SetSkyboxModifier.h"
2 |
3 | namespace SOH {
4 | SkyboxModifier* SetSkyboxModifier::GetPointer() {
5 | return &modifier;
6 | }
7 |
8 | size_t SetSkyboxModifier::GetPointerSize() {
9 | return sizeof(SkyboxModifier);
10 | }
11 | } // namespace SOH
12 |
--------------------------------------------------------------------------------
/mm/assets/objects/object_gi_bean/object_gi_bean.h:
--------------------------------------------------------------------------------
1 | #ifndef OBJECTS_OBJECT_GI_BEAN_H
2 | #define OBJECTS_OBJECT_GI_BEAN_H 1
3 |
4 | #include "align_asset_macro.h"
5 |
6 | #define dgGiBeanDL "__OTR__objects/object_gi_bean/gGiBeanDL"
7 | static const ALIGN_ASSET(2) char gGiBeanDL[] = dgGiBeanDL;
8 | #endif // OBJECTS_OBJECT_GI_BEAN_H
9 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/overlays/ovl_En_Bom_Bowl_Man.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/objects/object_kusa.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/overlays/ovl_En_Bom_Bowl_Man.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/src/libultra/io/si.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 | #include "libc/stdbool.h"
3 |
4 | s32 __osSiDeviceBusy() {
5 | register u32 status = IO_READ(SI_STATUS_REG);
6 |
7 | if (status & (SI_STATUS_DMA_BUSY | SI_STATUS_IO_READ_BUSY)) {
8 | return true;
9 | } else {
10 | return false;
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/mm/2s2h/Rando/MiscBehavior/Traps.h:
--------------------------------------------------------------------------------
1 | #ifndef RANDO_TRAP_H
2 | #define RANDO_TRAP_H
3 |
4 | #include "Rando/Rando.h"
5 | typedef enum { TRAP_FREEZE, TRAP_BLAST, TRAP_SHOCK, TRAP_JINX, TRAP_WALLET, TRAP_ENEMY, TRAP_TIME, TRAP_MAX } TrapTypes;
6 |
7 | extern int RollTrapType();
8 | extern std::string GetTrapMessage();
9 |
10 | #endif
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/scenecommand/SetSkyboxSettings.cpp:
--------------------------------------------------------------------------------
1 | #include "SetSkyboxSettings.h"
2 |
3 | namespace SOH {
4 | SkyboxSettings* SetSkyboxSettings::GetPointer() {
5 | return &settings;
6 | }
7 |
8 | size_t SetSkyboxSettings::GetPointerSize() {
9 | return sizeof(SetSkyboxSettings);
10 | }
11 | } // namespace SOH
12 |
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/scenecommand/SetSpecialObjects.cpp:
--------------------------------------------------------------------------------
1 | #include "SetSpecialObjects.h"
2 |
3 | namespace SOH {
4 | SpecialObjects* SetSpecialObjects::GetPointer() {
5 | return &specialObjects;
6 | }
7 |
8 | size_t SetSpecialObjects::GetPointerSize() {
9 | return sizeof(SpecialObjects);
10 | }
11 | } // namespace SOH
12 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/overlays/ovl_En_Horse_Game_Check.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/overlays/ovl_En_Horse_Game_Check.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/mm/include/PR/os_internal_rsp.h:
--------------------------------------------------------------------------------
1 | #ifndef PR_OS_INTERNAL_RSP_H
2 | #define PR_OS_INTERNAL_RSP_H
3 |
4 | #include "ultratypes.h"
5 |
6 | u32 __osSpGetStatus(void);
7 | void __osSpSetStatus(u32 data);
8 | s32 __osSpSetPc(u32 pc);
9 | s32 __osSpRawStartDma(s32 direction, u32 devAddr, void* dramAddr, size_t size);
10 |
11 | #endif
12 |
--------------------------------------------------------------------------------
/mm/src/overlays/actors/ovl_Bg_Keikoku_Spr/z_bg_keikoku_spr.h:
--------------------------------------------------------------------------------
1 | #ifndef Z_BG_KEIKOKU_SPR_H
2 | #define Z_BG_KEIKOKU_SPR_H
3 |
4 | #include "global.h"
5 |
6 | struct BgKeikokuSpr;
7 |
8 | typedef struct BgKeikokuSpr {
9 | /* 0x000 */ Actor actor;
10 | } BgKeikokuSpr; // size = 0x144
11 |
12 | #endif // Z_BG_KEIKOKU_SPR_H
13 |
--------------------------------------------------------------------------------
/mm/src/overlays/actors/ovl_Bg_Mbar_Chair/z_bg_mbar_chair.h:
--------------------------------------------------------------------------------
1 | #ifndef Z_BG_MBAR_CHAIR_H
2 | #define Z_BG_MBAR_CHAIR_H
3 |
4 | #include "global.h"
5 |
6 | struct BgMbarChair;
7 |
8 | typedef struct BgMbarChair {
9 | /* 0x000 */ DynaPolyActor dyna;
10 | } BgMbarChair; // size = 0x15C
11 |
12 | #endif // Z_BG_MBAR_CHAIR_H
13 |
--------------------------------------------------------------------------------
/mm/src/overlays/actors/ovl_Demo_Shd/z_demo_shd.h:
--------------------------------------------------------------------------------
1 | #ifndef Z_DEMO_SHD_H
2 | #define Z_DEMO_SHD_H
3 |
4 | #include "global.h"
5 |
6 | struct DemoShd;
7 |
8 | typedef struct DemoShd {
9 | /* 0x0000 */ Actor actor;
10 | /* 0x0144 */ char unk_0144[0x118C];
11 | } DemoShd; // size = 0x12D0
12 |
13 | #endif // Z_DEMO_SHD_H
14 |
--------------------------------------------------------------------------------
/mm/src/overlays/actors/ovl_En_Boj_01/z_en_boj_01.h:
--------------------------------------------------------------------------------
1 | #ifndef Z_EN_BOJ_01_H
2 | #define Z_EN_BOJ_01_H
3 |
4 | #include "global.h"
5 |
6 | struct EnBoj01;
7 |
8 | typedef struct EnBoj01 {
9 | /* 0x000 */ Actor actor;
10 | /* 0x144 */ char unk_144[0x1D0];
11 | } EnBoj01; // size = 0x314
12 |
13 | #endif // Z_EN_BOJ_01_H
14 |
--------------------------------------------------------------------------------
/mm/src/overlays/actors/ovl_En_Boj_02/z_en_boj_02.h:
--------------------------------------------------------------------------------
1 | #ifndef Z_EN_BOJ_02_H
2 | #define Z_EN_BOJ_02_H
3 |
4 | #include "global.h"
5 |
6 | struct EnBoj02;
7 |
8 | typedef struct EnBoj02 {
9 | /* 0x000 */ Actor actor;
10 | /* 0x144 */ char unk_144[0x4D8];
11 | } EnBoj02; // size = 0x61C
12 |
13 | #endif // Z_EN_BOJ_02_H
14 |
--------------------------------------------------------------------------------
/mm/src/overlays/actors/ovl_En_Boj_03/z_en_boj_03.h:
--------------------------------------------------------------------------------
1 | #ifndef Z_EN_BOJ_03_H
2 | #define Z_EN_BOJ_03_H
3 |
4 | #include "global.h"
5 |
6 | struct EnBoj03;
7 |
8 | typedef struct EnBoj03 {
9 | /* 0x000 */ Actor actor;
10 | /* 0x144 */ char unk_144[0x4D8];
11 | } EnBoj03; // size = 0x61C
12 |
13 | #endif // Z_EN_BOJ_03_H
14 |
--------------------------------------------------------------------------------
/mm/src/overlays/actors/ovl_En_Boj_04/z_en_boj_04.h:
--------------------------------------------------------------------------------
1 | #ifndef Z_EN_BOJ_04_H
2 | #define Z_EN_BOJ_04_H
3 |
4 | #include "global.h"
5 |
6 | struct EnBoj04;
7 |
8 | typedef struct EnBoj04 {
9 | /* 0x000 */ Actor actor;
10 | /* 0x144 */ char unk_144[0x4D8];
11 | } EnBoj04; // size = 0x61C
12 |
13 | #endif // Z_EN_BOJ_04_H
14 |
--------------------------------------------------------------------------------
/mm/src/overlays/actors/ovl_En_Boj_05/z_en_boj_05.h:
--------------------------------------------------------------------------------
1 | #ifndef Z_EN_BOJ_05_H
2 | #define Z_EN_BOJ_05_H
3 |
4 | #include "global.h"
5 |
6 | struct EnBoj05;
7 |
8 | typedef struct EnBoj05 {
9 | /* 0x000 */ Actor actor;
10 | /* 0x144 */ char unk_144[0x4D8];
11 | } EnBoj05; // size = 0x61C
12 |
13 | #endif // Z_EN_BOJ_05_H
14 |
--------------------------------------------------------------------------------
/.gitmodules:
--------------------------------------------------------------------------------
1 | [submodule "libultraship"]
2 | path = libultraship
3 | url = https://github.com/kenix3/libultraship.git
4 | [submodule "OTRExporter"]
5 | path = OTRExporter
6 | url = https://github.com/HarbourMasters/OTRExporter.git
7 | [submodule "ZAPDTR"]
8 | path = ZAPDTR
9 | url = https://github.com/HarbourMasters/ZAPDTR.git
10 |
--------------------------------------------------------------------------------
/mm/2s2h/DeveloperTools/DLViewer.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include
4 |
5 | class DLViewerWindow : public Ship::GuiWindow {
6 | public:
7 | using GuiWindow::GuiWindow;
8 |
9 | void InitElement() override;
10 | void DrawElement() override;
11 | void UpdateElement() override{};
12 | };
13 |
--------------------------------------------------------------------------------
/mm/2s2h/DeveloperTools/EventLog.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include
4 |
5 | class EventLogWindow : public Ship::GuiWindow {
6 | public:
7 | using GuiWindow::GuiWindow;
8 |
9 | void InitElement() override;
10 | void DrawElement() override;
11 | void UpdateElement() override{};
12 | };
13 |
--------------------------------------------------------------------------------
/mm/2s2h/Enhancements/Graphics/Graphics.h:
--------------------------------------------------------------------------------
1 | #ifndef GRAPHICS_H
2 | #define GRAPHICS_H
3 |
4 | void MotionBlur_RenderMenuOptions();
5 |
6 | #ifdef __cplusplus
7 |
8 | extern "C" {
9 | #endif
10 |
11 | void MotionBlur_Override(u8* status, s32* alpha);
12 |
13 | #ifdef __cplusplus
14 | };
15 | #endif
16 |
17 | #endif // GRAPHICS_H
18 |
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/scenecommand/SetMinimapChests.cpp:
--------------------------------------------------------------------------------
1 | #include "SetMinimapChests.h"
2 |
3 | namespace SOH {
4 |
5 | MinimapChestData* SetMinimapChests::GetPointer() {
6 | return chests.data();
7 | }
8 |
9 | size_t SetMinimapChests::GetPointerSize() {
10 | return sizeof(MinimapChestData);
11 | }
12 |
13 | } // namespace SOH
--------------------------------------------------------------------------------
/mm/assets/misc/skyboxes/d2_fine_pal_static.h:
--------------------------------------------------------------------------------
1 | #ifndef MISC_D2_FINE_PAL_STATIC_H
2 | #define MISC_D2_FINE_PAL_STATIC_H 1
3 |
4 | #include "align_asset_macro.h"
5 |
6 | #define dgSkyboxTLUT "__OTR__misc/d2_fine_pal_static/gSkyboxTLUT"
7 | static const ALIGN_ASSET(2) char gSkyboxTLUT[] = dgSkyboxTLUT;
8 | #endif // MISC_D2_FINE_PAL_STATIC_H
9 |
--------------------------------------------------------------------------------
/mm/assets/objects/object_gi_key/object_gi_key.h:
--------------------------------------------------------------------------------
1 | #ifndef OBJECTS_OBJECT_GI_KEY_H
2 | #define OBJECTS_OBJECT_GI_KEY_H 1
3 |
4 | #include "align_asset_macro.h"
5 |
6 | #define dgGiSmallKeyDL "__OTR__objects/object_gi_key/gGiSmallKeyDL"
7 | static const ALIGN_ASSET(2) char gGiSmallKeyDL[] = dgGiSmallKeyDL;
8 | #endif // OBJECTS_OBJECT_GI_KEY_H
9 |
--------------------------------------------------------------------------------
/mm/assets/objects/object_gi_stick/object_gi_stick.h:
--------------------------------------------------------------------------------
1 | #ifndef OBJECTS_OBJECT_GI_STICK_H
2 | #define OBJECTS_OBJECT_GI_STICK_H 1
3 |
4 | #include "align_asset_macro.h"
5 |
6 | #define dgGiStickDL "__OTR__objects/object_gi_stick/gGiStickDL"
7 | static const ALIGN_ASSET(2) char gGiStickDL[] = dgGiStickDL;
8 | #endif // OBJECTS_OBJECT_GI_STICK_H
9 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/objects/object_ishi.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/objects/object_mask_kyojin.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/objects/object_mask_truth.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/objects/object_ishi.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/mm/include/PR/os_ai.h:
--------------------------------------------------------------------------------
1 | #ifndef PR_OS_AI_H
2 | #define PR_OS_AI_H
3 |
4 | #include
5 |
6 | #if 0
7 |
8 | #include "ultratypes.h"
9 |
10 |
11 | u32 osAiGetLength(void);
12 | s32 osAiSetFrequency(u32 frequency);
13 | s32 osAiSetNextBuffer(void* buf, u32 size);
14 |
15 | #endif // 0
16 |
17 | #endif
18 |
--------------------------------------------------------------------------------
/mm/src/overlays/actors/ovl_Dm_Statue/z_dm_statue.h:
--------------------------------------------------------------------------------
1 | #ifndef Z_DM_STATUE_H
2 | #define Z_DM_STATUE_H
3 |
4 | #include "global.h"
5 |
6 | struct DmStatue;
7 |
8 | typedef struct DmStatue {
9 | /* 0x000 */ Actor actor;
10 | /* 0x144 */ char unk_144[0x50];
11 | } DmStatue; // size = 0x194
12 |
13 | #endif // Z_DM_STATUE_H
14 |
--------------------------------------------------------------------------------
/mm/2s2h/DeveloperTools/ActorViewer.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include
4 |
5 | class ActorViewerWindow : public Ship::GuiWindow {
6 | public:
7 | using GuiWindow::GuiWindow;
8 |
9 | void InitElement() override;
10 | void DrawElement() override;
11 | void UpdateElement() override;
12 | };
13 |
--------------------------------------------------------------------------------
/mm/2s2h/Enhancements/Trackers/TimeSplits/TimesplitsSettings.h:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | class TimesplitsSettingsWindow : public Ship::GuiWindow {
4 | public:
5 | using GuiWindow::GuiWindow;
6 |
7 | void InitElement() override;
8 | void DrawElement() override;
9 | void UpdateElement() override{};
10 | };
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/scenecommand/SetEntranceList.cpp:
--------------------------------------------------------------------------------
1 | #include "SetEntranceList.h"
2 |
3 | namespace SOH {
4 | EntranceEntry* SetEntranceList::GetPointer() {
5 | return entrances.data();
6 | }
7 |
8 | size_t SetEntranceList::GetPointerSize() {
9 | return entrances.size() * sizeof(EntranceEntry);
10 | }
11 | } // namespace SOH
12 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako2/gLargeFairyCrateDL_tri_0:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako2/gLargeHeartCrateDL_tri_0:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako2/gLargeJunkCrateDL_tri_0:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako2/gLargeMajorCrateDL_tri_0:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako2/gLargeMaskCrateDL_tri_0:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako2/gLargeMinorCrateDL_tri_0:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako2/gLargeRandoCrateDL_tri_0:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako2/gLargeTokenCrateDL_tri_0:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/objects/object_gi_bomb_1/object_gi_bomb_1.h:
--------------------------------------------------------------------------------
1 | #ifndef OBJECTS_OBJECT_GI_BOMB_1_H
2 | #define OBJECTS_OBJECT_GI_BOMB_1_H 1
3 |
4 | #include "align_asset_macro.h"
5 |
6 | #define dgGiBombDL "__OTR__objects/object_gi_bomb_1/gGiBombDL"
7 | static const ALIGN_ASSET(2) char gGiBombDL[] = dgGiBombDL;
8 | #endif // OBJECTS_OBJECT_GI_BOMB_1_H
9 |
--------------------------------------------------------------------------------
/mm/assets/text/message_data_static.c:
--------------------------------------------------------------------------------
1 | #if 0
2 | #define MESSAGE_DATA_STATIC
3 |
4 | #include "message_data_fmt_nes.h"
5 |
6 | #define DEFINE_MESSAGE(textId, typePos, msg) \
7 | const char _message_##textId[sizeof(msg)] = { msg CMD_END };
8 |
9 | #include "assets/text/message_data.enc.h"
10 |
11 | #undef DEFINE_MESSAGE
12 | #endif
13 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/objects/object_dor03.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/objects/object_dor03.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/objects/object_mask_kyojin.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/objects/object_mask_truth.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/src/libultra/io/viblack.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | void osViBlack(u8 active) {
4 | register u32 saveMask = __osDisableInt();
5 |
6 | if (active) {
7 | __osViNext->state |= VI_STATE_BLACK;
8 | } else {
9 | __osViNext->state &= ~VI_STATE_BLACK;
10 | }
11 |
12 | __osRestoreInt(saveMask);
13 | }
14 |
--------------------------------------------------------------------------------
/mm/src/libultra/io/visetevent.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | void osViSetEvent(OSMesgQueue* mq, OSMesg m, u32 retraceCount) {
4 | register u32 saveMask = __osDisableInt();
5 |
6 | __osViNext->mq = mq;
7 | __osViNext->msg = m;
8 | __osViNext->retraceCount = retraceCount;
9 |
10 | __osRestoreInt(saveMask);
11 | }
12 |
--------------------------------------------------------------------------------
/mm/src/overlays/actors/ovl_Obj_Dinner/z_obj_dinner.h:
--------------------------------------------------------------------------------
1 | #ifndef Z_OBJ_DINNER_H
2 | #define Z_OBJ_DINNER_H
3 |
4 | #include "global.h"
5 |
6 | struct ObjDinner;
7 |
8 | typedef struct ObjDinner {
9 | /* 0x000 */ Actor actor;
10 | /* 0x144 */ char unk_144[0x4];
11 | } ObjDinner; // size = 0x148
12 |
13 | #endif // Z_OBJ_DINNER_H
14 |
--------------------------------------------------------------------------------
/mm/src/overlays/actors/ovl_Oceff_Wipe2/z_oceff_wipe2.h:
--------------------------------------------------------------------------------
1 | #ifndef Z_OCEFF_WIPE2_H
2 | #define Z_OCEFF_WIPE2_H
3 |
4 | #include "global.h"
5 |
6 | struct OceffWipe2;
7 |
8 | typedef struct OceffWipe2 {
9 | /* 0x000 */ Actor actor;
10 | /* 0x144 */ s16 timer;
11 | } OceffWipe2; // size = 0x148
12 |
13 | #endif // Z_OCEFF_WIPE2_H
14 |
--------------------------------------------------------------------------------
/mm/src/overlays/actors/ovl_Oceff_Wipe6/z_oceff_wipe6.h:
--------------------------------------------------------------------------------
1 | #ifndef Z_OCEFF_WIPE6_H
2 | #define Z_OCEFF_WIPE6_H
3 |
4 | #include "global.h"
5 |
6 | struct OceffWipe6;
7 |
8 | typedef struct OceffWipe6 {
9 | /* 0x000 */ Actor actor;
10 | /* 0x144 */ s16 counter;
11 | } OceffWipe6; // size = 0x148
12 |
13 | #endif // Z_OCEFF_WIPE6_H
14 |
--------------------------------------------------------------------------------
/mm/src/overlays/actors/ovl_Oceff_Wipe7/z_oceff_wipe7.h:
--------------------------------------------------------------------------------
1 | #ifndef Z_OCEFF_WIPE7_H
2 | #define Z_OCEFF_WIPE7_H
3 |
4 | #include "global.h"
5 |
6 | struct OceffWipe7;
7 |
8 | typedef struct OceffWipe7 {
9 | /* 0x000 */ Actor actor;
10 | /* 0x144 */ s16 counter;
11 | } OceffWipe7; // size = 0x148
12 |
13 | #endif // Z_OCEFF_WIPE7_H
14 |
--------------------------------------------------------------------------------
/mm/2s2h/SaveManager/Migrations/4.cpp:
--------------------------------------------------------------------------------
1 | #include "2s2h/SaveManager/SaveManager.h"
2 | #include "z64.h"
3 |
4 | // Final legacy migration, prior to merging owl saves into main save file.
5 | void SaveManager_Migration_4(nlohmann::json& j) {
6 | nlohmann::json rootSave;
7 | rootSave["newCycleSave"] = j;
8 |
9 | j = rootSave;
10 | }
11 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako2/gLargeBossKeyCrateDL_tri_0:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/objects/object_sinkai_kabe.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/objects/object_sinkai_kabe.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/src/libultra/io/sp.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 | #include "libc/stdbool.h"
3 |
4 | s32 __osSpDeviceBusy(void) {
5 | register u32 status = IO_READ(SP_STATUS_REG);
6 |
7 | if (status & (SP_STATUS_DMA_BUSY | SP_STATUS_DMA_FULL | SP_STATUS_IO_FULL)) {
8 | return true;
9 | } else {
10 | return false;
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/mm/src/overlays/effects/ovl_Effect_Ss_Sbn/z_eff_ss_sbn.h:
--------------------------------------------------------------------------------
1 | #ifndef _Z64_EFFECT_SS_SBN_H_
2 | #define _Z64_EFFECT_SS_SBN_H_
3 |
4 | #include "global.h"
5 |
6 | typedef struct {
7 | /* 0x00 */ Vec3f pos;
8 | /* 0x0C */ CollisionPoly* colPoly;
9 | /* 0x10 */ f32 scale;
10 | } EffectSsSbnInitParams; // size = 0x14
11 |
12 | #endif
13 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_kibako2/gLargeSmallKeyCrateDL_tri_0:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/objects/object_gi_bomb_2/object_gi_bomb_2.h:
--------------------------------------------------------------------------------
1 | #ifndef OBJECTS_OBJECT_GI_BOMB_2_H
2 | #define OBJECTS_OBJECT_GI_BOMB_2_H 1
3 |
4 | #include "align_asset_macro.h"
5 |
6 | #define dgGiBombchuDL "__OTR__objects/object_gi_bomb_2/gGiBombchuDL"
7 | static const ALIGN_ASSET(2) char gGiBombchuDL[] = dgGiBombchuDL;
8 | #endif // OBJECTS_OBJECT_GI_BOMB_2_H
9 |
--------------------------------------------------------------------------------
/mm/assets/objects/object_tanron1/object_tanron1.h:
--------------------------------------------------------------------------------
1 | #ifndef OBJECTS_OBJECT_TANRON1_H
2 | #define OBJECTS_OBJECT_TANRON1_H 1
3 |
4 | #include "align_asset_macro.h"
5 |
6 | #define dgTanron1EmptyDL "__OTR__objects/object_tanron1/gTanron1EmptyDL"
7 | static const ALIGN_ASSET(2) char gTanron1EmptyDL[] = dgTanron1EmptyDL;
8 | #endif // OBJECTS_OBJECT_TANRON1_H
9 |
--------------------------------------------------------------------------------
/mm/assets/overlays/ovl_Boss_05/ovl_Boss_05.h:
--------------------------------------------------------------------------------
1 | #ifndef OVERLAYS_OVL_BOSS_05_H
2 | #define OVERLAYS_OVL_BOSS_05_H 1
3 |
4 | #include "align_asset_macro.h"
5 |
6 | #define dsBioBabaLilypadCol "__OTR__overlays/ovl_Boss_05/sBioBabaLilypadCol"
7 | static const ALIGN_ASSET(2) char sBioBabaLilypadCol[] = dsBioBabaLilypadCol;
8 | #endif // OVERLAYS_OVL_BOSS_05_H
9 |
--------------------------------------------------------------------------------
/mm/src/boot/O2/__osStrcmp.c:
--------------------------------------------------------------------------------
1 | #include "global.h"
2 |
3 | s32 __osStrcmp(const char* str1, const char* str2) {
4 | char c1;
5 | char c2;
6 |
7 | do {
8 | c1 = *str1++;
9 | c2 = *str2++;
10 | if (c1 != c2) {
11 | return c1 - c2;
12 | }
13 | } while (c1);
14 |
15 | return 0;
16 | }
17 |
--------------------------------------------------------------------------------
/mm/src/libultra/io/visetmode.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | void osViSetMode(OSViMode* modep) {
4 | register u32 saveMask = __osDisableInt();
5 |
6 | __osViNext->modep = modep;
7 | __osViNext->state = VI_STATE_MODE_UPDATED;
8 | __osViNext->features = __osViNext->modep->comRegs.ctrl;
9 |
10 | __osRestoreInt(saveMask);
11 | }
12 |
--------------------------------------------------------------------------------
/mm/src/overlays/actors/ovl_Bg_Lbfshot/z_bg_lbfshot.h:
--------------------------------------------------------------------------------
1 | #ifndef Z_BG_LBFSHOT_H
2 | #define Z_BG_LBFSHOT_H
3 |
4 | #include "global.h"
5 |
6 | struct BgLbfshot;
7 |
8 | typedef struct BgLbfshot {
9 | /* 0x000 */ DynaPolyActor dyna;
10 | /* 0x15C */ UNK_TYPE1 pad15C[0x4];
11 | } BgLbfshot; // size = 0x160
12 |
13 | #endif // Z_BG_LBFSHOT_H
14 |
--------------------------------------------------------------------------------
/mm/src/overlays/actors/ovl_En_Firefly2/z_en_firefly2.h:
--------------------------------------------------------------------------------
1 | #ifndef Z_EN_FIREFLY2_H
2 | #define Z_EN_FIREFLY2_H
3 |
4 | #include "global.h"
5 |
6 | struct EnFirefly2;
7 |
8 | typedef struct EnFirefly2 {
9 | /* 0x000 */ Actor actor;
10 | /* 0x144 */ char unk_144[0x228];
11 | } EnFirefly2; // size = 0x36C
12 |
13 | #endif // Z_EN_FIREFLY2_H
14 |
--------------------------------------------------------------------------------
/mm/src/overlays/actors/ovl_Oceff_Wipe3/z_oceff_wipe3.h:
--------------------------------------------------------------------------------
1 | #ifndef Z_OCEFF_WIPE3_H
2 | #define Z_OCEFF_WIPE3_H
3 |
4 | #include "global.h"
5 |
6 | struct OceffWipe3;
7 |
8 | typedef struct OceffWipe3 {
9 | /* 0x000 */ Actor actor;
10 | /* 0x144 */ s16 counter;
11 | } OceffWipe3; // size = 0x148
12 |
13 | #endif // Z_OCEFF_WIPE3_H
14 |
--------------------------------------------------------------------------------
/mm/2s2h/Rando/ActorBehavior/EnGg.cpp:
--------------------------------------------------------------------------------
1 | #include "ActorBehavior.h"
2 |
3 | // This accounts for both EnGg and EnGg2, both of which act as Darmani's ghost.
4 | void Rando::ActorBehavior::InitEnGgBehavior() {
5 | COND_VB_SHOULD(VB_CONSIDER_DARMANI_HEALED, IS_RANDO,
6 | { *should = RANDO_SAVE_CHECKS[RC_GORON_GRAVEYARD_DARMANI].obtained; });
7 | }
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/scenecommand/SetActorCutsceneList.cpp:
--------------------------------------------------------------------------------
1 | #include "SetActorCutsceneList.h"
2 |
3 | namespace SOH {
4 | CutsceneEntry* SetActorCutsceneList::GetPointer() {
5 | return entries.data();
6 | }
7 |
8 | size_t SetActorCutsceneList::GetPointerSize() {
9 | return entries.size() * sizeof(CutsceneEntry);
10 | }
11 |
12 | } // namespace SOH
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/scenecommand/SetAnimatedMaterialList.cpp:
--------------------------------------------------------------------------------
1 | #include "SetAnimatedMaterialList.h"
2 |
3 | namespace SOH {
4 |
5 | AnimatedMaterial* SetAnimatedMaterialList::GetPointer() {
6 | return mat;
7 | }
8 |
9 | size_t SetAnimatedMaterialList::GetPointerSize() {
10 | return sizeof(AnimatedMaterial);
11 | }
12 |
13 | } // namespace SOH
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/objects/object_stream.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/objects/object_stream.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/mm/src/overlays/actors/ovl_En_Fire_Rock/z_en_fire_rock.h:
--------------------------------------------------------------------------------
1 | #ifndef Z_EN_FIRE_ROCK_H
2 | #define Z_EN_FIRE_ROCK_H
3 |
4 | #include "global.h"
5 |
6 | struct EnFireRock;
7 |
8 | typedef struct EnFireRock {
9 | /* 0x000 */ Actor actor;
10 | /* 0x144 */ char unk_144[0x94];
11 | } EnFireRock; // size = 0x1D8
12 |
13 | #endif // Z_EN_FIRE_ROCK_H
14 |
--------------------------------------------------------------------------------
/mm/src/overlays/actors/ovl_Obj_Yasi/z_obj_yasi.h:
--------------------------------------------------------------------------------
1 | #ifndef Z_OBJ_YASI_H
2 | #define Z_OBJ_YASI_H
3 |
4 | #include "global.h"
5 |
6 | struct ObjYasi;
7 |
8 | typedef struct ObjYasi {
9 | /* 0x000 */ DynaPolyActor dyna;
10 | } ObjYasi; // size = 0x15C
11 |
12 | #define PALM_TREE_IS_WIDE(thisx) ((thisx)->params & 1)
13 |
14 | #endif // Z_OBJ_YASI_H
15 |
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/PlayerAnimation.cpp:
--------------------------------------------------------------------------------
1 | #include "PlayerAnimation.h"
2 | #include
3 |
4 | namespace SOH {
5 | int16_t* PlayerAnimation::GetPointer() {
6 | return limbRotData.data();
7 | }
8 |
9 | size_t PlayerAnimation::GetPointerSize() {
10 | return limbRotData.size() * sizeof(int16_t);
11 | }
12 | } // namespace SOH
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/scenecommand/SetLightingSettings.cpp:
--------------------------------------------------------------------------------
1 | #include "SetLightingSettings.h"
2 |
3 | namespace SOH {
4 | EnvLightSettings* SetLightingSettings::GetPointer() {
5 | return settings.data();
6 | }
7 |
8 | size_t SetLightingSettings::GetPointerSize() {
9 | return settings.size() * sizeof(EnvLightSettings);
10 | }
11 | } // namespace SOH
12 |
--------------------------------------------------------------------------------
/mm/assets/misc/locerrmsg/locerrmsg.h:
--------------------------------------------------------------------------------
1 | #ifndef MISC_LOCERRMSG_H
2 | #define MISC_LOCERRMSG_H 1
3 |
4 | #include "align_asset_macro.h"
5 |
6 | #define dgNotDesignedForSystemErrorTex "__OTR__misc/locerrmsg/gNotDesignedForSystemErrorTex"
7 | static const ALIGN_ASSET(2) char gNotDesignedForSystemErrorTex[] = dgNotDesignedForSystemErrorTex;
8 | #endif // MISC_LOCERRMSG_H
9 |
--------------------------------------------------------------------------------
/mm/assets/objects/object_gi_fish/object_gi_fish.h:
--------------------------------------------------------------------------------
1 | #ifndef OBJECTS_OBJECT_GI_FISH_H
2 | #define OBJECTS_OBJECT_GI_FISH_H 1
3 |
4 | #include "align_asset_macro.h"
5 |
6 | #define dgGiFishContainerDL "__OTR__objects/object_gi_fish/gGiFishContainerDL"
7 | static const ALIGN_ASSET(2) char gGiFishContainerDL[] = dgGiFishContainerDL;
8 | #endif // OBJECTS_OBJECT_GI_FISH_H
9 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/overlays/ovl_fbdemo_triforce.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/overlays/ovl_fbdemo_triforce.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/mm/include/PR/os_internal_si.h:
--------------------------------------------------------------------------------
1 | #ifndef PR_OS_INTERNAL_SI_H
2 | #define PR_OS_INTERNAL_SI_H
3 |
4 | #include "ultratypes.h"
5 | #include "libc/stdint.h"
6 |
7 |
8 | s32 __osSiRawWriteIo(uintptr_t devAddr, u32 data);
9 | s32 __osSiRawReadIo(uintptr_t devAddr, u32* data);
10 | s32 __osSiRawStartDma(s32 direction, void* dramAddr);
11 |
12 |
13 | #endif
14 |
--------------------------------------------------------------------------------
/mm/src/libultra/os/createmesgqueue.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 |
3 | void osCreateMesgQueue(OSMesgQueue* mq, OSMesg* msq, s32 count) {
4 | mq->mtQueue = (OSThread*)&__osThreadTail.next;
5 | mq->fullQueue = (OSThread*)&__osThreadTail.next;
6 | mq->validCount = 0;
7 | mq->first = 0;
8 | mq->msgCount = count;
9 | mq->msg = msq;
10 | }
11 |
--------------------------------------------------------------------------------
/mm/src/libultra/os/virtualtophysical.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 | #include "libc/stdint.h"
3 |
4 | uintptr_t osVirtualToPhysical(void* addr) {
5 | if (IS_KSEG0(addr)) {
6 | return K0_TO_PHYS(addr);
7 | } else if (IS_KSEG1(addr)) {
8 | return K1_TO_PHYS(addr);
9 | } else {
10 | return __osProbeTLB(addr);
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/scenecommand/SetStartPositionList.cpp:
--------------------------------------------------------------------------------
1 | #include "SetStartPositionList.h"
2 |
3 | namespace SOH {
4 | ActorEntry* SetStartPositionList::GetPointer() {
5 | return startPositions.data();
6 | }
7 |
8 | size_t SetStartPositionList::GetPointerSize() {
9 | return startPositions.size() * sizeof(ActorEntry);
10 | }
11 | } // namespace SOH
12 |
--------------------------------------------------------------------------------
/mm/assets/text/staff_message_data_static.c:
--------------------------------------------------------------------------------
1 | #if 0
2 | #define MESSAGE_DATA_STATIC
3 |
4 | #include "message_data_fmt_staff.h"
5 |
6 | #define DEFINE_MESSAGE(textId, typePos, msg) \
7 | const char _message_##textId##_staff[sizeof(msg)] = { msg CMD_END };
8 |
9 | #include "assets/text/staff_message_data.enc.h"
10 |
11 | #undef DEFINE_MESSAGE
12 | #endif
13 |
--------------------------------------------------------------------------------
/mm/include/z_prenmi.h:
--------------------------------------------------------------------------------
1 | #ifndef Z64PRENMI_H
2 | #define Z64PRENMI_H
3 |
4 | #include "z64game.h"
5 |
6 | typedef struct {
7 | /* 0x00 */ GameState state;
8 | /* 0xA4 */ u32 timer;
9 | /* 0xA8 */ s32 unk_A8;
10 | } PreNMIState; // size = 0xAC
11 |
12 | void PreNMI_Destroy(GameState* thisx);
13 | void PreNMI_Init(GameState* thisx);
14 |
15 | #endif
16 |
--------------------------------------------------------------------------------
/mm/src/overlays/actors/ovl_Bg_Open_Spot/z_bg_open_spot.h:
--------------------------------------------------------------------------------
1 | #ifndef Z_BG_OPEN_SPOT_H
2 | #define Z_BG_OPEN_SPOT_H
3 |
4 | #include "global.h"
5 |
6 | struct BgOpenSpot;
7 |
8 | typedef struct BgOpenSpot {
9 | /* 0x000 */ Actor actor;
10 | /* 0x144 */ AnimatedMaterial* texScrolls;
11 | } BgOpenSpot; // size = 0x148
12 |
13 | #endif // Z_BG_OPEN_SPOT_H
14 |
--------------------------------------------------------------------------------
/mm/assets/objects/object_gi_heart/object_gi_heart.h:
--------------------------------------------------------------------------------
1 | #ifndef OBJECTS_OBJECT_GI_HEART_H
2 | #define OBJECTS_OBJECT_GI_HEART_H 1
3 |
4 | #include "align_asset_macro.h"
5 |
6 | #define dgGiRecoveryHeartDL "__OTR__objects/object_gi_heart/gGiRecoveryHeartDL"
7 | static const ALIGN_ASSET(2) char gGiRecoveryHeartDL[] = dgGiRecoveryHeartDL;
8 | #endif // OBJECTS_OBJECT_GI_HEART_H
9 |
--------------------------------------------------------------------------------
/mm/assets/overlays/ovl_En_Okuta/ovl_En_Okuta.h:
--------------------------------------------------------------------------------
1 | #ifndef OVERLAYS_OVL_EN_OKUTA_H
2 | #define OVERLAYS_OVL_EN_OKUTA_H 1
3 |
4 | #include "align_asset_macro.h"
5 |
6 | #define dgOctorokBlueMaterialDL "__OTR__overlays/ovl_En_Okuta/gOctorokBlueMaterialDL"
7 | static const ALIGN_ASSET(2) char gOctorokBlueMaterialDL[] = dgOctorokBlueMaterialDL;
8 | #endif // OVERLAYS_OVL_EN_OKUTA_H
9 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/code/circle_tex.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/overlays/ovl_Effect_Ss_Fhg_Flash.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/overlays/ovl_En_Kanban.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/code/circle_tex.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/overlays/ovl_Effect_Ss_Fhg_Flash.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/overlays/ovl_En_Kanban.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/mm/src/overlays/actors/ovl_Obj_Kepn_Koya/z_obj_kepn_koya.h:
--------------------------------------------------------------------------------
1 | #ifndef Z_OBJ_KEPN_KOYA_H
2 | #define Z_OBJ_KEPN_KOYA_H
3 |
4 | #include "global.h"
5 |
6 | struct ObjKepnKoya;
7 |
8 | typedef struct ObjKepnKoya {
9 | /* 0x000 */ DynaPolyActor dyna;
10 | /* 0x15C */ UNK_TYPE1 unk15C[0x4];
11 | } ObjKepnKoya; // size = 0x160
12 |
13 | #endif // Z_OBJ_KEPN_KOYA_H
14 |
--------------------------------------------------------------------------------
/mm/src/overlays/actors/ovl_Obj_Kinoko/z_obj_kinoko.h:
--------------------------------------------------------------------------------
1 | #ifndef Z_OBJ_KINOKO_H
2 | #define Z_OBJ_KINOKO_H
3 |
4 | #include "global.h"
5 |
6 | struct ObjKinoko;
7 |
8 | typedef struct ObjKinoko {
9 | /* 0x000 */ Actor actor;
10 | } ObjKinoko; // size = 0x144
11 |
12 | #define OBJ_KINOKO_GET_FLAG(thisx) ((thisx)->params & 0x7F)
13 |
14 | #endif // Z_OBJ_KINOKO_H
15 |
--------------------------------------------------------------------------------
/mm/2s2h/Enhancements/Enhancements.cpp:
--------------------------------------------------------------------------------
1 | #include "Enhancements.h"
2 |
3 | void InitEnhancements() {
4 | // Cycle & Saving
5 | RegisterSavingEnhancements();
6 | RegisterAutosave();
7 |
8 | // Uncomment to enable the demo behavior, this shows of different modding capabilities
9 | // void RegisterDemoBehavior();
10 | // RegisterDemoBehavior();
11 | }
12 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_triforce_completed/gTriforcePieceCompletedDL_tri_1:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/mm/src/overlays/actors/ovl_En_M_Fire1/z_en_m_fire1.h:
--------------------------------------------------------------------------------
1 | #ifndef Z_EN_M_FIRE1_H
2 | #define Z_EN_M_FIRE1_H
3 |
4 | #include "global.h"
5 |
6 | struct EnMFire1;
7 |
8 | typedef struct EnMFire1 {
9 | /* 0x000 */ Actor actor;
10 | /* 0x144 */ ColliderCylinder collider;
11 | /* 0x190 */ f32 timer;
12 | } EnMFire1; // size = 0x194
13 |
14 | #endif // Z_EN_M_FIRE1_H
15 |
--------------------------------------------------------------------------------
/mm/src/overlays/actors/ovl_Obj_Visiblock/z_obj_visiblock.h:
--------------------------------------------------------------------------------
1 | #ifndef Z_OBJ_VISIBLOCK_H
2 | #define Z_OBJ_VISIBLOCK_H
3 |
4 | #include "global.h"
5 |
6 | struct ObjVisiblock;
7 |
8 | typedef struct ObjVisiblock {
9 | /* 0x000 */ DynaPolyActor dyna;
10 | /* 0x15C */ UNK_TYPE1 unk15C[0x4];
11 | } ObjVisiblock; // size = 0x160
12 |
13 | #endif // Z_OBJ_VISIBLOCK_H
14 |
--------------------------------------------------------------------------------
/mm/2s2h/Rando/DrawFuncs.h:
--------------------------------------------------------------------------------
1 | #ifndef RANDO_DRAW_FUNCS_H
2 | #define RANDO_DRAW_FUNCS_H
3 |
4 | #include "Rando/Rando.h"
5 |
6 | // Boss Functions
7 | void DrawGoht();
8 | void DrawGyorg();
9 | void DrawMajora();
10 | void DrawOdolwa();
11 | void DrawTwinmold();
12 |
13 | // Other Actor Functions
14 | void DrawMinifrog(RandoItemId randoItemId, Actor* actor);
15 |
16 | #endif
17 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/scenes/SPOT00/SPOT00.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/scenes/SPOT00/SPOT00.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/mm/assets/misc/scene_texture_07/scene_texture_07.h:
--------------------------------------------------------------------------------
1 | #ifndef MISC_SCENE_TEXTURE_07_H
2 | #define MISC_SCENE_TEXTURE_07_H 1
3 |
4 | #include "align_asset_macro.h"
5 |
6 | #define dscene_texture_07_Blob_000 "__OTR__misc/scene_texture_07/scene_texture_07_Blob_000"
7 | static const ALIGN_ASSET(2) char scene_texture_07_Blob_000[] = dscene_texture_07_Blob_000;
8 | #endif // MISC_SCENE_TEXTURE_07_H
9 |
--------------------------------------------------------------------------------
/mm/assets/overlays/ovl_Obj_Smork/ovl_Obj_Smork.h:
--------------------------------------------------------------------------------
1 | #ifndef OVERLAYS_OVL_OBJ_SMORK_H
2 | #define OVERLAYS_OVL_OBJ_SMORK_H 1
3 |
4 | #include "align_asset_macro.h"
5 |
6 | #define dovl_Obj_Smork_Vtx_000C10 "__OTR__overlays/ovl_Obj_Smork/ovl_Obj_Smork_Vtx_000C10"
7 | static const ALIGN_ASSET(2) char ovl_Obj_Smork_Vtx_000C10[] = dovl_Obj_Smork_Vtx_000C10;
8 | #endif // OVERLAYS_OVL_OBJ_SMORK_H
9 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/interface/message_texture_static.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/overlays/ovl_En_Okuta.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/mm/include/padutils.h:
--------------------------------------------------------------------------------
1 | #ifndef PADUTILS_H
2 | #define PADUTILS_H
3 |
4 | #include "PR/controller.h"
5 |
6 |
7 | typedef struct Input {
8 | /* 0x00 */ OSContPad cur;
9 | /* 0x06 */ OSContPad prev;
10 | /* 0x0C */ OSContPad press; // X/Y store delta from last frame
11 | /* 0x12 */ OSContPad rel; // X/Y store adjusted
12 | } Input; // size = 0x18
13 |
14 | #endif
15 |
--------------------------------------------------------------------------------
/mm/assets/code/eff_shield_particle/eff_shield_particle.h:
--------------------------------------------------------------------------------
1 | #ifndef CODE_EFF_SHIELD_PARTICLE_H
2 | #define CODE_EFF_SHIELD_PARTICLE_H 1
3 |
4 | #include "align_asset_macro.h"
5 |
6 | #define dsEffShieldParticleVtx "__OTR__code/eff_shield_particle/sEffShieldParticleVtx"
7 | static const ALIGN_ASSET(2) char sEffShieldParticleVtx[] = dsEffShieldParticleVtx;
8 | #endif // CODE_EFF_SHIELD_PARTICLE_H
9 |
--------------------------------------------------------------------------------
/mm/assets/objects/object_gi_longsword/object_gi_longsword.h:
--------------------------------------------------------------------------------
1 | #ifndef OBJECTS_OBJECT_GI_LONGSWORD_H
2 | #define OBJECTS_OBJECT_GI_LONGSWORD_H 1
3 |
4 | #include "align_asset_macro.h"
5 |
6 | #define dgGiBiggoronSwordDL "__OTR__objects/object_gi_longsword/gGiBiggoronSwordDL"
7 | static const ALIGN_ASSET(2) char gGiBiggoronSwordDL[] = dgGiBiggoronSwordDL;
8 | #endif // OBJECTS_OBJECT_GI_LONGSWORD_H
9 |
--------------------------------------------------------------------------------
/mm/assets/objects/object_masterzoora/object_masterzoora.h:
--------------------------------------------------------------------------------
1 | #ifndef OBJECTS_OBJECT_MASTERZOORA_H
2 | #define OBJECTS_OBJECT_MASTERZOORA_H 1
3 |
4 | #include "align_asset_macro.h"
5 |
6 | #define dgZoraShopkeeperAnim "__OTR__objects/object_masterzoora/gZoraShopkeeperAnim"
7 | static const ALIGN_ASSET(2) char gZoraShopkeeperAnim[] = dgZoraShopkeeperAnim;
8 | #endif // OBJECTS_OBJECT_MASTERZOORA_H
9 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/interface/message_texture_static.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/overlays/ovl_En_Okuta.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/mm/src/overlays/actors/ovl_Bg_Fu_Mizu/z_bg_fu_mizu.h:
--------------------------------------------------------------------------------
1 | #ifndef Z_BG_FU_MIZU_H
2 | #define Z_BG_FU_MIZU_H
3 |
4 | #include "global.h"
5 |
6 | struct BgFuMizu;
7 |
8 | typedef struct BgFuMizu {
9 | /* 0x000 */ DynaPolyActor dyna;
10 | /* 0x15C */ UNK_TYPE1 pad15C[0x4];
11 | /* 0x160 */ s16 unk_160;
12 | } BgFuMizu; // size = 0x164
13 |
14 | #endif // Z_BG_FU_MIZU_H
15 |
--------------------------------------------------------------------------------
/mm/src/overlays/actors/ovl_En_Tag_Obj/z_en_tag_obj.h:
--------------------------------------------------------------------------------
1 | #ifndef Z_EN_TAG_OBJ_H
2 | #define Z_EN_TAG_OBJ_H
3 |
4 | #include "global.h"
5 |
6 | struct EnTagObj;
7 |
8 | typedef struct EnTagObj {
9 | /* 0x000 */ Actor actor;
10 | /* 0x144 */ UNK_TYPE1 unk_144[0x50];
11 | /* 0x194 */ s32 hasSpawnedSeahorse;
12 | } EnTagObj; // size = 0x198
13 |
14 | #endif // Z_EN_TAG_OBJ_H
15 |
--------------------------------------------------------------------------------
/mm/src/overlays/actors/ovl_Obj_Shutter/z_obj_shutter.h:
--------------------------------------------------------------------------------
1 | #ifndef Z_OBJ_SHUTTER_H
2 | #define Z_OBJ_SHUTTER_H
3 |
4 | #include "global.h"
5 |
6 | struct ObjShutter;
7 |
8 | typedef struct ObjShutter {
9 | /* 0x000 */ Actor actor;
10 | /* 0x144 */ u8 scheduleResult;
11 | /* 0x148 */ f32 verticalOffset;
12 | } ObjShutter; // size = 0x14C
13 |
14 | #endif // Z_OBJ_SHUTTER_H
15 |
--------------------------------------------------------------------------------
/mm/src/overlays/effects/ovl_Effect_Ss_G_Ripple/z_eff_ss_g_ripple.h:
--------------------------------------------------------------------------------
1 | #ifndef _Z64_EFFECT_SS_G_RIPPLE_H_
2 | #define _Z64_EFFECT_SS_G_RIPPLE_H_
3 |
4 | #include "global.h"
5 |
6 | typedef struct {
7 | /* 0x00 */ Vec3f pos;
8 | /* 0x0C */ s16 radius;
9 | /* 0x0E */ s16 radiusMax;
10 | /* 0x10 */ s16 life;
11 | } EffectSsGRippleInitParams; // size = 0x14
12 |
13 | #endif
14 |
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/scenecommand/SetAlternateHeaders.cpp:
--------------------------------------------------------------------------------
1 | #include "SetAlternateHeaders.h"
2 |
3 | namespace SOH {
4 | void* SetAlternateHeaders::GetPointer() {
5 | // Like Scene, SetAlternateHeader is a special type that is only acted upon in C++.
6 | return nullptr;
7 | }
8 |
9 | size_t SetAlternateHeaders::GetPointerSize() {
10 | return 0;
11 | }
12 | } // namespace SOH
13 |
--------------------------------------------------------------------------------
/mm/assets/extractor/Config_GC_US.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/mm/assets/objects/object_mastergolon/object_mastergolon.h:
--------------------------------------------------------------------------------
1 | #ifndef OBJECTS_OBJECT_MASTERGOLON_H
2 | #define OBJECTS_OBJECT_MASTERGOLON_H 1
3 |
4 | #include "align_asset_macro.h"
5 |
6 | #define dgGoronShopkeeperAnim "__OTR__objects/object_mastergolon/gGoronShopkeeperAnim"
7 | static const ALIGN_ASSET(2) char gGoronShopkeeperAnim[] = dgGoronShopkeeperAnim;
8 | #endif // OBJECTS_OBJECT_MASTERGOLON_H
9 |
--------------------------------------------------------------------------------
/mm/assets/overlays/ovl_Obj_Entotu/ovl_Obj_Entotu.h:
--------------------------------------------------------------------------------
1 | #ifndef OVERLAYS_OVL_OBJ_ENTOTU_H
2 | #define OVERLAYS_OVL_OBJ_ENTOTU_H 1
3 |
4 | #include "align_asset_macro.h"
5 |
6 | #define dovl_Obj_Entotu_Vtx_000D10 "__OTR__overlays/ovl_Obj_Entotu/ovl_Obj_Entotu_Vtx_000D10"
7 | static const ALIGN_ASSET(2) char ovl_Obj_Entotu_Vtx_000D10[] = dovl_Obj_Entotu_Vtx_000D10;
8 | #endif // OVERLAYS_OVL_OBJ_ENTOTU_H
9 |
--------------------------------------------------------------------------------
/mm/assets/scenes/SPOT00/SPOT00/SPOT00_room_00.h:
--------------------------------------------------------------------------------
1 | #ifndef SPOT00_SPOT00_ROOM_00_H
2 | #define SPOT00_SPOT00_ROOM_00_H 1
3 |
4 | #include "align_asset_macro.h"
5 |
6 | #define dSPOT00_room_00DL_000900 "__OTR__scenes/nonmq/SPOT00_scene/SPOT00_room_00DL_000900"
7 | static const ALIGN_ASSET(2) char SPOT00_room_00DL_000900[] = dSPOT00_room_00DL_000900;
8 |
9 | #endif // SPOT00_SPOT00_ROOM_00_H
10 |
--------------------------------------------------------------------------------
/mm/src/libultra/os/sethwinterrupt.c:
--------------------------------------------------------------------------------
1 | #include "PR/os_internal.h"
2 | #include "PR/osint.h"
3 |
4 | void __osSetHWIntrRoutine(OSHWIntr interrupt, s32 (*handler)(void), void* stackEnd) {
5 | register s32 prevInt = __osDisableInt();
6 |
7 | __osHwIntTable[interrupt].handler = handler;
8 | __osHwIntTable[interrupt].stackEnd = stackEnd;
9 |
10 | __osRestoreInt(prevInt);
11 | }
12 |
--------------------------------------------------------------------------------
/mm/2s2h/Enhancements/Trackers/DisplayOverlay.h:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | void DisplayOverlayInitSettings();
4 |
5 | class DisplayOverlayWindow : public Ship::GuiWindow {
6 | public:
7 | using GuiWindow::GuiWindow;
8 |
9 | void InitElement() override;
10 | void DrawElement() override{};
11 | void Draw() override;
12 | void UpdateElement() override{};
13 | };
--------------------------------------------------------------------------------
/mm/assets/code/actor/actor.h:
--------------------------------------------------------------------------------
1 | #ifndef CODE_ACTOR_H
2 | #define CODE_ACTOR_H 1
3 |
4 | #include "align_asset_macro.h"
5 |
6 | #define dD_801AEF88 "__OTR__code/actor/D_801AEF88"
7 | static const ALIGN_ASSET(2) char D_801AEF88[] = dD_801AEF88;
8 |
9 | #define dD_801AEFA0 "__OTR__code/actor/D_801AEFA0"
10 | static const ALIGN_ASSET(2) char D_801AEFA0[] = dD_801AEFA0;
11 | #endif // CODE_ACTOR_H
12 |
--------------------------------------------------------------------------------
/mm/assets/extractor/Config_N64_US.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/mm/assets/misc/scene_texture_03/scene_texture_03.h:
--------------------------------------------------------------------------------
1 | #ifndef MISC_SCENE_TEXTURE_03_H
2 | #define MISC_SCENE_TEXTURE_03_H 1
3 |
4 | #include "align_asset_macro.h"
5 |
6 | #define dscene_texture_03_Blob_002D40 "__OTR__misc/scene_texture_03/scene_texture_03_Blob_002D40"
7 | static const ALIGN_ASSET(2) char scene_texture_03_Blob_002D40[] = dscene_texture_03_Blob_002D40;
8 | #endif // MISC_SCENE_TEXTURE_03_H
9 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/objects/object_funen.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/overlays/ovl_Dm_Char01.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/scenes/Z2_OKUJOU/Z2_OKUJOU.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/misc/memerrmsg.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/overlays/ovl_Dm_Char01.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/scenes/Z2_OKUJOU/Z2_OKUJOU.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/mm/src/overlays/effects/ovl_Effect_Ss_Ice_Smoke/z_eff_ss_ice_smoke.h:
--------------------------------------------------------------------------------
1 | #ifndef _Z64_EFFECT_SS_ICE_SMOKE_H_
2 | #define _Z64_EFFECT_SS_ICE_SMOKE_H_
3 |
4 | #include "global.h"
5 |
6 | typedef struct {
7 | /* 0x00 */ Vec3f pos;
8 | /* 0x0C */ Vec3f velocity;
9 | /* 0x18 */ Vec3f accel;
10 | /* 0x24 */ s16 scale;
11 | } EffectSsIceSmokeInitParams; // size = 0x28
12 |
13 | #endif
14 |
--------------------------------------------------------------------------------
/mm/2s2h/Enhancements/Trackers/ItemTracker/ItemTrackerSettings.h:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | class ItemTrackerSettingsWindow : public Ship::GuiWindow {
5 | public:
6 | using GuiWindow::GuiWindow;
7 |
8 | protected:
9 | void InitElement() override;
10 | void DrawElement() override;
11 | void UpdateElement() override;
12 | };
13 |
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/scenecommand/SetTransitionActorList.cpp:
--------------------------------------------------------------------------------
1 | #include "SetTransitionActorList.h"
2 |
3 | namespace SOH {
4 | TransitionActorEntry* SetTransitionActorList::GetPointer() {
5 | return transitionActorList.data();
6 | }
7 |
8 | size_t SetTransitionActorList::GetPointerSize() {
9 | return transitionActorList.size() * sizeof(TransitionActorEntry);
10 | }
11 | } // namespace SOH
12 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/objects/object_gi_bean.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/scenes/Z2_BOWLING/Z2_BOWLING.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/objects/object_funen.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/objects/object_gi_bean.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/mm/src/libultra/io/contsetch.c:
--------------------------------------------------------------------------------
1 | #include "ultra64.h"
2 | #include "PR/controller.h"
3 |
4 | s32 osContSetCh(u8 ch) {
5 | __osSiGetAccess();
6 |
7 | if (ch > MAXCONTROLLERS) {
8 | __osMaxControllers = MAXCONTROLLERS;
9 | } else {
10 | __osMaxControllers = ch;
11 | }
12 | __osContLastPoll = CONT_CMD_END;
13 |
14 | __osSiRelAccess();
15 | return 0;
16 | }
17 |
--------------------------------------------------------------------------------
/mm/src/overlays/actors/ovl_Obj_Jg_Gakki/z_obj_jg_gakki.h:
--------------------------------------------------------------------------------
1 | #ifndef Z_OBJ_JG_GAKKI_H
2 | #define Z_OBJ_JG_GAKKI_H
3 |
4 | #include "global.h"
5 |
6 | struct ObjJgGakki;
7 |
8 | typedef struct ObjJgGakki {
9 | /* 0x000 */ Actor actor;
10 | /* 0x144 */ SkelAnime skelAnime;
11 | /* 0x188 */ ColliderCylinder collider;
12 | } ObjJgGakki; // size = 0x1D4
13 |
14 | #endif // Z_OBJ_JG_GAKKI_H
15 |
--------------------------------------------------------------------------------
/mm/src/overlays/gamestates/ovl_opening/z_opening.h:
--------------------------------------------------------------------------------
1 | #ifndef Z64_OPENING_H
2 | #define Z64_OPENING_H
3 |
4 | #include "z64game.h"
5 | #include "z64view.h"
6 |
7 | typedef struct {
8 | /* 0x000 */ GameState state;
9 | /* 0x0A8 */ View view;
10 | } TitleSetupState; // size = 0x210
11 |
12 | void TitleSetup_Init(GameState* thisx);
13 | void TitleSetup_Destroy(GameState* thisx);
14 |
15 | #endif
16 |
--------------------------------------------------------------------------------
/mm/assets/overlays/ovl_Obj_Toudai/ovl_Obj_Toudai.h:
--------------------------------------------------------------------------------
1 | #ifndef OVERLAYS_OVL_OBJ_TOUDAI_H
2 | #define OVERLAYS_OVL_OBJ_TOUDAI_H 1
3 |
4 | #include "align_asset_macro.h"
5 |
6 | #define dovl_Obj_Toudai_Vtx_D_80A34590 "__OTR__overlays/ovl_Obj_Toudai/ovl_Obj_Toudai_Vtx_D_80A34590"
7 | static const ALIGN_ASSET(2) char ovl_Obj_Toudai_Vtx_D_80A34590[] = dovl_Obj_Toudai_Vtx_D_80A34590;
8 | #endif // OVERLAYS_OVL_OBJ_TOUDAI_H
9 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/misc/memerrmsg.xml:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/objects/object_big_fwall.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/objects/object_gi_bomb_1.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/mm/assets/xml/GC_US/overlays/ovl_En_Gakufu.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/objects/object_big_fwall.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/objects/object_gi_bomb_1.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/overlays/ovl_En_Gakufu.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/mm/assets/xml/N64_US/scenes/Z2_BOWLING/Z2_BOWLING.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/mm/src/overlays/actors/ovl_Bg_Market_Step/z_bg_market_step.h:
--------------------------------------------------------------------------------
1 | #ifndef Z_BG_MARKET_STEP_H
2 | #define Z_BG_MARKET_STEP_H
3 |
4 | #include "global.h"
5 |
6 | #define BG_MARKET_STEP_GET_TIME_OF_DAY(thisx) ((thisx)->params & 1)
7 |
8 | struct BgMarketStep;
9 |
10 | typedef struct BgMarketStep {
11 | /* 0x000 */ Actor actor;
12 | } BgMarketStep; // size = 0x144
13 |
14 | #endif // Z_BG_MARKET_STEP_H
15 |
--------------------------------------------------------------------------------
/mm/2s2h/resource/type/scenecommand/EndMarker.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "SceneCommand.h"
4 |
5 | namespace SOH {
6 | typedef struct {
7 |
8 | } Marker;
9 |
10 | class EndMarker : public SceneCommand {
11 | public:
12 | using SceneCommand::SceneCommand;
13 |
14 | Marker* GetPointer();
15 | size_t GetPointerSize();
16 |
17 | Marker endMarker;
18 | };
19 | }; // namespace SOH
20 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_taru/gBarrelJunkDL_tri_1:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_taru/gBarrelMaskDL_tri_1:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/gPotFairyDL_tri_3:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/gPotFairyDL_tri_4:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/gPotHeartDL_tri_3:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/gPotHeartDL_tri_4:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/gPotMajorDL_tri_3:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/gPotMajorDL_tri_4:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/gPotMaskDL_tri_3:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/gPotMaskDL_tri_4:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/gPotMinorDL_tri_3:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/gPotMinorDL_tri_4:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/gPotRandomDL_tri_3:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/gPotRandomDL_tri_4:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/gPotTokenDL_tri_3:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/mm/assets/custom/objects/object_tsubo/gPotTokenDL_tri_4:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/mm/assets/objects/object_sinkai_kabe/object_sinkai_kabe.h:
--------------------------------------------------------------------------------
1 | #ifndef OBJECTS_OBJECT_SINKAI_KABE_H
2 | #define OBJECTS_OBJECT_SINKAI_KABE_H 1
3 |
4 | #include "align_asset_macro.h"
5 |
6 | #define dgPinnacleRockPythonDenCol "__OTR__objects/object_sinkai_kabe/gPinnacleRockPythonDenCol"
7 | static const ALIGN_ASSET(2) char gPinnacleRockPythonDenCol[] = dgPinnacleRockPythonDenCol;
8 | #endif // OBJECTS_OBJECT_SINKAI_KABE_H
9 |
--------------------------------------------------------------------------------