engineer124
278717bb04
Player "Hostile" Docs ( #1706 )
...
* actor flag hostile
* player hostile
2024-10-14 18:11:20 -07:00
Derek Hensley
3472e79caa
Colliders Sync JntSphere ( #1700 )
...
* JntSphere
* Format
* PR review
2024-10-12 17:31:16 -07:00
Dragorn421
5cb703fe94
[headers] `z64malloc.h` -> `zelda_arena.h` ( #1702 )
2024-10-05 08:42:49 -07:00
Derek Hensley
d0cb5d9be4
InitVars -> Profile ( #1697 )
...
* ActorProfile
* EffectSsProfile
* TransitionProfile
* variables.txt
2024-09-27 22:12:20 -07:00
Derek Hensley
b4d6c3921f
Colliders Sync ColliderElement ( #1698 )
2024-09-27 22:00:54 -07:00
engineer124
c83b4cf107
Player: Document "WaitForPutAway" ( #1694 )
...
* import OoT docs
* cleanup
* carry actor
* more cleanup
* PLAYER_STATE1_CARRYING_ACTOR
2024-09-22 18:22:14 -07:00
Derek Hensley
b9ea1c19ab
Remove assets from automatic includes ( #1683 )
2024-09-10 15:16:56 -03:00
Derek Hensley
6eaf196927
Misc Clean ( #1680 )
...
* vramu32 in Overlay_Relocate
* Actor_SetColorFilter args
* Effect Hitmark enum
* Actor_WorldToActorCoords
* Some fault clean up
* contoller.h
* macros.h no longer needs stdint.h
2024-09-07 20:55:59 -07:00
Dragorn421
3add37c3a0
Fixup actor audio flags docs ( #1682 )
...
* Fixup actor audio flags docs
* format
2024-09-07 09:48:30 -04:00
Anghelo Carvajal
6541532abb
Add a `z64play.h` header ( #1646 )
...
* z64play.h
* Move macros, functions and variables to header
* cleanup
* Reduce needed headers on z_collision_check
* Change play functions to take PlayState
* Move `Actor_ProcessInitChain` to `ichain.h`
* format
* Update src/code/z_play.c
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
* Add macros.h to sys_math3d.c
* Rename SequenceContext to SceneSequences
---------
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
2024-06-25 15:17:03 -04:00
engineer124
0bb57352a5
Animation Cleanup: En_T* ( #1522 )
...
* anim T cleanup
* more cleanup
* brackets and floats
* small thing
* more floats
* fix name
* fix
* format
---------
Co-authored-by: angie <angheloalf95@gmail.com>
2024-06-24 17:54:14 -07:00
mzxrules
2c680efa91
z_map decompiled ( #1032 )
...
* First batch of functions
* more ok
* z_map_data OK
* More OKs, MinimapList ZAPD breaking change
* func_80103A58 improvements, more OK
* func_80106D5C and func_801091F0 decomped
* func_801031D0 decomped and some fixes
* house cleaning, more OKs more decomp
* Even more OKs
* func_80105C40 almost OK, more OKs
* func_80108AF8 OK and more
* All functions attempted
* func_8010534C OK
* Start documentation, rename DoorCtx
* More OKs, split map_data.data, more doc
* incremental clean-up, more function names
* more function names
* func_801068FC OK
* old uncommitted changes
* minor tweaks
* implement easy fixes
* more fixes
* z_map_disp OK, implement more suggestions
* delete utility program
* migrate data
* TransiActor ->TransitionActor
* Major documentation pass
* first pass of changes
* warning fix attempt, revert ZFile.cpp
* Fix FAKE match
* Easy fixes
* implement gDPLoadTextureBlock_Runtime
* z_demo bss patch
* Extract white square texture
* Implement more suggestions
* rework MapIndex/DungeonIndex
* revert dungeonSceneIndex -> mapIndex in some spots, implement suggestions
* more suggestions
* minor nits
* fix #include
2024-06-20 18:21:37 -07:00
engineer124
b55f8ffe6e
`sys_math3d.c` Decompiled and Mostly Documented ( #1450 )
...
* Use matched sys_math3d functions by Tharo
Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
* kinda match some unattempted functions
* move sys_math3d function declarations to z64math.h
* Rename some simple functions
* Take matched Math3D_LineVsLineClosestTwoPoints from OoT
* minor fixes to make stuff actually equivalent
* func_8017FB1C
* format
* minor cleanup
* Math3D_PointOnDirectedLine
* func_8017FB1C documentation
Co-authored-by: EllipticEllipsis <73679967+EllipticEllipsis@users.noreply.github.com>
* Remove actorfixer
* fix merge
* Apply renames
* more cleanup
* bss cleanup
* match Math3D_CylVsLineSeg
* WIP
* OK
* small cleanup
* Remove macros.h from sys_math3d
* Small cleanup
* Some more small clean up
* cleanup and docs
* cleanup
* PR Review
* cleanup
* fix merge
* fix merge
* merge main
* fix bss
* bss
* fix
* PR Review
* bss fix
* Merge main
* Fix bss
* Fix merge
* Add zero vecs to sys_math3d
* Format
* namefixer run
---------
Co-authored-by: angie <angheloalf95@gmail.com>
Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
Co-authored-by: EllipticEllipsis <73679967+EllipticEllipsis@users.noreply.github.com>
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
2024-06-14 22:39:31 -07:00
inspectredc
fdd3f17385
Fix LensMode Names ( #1643 )
2024-06-10 18:02:25 -07:00
Derek Hensley
f26e77ba40
More General Cleanup ( #1638 )
...
* LINKER_FILES in makefile
* COLPOLY_GET_NORMAL
* math header
* libc
* M_PI for cosf and sinf files
* MAXFLOAT
* Revert "MAXFLOAT"
This reverts commit 96b75ffaa8 .
* Remove SHT_MINV
* SHRT_MAX
* Add M_PI
* Angle macros
* f suffix
* Format
2024-06-03 14:33:03 -04:00
Derek Hensley
b7e5468ca1
General cleanup ( #1636 )
...
* totalLoadedActors comparision
* OBJMINE_PARAMS
* Sort z64.h header includes
* MapSelect_LoadConsoleLogo
* Combine notebook tables into 1
* TGSw clean up
2024-05-19 11:02:20 -07:00
Derek Hensley
6d315fa2ae
Use Romfile in place of vromStart and vromEnd in structs ( #1618 )
...
* DmaEntry
* KaleidoMgrOverlay
* ActorOverlay
* EffectSsOverlay
* GameStateOverlay
* TransitionOverlay
2024-05-12 10:08:52 -07:00
Anghelo Carvajal
666cb6ad4a
More header cleanup ( #1604 )
...
* low hanging fruits on variables.h
* z_actor functions
* Move RomFile to z64object.h
* Revert "z_actor functions"
This reverts commit aa99967d16 .
* yeet
* z64actor_dlftbls.h
* Move object segment declarations to object_table.c
* Move Camera functions
* z64nmi_buff.h
* fix merge
* su_mtx.h, sys_cmpdma.h and sys_initial_check.h
* sys_ucode.h
* sys_flashrom.h
* Remove unnecessary includes
* z64kanfont.h
* flg_set.h
* z64DLF.h
* z64lifemeter.h
* z64path.h
* format
* ObjectOverlay
* bss
* Yeet ObjectOverlay
* review
* review
* format
* bss
* z64font.h
2024-04-25 18:16:47 -07:00
Anghelo Carvajal
76fadbd0e9
`ovl_En_Door` docs pass ( #1603 )
...
* DoorScheduleResult
* actionVar
* DOOR_DL_
* enums
* ENDOOR_TYPE_SCHEDULE and related stuff
* Name some functions and start figuring out stuff
* defines
* start documenting schedules
* Name Inn doors
* More door schedule naming
* ajar
* Name remaining schedule types
* parameters diagram and some cleanups
* Name renaiming types
* format
* rename some schedules
* Use more static_assert
* name anims
* yeet unrelated stuff
* requestOpen
* Yeet DoorScheduleResult
* whoops
* stuff i missed
* Update src/overlays/actors/ovl_En_Door/scheduleScripts.schl
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
* Update src/overlays/actors/ovl_En_Door/z_en_door.h
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
* Update src/overlays/actors/ovl_En_Door/z_en_door.h
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
* review
* Update src/overlays/actors/ovl_En_Pm/z_en_pm.c
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
* Update src/code/z_sub_s.c
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
* review
* FindScheduleDoor
---------
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
2024-04-22 18:34:02 -07:00
Derek Hensley
a7fa8cc241
Clean2 ( #1605 )
...
* AnimationContext_Update
* TransitionTile_InitGraphics
* disasm files
* gPlayerFormItemRestrictions -> code_8012EC80
* fix
* Extract gCircleTex
* Const fixes
* gPlayerFormItemRestrictions suggestions
* Setup_InitRegs
* z_inventory
2024-02-20 14:04:23 +11:00
Derek Hensley
6fb4a07325
General Cleanup 3 ( #1543 )
...
* voicestopread -> voicestopreaddata
* PadMgr_ThreadEntry
* PointLight_t
* OS_VI_UNK28
* print stuff
* Remove OS_PRIORITY_THREADTAIL
* sBoeDlists -> sBoeModelInfo
* Prerender_DrawBackground2D
* segments
* Revert "print stuff"
This reverts commit 1d833e2f0d .
* format
* Update src/overlays/actors/ovl_En_Mkk/z_en_mkk.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
---------
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
2024-01-29 10:51:59 -03:00
Derek Hensley
db8f5f5ccc
General Cleanup 2 ( #1538 )
...
* Cleanup
* Cleanup variables.h
* Cleanup fault headers
* Some includes/headers cleanup
* Libultra btn wrappers
* Mark differences to original libultra headers
* Remove duplicate include in fault
* format
* Update include/PR/os_voice.h
Co-authored-by: Tom Overton <tom-overton@users.noreply.github.com>
* align
---------
Co-authored-by: Tom Overton <tom-overton@users.noreply.github.com>
2024-01-28 21:27:50 -03:00
Derek Hensley
6412ddad50
General Cleanup ( #1529 )
...
* Cleanup
* vi define cleanup
* kdebugserver
* osmotor
* Remove sqrtf.c
* Move osFlash out of libultra
* PadUtils_Destroy
* BOOT_ADDRESS_ULTRA
* Fault
* Format
* viconfig.h
* More small cleanups
* gfx cleanup
* Format
* Forgot to save
* variables.h
* dListTable -> dListSides
* Fix header includes
2024-01-15 10:03:13 +11:00
engineer124
a44f19225b
Animation Cleanup: En_R* ( #1516 )
...
* begin R
* finish anim R
* cleanup
* small adj
* cleanup
* CS_STATE_IDLE
* CS_ID_NONE
* more cleanup
* sBssPad
* angles
* sneak in small fix
* small fix
2023-11-28 08:43:36 -03:00
engineer124
702f3cf44e
Document Actor Category Change ( #1518 )
...
* Actor Category Change
* cleanup
* comments
* adj comment
* revert small cleanup for libc64 PR
* adjust comments
2023-11-27 21:02:28 +11:00
engineer124
c04aaab6a1
Use `CURRENT_TIME` Macro ( #1514 )
...
* use CURRENT_TIME macro
* add comment
* cleanup brackets
2023-11-27 20:04:54 +11:00
Anghelo Carvajal
506e215547
Yet another header cleanup ( #1508 )
...
* lights.c
* z64skin_matrix.h
* Move out some stuff from macros.h
* gamealloc.h
* move most transition functions to z64transition.h
* z64lib.h
* `include` cleanup on transition files
* z_overlay cleanup
* z64malloc.h
* format
* forgot to remove those
* forgot this
* fix borken includes
2023-11-23 13:55:05 +11:00
engineer124
5ef277df2d
Animation Cleanup: En_P* ( #1507 )
...
* anim P cleanup
* PR Review
* PR Review
* Postbox Idle
2023-11-22 16:10:55 +11:00
Anghelo Carvajal
2b4610670f
Move player-related function declarations to `z64player.h` ( #1480 )
...
* Move player function declarations to z64player.h
* rename Actor_MountHorse to Player_MountHorse and similar functions
* whoops
* add missing includes
* format
* whoops
2023-11-21 12:13:29 -03:00
engineer124
0e441520cc
Document `Actor_TalkOfferAccepted` ( #1502 )
...
* rename
* PR Review
2023-11-21 12:36:02 +11:00
engineer124
61e2f12cf5
Document Overriding Player Input ( #1489 )
...
* Override Input
* cleanup
* cleanup
* PR Review
* PR Review, fix merge
2023-11-16 16:28:19 +11:00
Derek Hensley
5acaec4486
Fix ultratypes types ( #1454 )
...
* Fix ultratypes types
* Add back size_t and NULL
* Callocs
* Callocs pt 2
* bool
* STDC version checks
2023-11-16 16:01:42 +11:00
engineer124
d9585d7444
Animation Cleanup: En_L* and some En_M* ( #1493 )
...
* cleanup L, some M
* small fix
* typo
* brackets
* more brackets
2023-11-15 11:46:54 +11:00
engineer124
dfb6c5b02c
Struct Returns ( #1466 )
...
* change args
* more funcs
* cleanup
* play cleanup
* missed a file
* weird warnings
* missed some
* fix func from honotrap
2023-11-07 10:52:09 -03:00
engineer124
f8a5f11d6d
Player Docs: public facing csAction things ( #1459 )
...
* public cs
* comments
2023-11-05 20:34:53 -03:00
engineer124
4422df3ef6
player unions ( #1453 )
2023-10-27 10:13:44 -03:00
Anghelo Carvajal
6475196f0f
Yet another libultra cleanup ( #1384 )
...
* os symbols
* various variables
* more variables
* more cleanup
* yeet HW_REG
* OS_PHYSICAL_TO_K0 and other cleanups
* Rename r4300.h
* migrate pimgr data and cleanup on initialize.c
* rename osFlash symbols
* cleanup gu
* vimodes
* yeet rmon, do libc files
* some os files
* hardwareinterrupt
* cleanup a lot of os files
* cleanup osVirtualToPhysical
* various io files
* another io chunk
* final io chunk
* yeet hardware.h
* yeet PHYSICAL_TO_VIRTUAL and VIRTUAL_TO_PHYSICAL
* fix typo
* fix merge
* remove global.h from libultra files
* fixes and format
* brief explanation
* review
* review
* review
* review
* SEGMENTED_TO_K0
* Revert "SEGMENTED_TO_K0"
This reverts commit f8d62d670f .
* take two
* bss
* bss
2023-10-26 10:44:27 -03:00
EllipticEllipsis
6bdb7c31ea
`code_80140E80` OK and preliminary documentation, Fbdemo_Wipe4 OK and documented ( #1106 )
...
* OK, start documentation
* More documentation
Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
* Decompile func_80167F0C
* FbdemoWipe4 OK and documented
* Mark bug in Wipe4
* More docs
Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
* Mark bug
* Few more notes
* Fix function in Play
* Format
* Review
* Name Play_PostWorldDraw
* functions.h...
* Revert func_80167F0C
* Review
* functions.h
* Review
* Update Wipe4
* Rename system
* Format
* Put skeleton back in the cupboard
* bss
* Fix build
* rename to z_visfbuf
* review
* format
* bss
* some bss cleanup
* review
* bss
* review
---------
Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
Co-authored-by: angie <angheloalf95@gmail.com>
2023-10-26 17:42:24 +11:00
engineer124
7176ed4299
Player Docs: csMode -> csAction ( #1433 )
...
* csAction
* more cleanup
* namefixer
* simpleReplace
* fix brackets
* sneak in 2 player typos
* fix merge
2023-10-26 17:12:04 +11:00
engineer124
f545f164b4
Switch Flag "None" macro ( #1412 )
...
* switch flag none
* cleanup brackets
* individual actor switch flag none
* missed some, small cleanup
* <= 0x80
2023-10-15 19:59:25 +11:00
engineer124
93713a1da0
Audio Sequences Decompiled & Documented (z_obj_sound OK, more code_8019AF00.c) ( #1407 )
...
* import audio docs
* cleanup
* SEQ_SCREEN_WEIGHTED_DIST
* PR
* PR
2023-10-13 17:39:10 -03:00
engineer124
e810559391
Object Cleanup ( #1410 )
...
* object cleanup
* namefixer
* objectPtr
* PR Review
* PR Review
* more uses of macro
* missed another one
2023-10-05 17:37:52 -03:00
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
Anghelo Carvajal
f08a69a2cb
`ovl_Bg_Dy_Yoseizo` and related docs ( #1390 )
...
* Add ido setting to permuter
* OK
* Data imported & named, change spec
* Some easy naming
* Cleanup
* More object stuff and enums
* Document EnDyExtra
* Document DemoGetitem
* Document DemoEffect
* Some work on Elforg
* Elforg params macro, some more on Elfgrp
* Defines for number of fairies
* Tweak some flags wording
* Label beam
* Elfgrp: Name most of the stray fairy handling stuff
* cleanup
* fix typo
* GreatFairyAnimation
* name animations
* BgDyYoseizo_TrainPlayer
* Choose behaviour?
* fix merge
* format
* self review
* WEEKEVENTREG_OBTAINED_GREAT_SPIN_ATTACK
* jenkins
* review
* Update src/overlays/actors/ovl_Bg_Dy_Yoseizo/z_bg_dy_yoseizo.c
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
* review
* Update src/overlays/actors/ovl_En_Elfgrp/z_en_elfgrp.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
* Update src/overlays/actors/ovl_En_Elfgrp/z_en_elfgrp.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
* Update src/overlays/actors/ovl_Bg_Dy_Yoseizo/z_bg_dy_yoseizo.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
* Update src/overlays/actors/ovl_En_Elfgrp/z_en_elfgrp.c
* review
---------
Co-authored-by: Elliptic Ellipsis <elliptic.ellipsis@gmail.com>
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
2023-10-04 08:13:22 +11: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
Anghelo Carvajal
4b30f1a654
Move libultra variables to their respective headers ( #1369 )
...
* internal_rsp; move size_t and NULL to ultratypes.h
* guint.h
* Move system variables to os_system.h
* controller, pi and vi
* osint.h
* piint.h
* siint, ucode, viint, voiceinternal
* Remove remaining variables from variables.h
* format
* final renames
* bss
* review
* review
2023-09-15 11:02:27 -03: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
engineer124
affb1eaf0f
Body Parts Docs ( #1333 )
...
* body parts WIP
* continue WIP
* finish body parts
* cleanup
* missed one
* Missed Enum
* PR Review
* next PR review
* s32 cast
* TRUNCF_BINANG
* rm unnecessary shadow
* PR Review
* missed some
* oops
2023-08-14 10:08:45 -04:00
Anghelo Carvajal
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
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