Commit Graph

138 Commits

Author SHA1 Message Date
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
Leonid Kapitonov 8e54519977 ac_house_goki OK (#229)
* 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-12-07 12:27:42 -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
kuchenmitsahne d38ac6a9d3 ac_hanami_npc0 OK (#227)
* 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-26 08:37:21 -07:00
Leonid Kapitonov 0bab7e592c ac_radio OK (#226)
* 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-22 07:30:14 -07:00
kuchenmitsahne 9576a6909f ac_goza OK (#225)
* 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-11-03 09:12:54 -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 5db5ae7201 sum_blue_bureau01 OK (#216)
* initial commit

* imported data

* matching

* renamed functions

* extracted assets

* review
2024-09-26 07:45:16 -07:00
Prakxo bd553a1ca8 m_player controller functions (#217)
* player work1

* m_player_controller

* format
2024-09-26 07:39:38 -07:00
Prakxo 35eba20abd ef_room_sunshine OK (#214)
* ef_room_sunshine OK

* format

* jenkins

* fourth time's the charm
2024-09-24 12:05:32 -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 eb99af89c8 m_kankyo OK (#207)
* implement kankyo

* m_kankyo OK
2024-08-12 10:36:07 -07:00
Prakxo c3164cd99c ac_mikuji OK (#206)
* ac_mikuji OK

* jenkins
2024-07-29 09:30:20 -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
emilybrooks 235b6575c2 extracted yubinkyoku and locerrmsg (#195)
* s post office

* winter post office

* extracted locerrmsg

* added comments
2024-06-15 12:56:42 -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
Anghelo Carvajal 727b57b899 Fix some fake symbols (#187)
* Fix fake reference from ovl_Npc_Conv_Master

* ovl_FallSESW fix

* reorder

* ac_npc_guide2 fix

* ovl_Npc_Police
2024-05-17 18:28:20 -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
inspectredc 8caa1e847b ac_dump OK (#180)
* ac_dump OK

* warnings
2024-04-24 08:43:28 -07:00
inspectredc 48c8a77bbf ac_tama OK (#179)
* ac_tama OK

* or else
2024-04-23 17:42:13 -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
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
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
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 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
emilybrooks 87c30f66d2 1/2 of structure objects extracted (#156)
* house2

* split yamishop

* split douzou

* split kago

* split dump

* split uranai

* split house

* fixed names

* obj_s_house3

* forgot

* obj_s_house4

* house5

* started winter houses

* w house3

* w_house4

* w_house5

* myhome2

* s myhome done

* w_myhome1

* freedom

* kouban

* small fixes
2024-03-16 08:09:26 -07:00