Commit Graph

26 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
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
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
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 85a19d3fb6 m_mail_check OK (#203)
* m_mail_check OK

* comments
2024-07-22 08:22:21 -07:00
Prakxo 92911830dc m_cpedit OK (#188)
* save_menu OK

* work

* m_cpedit OK

* fix
2024-05-18 14:45:24 -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 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
Prakxo 770d3c2dca m_all_grow OK (#159) 2024-03-29 08:42:32 -07:00
Prakxo d3623fca20 ac_weather OK (#155)
* weather werk

* ac_weather OK

* format

* review
2024-03-14 08:36:14 -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
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
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 936d964445 ac_set_manager OK (#111)
* ac_set_manager OK

* suggestions
2023-10-06 12:40:57 -07:00
Anghelo Carvajal 81b40ad296 submenu_ovl, 3 NON_EQUIVALENTs and 2 NON_MATCHINGs (#88)
* C file

* func_8085DA28_jp, func_8085DA9C_jp

* func_8085D638_jp

* func_8085D358_jp, func_8085D500_jp, func_8085D674_jp

* bleh

* func_8085BAC0_jp

* func_8085D128_jp

* Rename many functions

* mSM_move_menu

* a

* func_8085D43C_jp

* mSM_set_char_matrix

* mSM_cbuf_copy draft

* mSM_cbuf_copy NON_EQUIVALENT

* func_8085C20C_jp draft

* match func_8085C20C_jp

* cleanup unc_8085C20C_jp

* func_8085C7A4_jp ok, func_8085C7B8_jp NON_EQUIVALENT

* mSM_draw_mail NON_MATCHING

* func_8085D094_jp

* mSM_set_other_seg mSM_set_before_menu_proc

* meh

* mSM_move_Move

* migrate data

* move submenu overlays to the submenu folder and make headers for them

* name some files based on rodata strings

* name functions from known submenu overlays

* mSM_move_chg_base

* mSM_menu_ovl_init NON_MATCHING

* migrate bss

* mSM_menu_ovl_init

* SubmenuProgramId

* mSM_save_before_func

* mSM_return_func NON_EQUIVALENT

* some cleanup

* rename lots of data

* kinda format

* more cleanup

* symbolize remaining stuff

* format

* Kinda fix whatever is going on with Game_Play_unk_0110

* mroecleanup

* name known overlays

* tag_program_dlftbl, hand_program_dlftbl, haniwa_program_dlftbl

* format

* flag defines
2023-09-08 08:02:32 -07:00
Anghelo Carvajal 09ac5c453d m_submenu with 3 NON_MATCHINGs and 5 unattempted (#70)
* C file

* mSM_submenu_ct, mSM_submenu_dt, mSM_submenu_move

* SubmenuArea_DoLink, SubmenuArea_DoUnlink, load_player

* mSM_submenu_ovlptr_cleanup

* mSM_move_Wait, mSM_move_PREWait, mSM_move_Play

* func_800C497C_jp

* mSM_submenu_ctrl

* mSM_ovlptr_dllcnv_sub, mSM_ovlptr_dllcnv, mSM_open_submenu, mSM_open_submenu_new, mSM_open_submenu_new2, mSM_Reset_player_btn_type1, mSM_Reset_player_btn_type2, mSM_submenu_draw

* fix warnings

* name functions referenced by check_process

* migrate data

* func_800C47B4_jp NON_MATCHING

* mSM_check_item_for_furniture, mSM_check_item_for_sell, mSM_check_item_for_give, mSM_check_item_for_take, mSM_check_item_for_minidisk, mSM_check_item_for_shrine, mSM_check_item_for_entrust, mSM_check_item_for_exchange

* rename remaining functions

* match mSM_submenu_ovlptr_init

* cleanup mSM_submenu_ovlptr_init

* match mSM_move_LINKWait?

* Rename mSM struct and other cleanups

* enums

* cleanup

* format

* move unknown struct to header

* typo
2023-08-23 10:38:41 -07:00
Anghelo Carvajal c65a8dbc39 Game renaming (#63)
* rename GameState to Game

* Rename the structs

* fix table

* whoops

* rename play parameter

* format

* undo what i messed in z64compress
2023-08-17 09:19:13 -07:00
Anghelo Carvajal 647f6deed4 Bootstrap actors (#56)
* rename actors to their profile names. still need to rename thir files

* name the files of almost half the actors

* name the files of the rest of the actors

* name functions used in actor profiles

* create c files

* fix building

* fix fake symbol in ac_ball

* make headers

* bootstrap most of the stuff

* rename ovl_player_actor to player_actor

* name all the actor enums

* actor and object enums

* flags

* restore comment

* avoid building asm/lib because it can be problematic for FULL_DISASM

* format
2023-08-16 16:29:49 -07:00
Anghelo Carvajal c7a746e71e Object table (#53)
* find object_table and make tool to extract it

* migrate object table

* update the assets yaml a bit

* comment

* name gameplay_keep

* change gameplay_keep to segment 4

* rename exclusive_ram_id to fit the segment used

* review
2023-08-16 10:21:44 -07:00
Anghelo Carvajal 3e14e3a81f m_game_dlftbls.c (#44)
* file split

* name overlays

* sys_romcheck

* gamestate headers

* table

* renaming

* unname ovl_sys_romcheck

* move externs to game.h

* format
2023-08-10 11:03:37 -04:00
Anghelo Carvajal 94b300b0d0 m_actor_dlftbls.c (#32)
* start

* match the file

* actor_dlftbls_num

* script to extract the actor table

* bootstrap actor table

* ActorId enum

* migrate actor table

* reorganize overlays in subfolders

* Fix Player

* migrate bss

* cleanup and format

* ActorProfile

* Move player_actor to actors folder

* RomOffset

* ACTOR_ID_MAX
2023-08-05 10:58:09 -04:00
Anghelo Carvajal 632ff4b2ab Build a compressed ROM (#16)
* git subrepo clone (merge) --branch=5da3132606e4fd427a8d72b8428e4f921cd6e56f git@github.com:z64tools/z64compress.git tools/z64compress

subrepo:
  subdir:   "tools/z64compress"
  merged:   "5da3132"
upstream:
  origin:   "git@github.com:z64tools/z64compress.git"
  branch:   "5da3132606e4fd427a8d72b8428e4f921cd6e56f"
  commit:   "5da3132"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo.git"
  commit:   "2f68596"

* z64compress_wrapper.py

* fixes

* dmadata.c

* readme

* git subrepo pull tools/splat

subrepo:
  subdir:   "tools/splat"
  merged:   "01ac556"
upstream:
  origin:   "git@github.com:ethteck/splat.git"
  branch:   "master"
  commit:   "01ac556"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo.git"
  commit:   "2f68596"

* segment_end_before_align: True

* Add compressed step to jenkinsfile

* TODO

* format

* remove from boot_variables.h

* simplify

* Change makefile to match MM
2023-07-29 12:52:32 -04:00