summaryrefslogtreecommitdiff
path: root/include/m_common_data.h
AgeCommit message (Collapse)Author
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.
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-09-27m_player audio and other_func functions (#218)Prakxo
* m_player_sound * m_player_other_func * format
2024-09-26m_player controller functions (#217)Prakxo
* player work1 * m_player_controller * format
2024-08-12m_kankyo OK (#207)Prakxo
* implement kankyo * m_kankyo OK
2024-07-27player_select OK (#204)Prakxo
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-19m_time OK (#189)Prakxo
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-15ac_ball OK and documented (#173)inspectredc
* ac_ball OK * hopefully format * address warnings * Apply suggestions from code review Co-authored-by: emilybrooks <emilybrooksemilybrooks@gmail.com> * suggestions pt2 --------- Co-authored-by: emilybrooks <emilybrooksemilybrooks@gmail.com>
2024-04-09m_scene OK (#165)Prakxo
2024-03-29m_all_grow OK (#159)Prakxo
2024-03-14ac_weather OK (#155)Prakxo
* weather werk * ac_weather OK * format * review
2024-03-12m_clip OK (#154)Prakxo
* m_clip OK * format and added offsets * format
2024-03-10ac_sum_hal_chest02 OK (#153)emilybrooks
* initial commit * started draw function * fully matching * fix compile errors
2024-02-06ac_koinobori OK (#140)emilybrooks
* initial commit * everything but draw * fully matching * imported data * fixed errors * review
2024-01-31m_private OK (#139)Prakxo
* update m2ctx * size fixes? * size fix * work * more work * m_private OK * fix style * format * fix warnings * format..
2023-12-21m_select OK (#128)Prakxo
* m_select OK * format
2023-12-08train_window OK (#123)Prakxo
* train_window OK * review
2023-11-23The NPC PR 3/3 OK (#119)Prakxo
* npc werk * atleast it builds * m_npc OK * forgor format * review * format * fix warns?
2023-11-15common_data cleanup (#118)emilybrooks
* initial commit * review
2023-10-04ef_lamp_light OK (#109)MegaIDK
* ef_lamp_light OK * formatformatformat * suggestions
2023-10-04ac_tools OK (#107)emilybrooks
* initial commit * fix errors * review
2023-09-20Matched 23 functions in m_scene (#98)emilybrooks
* ported over from private branch * trying to find original names * matched small functions * matched func_800C5A08_jp * small changes * matched mSc_bank_regist_check * matched mSc_regist_initial_exchange_bank * more cleanup * cleaned up compile errors * renamed struct * remove save struct * named mSc_set_bank_status_after
2023-09-19The NPC PR 2/3 OK (#97)Prakxo
* m_npc_schedule OK Co-authored-by: Maide <you@example.com> * fix structs * fixes --------- Co-authored-by: Maide <you@example.com>
2023-09-15NPC PR 1/3 ok (#96)Prakxo
* m_npc walk ok Co-authored-by: Maide <you@example.com> * fix protos * fixes * forgor some fixes * struct names --------- Co-authored-by: Maide <you@example.com>
2023-09-11ac_toudai matched 12 functions, 2 non-equivalent (#65)emilybrooks
* first commit * matched the gSegments thing * more progress * matched aTOU_actor_dt * matched aTOU_set_bgOffset and imported data * named everything * cleanup, work on draw functions * cleanup * review * Revert "review" This reverts commit 229788b68359cb9ff3c372639c767e4e08011d96. * format * removed change to ac_structure.h * temp changing data symbols * format * review * fix conflicts * fix season u32 thing
2023-09-11m_snowman OK (#94)emilybrooks
* moved everything from private fork * trying to figure out name stuff * matched mSN_check_life * fully matching * add season enum * forgot * fixed structs
2023-09-10`m_mail.c` OK (#92)Anghelo Carvajal
* C files * mMl_clear_mail * bunch of functions * mMl_clear_mail_header_common, mMl_copy_mail_header_common * mMl_hunt_for_send_address * mMl_set_mail_name_npcinfo, mMl_get_npcinfo_from_mail_name * mMl_check_send_mail * mMl_check_set_present_myself * func_8009C284_jp * func_8009C1C0_jp * func_8009C2D8_jp * renames * format * fix
2023-09-08`submenu_ovl`, 3 NON_EQUIVALENTs and 2 NON_MATCHINGs (#88)Anghelo Carvajal
* C file * func_8085DA28_jp, func_8085DA9C_jp * func_8085D638_jp * func_8085D358_jp, func_8085D500_jp, func_8085D674_jp * bleh * func_8085BAC0_jp * func_8085D128_jp * Rename many functions * mSM_move_menu * a * func_8085D43C_jp * mSM_set_char_matrix * mSM_cbuf_copy draft * mSM_cbuf_copy NON_EQUIVALENT * func_8085C20C_jp draft * match func_8085C20C_jp * cleanup unc_8085C20C_jp * func_8085C7A4_jp ok, func_8085C7B8_jp NON_EQUIVALENT * mSM_draw_mail NON_MATCHING * func_8085D094_jp * mSM_set_other_seg mSM_set_before_menu_proc * meh * mSM_move_Move * migrate data * move submenu overlays to the submenu folder and make headers for them * name some files based on rodata strings * name functions from known submenu overlays * mSM_move_chg_base * mSM_menu_ovl_init NON_MATCHING * migrate bss * mSM_menu_ovl_init * SubmenuProgramId * mSM_save_before_func * mSM_return_func NON_EQUIVALENT * some cleanup * rename lots of data * kinda format * more cleanup * symbolize remaining stuff * format * Kinda fix whatever is going on with Game_Play_unk_0110 * mroecleanup * name known overlays * tag_program_dlftbl, hand_program_dlftbl, haniwa_program_dlftbl * format * flag defines
2023-09-02ovl_Kamakura_Npc0 OK (#82)MegaIDK
* ovl_Kamakura_Npc0 OK * fixed warnings * fun names * suggestions * removed useless variable * change back from bool to s32 * forgor protopye
2023-08-23`m_submenu` with 3 NON_MATCHINGs and 5 unattempted (#70)Anghelo Carvajal
* C file * mSM_submenu_ct, mSM_submenu_dt, mSM_submenu_move * SubmenuArea_DoLink, SubmenuArea_DoUnlink, load_player * mSM_submenu_ovlptr_cleanup * mSM_move_Wait, mSM_move_PREWait, mSM_move_Play * func_800C497C_jp * mSM_submenu_ctrl * mSM_ovlptr_dllcnv_sub, mSM_ovlptr_dllcnv, mSM_open_submenu, mSM_open_submenu_new, mSM_open_submenu_new2, mSM_Reset_player_btn_type1, mSM_Reset_player_btn_type2, mSM_submenu_draw * fix warnings * name functions referenced by check_process * migrate data * func_800C47B4_jp NON_MATCHING * mSM_check_item_for_furniture, mSM_check_item_for_sell, mSM_check_item_for_give, mSM_check_item_for_take, mSM_check_item_for_minidisk, mSM_check_item_for_shrine, mSM_check_item_for_entrust, mSM_check_item_for_exchange * rename remaining functions * match mSM_submenu_ovlptr_init * cleanup mSM_submenu_ovlptr_init * match mSM_move_LINKWait? * Rename mSM struct and other cleanups * enums * cleanup * format * move unknown struct to header * typo
2023-08-23ovl_Npc_Engineer OK (#73)MegaIDK
* ovl_Npc_Engineer OK * mass variable name * suggestions * migrate data and other suggesions * format * empty line Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com> --------- Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>
2023-08-17m_start_data_init (#61)Maide
* m_start_data_init * Fix NPC, m,atch last func * Rebased * Rebased * Update struct names * PR --------- Co-authored-by: Maide <you@example.com>
2023-08-17Game renaming (#63)Anghelo Carvajal
* rename GameState to Game * Rename the structs * fix table * whoops * rename play parameter * format * undo what i messed in z64compress
2023-08-16m_play (#50)Maide
* m_play * Some warnings * lots of function renames from the gcn version * fix warnings * format * a * a * PR * PR2 --------- Co-authored-by: Maide <you@example.com> Co-authored-by: angie <angheloalf95@gmail.com>
2023-08-14`m_actor.c` with 1 NON_MATCHING (#49)Anghelo Carvajal
* C file * drafts * Actor_info_ct and Actor_info_dt * Actor_info_make_actor draft * new_var = &argC; * func_80057940_jp * Actor_free_overlay_area, actor_free_check, Actor_get_overlay_area, func_80057940_jp, Actor_data_bank_regist_check * Shape_Info_init * Actor struct's size confirmed, Actor_malloc_actor_class and Actor_init_actor_class * func_80056380_jp, Actor_info_part_new, restore_fgdata, Actor_info_delete * Actor_info_draw_actor * Actor_data_bank_dma_end_check, Actor_draw_actor_no_culling_check, Actor_draw_actor_no_culling_check2, Actor_cull_check, Actor_delete_check, Actor_info_make_child_actor, restore_fgdata_all, Actor_info_save_actor * gSegments * Actor_world_to_eye, Actor_position_speed_set, Actor_position_moveF and func_80057B70_jp * Actor_player_look_direction_check * Actor_position_move * find m_kankyo file split * Actor_ct * fgName * projection_pos_set, Actor_display_position_set * Actor_info_call_actor * func_80057A8C_jp * import data and bss * cleanups * more cleanup * format * and even more cleanup * hilite funcs * Part_Break_init * and more cleanup * Actor_draw * fake stuff * Part_Break stuff from OoT * a * fix * fix fake symbol * fix * fix
2023-08-03m_common_data OK (#27)Tom Overton
* m_common_data OK * Respond to review
2023-04-03Integrate sheet knowledge into the repo (#9)Anghelo Carvajal
* boot splits * code file splits * functions from sheets * symbols from the sheet * bootstrap headers * common_data * most segments * headers for boot files * add overlays as placeholders * unname _os files * named a few files * code headers * typo * Disassemble every overlay * bootstrap symbol_addrs_overlays.txt * split yamls --------- Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>