fig02
f4a490bb6a
Port Proposed OoT Object Docs ( #1361 )
...
* port docs in z_scene
* undo accidental ctrl-f
* another fix
* expose Object_SpawnPersistent
---------
Co-authored-by: engineer124 <engineer124engineer124@gmail.com >
2023-10-04 14:01:04 +11:00
Derek Hensley
9e72c240d9
Z_message (2 NON_MATCHINGS) ( #1398 )
...
* matched func_8014D62C
* matched func_8014D304
* matched func_80149048
* matched func_80159438 & func_8014CDF0
* matched Message_GetState
* matched func_80152CAC
* matched func_80149454
* matched func_801491DC
* matched func_80150A84
* matched func_801496C8
* matched func_80149C18
* func_8014995C progress
* matched 8014995C
* matched func_80153EF0
* fix MessageContext lottery guess array size to match func_801496C8
* matched 80148D64
* matched func_8014AAD0
* progress func_8014CFDC
* matched func_8014CFDC
* progress func_801514B0
* progress#2 func_801514B0
* matched func_801514B0
* progress func_8014C70C
* Progress on few functions
* fix some variables & func name
* change unk11F00 type and usages
* func_8014C70C matched
* match func_8015268c
* fix building
* format
* engi message WIP
* enums, cleanup
* missed one
* oops
* even more enums
* another oops
* func_8015E7EC NON_MATCHING
* cleanup Message_DrawTextCredits
* MSGMODE cleanup
* import sFontWidths
* Import z_message_nes data
* Message_DrawTextNES draft
* fix types in message_nes
* Message_DrawTextNES NON_EQUIVALENT
* Message_DrawTextNES improvement
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* Import bss
* fixes
* Data clean up
* Delete Message_Decode m2c output
* Readd Message_Update data
* import data
* func declaration
* cleanup
* Language enum
* fix naming, some flags
* Update functions and variables related to the bombers notebook event queue.
* Update renamed variables.txt
* format
* attempt Message_DecodeCredits
* begin Message_DecodeNES
* decode cleanup
* incremental improvements on Message_DecodeNES
* oops
* more progress
* first attempt at Message_Decode
* cleanup Message_Decode
* Message_Decode progress
* good progress on decode loops
* more progress
* good Message_Decode progress, thank anon
* decode creep
* big improvements, thanks anon/hatal
* small nes improvement
* cleanup
* match Message_DrawTextDefault, big progress on Message_DrawTextNES
* namefixer for save structs
* Some cleanup/fix non-equivalencies in decodes
* cleanup
* Small cleanup
* func_80150A84
* TextBoxType enum usage
* Format
* match Message_DecodeCredit by Maide, small improvement in Message_DrawTextNES
* comments
* some docs
* cleanup, improve matches
* Some improvement
Co-Authored-By: Santiago <github-santaclose-noreplay@NA.com >
* Fixes
* Missed
* Match Message_DrawTextNES
* Move functions to z64message.h
* string macros
* Small cleanups
* 1 more small thing
* decompme scratches
* Cleanup
* Item enum
* PR
* SEGMENT_ROM_START
* PR
* format
* ocarina cleanup
---------
Co-authored-by: andzura <andzura@andzura.fr >
Co-authored-by: Angie <angheloalf95@gmail.com >
Co-authored-by: engineer124 <engineer124engineer124@gmail.com >
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
Co-authored-by: Zoey Zolotova <zoey.zolotova@gmail.com >
Co-authored-by: Santiago <github-santaclose-noreplay@NA.com >
2023-10-04 08:51:45 +11:00
Derek Hensley
4ca54d704e
Speedmeter OK ( #1393 )
...
* Match
* data + bss
* x
* Small cleanup
* maxVal
* gUnkTimeAcc
* SET_FULLSCREEN_VIEWPORT_HIRES
* Update permuter settings
* SET_FULLSCREEN_VIEWPORT_DYNAMIC
2023-10-03 15:52:41 +11:00
engineer124
33aaaea2c4
Start Player Item Docs ( #1396 )
...
* Copy Fig Docs
* small cleanup
* ItemChangeType comment
* bool
* item change comments
* PR Review
* rm comments
2023-09-30 17:28:14 +10:00
Derek Hensley
d4c41f0263
z_message_nes (1 NON_MATCHING) ( #1394 )
...
* Bring over progress
* Some docs
* scratch urls + format
* Fixes
* Match Message_DrawTextNES
* String macros
* color structs
2023-09-27 14:24:52 +10:00
Anghelo Carvajal
a017b8f228
Cleanup pass for CIC6105.c ( #1371 )
...
* IO_READ
* CIC6105.h
* CIC defines
* sRomInfoFaultClient
* CIC6105_Init
* CIC6105_Destroy
* hopefully final cleanup
* review
* bss
* bss
2023-09-24 19:23:44 +10:00
engineer124
b88aa2c0fc
Player docs: Control Stick Input and Movement ( #1385 )
...
* player input docs
* player prefix
* rm comments
* TRUNCF_BINANG
2023-09-23 13:52:06 -03:00
engineer124
df800c74ae
PreRender.c OK ( #1320 )
...
* begin prerender
* match func_801716C4
* copy more docs from OoT
* begin func_801720FC
* improve func_801720FC
* match func_801720FC
* background 2D
* merge master
* func_801717F8 attempt
* z64prerender.h
* import bss
* non-equivalent
* document func_801716C4
* cleanup comments
* import tharo docs
* minor improvement on PreRender_DivotFilter
* Match PreRender_DivotFilter
* Remove fakes
* format
* Fix comment about RM_VISCVG in PreRender_FetchFbufCoverage
* PreRender cleanup
* PR Review
* review
* listalloc.h
* bss
* capitalization
---------
Co-authored-by: angie <angheloalf95@gmail.com >
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
2023-09-15 19:34:16 -03:00
Derek Hensley
190b78549e
Non libultra Boot Cleanup ( #1370 )
...
* reorganize
* math64
* rcp_utils
* osSyncPrintfUnused
* comment spacing
2023-09-12 10:38:31 +10:00
Anghelo Carvajal
4fa13e4132
Move libultra function declarations to libultra headers ( #1196 )
...
* Delete unused headers
* Move PR and io to ultra64
* move headers to ultra64
* more cleanups
* more reorganizing
* i think that should be all
* format
* ifdef guards cleanup
* Add IO_READ and IO_WRITE macros for future use
* warnings
* review
Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com >
* warnings again
* warn
* ifdef guards
* fix merge
* fix merge
* fix merge
* bss
* padutils.h
* bss
* bss
* bss
* fix merge
* bss
* bss
* bss
* fix merge
* fixes
* fixes
* bss
* bss
* fix merge
* fix
* fix
* fix includepaths
* fix paths
* bss
* fix
* ultra64/ -> PR/
* header guards
* fix ehader guards
* fix
* fix++
* format
* bss is borken
* prevent 2
* :despair:
* bss
* rename assert to dbg_hungup
* fix
* a
* fix
* bss
* fix
* bss
* bss
---------
Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com >
2023-09-02 15:34:29 -04:00
Anghelo Carvajal
9cceea48f3
Documentation pass for the Target system ( #1281 )
...
* cleanup
* import bss
* sActorHiliteMtx
* some cleanups on func_800BB604
* Actor_IsInTargetableRange
* rematch func_800BB604
Co-authored-by: engineer124 <engineer124engineer124@gmail.com >
* Name ACTOR_FLAG_UNFRIENDLY and ACTOR_FLAG_FRIENDLY
* Rename some Target_ functions
* cleanusp
* TargetMode enum
* Target_800B82EC
* sNaming
* more
* more naming
* fairyHintPos
* rotation
* ACTOR_FLAG_TARGETABLE
* update namefixer
* remove trailing comma
* bss
* Wall of text for Target_800BB604
* function naming
* cleanups
* Target_GetAdjustedDistSq
* NotLeash
* more comments
* minor comment
* review
* fix
* rotZTick
* review
* name last members
* fix
* review
* review
* more namefixer
* swap members
* comment
* Update src/code/z_actor.c
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
* Update src/code/z_actor.c
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
* review
* format
* Update src/code/z_actor.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* Update include/z64actor.h
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* review
* review
* fix
* fix
---------
Co-authored-by: engineer124 <engineer124engineer124@gmail.com >
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
2023-09-02 15:16:45 -04:00
Derek Hensley
8059537150
Game bss and cleanup ( #1356 )
...
* Game bss and cleanup
* Match Oot with rdp time variables
* PR review
* Namefixer
2023-08-21 21:44:28 -04:00
Derek Hensley
410d412d0a
Talk Exchange System Docs ( #1312 )
...
* Fix typo
* PLAYER_IA_HELD
* Actor offer exchange item functions
* SubS_OfferExchangeItemCustom
* SubS_OfferItem + enum
* Actors that use Subs_OfferItem
* SubS_OfferExchangeItemFacing
* Comments
* Format
* Better comment
* EnRg
* function names and comments
* Split enum
* exchangeItemId -> exchangeItemAction
* namefixer
* PR comments
* Missed a comment
* Max -> Mask
* SubS_SetOfferMode
* Some more comments updating
* rg comment
* PLAYER_IA_CONTINUE
* Revert back to PLAYER_IA_MINUS1
* Comment typos/grammar
* Verify functions
* yawRange
* Actor_OfferTalkNearby
* Actor_OfferTalkExchangeEquiCylinder
* format
* Actor_OfferTalkNearColChkInfoCylinder
* OfferTalk comments
* Actor_OfferTalkExchange comment enum
* format
2023-08-01 09:40:12 +10:00
Derek Hensley
913cd981c0
Deku Playground Docs ( #1318 )
...
* Actor shared memory
* EnGameLupy
* EnLiftNuts
* object_dnt
* PR Suggestions
* Things I missed
* sPad
* Format
* PR comments
2023-07-10 22:47:39 -04:00
Anghelo Carvajal
b3eae0e5b7
Port OoT's docs for fault.c and fault_drawer.c ( #1199 )
...
* fault.h
* some docs stealing
* fix building
* fault_internal.h
* pass
* finish stealing docs
* finish cleanup
* format
* warning
* Update src/boot_O2_g3/fault.c
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
* Update src/boot_O2_g3/fault.c
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
* Update src/boot_O2_g3/fault.c
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
* review
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
* arggggg
* arggggg part 2
* STACK
* PHYS_TO_K0(0x400000)
* format
* fix
* Instance
* format
* Neutral reset
* variables.h cleanup
* bss
* frameBuffer
* format
* Update src/boot_O2_g3/fault.c
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
* review
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
* Update src/boot_O2_g3/fault.c
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
* bss
* bss
* bss
* callback cleanup
* fix function declarations
* fix again
* bss
* bss
* Update src/overlays/actors/ovl_En_Fishing/z_en_fishing.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* Update src/boot_O2_g3/fault.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* bss
* bss
* Update src/boot_O2_g3/fault.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* review
* import bss
* format
* minor cleanup
* bss
* review
* fix
* bss
* bss
* bss
* bss
* bss
* format
* a
* Z_PRIORITY_FAULT
* bss
* fix
* idle.c bss doesn't want to get fixed :c
* review
* bss
---------
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
2023-07-08 14:41:25 -04:00
Derek Hensley
a506e8620a
Fidget Tables Docs ( #1316 )
...
* Docs for SubS_FillLimbRotTables and Actor_FillLimbRotTables
* Fidget
* Format
* ///
* UpdateFidgetTables
* Clarify comment
* Adjust comments slightly
* Update src/code/z_actor.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* Update src/code/z_sub_s.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
---------
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
2023-07-07 07:54:43 +10:00
Derek Hensley
22035890fa
Idle + Main bss and cleanup ( #1292 )
...
* Idle bss and cleanup
* main bss and cleanup
* format
* Remove pad comment about sAudioMgr
* PR
* Missed a couple size_t changes
* unused pads
* static
2023-06-26 10:18:50 +10:00
engineer124
21655f31c5
Audio Effects Cleanup ( #1295 )
...
* audio effects cleanup
* more cleanup
* header comments
* more docs
* cleanup
* file name fix
* swap if
* more cleanup
* move comment
* ADSR notes
* fix bss, pr review
2023-06-24 19:56:48 -04:00
Derek Hensley
5619dc5b5e
Load Docs ( #1222 )
...
* Sync with OoT
* Macro cleanup
* Some cleanup/rename load system name to Fragment
* Format
* bss
* Some clarifying comments regarding fragments
* PR suggestions
* size_t and numRelocations
2023-06-24 14:26:36 +10:00
Derek Hensley
c0ac061e6f
AudioMgr cleanup ( #1300 )
...
* AudioMgr cleanup
* Remove D_801D14F0 from variables.h
2023-06-21 17:50:26 +10:00
engineer124
9c0fc94fe3
Audio Sfx Functions Decompiled and Documented (code_8019AF00.c) ( #1242 )
...
* sfx decomp and docs
* function headers
* namefixer
* oops
* better sfx name
* PR review
* namefixer
* PR review
* float
* namefixer
* namefixer
* namefixer
* PR Suggestions
2023-06-20 23:13:51 -04:00
engineer124
0a55ca0b40
Document Song of Time Cutscenes (Test6) ( #1269 )
...
* import docs
* cleanup
* more eventinf docs
* more cleanup
* more docs
* more docs
* more docs
* sZoraBarrierEnvLighting
* comments
* PR Suggestion
* fix bss
2023-06-18 17:02:50 +10:00
Derek Hensley
8c961f2b16
Play_Hireso (Bombers Notebook) OK w/ Docs ( #1235 )
...
* Start
* Try every function
* Import data
* Docs from message branch
* Fix non-equivalency for func_8016AE1C
* Everything looks NON_MATCHING
* Some more clean up and docs
* Some cleanup
* Small format
* Small improvements here and there
* Match a couple
* Anotha one
* and than there was 1
* and than there were none :)
* Lots of docs
* Finish code docs
* schedule static
* Macros + cleanup
* text ids array cleanup
* Entries cleanup
* Use sBombersNotebookEntries in macros
* Some docs from message branch
* eventIndex -> event
* Remove outdated comments
* PR
* BOMBERS_NOTEBOOK_ENTRY_SIZE
* tables
* Token pasting to simplify
* Some more fixes
* PR pt 1
* Format
* Bring over BombersNotebook docs from z_message branch
Co-authored-by: ZoeyZolotova <zoey.zolotova@gmail.com >
* Full enum glory
* Format
* Name weekeventregs
* typo
* Some comments
* bss
* Review
* bss
* Update src/code/z_play_hireso.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* Fix
* Namefixer
* bss
* Format
* 0 = 0x0000
---------
Co-authored-by: ZoeyZolotova <zoey.zolotova@gmail.com >
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
2023-06-06 10:54:50 -04:00
engineer124
7f5087d0b2
sys_math.c Rename ( #1258 )
...
* rename via comments
* missed a comment
* math header
* name boot_80086760.c functions
* PR Review
* rm cam comment
* Elliptic review
* alphabetical
2023-06-05 22:16:34 -04:00
engineer124
8cabbb1a2b
File Select (1 Non-Matching) ( #1158 )
...
* Everything below Main OK,
and some small ones at the top
* 3 more short ones
* FileChoose_Main
* SelectModeUpdate/Draw
* SelectMode update functions done
* 2 more small ones
* ConfigModeDraw
* SetWindowVtx
* FileChoose_FadeInMenuElements
* Rest of the Config Mode Update Functions
* Minor cleanup
* FileChoose_UpdateMainMenu
* Make xml for title_static
* Minor correction
* One nasty draw, thanks Synray
Co-Authored-By: Synray <31429825+Synray@users.noreply.github.com >
* import data
* some cleanup
* import OoT docs
* missed some docs
* some progress
* FileSelect_SetWindowContentVtx WIP
* improve FileSelect_SetWindowContentVtx
* match z_file_nameset_NES
* cleanup and docs
* title static
* a few more functions
* even more functions
* small cleanup
* Data Cleanup
* 2 more matches
* z_file_choose_80807940 OK
* cleanup
* fix merge master
* FileSelect_DrawFileInfo wip
* small cleanup
* minor
* fix merge
* match FileSelect_DrawFileInfo
* cleanup
* fix merge
* fix merge
* sram cleanup
* document select mode
* many docs
* more docs
* more cleanup
* small nitpick
* consistency
* more cleanup
* more cleanup
* small
* small typos
* octal bad
* pr review
* noop
* elliptic review
* more review
* non-matching
* oops
* more suggestions
* keyboard formatting
* fix master
* sound
* padding
---------
Co-authored-by: Elliptic Ellipsis <elliptic.ellipsis@gmail.com >
Co-authored-by: Synray <31429825+Synray@users.noreply.github.com >
2023-06-05 15:03:02 -04:00
Anghelo Carvajal
eb24680be3
z_horse.c OK (#1245 )
...
* func_800F3940
* func_800F3B2C, func_800F415C and func_800F41E4
* func_800F40A0
* func_800F3ED4
* func_800F3C44
* func_800F3B68 NON_MATCHING
* func_800F3A64 kinda
* func_800F39B4
* cleanups
* import data
* fix fake match
* format
* Scene enum
* minor cleanup on data usage
* Horse_RotateToPoint and ENHORSE_PARAMS
* scene setup index
Co-authored-by: Tom Overton <tom-overton@users.noreply.github.com >
* fix merge
* z64horse.h
* Renames
* and even more renames
* format
* fix
* review
* Horse_IsActive
* review
* bss
* fix
* remove comments
* Update src/code/z_horse.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* review
* Update src/code/z_horse.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* review
---------
Co-authored-by: Tom Overton <tom-overton@users.noreply.github.com >
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
2023-06-01 15:11:11 -04:00
louist103
51cd9df591
sys_flashrom matched ( #1251 )
...
* done
* WIP
* Fix the rebase
* fix build
* re match
* Last thing before the PR
* PR fixes
* PR Fixes (tharo)
* fix
* format
* PR fixes (hensldm)
* oops
* MAGIC
* Fix BSS and rename FLASH_MAGIC
* PR Fixes (Engineer)
* remove from functions.h
2023-05-29 20:39:14 -04:00
mzxrules
65d72a54cf
z_syscfb.c, z_vimode.c, code_80140CE0 split and OK ( #1159 )
...
* z_vimode
* Fixups
* WIP
* matching
* sys_cfb OK
* some documentation
* vimode docs, name all syscfb vars
* quick fixes
* suggested changes, more things I missed
* merge suggestions
* code_80140CE0 -> z_viscvg
* format
* update symbols
* more suggestions
* fix include order
* sNotebookViMode comment, bss fix
---------
Co-authored-by: Kelebek1 <eeeedddccc@hotmail.co.uk >
Co-authored-by: louist103 <louist103@gmail.com >
2023-05-29 17:40:10 -04:00
Derek Hensley
fc475a9756
Docs Cleanup ( #1153 )
...
* sysheap
* Gorons
* Update goron comment
* functions.h
* Update src/boot_O2/system_heap.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* add header
* Fix header guards
* Update data
* Add malloc and free to header
---------
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
2023-05-29 13:04:07 +10:00
engineer124
92bdfe68c2
z_rcp.c setupDL docs/cleanup ( #1253 )
...
* SetupDL enum
* name functions
* namefixer
* cleanup
* small cleanup
* PR Review
* don't need address of array
* PR Suggestion
2023-05-28 19:08:29 -04:00
Tharo
6d20839ab0
Decompile padmgr.c ( #1246 )
...
* Decompile padmgr.c
* Format
* Enum names
* Update namefixer
* Suggested changes
Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com >
* Suggested changes, improve motor.c
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
* Further suggested changes
* Format
* Fix `controller.h` comment
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
---------
Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com >
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
2023-05-26 13:57:44 -04:00
engineer124
22af2bb8fe
z_camera with Partial Docs (3 Non-Equivalent) (#601 )
...
* more boot files
* Add VT macros and script
* finish already existing boot files
* most of libultra
* fix 64bits libultra files
* Use C files for libultra, wrap some functions in NON_MATCHING
* Remove duplicate of OS_CLOCK_RATE from fault.c
* C files for fbdemos
* delete dumb files
* bootstrap C files, still need to add them to the spec
* update fixbaserom
* boot OK?
* I forgot to commit the spec
* C for gamestates
* C for kaleido
* Change all includes to ""
* copy actor sizes script from oot
* I forgot to delete those files
* Basic C files for effects
* Add effects initvars names
* Remove mislabelled boot functions from header/txt
* Begin porting bootstrap_fx, some sizes
* Fix <>
* Fix enum
* Fix diff.py
* fix libultra stuff
* update regconvert
* update setup warnings
* add some missing ;
* Fix some makefile stuff and other fixes on some non_matching functions
* add executable flag in extract_baserom and fixbaserom
* fix relative path
* copy assist from oot
* fix map path
* another assist path fix
* Delete C files for handwritten files
* add code_801A51F0 to spec
* add gfxbuffers to spec
* Move rodata to top of each file when possible
* UNK_TYPEs for func_801A51F0
* Remove kaleido rodata from spec
* Update spec and undefined_syms for recent merge
* GCC warnings and fix errors in nonmatchings,
* round percentage numbers
* progress script: format changes
* progress: error on non-existing files
* fix warning in z_scene_table
* Match 2 nonmatchings in z_actor
* Warnings in lightswitch and invadepoh
* Fix warning in z_actor_dlftbls
* I though I fixed this one
* whoops
* Comment out CC_CHECK
* Removed redundant ultra64.h includes
* Update asm_processor, sorted boot_O1 into other folders, completed the fbdemo bootstrap, cleaned up undefined_syms
* Completed gamestates bootstrap
* Split kaleido_scope
* Remove section.h and segment.h, move keep object externs to a common location in variables.h
* Completed effects bootstrap
* Segmented address externs for effects, fbdemos, gamestates and kaleido
* Move actor data externs out of the if 0
* Segmented address externs for actors
* Prepare actionfunc detection
* fix script, how did it even work before
* Fix actionfunc script again, re-introduce some more intermediate prints to the disassembler
* Automated actionFunc detection in actors
* Segmented addresses from player .text
* rm old segment addrs script and fix build
* Move sizes folder to tools
* Make build.py executable
* New Jenkinsfile Prayge
* Remove numpy dependencies
* Add warnings_disasm_current.txt
* my bad
* Update spec and undefined_syms
* Add z_eff_ss_hahen to pametfrog
* git subrepo pull (merge) --force tools/z64compress
subrepo:
subdir: "tools/z64compress"
merged: "163ca2af"
upstream:
origin: "https://github.com/z64me/z64compress.git "
branch: "main"
commit: "163ca2af"
git-subrepo:
version: "0.4.3"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "2f68596"
* Make z64compress print to stdout
* sneeky commit to update warnings tooling
* test
* Another test
* Mark fixing overlay reloc generating as a TODO
* Update warnings stuff
* Communicate the return code from running z64compress back to the Makefile through the wrapper
* Run formatter, remove extra commented copy of function
* Re-fix some includes
* Convert atan to hex to conform to decided style
* Clean up most matching with rodata and most warnings
* Match Parallel1, minor improvement in Jump and KeepOn
* Begin Documentation
* More docs, fixed warnings
* cleanup
* Continuing with docs
* Small progress
* Fix BSS, All but 1 matching functions freed, continue docs
* Fix merge
* Many function names
* More Names
* Change name
* Docs
* Begin camera_data docs
* small progress
* Minor change
* Improve docs on functions
* Player to TrackActor, progress on camera_data
* Add Cam_Data Macro and fix warnings
* Progress on Camera_Data docs
* Document CsCamData
* Cleanup
* Minor clean up in Battle NON_MATCHING
* Small fixes
* Fix bss, OK
* typo
* revert some z64 macros and format
* OK
* minor settings docs
* Many flags, names, and other documentation
* Name many camera_data variables
* A few more small changes
* Refactoring Camera Action Function Structs WIP
* Finish Struct reworking
* Some door docs
* Add my findings of Camera Settings as comments
* More camera data names and comments cleanup
* A few names
* Slow progress on camera_data
* More camera_data progress, slow and steady
* Many renaming
* wip
* camera_data WIP
* The grind continues
* More data wip
* All the macros are in!
* Format and cleanup
* more docs
* format
* Breakup camera into pieces
* format
* PR Feedback round 1
* revert macro
* Fix header
* Document Play Camera and Screen pos
* cleanup
* revert camera split
* Start copying docs from OoT
* remaining CAM_INTERFACE_FLAGS
* roData and rwData
* Change paramData
* Flags
* More docs
* More Cleanup
* cleanup
* more
* More docs
* Standardize subcams
* macro
* Player_UpdateCamAndSeqModes
* cleanup from PR
* format
* sync with bgCam and actorsCsCam PR
* sync to z_play cam PR
* docs progress
* revert player changes
* helper function cleanup
* match Jump3, thanks petrie & synray
* camera bg docs
* brackets
* cam math docs
* more cam bg docs
* rename flags
* misc docs
* more cleanup
* some cam docs
* some PR
* hud visibility
* fix macros, sync with PR
* sync with PR
* sync with PR
* helper cleanup
* cleanup
* PR Suggestions
* more PR
* fix merge master
* PR review
* add comment
* more quake cleanup
* pr suggestions
---------
Co-authored-by: angie <angheloalf95@gmail.com >
Co-authored-by: Elliptic Ellipsis <elliptic.ellipsis@gmail.com >
Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com >
2023-05-22 21:47:41 -04:00
engineer124
180227e7bb
Quake & Distortion Docs (Again) + Math Cleanup (Camera Prep) ( #1129 )
...
* more quake docs
* more docs
* more distortion docs
* math cleanup
* fix header
* cleanup
* only partial PR review
* PR Suggestions
* fix master merge
* reverb angle change macros
* more revert
* fix enum
2023-05-18 10:29:50 -04:00
engineer124
83ac58d739
Player Impact Documentation From ActorContext ( #1226 )
...
* playerImpact
* discord feedback
* namefixer
* rm comment
* adjust not-logic
* pr review
* fix bss
2023-05-16 15:04:23 -04:00
engineer124
9d25fad407
Cutscene Documentation (z_eventmgr.c OK) ( #1164 )
...
* begin cutscene docs
* more docs
* more docs
* z_eventmgr.c OK
Co-authored-by: Thar0 <Thar0@users.noreply.github.com >
* cutscene camera
* commands WIP
* more docs
* merge master
* csId, oof
* more cleanup
* more docs, csCam
* more cleanup
* more docs
* more
* cleanup functions.h
* better misc cmd docs
* apply discord discussions
* small adjustment
* more cleanup
* more docs
* more cleanup
* more cs cam docs
* small fix
* cmd cleanup
* small cleanup
* better match, thanks anon
* remove last return
* PR suggestions, small cleanup
* next PR review
* rm internal funcs from functions.h
* more PR
* add comment
* csCam interp typedef handler
* cleanup, scene cmd
* missed an enum use
* ActorCutscene -> CutsceneManager, PR Suggestions
* more PR Suggestions
* more actorCutscene cleanup
* R_USE_DEBUG_CUTSCENE
* more small docs
* move functions to cutscene.h
* PlayerCsId
* fix bss
* missed some function headers
* more scene cleanup
* more scene cleanup
* missed one
* CS_SPAWN_FLAGS
* wrong usage of macro
* more cleanup
* name last cs transition types
* IsNext bool
* update namefixer
* fix namefixer
* more cleanup
* add comment
* fixed enums for motion blur
* consistent cutscene lists
* cutscene entry func consistent
* PR Suggestion
* fig review
* fix additionalCsId name in actor
* more pr review
* bss
---------
Co-authored-by: Thar0 <Thar0@users.noreply.github.com >
Co-authored-by: angie <angheloalf95@gmail.com >
2023-04-19 13:52:00 -04:00
Anghelo Carvajal
543c38ae06
z_player_lib: Dawn of the final PR (#1142 )
...
* Player_GetMask and Player_RemoveMask
* some comments
* Player_ActionToBottle and Player_GetBottleHeld
* Player_DrawGetItemImpl and Player_DrawGetItem
* func_80123420 OK
* Decompile a few more functions
* Decompile a few more functions
* func_80122760
* func_80122868, func_801229A0 and func_801229EC
* func_80122F28
* func_8012301C
* func_801242B4
* func_801242DC
* func_80124420 nonmatching
* func_80126440
* func_801240C8 and func_801240DC
* func_8012405C and func_80124088
* func_80124020
* Player_IsBurningStickInRange
* func_8012754C
* func_80125318 and func_80125CE0
* func_801229FC
* func_80127B64
* func_80127488
* func_80122D44
* func_80122BA4
* func_80122C20 attempt
* func_80122EEC
* func_80122F9C
* func_80122FCC and func_8012300C
* func_80123448
* func_801234D4
* func_801235DC
* func_80123960
* func_80123BD4
* func_80123AA4
* func_801239AC
* func_801241B4
* func_80123C58 and func_80123C90
* func_80123D50 and func_80123DA4
* func_80123DC0, func_80123E90 and func_80123F14
* func_80124110 and func_80124148
* func_80124168 and func_80124190
* func_80124278
* func_80124F18 non_equivalent
* func_80125340 and func_8012536C
* func_801263FC
* func_801265C8
* func_8012669C
* func_80128B74
* func_80123140
* func_801246F4
* func_801253A4 NON_MATCHING
* func_801262C8
* func_80126AB4
* func_80126B8C
* func_80127438
* func_801278F8 NON_MATCHING
* Fix data split
* cleanup externs
* func_80128BD0 compiles...
* Rename Player_SetEquipmentData
* fix merge issues
* Fix types
* Improvement? Worse? I don't know at this point
* func_80128640 attempt
* func_80127BE8
* func_80127A60
* func_80127594 attempt
* func_801271B0
* func_8012364C NON_MATCHING
* func_80124618
* func_80124CC4 non matching
* func_801251C4
* func_80125580 non equivalent
* func_80128388
* cleanup
* remove some hardcoded pointers
* object symbol cleanup
* func_80124870 NON_EQUIVALENT
* name overridlimbdraw arguments
* func_80125D4C NON_EQUIVALENT
* func_80126BD0 NON_MATCHING
* Match func_80126BD0 thanks to anon58
* func_80127DA4 NON_EQUIVALENT
* fix merge issues
* some stealing from OoT
* small rename pass and cleanup
* Improve some
* CLAMP and fix warnings
* func_80125580 matched by mzx
* cleanup func_80128BD0 a bit
* import data
* func_80124CC4
* Rename objectFileTable to gObjectTable
* Improve func_80124FF0 thanks to maide
* fix renames
* Match func_80124FF0 thanks to Maide
* cleanup
* More cleaning up
* import bss
* Add PLAYER_STATE macros
* a bit more of cleanup
* run formatter
* func_80128BD0 a bit more deecent
* Add player limb enum
* Use limb enum
* cleanup and format
* Use symbols for player dlists groups
* A bunch more of pointers
* more object pointers
* Change the remaining object pointers
* Add a few missing dlist in link_child
* Small rename
* whoops
* Work on NON_MATCHINGs
* Cleanup
* Steal OoT renames from "sword" to "meleeWeapon"
* Fix some symbols
* Match func_80127594 and format
* Match func_80127DA4
* Matched func_801284A0
* Annotate D_801F59AC
* Matched func_80128640
* Some cleanup
* format
* stuffs
* some cleanups
* import stuff from pr
* swords and shields
* fixes
* bss
* cleanup Player_OverrideLimbDrawGameplayCommon
* progress on func_80125D4C
* PlayerMeleeWeapon enum
* Player_BButtonSwordFromAP
* GET_B_SWORD_FROM_AP
* GET_MELEE_WEAPON_FROM_AP
* PlayerBottle
* PlayerExplosive and PlayerSword
* misc fixes
* Various changes fromplayer_actor
* z64player.h stuff from player_actor
* Fixes
* skelanime stuff
* placeholders on z64item.h, save macros and ther cleanups
* <= PLAYER_AP_MINUS1
* Player_UpdateBunnyEarsKinematics
Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com >
* cleanup
* bodyPartsPos
* comment
* sizeof(u16)
* typo
* merge fixes
* fix
* fixes
* format
* fix merge
* fix merge
* func_80125D4C
Co-authored-by: engineer124 <engineer124engineer124@gmail.com >
* func_80128BD0 improvement
* minor renames
* format
* whoops
* small cleanup
* Update src/code/z_player_lib.c
Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com >
* review
Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com >
* format
* _B_
* review
Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com >
* review
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* format
* remove gap
* whoops
* clanups
* remove stuff from permuter_settings
* steal some OoT docs
* some other docs vscode didn't add to the last commit
* format
* data as infunction-static data
* OoT docs stealing
* Improvements on Player_PostLimbDrawGameplay
* More improvement
* Match Player_PostLimbDrawGameplay
Co-authored-by: engineer124 <engineer124engineer124@gmail.com >
* cleanups
* Convert unk_AF0 into an union and some other cleanups
* bss
* headLimbRot and upperLimbRot
* fix naming
* cleanups
* bss
* bss
* Update src/code/z_player_lib.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* pr review
Co-authored-by: engineer124 <engineer124engineer124@gmail.com >
* bss
* gesture
* namefixer
* gestureInfo
* IA_MIN and BOTTLE_EMPTY
* review
Co-authored-by: engineer124 <engineer124engineer124@gmail.com >
* review
* D_801F59B0_LEN
* Remove LevelOfDetail enum
* bss
* review
* review
* gLinkDekuClosedFlowerDL gLinkDekuOpenFlowerDL
* _B_
* Player_DrawStrayFairyParticles
* fix build
---------
Co-authored-by: kyleburnette <kyle@kyleburnette.com >
Co-authored-by: Kelebek1 <eeeedddccc@hotmail.co.uk >
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com >
Co-authored-by: engineer124 <engineer124engineer124@gmail.com >
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
2023-04-18 23:01:05 -04:00
Anghelo Carvajal
f9c638117c
Rename LinkAnimation to DmaAnimation and other skelanime misc cleanups ( #1147 )
...
* Rename LinkAnimation to PlayerAnimation
* remove the remaining link stuff
* Move functions out of functions.h
* cleanup returns
* more cleanups
* format
* format again
* format again again
* Remove internal functions from header
* legacy
* bss
* linkAnimSegment
* Update src/overlays/actors/ovl_En_Yb/z_en_yb.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* bss
* `DmaAnimation` rename
* more DMA i missed
* Revert "more DMA i missed"
This reverts commit 6c0ca44f45 .
* Revert "`DmaAnimation` rename"
This reverts commit 1d2626514c .
* Add LinkAnimationHeader rename to namefixer.py
---------
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
2023-04-18 22:38:22 -04:00
engineer124
b8af819165
DynaPoly Docs Pass ( #1194 )
...
* dyna docs
* init flags
* more docs
* cleanup
* partial PR review
* another bracket
* hold to press
* PR cleanup
2023-04-18 18:36:53 -04:00
Anghelo Carvajal
38d21bbe97
Name some SurfaceType_ functions ( #1155 )
...
* enums
* renaming functions
* fixes
* SurfaceType_IsSoft
* type fixing
* format
* Update src/code/z_bgcheck.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* Update src/code/z_bgcheck.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* Update src/overlays/actors/ovl_En_Bom_Chu/z_en_bom_chu.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* review
Co-authored-by: engineer124 <engineer124engineer124@gmail.com >
* SurfaceType_GetFloorEffect
Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com >
* format
* bss
* cleanups
* extra material docs
* cleanup
* cleanups
* Remove Bg prefix
* minor fixes
* Remove BG_
* SURFACE_MATERIAL_DIRT_SHALLOW
* format
* bss
* bss
* review
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* format
* format again
* bug
* format
* namefixer
* bss
* bss
* bss
* review
---------
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
Co-authored-by: engineer124 <engineer124engineer124@gmail.com >
Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com >
2023-04-18 18:14:36 -04:00
Derek Hensley
8efba39749
z_viszbuf (code_801420C0) OK ( #1211 )
...
* first pass
* Match
* variables.txt
* Update include/functions.h
Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com >
---------
Co-authored-by: angie <angheloalf95@gmail.com >
2023-04-18 12:42:08 -04:00
engineer124
f3c811d298
z_parameter: Buttons (part 9) (#1192 )
...
* import button docs
* cleanup
* sync timer val
* add flag comments
* Update src/code/z_parameter.c
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
* Update src/code/z_parameter.c
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
* Update src/code/z_parameter.c
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
* fix merge master
---------
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
2023-03-30 20:26:35 +11:00
engineer124
6685a4775e
Audio sequence.c OK and documented ( #1201 )
...
* import sequence docs
* cleanup
* do not need raw hex
2023-03-30 19:53:47 +11:00
Anghelo Carvajal
147e4fcedc
THA docs ( #1177 )
...
* THA docs
Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com >
* format
* namefixer
* yada
* remove zero pad comment
* Update include/z64.h
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* Update include/thga.h
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* namefixer
* bss
* namefixer
---------
Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com >
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
2023-03-24 14:38:04 -03:00
engineer124
2cb01b5b6a
z_room (1 non-matching) ( #1143 )
...
* begin room docs and decomp
* match Room_DrawImageSingle
* match Room_DrawImageMulti
* Room_AllocateAndLoad non-matching
* big improvements on Room_DrawCullable
* match Room_AllocateAndLoad
* improvement?
* cleanup
* comments
* cleanup
* small pr suggestions
* PR Suggestions
* cleanup sceneCmds
* some PR
* PR Suggestions
* more PR Suggestions
* col to collision
2023-03-23 09:36:09 +11:00
Derek Hensley
03c8d46ed2
Slowly Cleanup ( #1213 )
...
* Add slowly.h
* Init and destroy
* File header
2023-03-20 00:48:49 +11:00
engineer124
a17949e730
Document z_en_time_tag ( #1140 )
...
* time-tag docs
* simplify enums
* PR Reviews
* PR Suggestions
* small change
* small fix
* PR Suggestions
* add extra func ref
* rm raw text from first actor I decompiled
* Stock Pot Inn
* fix master merge
2023-03-16 13:47:38 +11:00
engineer124
2987390a20
Audio seqplayer.c: AudioSeq_ to AudioScript_ ( #1202 )
...
* AudioSeq_ to AudioScript_
* Update src/audio/lib/playback.c
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
* format
---------
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
2023-03-15 11:09:49 +11:00
Anghelo Carvajal
c833969ea7
z_actor documentation pass (#1154 )
...
* ActorContext_unk_1F4
* a
* ACTOR_FLAG_IGNORE_QUAKE
* ACTOR_FLAG_TALK_REQUESTED and ACTOR_FLAG_CANT_LOCK_ON
* actorCtx->unkC => ctorCtx->halfDaysBit
* HALFDAYBIT defines
* actor.halfDaysBits
* format
* Actor_InitHalfDaysBit
* Name actor-killing functions
* cleanup variables.h a bit
* DAWN
* bss
* Actor_RequestRumble and Actor_GetArrowDmgFlags
* name vars of func_800BC620
* format
* fix missing PLAYER_IA
* Actor_OfferGetItem
* Actor_SetClosestSecretDistance
* freezeCategoryPlayerFlags1
Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com >
* DROPFLAG_
* a
* COLORFILTER
* format
* sCategoryFreezeMasks
* Actor_OfferCarry
* review
Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com >
* change hex to dec
* COLORFILTER_INTENSITY_FLAG
* format
* review
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
* shiftedHalfDaysBit
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
* cleanup
* Undo Actor_RequestRumble
* Undo ACTOR_FLAG_IGNORE_QUAKE
* format
* Remove COLORFILTER_GET_BUFFLAG
* Undo Actor_KillAllFromUnloadedRooms
* format
* Update Actor_OfferGetItem comment
* Update Actor_OfferGetItem description
* diving
* bss
* namefixer
* format
* speed
* review
---------
Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com >
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
2023-03-09 12:35:23 -05:00
Anghelo Carvajal
496b4928ea
Rename GameInfo to RegEditor ( #1178 )
...
* Rename RegEditor and move it to regs.h
* bring over some minor doc from oot
* add missing include
* Update tools/disasm/variables.txt
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* update comment
* bss
---------
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
2023-03-08 23:53:38 -05:00
Derek Hensley
184f5858ff
Debug mode ( #1185 )
...
* OK
* Docs
* PR
* Format
* Update include/z64debug_display.h
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* Update include/z64debug_display.h
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
---------
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
2023-03-08 00:06:49 -05:00