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
Anghelo Carvajal and GitHub
d107b6c2a9
z64vi*.h and sys_cfb.h headers (#1259 )
...
* z64vimode.h
* z64viscvg.h
* z64vis*.h
* VisCvg
* sys_cfb.h
* a bit of naming
* review
* Renames
* bss
* fix
* bss
* bss
* bss
* messed up the merge
* bss is borken
* reordering 2
* remove prevent header from fault.c
2023-08-09 19:44:31 -04:00
engineer124 and GitHub
532ec30973
Misc Cleanup 6 ( #1307 )
...
* more cleanup
* 3 more brackets
* PR Suggestions
2023-07-05 12:09:01 +10:00
engineer124 and GitHub
857a0cfdaf
item_name_static documented and ItemId updates (#1304 )
...
* WIP
* map static
* finish english names
* jpn
* revert map name
* name prefix
* boss to big
* more comments
* item enums
* more items
* more
* PR Suggestions
* PR Suggestion
2023-07-04 09:52:36 -04:00
Anghelo Carvajal and GitHub
9b341a4d6a
A few UB fixes ( #1272 )
...
* Fix OoB in ObjDriftie
* Fix OoB in EnHorseLinkChild
* Fix negative shift in jpegdecode
* more oob fixes
* AVOID_UB
* clean
* huh?
* change viint.h macros
* objdriftice
* ub labelling
* review
* review
* fix z_parameter arrays
* u32 cast
* missing &
2023-06-24 18:40:26 +10:00
aa9e368561
icon_item_static and icon_item_24_static documented (#1297 )
...
* extract_archives.py
* autogenerated xmls
* build OK
* cleanup
* Use symbols in gItemIcons
* change how archives are generated
* makeyar in C
* Rename segments
* rename .archive.o to .yar.o
* Explanation at the top of programs
* fix progress calculation
* Ignore archives in progress script
* merge
* document icon items
* cleanup
* remove duplicate headers
* jap -> jpn
* PR review
* link human
* PR Review
* missed some
---------
Co-authored-by: angie <angheloalf95@gmail.com >
2023-06-23 10:57:01 -04:00
engineer124 and GitHub
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 and GitHub
491870c355
Misc Cleanup 5 ( #1294 )
...
* quick cleanup
* a few more
* more
* misc cleanup
* PR Suggestion
2023-06-17 15:22:41 +10:00
engineer124 and GitHub
f92a61db27
Misc Cleanup 3 ( #1268 )
...
* begin more cleanup
* more enums
* typo
* ==
* fix go.h
* fix RaceDogInfo struct
* PR Review
* PR Suggestions
* missed one
* missed even more
* fix params
* fix number
2023-06-06 08:57:45 +10:00
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
engineer124 and GitHub
91182a796b
Match Interface_DrawClock ( #1261 )
...
* Match Interface_DrawClock
* oops
* space
* combine ifs to help indentation
* small adjustment
* PR Suggestions
* extra space
* Section:
2023-06-02 15:09:49 +10:00
engineer124 and GitHub
4b25b4d8e6
Misc Cleanup 2 ( #1260 )
...
* more misc cleanup
* PR suggestions
* more abs alt, csId
* more cleanup, can't help it
* fix incorrect sq
* more fixes
2023-06-02 14:39:39 +10:00
4143097c5a
Scene table ( #1207 )
...
* scene_table.h
* Move restriction flgs to scene_table.h
* format
* rename D_801C5FC0 to sPersistentCycleFlags
* format
* move persistent flags to table
* cleanups
* review
* PERSISTENT_CYCLE_FLAGS_SET
* PERSISTENT_CYCLE_FLAGS_NONE
* move comment above the scene
* bss
* tons of bss
* whoops
* bss
* bss
* bss
* Update include/tables/scene_table.h
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* Update src/code/z_scene_table.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* SCENE_MAX
* bss
* bss
* bss
---------
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
2023-05-30 09:57:14 +10:00
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
engineer124 and GitHub
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
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 and GitHub
24454b2277
cs state cleanup ( #1229 )
2023-04-21 15:54:47 -04:00
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 and GitHub
3c107cb148
Add SaveInfo substruct to SaveContext ( #1191 )
...
* SaveInfo
* fix accesses in sram_NES.c
* some more fixing
* more fixes
* format
* fix unk
* namefixer
* format
* bss
* review
* weekeventregconvert
* namefixer
* bss
2023-04-18 18:54:32 -04:00
engineer124 and GitHub
4faad208c6
Introduce SaveContext.gameMode enum ( #1198 )
...
* gamemode enum
* owl save
* trailing enum comma
2023-04-07 13:09:00 +10:00
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 and GitHub
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
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 and GitHub
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
ab8d34b8dc
Play (2 NON_MATCHINGS) ( #1109 )
...
* Bring over progress from another branch
Co-authored-by: Maide <34639600+Kelebek1@users.noreply.github.com >
* cleanup, fake match Play_Init
* small fixes
* Some small cleanup
* Match func_80165460 (from debug)
* Match func_80165658
* Match func_80165DB8, func_80165DCC, func_80165DF0, func_80165E04
* Match func_80167DE4 (from debug)
* Match func_80167F0C
* Match func_80168DAC
* Matched func_80169100
* Matched func_801691F0
* import D_801DFA18
* match Play_Main thanks to debug
* cleanup
* synray does it again
* add docs from debug
* fix func_801656A4
* more docs and cleanup
* Match func_80166B30 and diff fake match in Init
* import transition docs from OoT
* Play Update, sort of
* cleanup Play_Update
* more cleanup
* slightly more docs
* small docs
* Play_Draw WIP Thanks @petrie911
* progress?
* two more matches
* format
* misc play docs
* transitions cleanup
* Motion Blur
* Transitions
* Fog
* Bombers notebook + small cleanup
* bss
* Camera Functions
* Picto functions
* Init
* MotionBlur Clean up
* Floor Surface
* Pictographs some more
* regs
* fix circular dependency problem
* Cleanup PR commits outside play
* namefixer
* PR picto
* PR audio
* PR small clean ups
* debug strings
* Picto defines
* bss
* enums
* remove void
* typedefs
* Hireso -> BombersNotebook
* bss comments
* bss and I8/I5 functions
* Smaller PR comments
* Transitions
* Combine enums
* Revert "Combine enums"
This reverts commit 0da1ebcaed69a3ce0fbd5942460b67f80f0e15e7.
* Fix Transition defines
* RGBA16 macros
* Unname
* worldCoverAlpha
* Rename Update and Draw
* PR review, plus annotate bug
* Clean up nonmatchings with a closer DrawGame
* Format
* New macros
* UpdateMain and DrawMain
* Fix merge
* Small cleanups from PR
* zFar
* Intensity macros
* Format
* Remove bss comments
* Compression/decompression
* Small cleanup
* Format
* More PR cleanup
* Cleanup picto stuff
* format
* Fix compression comments
* Play processes state enums DONE -> READY
* cutscene comment
* fix bss
Co-authored-by: Maide <34639600+Kelebek1@users.noreply.github.com >
Co-authored-by: engineer124 <engineer124engineer124@gmail.com >
Co-authored-by: petrie911 <pmontag@PHYS-S129.iowa.uiowa.edu >
Co-authored-by: angie <angheloalf95@gmail.com >
2023-01-14 12:18:13 -03:00