132 Commits

Author SHA1 Message Date
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
inspectredc 8caa1e847b ac_dump OK (#180)
* ac_dump OK

* warnings
2024-04-24 08:43:28 -07:00
inspectredc 7ae1401111 ac_airplane OK and documented (#178)
* ac_airplane OK and documented

* player lib funcs

* include object

* remove statics
2024-04-23 17:37:47 -07:00
inspectredc 99081d5a7e ac_kago OK and documented (#177)
* ac_kago OK and documented

* palette types

* suggestions + object stuff
2024-04-22 13:21:18 -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 30aaa1356f ac_bee OK (#175)
* ac_bee OK

* fix warning

* change sAdo_OngenPos back

* and in code..

* fix linker script stuff
2024-04-17 16:13:31 -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 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 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 d3623fca20 ac_weather OK (#155)
* weather werk

* ac_weather OK

* format

* review
2024-03-14 08:36:14 -07:00
Prakxo c395de0945 m_clip OK (#154)
* m_clip OK

* format and added offsets

* format
2024-03-12 07:05:35 -07:00
emilybrooks abd5ecba65 ac_sum_hal_chest02 OK (#153)
* initial commit

* started draw function

* fully matching

* fix compile errors
2024-03-10 15:27:50 -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
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
emilybrooks 1d31ba9ecd ac_koinobori OK (#140)
* initial commit

* everything but draw

* fully matching

* imported data

* fixed errors

* review
2024-02-06 18:49:33 -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 1d9c5c49c5 Second half of tool objects (#136)
* 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-26 16:19:49 -07:00
Prakxo cc4355f6ad ac_sample OK (#134)
* ac_sample OK

* some review

* review
2024-01-19 17:09:40 -07:00
emilybrooks ef3e9edf8a Umbrella objects (#132)
* tol_umb_01

* umbrella2

* umbrella 3

* 4 and 5

* up to 8

* 9

* 16

* 17

* 22

* 22

* all extracted

* review
2024-01-14 10:09:15 -07:00
emilybrooks 93fa8a0e9e Implement asset extraction (#131)
* got stuff to extract properly

* je and bs extensions done

* got symbols named correctly

* extensions done, symbol naming done

* fixed some errors

* fixed more of them

* stuff

* started editing make file

* makefile works

* ci4 and palette extensions done

* cleaned up ckf_je extension

* fixed vertex problem

* cleaned up asset yaml

* cleaned up extensions

* added tol_cracker_1

* builds properly

* finished obj_s_yamishop and obj_w_yamishop

* updated to work with latest splat

* fixes

* makefile asset dir

* remove old codes from af_ci4.py
2024-01-08 13:00: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 72514d5aae m_select OK (#128)
* m_select OK

* format
2023-12-21 08:50:42 -07:00
Prakxo 45e93dc1b6 z_std_dma -> m_std_dma (#127) 2023-12-17 23:49:49 -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
Prakxo 268c1f8c95 train_window OK (#123)
* train_window OK

* review
2023-12-08 11:57:31 -07:00
inspectredc e36e3d9d94 make naming corrections (#124) 2023-12-05 11:13:48 -07:00
Prakxo 2de3373647 ac_train_door OK (#122)
* ac_train_door OK

* review
2023-12-04 10:54:21 -07:00