Commit Graph

112 Commits

Author SHA1 Message Date
Derek Hensley 6baf5141be m_cpak OK (#238)
* 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-19 09:05:03 -07:00
Derek Hensley a9e52e5a55 Cfbinfo (#237)
* func_800D2CDC_jp

* func_800D2CB4_jp

* func_800D2C10_jp

* cleanup

* Small docs of CfbInfo struct
2025-01-03 17:51:33 -07:00
Derek Hensley f319c81250 Graph OK (#236)
* 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
2025-01-03 13:05:50 -07:00
Derek Hensley cb54eb49e4 6FD190 + 6FD410 OK (#235)
* 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-28 08:59:22 -07:00
Derek Hensley bececbff99 main OK (#234)
* main OK

* gSegments -> SegmentBaseAddress

* newline

* format
2024-12-26 08:14:55 -07:00
kuchenmitsahne 60579a4260 m_field_info 37 additional functions OK (40/188 total) (#230)
* 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-13 09:54:39 -07:00
kuchenmitsahne 7c055329a7 ac_hanami_npc1 OK (#228)
* 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-27 11:46:58 -07:00
Prakxo 943287ddfa m_fbdemo* OK (#223)
* m_fbdemo OK

* m_fbdemo_wipe1 OK

* fix play

* m_fbdemo_triforce OK

* link triforce

* m_fbdemo_fade OK

* typo

* newline

* format
2024-10-21 07:57:26 -07:00
Prakxo 78d0c294c5 m_bgm OK (#222)
* m_demo OK

* camera fix

* m_bgm OK
2024-10-13 08:36:51 -07:00
Prakxo 60cc4c9e23 m_demo OK (#221)
* m_demo OK

* camera fix
2024-10-10 08:18:22 -07:00
Prakxo c7a6aa2b88 ac_arrange_room OK (#220)
* ac_arrange_room OK

* fix?
2024-10-09 08:46:35 -07:00
Prakxo 8f359e10f0 m_player audio and other_func functions (#218)
* m_player_sound

* m_player_other_func

* format
2024-09-27 10:26:30 -07:00
emilybrooks 946ee8e9c2 clchest03 matched and hal_chest02 cleanup (#213)
* 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-21 13:03:08 -07:00
Prakxo 2c7d61be83 m_land OK (#212) 2024-09-21 09:17:13 -07:00
Prakxo 0f475e88a8 Extend usage of mTM_TIME_TO_SEC (#208) 2024-08-13 14:34:26 -07:00
Prakxo eb99af89c8 m_kankyo OK (#207)
* implement kankyo

* m_kankyo OK
2024-08-12 10:36:07 -07:00
Prakxo ed51325ede player_select OK (#204) 2024-07-27 07:58:33 -07:00
Prakxo 85a19d3fb6 m_mail_check OK (#203)
* m_mail_check OK

* comments
2024-07-22 08:22:21 -07:00
Prakxo aeb01dcb95 m_roll_lib OK (#198) 2024-07-13 06:50:22 -07:00
Prakxo 0e66d077f8 lbrtc OK (#196)
* lbrtc OK

* format

* names

* format 2

* review + docs

* format
2024-07-01 08:02:29 -07:00
Prakxo 69201d6d72 m_room_type OK (#193)
* m_room_type OK

* offsets

* jenkins
2024-06-02 07:41:49 -07:00
Anghelo Carvajal fd05811213 m_trademark OK (#192)
* 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-30 14:00:57 -07:00
Prakxo 1f7fbf9b29 m_choice_main OK (#191)
* work

* m_choice_main OK
2024-05-27 19:19:42 -07:00
Prakxo 8f73c61ec5 second_game OK (#190) 2024-05-21 09:21:23 -07:00
Prakxo 448405671d m_time OK (#189) 2024-05-19 09:40:39 -07:00
Prakxo 92911830dc m_cpedit OK (#188)
* save_menu OK

* work

* m_cpedit OK

* fix
2024-05-18 14:45:24 -07:00
Derek Hensley d743f70585 Prerender (1 NON_MATCHING) (#185)
* 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-14 07:46:27 -07:00
Prakxo 707577c16e save_menu OK (#184) 2024-05-14 07:43:37 -07:00
Tom Overton 8b5260063f ac_structure OK with some minor documentation (#183)
* 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-05-06 15:26:01 -07:00
Cuyler36 749152a745 Update GraphicsContext macros (#182)
* Update GraphicsContext macros

* Fix formatting
2024-04-29 15:58:41 -07:00
Prakxo 202737c1f0 m_scene_ftr OK (#176)
* 1 byte off..

* m_scene_ftr OK

* newline

* warnings
2024-04-21 08:08:00 -07:00
inspectredc e6ea51bc3d ac_Fuusen OK and documented (#174)
* 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-16 12:31:29 -07:00
inspectredc 7f426967ef ac_ball OK and documented (#173)
* 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-15 16:19:43 -07:00
emilybrooks 4ab3a1d9dc migrated rodata in m_actor.c (#172) 2024-04-14 06:55:02 -07:00
Lucas Shaw 3518e7cc27 Actor_dt OK (#171) 2024-04-13 08:24:15 -07:00
Lucas Shaw 08f273cdf9 m_DLF.c OK (#170)
* m_DLF.c OK

* added comment
2024-04-12 20:19:59 -07:00
Lucas Shaw 0e972cfc83 m_debug_display.c OK (#168)
* m_debug_display.c OK

* .

* Migrated data for m_debug_display

* Finishing touches

* ran format.py

* made suggested changes
2024-04-12 09:39:33 -07:00
Lucas Shaw fb02647839 m_olib.c OK (#167)
* 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-10 23:20:00 -07:00
Prakxo 7146ace5cb m_submenu OK (#166)
* m_submenu OK

* mSM_load_player_anime no warning
2024-04-10 19:00:41 -07:00
Prakxo fce490d951 m_scene OK (#165) 2024-04-09 18:57:33 -07:00
Prakxo fcdb637629 m_skin_matrix OK (#164)
* m_skin_matrix OK

* protos
2024-04-08 14:38:30 -07:00
Prakxo 322592d306 m_view OK (#163)
* m_view OK

* format?
2024-04-04 08:38:30 -07:00
Prakxo 1ffded6b49 m_string OK (#162)
* m_string OK

* replace with defines
2024-04-02 15:09:06 -07:00
Prakxo d8789801b8 gfxalloc OK (#160)
* gfxalloc ok

* format/names
2024-04-02 09:21:33 -07:00
Prakxo 770d3c2dca m_all_grow OK (#159) 2024-03-29 08:42:32 -07:00
Prakxo 540648ef26 listalloc OK (#158) 2024-03-27 09:55:05 -07:00
Prakxo 4b081155a9 ac_weather_sakura OK (#157)
* weather werk

* ac_weather OK

* format

* review

* sakura werk

* sakura ok

* format

* proto comments
2024-03-22 11:24:09 -07:00
Prakxo c395de0945 m_clip OK (#154)
* m_clip OK

* format and added offsets

* format
2024-03-12 07:05:35 -07:00
Tom Overton 55a27a1935 Update OPEN_DISPS/CLOSE_DISPS macros, clean up various fake matches, and match mSM_draw_mail (#152)
* Update `OPEN_DISPS`/`CLOSE_DISPS` macros and match `mSM_draw_mail`

* Improve matches in `ac_train_window`
2024-02-29 20:01:29 -07:00
Derek Hensley c37305bb93 m_rcp OK (#145)
* 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-15 10:07:20 -07:00