summaryrefslogtreecommitdiff
path: root/src/code/m_actor.c
AgeCommit message (Collapse)Author
2024-12-26main OK (#234)Derek Hensley
* main OK * gSegments -> SegmentBaseAddress * newline * format
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-08-12m_kankyo OK (#207)Prakxo
* implement kankyo * m_kankyo OK
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-14migrated rodata in m_actor.c (#172)emilybrooks
2024-04-13Actor_dt OK (#171)Lucas Shaw
2024-04-04m_view OK (#163)Prakxo
* m_view OK * format?
2024-03-12m_clip OK (#154)Prakxo
* m_clip OK * format and added offsets * format
2024-02-29Update `OPEN_DISPS`/`CLOSE_DISPS` macros, clean up various fake matches, and ↵Tom Overton
match `mSM_draw_mail` (#152) * Update `OPEN_DISPS`/`CLOSE_DISPS` macros and match `mSM_draw_mail` * Improve matches in `ac_train_window`
2024-02-09m_actor_shadow OK (#142)Prakxo
* werk * more werk * m_actor_shadow OK * format * protos fix * jenkins happy
2023-09-27m_lib OK (#103)Prakxo
* m_lib OK * fixes * rename segmented2virtual macro
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-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-08-28Fault + Fault_drawer (#77)Derek Hensley
* Fault OK * fault_drawer OK * Cleanup * Cleanup pt 2 * Forgot to save * PR
2023-08-18m_lights (#54)Maide
* m_lights * PR * fix * PR * a * Remove syms * Rebase and PR * Remove sym * Fix syms --------- Co-authored-by: Maide <you@example.com> Co-authored-by: emilybrooks <emilybrooksemilybrooks@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-16Bootstrap actors (#56)Anghelo Carvajal
* rename actors to their profile names. still need to rename thir files * name the files of almost half the actors * name the files of the rest of the actors * name functions used in actor profiles * create c files * fix building * fix fake symbol in ac_ball * make headers * bootstrap most of the stuff * rename ovl_player_actor to player_actor * name all the actor enums * actor and object enums * flags * restore comment * avoid building asm/lib because it can be problematic for FULL_DISASM * format
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