Commit Graph

77 Commits

Author SHA1 Message Date
kuchenmitsahne a4d5910cdb m_random_field OK (#241)
* 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-06-04 16:38:23 -07:00
Derek Hensley f013a028f4 sFRm_flashrom OK (#240)
* 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-21 09:34:12 -07:00
Derek Hensley 7c3634c2fb s_cpak OK (#239)
* 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-20 11:52:28 -07:00
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 b73a19dd98 Identify audio_data data (#232) 2024-12-26 08:19:10 -07:00
Derek Hensley bececbff99 main OK (#234)
* main OK

* gSegments -> SegmentBaseAddress

* newline

* format
2024-12-26 08:14:55 -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 2c7d61be83 m_land OK (#212) 2024-09-21 09:17:13 -07:00
Prakxo eb99af89c8 m_kankyo OK (#207)
* implement kankyo

* m_kankyo OK
2024-08-12 10:36:07 -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
Prakxo 1f7fbf9b29 m_choice_main OK (#191)
* work

* m_choice_main OK
2024-05-27 19:19:42 -07:00
Prakxo 448405671d m_time OK (#189) 2024-05-19 09:40:39 -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 202737c1f0 m_scene_ftr OK (#176)
* 1 byte off..

* m_scene_ftr OK

* newline

* warnings
2024-04-21 08:08:00 -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 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 c395de0945 m_clip OK (#154)
* m_clip OK

* format and added offsets

* format
2024-03-12 07:05:35 -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
Prakxo 689adc9446 m_name_table OK (#143) 2024-02-14 08:52:10 -07:00
Prakxo 4a679da489 m_actor_shadow OK (#142)
* werk

* more werk

* m_actor_shadow OK

* format

* protos fix

* jenkins happy
2024-02-09 09:55:22 -07:00
Prakxo 24074d678d m_private OK (#139)
* update m2ctx

* size fixes?

* size fix

* work

* more work

* m_private OK

* fix style

* format

* fix warnings

* format..
2024-01-31 11:39:03 -07:00
emilybrooks ebd97e9fd1 sys_initial_check OK (#129)
* initial commit

* almost matching, need to figure out segment stuff

* fully matching

* file description

* m_std_dma
2024-01-02 11:14:05 -07:00
Prakxo 04cc631dab Audiomgr OK (#126)
* audiomgr work

* audiomgr OK

* format

* remove comment

* review
2023-12-12 07:27:09 -07:00
Prakxo 57efce4a9b audio OK (#125)
* audio OK

* format
2023-12-09 10:20:31 -07:00
emilybrooks 18b20e709c m_start_data_init cleanup (#120)
* initial commit

* missed some stuff

* review

* made unk names consistent
2023-11-26 14:13:44 -07:00
Prakxo e1fcb33cef The NPC PR 3/3 OK (#119)
* npc werk

* atleast it builds

* m_npc OK

* forgor format

* review

* format

* fix warns?
2023-11-23 10:03:30 -07:00
Prakxo eba2c4cb0f m_cockroach OK (#106)
* m_cockroach OK

* fixes

* fixes

* fix

* forgor which change was mine lol

* space

---------

Co-authored-by: emilybrooks <emilybrooksemilybrooks@gmail.com>
2023-10-05 11:39:15 -07:00
emilybrooks e6e8999c34 match mFI_GetWaveUtinBlock (#104)
* initial commit

* fix

* review

* fix m_play bss
2023-09-28 08:48:55 -07:00
Prakxo 2329d87ea2 lb_reki OK (#105)
* lb_reki OK

* fix protos
2023-09-28 08:43:59 -07:00
Prakxo 02dc7fc7af m_lib OK (#103)
* m_lib OK

* fixes

* rename segmented2virtual macro
2023-09-27 11:03:11 -07:00
Prakxo 4ba0839423 lb_rtc OK (#102)
* lb_rtc OK

* fixes

* Use equality enum values
2023-09-25 08:32:19 -07:00
emilybrooks ea9db85fde Matched 23 functions in m_scene (#98)
* 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-20 10:07:50 -07:00
Prakxo efd664e219 The NPC PR 2/3 OK (#97)
* m_npc_schedule OK

Co-authored-by: Maide <you@example.com>

* fix structs

* fixes

---------

Co-authored-by: Maide <you@example.com>
2023-09-19 11:44:50 -07:00
Prakxo ef0a26fd48 NPC PR 1/3 ok (#96)
* 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-15 09:36:15 -07:00