summaryrefslogtreecommitdiff
path: root/src/overlays/actors
AgeCommit message (Collapse)Author
2024-12-26main OK (#234)Derek Hensley
* main OK * gSegments -> SegmentBaseAddress * newline * format
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-11-22`ac_radio` OK (#226)Leonid Kapitonov
* prepare unknown size * move `.data` to the C side * aRAD_actor_ct OK * func_80A76B2C_jp OK * func_80A769E4_jp OK * aRAD_actor_init OK * func_80A76958_jp OK (rename to `aRAD_actor_dt`) * func_80A76A30_jp OK * func_80A76B4C_jp OK * aRAD_actor_draw OK * remove asm pragmas * document `ac_radio` actions * rename `func_80A769E4_jp` in accord with aKAG's * rename `func_80A76B4C_jp` -> `aRAD_actor_move` * use `StructureActor` as others do * apply review suggestions * seems to match too
2024-11-03ac_goza OK (#225)kuchenmitsahne
* aGOZ_actor_move OK * aGOZ_actor_init OK * Make style more consistent (aGOZ_actor_init). * aGOZ_actor_dt, aGOZ_wait OK * aGOZ_setup_action OK (with temporary extern) * aGOZ_actor_ct OK * aGOZ_actor_draw OK (unused-parameter warning introduced) * Replace magic numbers with macros, rename symbols. * aGOZ_set_bgOffset OK (all functions matching). * ac_goza OK (data import complete). * Replace hex with decimal where appropriate * Finish renaming symbols * Style/formatting tweaks * Remove extraneous whitespace * Fix warning * Fix warning properly
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-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-17fix mFI_Wpos2BlockNum calls (#211)Prakxo
2024-08-13Extend usage of mTM_TIME_TO_SEC (#208)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-13m_roll_lib OK (#198)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-17Fix some fake symbols (#187)Anghelo Carvajal
* Fix fake reference from ovl_Npc_Conv_Master * ovl_FallSESW fix * reorder * ac_npc_guide2 fix * ovl_Npc_Police
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_tama OK (#179)inspectredc
* ac_tama OK * or else
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-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
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-10m_olib.c OK (#167)Lucas Shaw
* m_olib.c OK * ran format.py * added functions to header file * updated graphics macros in two overlays to make them work with format.py * rename z64camera.h to m_camera2.h * made recommended changes
2024-04-10m_submenu OK (#166)Prakxo
* m_submenu OK * mSM_load_player_anime no warning
2024-04-09m_scene OK (#165)Prakxo
2024-03-29m_all_grow OK (#159)Prakxo
2024-03-22ac_weather_sakura OK (#157)Prakxo
* weather werk * ac_weather OK * format * review * sakura werk * sakura ok * format * proto comments
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-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-29match ac_toudai draw functions (#151)emilybrooks
* matched aTOU_actor_draw_after * some work on aTOU_actor_draw * aTOU_actor_draw matching * moved data to in function static * missed some things * space * removed some unneeded stuff
2024-02-28match aMHS_make_bgOffset (#150)emilybrooks
* matched aMHS_make_bgOffset * cleaned up * cleanup * combine var_v0
2024-02-23ac_t_keitai OK (#148)Tom Overton
* ac_t_keitai OK * Pascal case the invented struct name
2024-02-21Updated splat, implemented new palette system (#146)emilybrooks
* image_type_in_extension * new palette extension * global_id not found * updated splat * disaster * changed wording * fixed fall texture names * delete bin_to_inc_c script * forgot to rename
2024-02-15m_rcp OK (#145)Derek Hensley
* ignore .venv * Start m_rcp * gfx_set_fog_position * gfx_set_fog_nosync * Data + func_800BD3EC_jp * func_800BD428_jp * func_800BD448_jp * func_800BD470_jp * func_800BD498_jp * func_800BD4C0_jp * _texture_z_light_fog_prim * _texture_z_light_fog_prim_shadow * func_800BD538_jp * _texture_z_light_fog_prim_xlu * _texture_z_light_fog_prim_light * _texture_z_light_fog_prim_npc * texture_z_light_fog_prim_bb_pal_opa * texture_z_light_fog_prim_bb_pal_xlu * texture_z_fog_lod_alpha_shadow * func_800BD6F8_jp * gfx_rect_moji * rect_moji * polygon_z_light_prim * gfx_softsprite_prim_xlu * gfx_tex_scroll2 * gfx_two_tex_scroll * func_800BD9D8_jp * func_800BD9FC_jp * tex_scroll2 * two_tex_scroll * DisplayList_initialize + bss * fade_rgba8888_draw * texture_z_light_prim_xlu_disp rename * func_800BE030_jp * fade_black_draw * func_800BE094_jp * func_800BE0E4_jp * gfx_gDPFillRectangleF * func_800BE184_jp * gfx_gSPTextureRectangle1 * func_800BE27C_jp * gfx_gSPScisTextureRectangle1 * func_800BE4F8_jp
2024-02-14imported data for ac_train_window (#144)emilybrooks
* initial commit * add space * made till_data static
2024-02-081/4th of the structure object extracted (#141)emilybrooks
* linked yamishop * linked uranai * need to fix evw extensions * count01 linked * linked count02 * linked douzou * obj_dump * extracted the pointer tables * obj_falls * obj_e_kago * koinobori * lotus * link koinobori * mikanbox * house1 * cleanup * fix formatting * comment out c file that doesn't exist yet
2024-02-06ac_koinobori OK (#140)emilybrooks
* initial commit * everything but draw * fully matching * imported data * fixed errors * review
2024-01-26Second half of tool objects (#136)emilybrooks
* tol_keitai_1 * kenjyu * evw_anime data extraction works * forgot to remove this * added comments for objects * fixes * scroll colprim colenv now extract as arrays * forgot commas
2024-01-19ac_sample OK (#134)Prakxo
* ac_sample OK * some review * review
2024-01-14Umbrella objects (#132)emilybrooks
* tol_umb_01 * umbrella2 * umbrella 3 * 4 and 5 * up to 8 * 9 * 16 * 17 * 22 * 22 * all extracted * review