summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2025-09-04Spimdisasm update (#243)HEADmainDerek Hensley
* git subrepo pull tools/asm-processor subrepo: subdir: "tools/asm-processor" merged: "5c3984fc" upstream: origin: "git@github.com:simonlindholm/asm-processor.git" branch: "main" commit: "5c3984fc" git-subrepo: version: "0.4.9" origin: "git@github.com:ingydotnet/git-subrepo.git" commit: "ea10886" * Fix things needed for new spimdisasm release
2025-06-04m_random_field OK (#241)kuchenmitsahne
* 25 functions OK * 10 functions OK * Add block type and block kind enums/defines * Formatting/style pass * Move `FieldMakeBlockType` to `m_field_make` * Remove unused/duplicate defines * Split data out for `m_quest` and `m_random_field`; rename data symbols * Generate `m_random_field.c` and rename function symbols. * mRF_BlockTypeDirect2GateType, mRF_BlockTypeDirect2GateData OK * mRF_Type2BlockInfo, mRF_Info2BlockType, mRF_GateType2GateCount, mRF_SearchPond, mRF_Attr2BeastRoadAttr, mRF_CheckBeastRoad OK * mFI_GetUnitCol OK; mRF_PrintDebug and mRF_BlockInf2CheckBeastRoad OK (pending data import). * Fix `m_random_field` code split; all newly included functions OK * Fix mRF_Malloc return type; formatting pass * Name m_random_field_ovl * Rename data symbols (m_random_field_ovl). * Rename symbols (all functions named) * Import data * Declare overlay segment; rename symbols * mRF_MakeRandomField OK (all functions matching). * Extract asset `data_combi_table` * Clean up mRF_MakeRandomField; document m_field_make.h * Rename mCoBG_unkStruct->unk6 as unitAttribute * Misc cleanup and formatting. * Rename additional data symbols (m_random_field_ovl). * Formatting pass * Improve documentation of BackgroundAttribute enum. * Formatting pass; add omitted attribute.
2025-02-21Ultralib Update (#233)Derek Hensley
* git subrepo pull (merge) lib/ultralib subrepo: subdir: "lib/ultralib" merged: "74f0eee" upstream: origin: "git@github.com:decompals/ultralib.git" branch: "main" commit: "2717d45" git-subrepo: version: "0.4.9" origin: "https://github.com/ingydotnet/git-subrepo" commit: "cce3d93" * New ultralib fixes * Update some includes in tools * git subrepo commit (merge) lib/ultralib subrepo: subdir: "lib/ultralib" merged: "3a702eaf" upstream: origin: "git@github.com:decompals/ultralib.git" branch: "main" commit: "48f9f908" git-subrepo: version: "0.4.9" origin: "git@github.com:ingydotnet/git-subrepo.git" commit: "ea10886" * Update warnings file
2025-01-21sFRm_flashrom OK (#240)Derek Hensley
* YAML setup * func_800CDF78_jp * func_800CDEDC_jp * func_800CDCC0_jp * func_800CDE54_jp * func_800CDB10_jp * func_800CDECC_jp * func_800CE04C_jp * func_800CDBE0_jp * func_800CDBF0_jp * func_800CDC10_jp * func_800CDC30_jp * func_800CDDE0_jp * func_800CE090_jp * func_800CE0E8_jp * func_800CE110_jp * Cleanup
2025-01-20s_cpak OK (#239)Derek Hensley
* YAML setup * func_800CD640_jp * func_800CD68C_jp * func_800CD730_jp * func_800CD8F8_jp * func_800CD990_jp * func_800CD9F0_jp * func_800CDA4C_jp * func_800CDA90_jp * func_800CDAD0_jp * func_800CD760_jp * func_800CD82C_jp * Cleanup
2025-01-19m_cpak OK (#238)Derek Hensley
* Yaml setup * mCPk_InitPak * mCPk_get_pkinfo * mCPk_PakOpen * func_80079080_jp * mCPk_SavePak * func_8007919C_jp * func_80079378_jp * func_8007920C_jp * func_80078EE0_jp * func_80078EB4_jp * func_8007942C_jp * func_800792FC_jp * func_800793A8_jp * func_80079D00_jp * func_80079BF8_jp * func_80079B28_jp * func_80079EA4_jp * func_800794E4_jp * func_80078F08_jp * func_80079030_jp * func_80078FE8_jp * func_8007967C_jp * func_80079708_jp * func_80079760_jp * func_80079838_jp * func_800798DC_jp * func_80079A24_jp * func_80079AAC_jp * func_80079E54_jp * func_80079D50_jp * func_80079E14_jp * func_80079EDC_jp * func_8007A008_jp * func_80079F44_jp * func_8007A080_jp * func_80078F34_jp * Some cleanup * m_cpak
2025-01-03Cfbinfo (#237)Derek Hensley
* func_800D2CDC_jp * func_800D2CB4_jp * func_800D2C10_jp * cleanup * Small docs of CfbInfo struct
2025-01-03Graph OK (#236)Derek Hensley
* graph_proc * game_get_next_game_dlftbl * graph_ct * func_800D38E0_jp * func_800D3C94_jp * graph_dt * graph_main * graph_setup_double_buffer * graph_task_set00 WIP * graph_draw_finish * func_800D3E40_jp * func_800D3E14_jp * Some cleanup * Fix m2ctx.py * graph_task_set00
2024-12-286FD190 + 6FD410 OK (#235)Derek Hensley
* func_800D94F0_jp * func_800D9514_jp * func_800D9524_jp * func_800D955C_jp * func_800D9618_jp * func_800D96A8_jp * func_800D96E8_jp * func_800D9700_jp * func_800D9750_jp * func_800D9760_jp * func_800D9770_jp * func_800D9788_jp * func_800D97A0_jp * func_800D97F8_jp * func_800D986C_jp * Split off 6FD410 based on bss * Migrate bss * add todo * headers * Better types for 6FD410 bss based on graph * Cleanup
2024-12-26Move D_8003C568_jp from system_heap (#231)Derek Hensley
2024-12-26Identify audio_data data (#232)Derek Hensley
2024-12-26main OK (#234)Derek Hensley
* main OK * gSegments -> SegmentBaseAddress * newline * format
2024-12-13m_field_info 37 additional functions OK (40/188 total) (#230)kuchenmitsahne
* 25 functions OK * 10 functions OK * Add block type and block kind enums/defines * Formatting/style pass * Move `FieldMakeBlockType` to `m_field_make` * Remove unused/duplicate defines
2024-12-07`ac_house_goki` OK (#229)Leonid Kapitonov
* prepare unknown size * move `.data` to the C side * remove redundant headers * aHG_actor_ct OK * func_80A83770_jp OK (rename to `aHG_actor_dt`) * aHG_actor_move OK - fix `mCoBG_CheckResult` description and comments - extend `MyRoomClip` and fix offsets in comments * func_80A83780_jp OK * func_80A83930_jp OK * func_80A83994_jp OK * func_80A83A00_jp OK * func_80A8401C_jp OK * func_80A8409C_jp OK (rename to `aHG_setup_action`) * aHG_actor_draw OK * func_80A83D4C_jp OK * func_80A83A24_jp OK * name HG models * put static HG data into the functions * func_80A837C4_jp OK * add notes and clean up a bit * apply a suggestion by @hensldm * remove ASM pragmas * extract assets
2024-11-27ac_hanami_npc1 OK (#228)kuchenmitsahne
* Rename symbols * First pass on struct Hanami_Npc1 * Actor funcs (ct, save, dt, init, draw) OK * Add trailing member to struct_809AEFA4 * Update Clip_unk_040_unk_E4 typedef to ActorFunc signature in order to unify *_actor_draw signatures * All talk functions and proc functions (minus aHM1_think_main_proc.s) OK * mFI_GetPuleIdx (func_8008930C_jp) OK; rename symbols (m_field_info) * aHM1_set_animation OK * aHM1_actor_move OK; update *_actor_move function signature to ActorFunc across project * aHM1_set_request_act, aHM1_check_moveRange OK * aHM1_check_inBlock OK; fix style in aHM1_check_moveRange * aHM1_turn, aHM1_walk, aHM1_set_spd_info OK * aHM1_think_init_proc OK * aHM1_revise_moveRange OK with fake (all functions matching) * Remove extraneous prototypes * Fix aHM1_think_main_proc signature * Import data * Fix aHM1_revise_moveRange signature * Standardize actor accesses * Improve define usage * Name blockX and blockZ members in Actor struct * Remove extraneous comments * mFI_BkNum2WposXZ OK (m_field_info) * Add defines to m_field_info * Formatting pass * Remove extraneous comments * Fix unk_18 type in struct_809AEFA4 --------- Co-authored-by: emilybrooks <emilybrooksemilybrooks@gmail.com>
2024-11-26ac_hanami_npc0 OK (#227)kuchenmitsahne
* Standard actor functions and aHM0_ct_data functions OK * Add scaffolding to Hanami_Npc0 struct * func_809DE830_jp OK * func_809DE434, func_809DE4A0_jp, func_809DE5BC_jp, func_809DE6B4_jp, func_809DE6C8_jp, func_809DE6EC_jp OK * func_809DE538_jp OK with warnings * func_809DE538_jp OK * func_809DE714_jp OK with warnings * func_809DE7D0_jp OK * func_809DE8D0 OK * func_809DE56C_jp OK with warnings * func_809DE800_jp OK * func_809DE978_jp OK * func_809DE948_jp OK * func_809DE744_jp OK * func_809DE5DC_jp progress (nonmatching) * Remove fake symbol D_809DEB1C_jp. * Prepare for data import * func_809DE5DC_jp OK, update func_809DE6EC_jp (all functions matching) * Import data (44 differing words) * Fix struct_809AEFA4, ac_hanami_npc0 OK * Rename symbols + initial style pass * Unify aHM0_*_proc function signatures * Resolve warnings in aHM0_merry * Update NPC actor functions + corresponding clip functions to use ActorFunc signature * Fix aHM0_make_tumbler warning (none remain); minor cleanup * Avoid format.py strangeness * Fix typedef order
2024-10-21m_fbdemo* OK (#223)Prakxo
* m_fbdemo OK * m_fbdemo_wipe1 OK * fix play * m_fbdemo_triforce OK * link triforce * m_fbdemo_fade OK * typo * newline * format
2024-10-13m_bgm OK (#222)Prakxo
* m_demo OK * camera fix * m_bgm OK
2024-10-10m_demo OK (#221)Prakxo
* m_demo OK * camera fix
2024-10-09ac_arrange_room OK (#220)Prakxo
* ac_arrange_room OK * fix?
2024-10-01ac_boxTrick01 OK (#219)Prakxo
2024-09-27m_player audio and other_func functions (#218)Prakxo
* m_player_sound * m_player_other_func * format
2024-09-26sum_blue_bureau01 OK (#216)emilybrooks
* initial commit * imported data * matching * renamed functions * extracted assets * review
2024-09-26m_player controller functions (#217)Prakxo
* player work1 * m_player_controller * format
2024-09-24ef_room_sunshine OK (#214)Prakxo
* ef_room_sunshine OK * format * jenkins * fourth time's the charm
2024-09-21clchest03 matched and hal_chest02 cleanup (#213)emilybrooks
* initial commit * func_80A70C60_jp * func_80A70CF4_jp * fully matching * inported data * improved furniture actor profile struct * extracted spooky wardrobe object * extracted clchest03 object * forgot
2024-09-21m_land OK (#212)Prakxo
2024-08-12m_kankyo OK (#207)Prakxo
* implement kankyo * m_kankyo OK
2024-07-29ac_mikuji OK (#206)Prakxo
* ac_mikuji OK * jenkins
2024-07-28m_prenmi OK (#205)Prakxo
2024-07-27player_select OK (#204)Prakxo
2024-07-22m_mail_check OK (#203)Prakxo
* m_mail_check OK * comments
2024-07-13m_roll_lib OK (#198)Prakxo
2024-07-01lbrtc OK (#196)Prakxo
* lbrtc OK * format * names * format 2 * review + docs * format
2024-06-02m_room_type OK (#193)Prakxo
* m_room_type OK * offsets * jenkins
2024-05-30`m_trademark` OK (#192)Anghelo Carvajal
* C file * trademark_init * trademark_cancel, trademark_move, trademark_main * trademark_draw * trademark_goto_demo_scene and func_80805360_jp * set_npc_4_title_demo * func_80804C40_jp * trademark_cleanup * func_808052B8_jp * func_80805104_jp * func_80804F78_jp * func_80804EE0_jp * fix warnings * small cleanup * fix build * some fixes * stuff * some cleanups * Fix rebase * Import data * Migrate bss * cleanup * Save substruct * format * TrademarkState and some other stuff * remove fake match * stuff I missed * whoops * Stupid `-Wtype-limits` * Update src/overlays/gamestates/ovl_trademark/m_trademark.c Co-authored-by: Prakxo <87568477+Prakxo@users.noreply.github.com> * Review * Update src/overlays/gamestates/ovl_trademark/m_trademark.c Co-authored-by: emilybrooks <emilybrooksemilybrooks@gmail.com> * Update src/overlays/gamestates/ovl_trademark/m_trademark.c Co-authored-by: Prakxo <87568477+Prakxo@users.noreply.github.com> * clang-tidy changes??? * review --------- Co-authored-by: Prakxo <87568477+Prakxo@users.noreply.github.com> Co-authored-by: emilybrooks <emilybrooksemilybrooks@gmail.com>
2024-05-27m_choice_main OK (#191)Prakxo
* work * m_choice_main OK
2024-05-21second_game OK (#190)Prakxo
2024-05-19m_time OK (#189)Prakxo
2024-05-18m_cpedit OK (#188)Prakxo
* save_menu OK * work * m_cpedit OK * fix
2024-05-14Prerender (1 NON_MATCHING) (#185)Derek Hensley
* Start prerender * wallpaper_draw1 * wallpaper_draw * gfx_SetUpCFB * PreRender_setup_savebuf * PreRender_init * PreRender_setup_renderbuf * PreRender_cleanup * PreRender_TransBufferCopy * PreRender_TransBuffer * PreRender_TransBuffer1 * PreRender_TransBuffer2 * PreRender_ShowCoveredge * PreRender_saveZBuffer * PreRender_saveFrameBuffer * PreRender_saveCVG * PreRender_loadZBuffer * PreRender_loadFrameBufferAlpha * PreRender_loadFrameBufferCopy * PreRender_ConvertFrameBuffer_fg * PreRender_ConvertFrameBuffer * AntiAliasFilter * ASAlgorithm * PreRender_loadFrameBuffer * names * Remove fake in PreRender_TransBuffer1_env * PreRender_CopyRGBC NON_MATCHING
2024-05-14save_menu OK (#184)Prakxo
2024-05-06`ac_structure` OK with some minor documentation (#183)Tom Overton
* Partial progress * `func_809E7F94_jp` OK * Do some more DMA functions * Fix build * Finally make `func_809E823C_jp` work properly * Finish DMA functions * Use ALIGN16 * Make the size for `mSc_secure_exchange_keep_bank` more obviously related to what follows * Fix build after merge * aSTR_setupActor_proc OK * aSTR_init_clip_area OK * Import data to C * Lots of cleanup * Use enum values in actors * StructureActor-ify the structures * Move `setupInfo_table` inside the function and name it * Name `aSTR_get_pal_segment` from context clues * Use all the names I can from DnM+ * Try (and fail) to import BSS into C * Match bss * Make bss sizes more "correct" * Use ARRAY_COUNT to define DMA length * A lot fewer hardcoded numbers * Lots of misc cleanup * A huge amount of names and cleanup * Get this PR-ready * Forgot some booleans * Name a lot of stuff after digging into the object files * Remove magic numbers for bss array size * Respond to review
2024-04-29Update GraphicsContext macros (#182)Cuyler36
* Update GraphicsContext macros * Fix formatting
2024-04-24ac_dump OK (#180)inspectredc
* ac_dump OK * warnings
2024-04-23ac_airplane OK and documented (#178)inspectredc
* ac_airplane OK and documented * player lib funcs * include object * remove statics
2024-04-22ac_kago OK and documented (#177)inspectredc
* ac_kago OK and documented * palette types * suggestions + object stuff
2024-04-21m_scene_ftr OK (#176)Prakxo
* 1 byte off.. * m_scene_ftr OK * newline * warnings
2024-04-17ac_bee OK (#175)inspectredc
* ac_bee OK * fix warning * change sAdo_OngenPos back * and in code.. * fix linker script stuff
2024-04-16ac_Fuusen OK and documented (#174)inspectredc
* ac_Fuusen OK and documented * add struct offsets * use null post merge * fix sym stuff * suggestions * act_balloon extracted * remove fake symbol * name object enum * include assets * fgname enum/macro