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
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
1611c22212
Dmadata Migration ( #1526 )
...
* Matching dmatable
* Generate NON_MATCHING dmadata
* Clean up dmamgr
* Format
* Ignore tools/buildtools/mkdmadata
* Warnings
* Use SYMS flag instead of segment name
* PR + more notes
* PR cleanups
2024-01-14 13:04:53 -03:00
engineer124
5284302c8f
z_en_test7.c Documentation Pass (#1497 )
...
* copy over docs
* more docs
* some docs
* more docs
* small cleanup
* more small cleanup
* more small cleanup
* lerp time
* small reordering
* feather type
* general owl warp docs
* more cleanup
* rm redundant info
* PR Review
* PR Review
2023-11-27 21:21:52 +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
engineer124
28706d798d
Animation Cleanup: En_N* ( #1504 )
2023-11-20 21:57:52 +11:00
Anghelo Carvajal
f276d2b0e6
Enable -Wint-conversion warning ( #1266 )
...
* fixing some warnings
* more pointer fixing
* Use `-Wno-int-conversion` on audio files
* more progress
* fix
* more pointer fixes
* kinda progress
* Fix remaining casts
* Format
* fix merge
* fix warnings
* fix parameter
* use SEGMENT_ROM_START_OFFSET a bit more
* format
* fix audio warnings
* some more fixes
* fix en_go
* review
* review
* whoops, missing cast
* review
* review
* ->data
* format
* review
* fix
* asPtr
* fix
* Update src/code/sched.c
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
* review
* fix in EnDnh
* improve format
* engo
* format
* fix
* format
* Update include/z64.h
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
* TexturePtr
* fix warnings
* fix warnings
* format
* fix
* review
---------
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
2023-11-02 10:07:38 +11: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
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
Derek Hensley
03d1a794e1
z_kankyo pt 1 ( #1377 )
...
* z64environment.h
* remove todo
* Cleanup
* data + bss + 2 functions
* Bring over simple functions
* Remove lerp comment
* code functions csv
* Remove docs changes
* ZBufValToFixedPoint
* Remove leading 0's
* SEGMENT macros
* eventDayCount
* format
* z64bombers_notebook.h
* fix merge
* Comments
---------
Co-authored-by: angie <angheloalf95@gmail.com >
2023-10-05 16:08:08 +11: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
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
Anghelo Carvajal
587d12e3cb
Yet another header cleanup ( #1284 )
...
* thread, scene and interface
* non header stuff
* fix missing stuff
* z64sound_source.h
* collision_check.h
* Update include/z64sound_source.h
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* Update include/z64scene.h
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* Update include/z64thread.h
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* review
* review
* Update src/code/z_collision_check.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* Update src/code/z_sound_source.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
---------
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
2023-06-18 16:43:47 +10: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
engineer124
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
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
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
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
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
engineer124
6f60872ddb
Lens docs ( #1123 )
...
* match MirRay_ReflectedBeam
* match Actor_DrawLensActors
* match func_80B9E8D4
* lens docs
* more lens docs
* fix
* cleanup
* move define down
* Actor_AddToLensActors
* small comment adj
* add one more comment
* fix bss
2023-02-21 15:06:22 -03:00
Derek Hensley
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 0da1ebcaed .
* 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
engineer124
f92c4e6b02
z_parameter: Time (1 non-matching) (#1144 )
...
* import time docs
* cleanup
* fix display list
* missed one
* three-day events
* PR Suggestions and cleanup
* adjust comment
* more macros
* PR Suggestions
* move InterfaceContext
2022-11-20 20:20:09 -03:00
Anghelo Carvajal
a8c7a5bb89
Player preparation 1 ( #1058 )
...
* Bring over new stuff from player.h
* door type
* PlayerModelGroup
* CSMODE
* PLAYER_PARAMS
* functions.h
* item.h
* a
* format
* ED
* stuff
* Magic_Reset
* bodyPartsPos
* format
* review
Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com >
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* format
* params and fixes
* GetItemId
* yes
* 2
* warnning
* closestSecretDistSq
Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com >
* Name the other PLAYER_DOORTYPE
* review
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
Co-authored-by: fig02 <fig02srl@gmail.com >
* remove pyelftools
* PlayerActionParam Player_GetExchangeItemId
* Update include/z64animation.h
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
* bss
* bss
* fix linkanimation warning
* bss
* bss
* format
* fix
* namefixer
* format
* fix
* fixes
* namefixer
* bss
* fixes
Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com >
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
Co-authored-by: fig02 <fig02srl@gmail.com >
2022-11-06 20:49:04 -03:00
fig02
29a7a6714a
Rename elf_message to QuestHint (sync with oot) ( #1124 )
...
* rename elf_message to QuestHint
* port more things and review
* command arg name
* Update include/z64scene.h
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* Update src/code/z_scene.c
Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com >
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com >
2022-10-16 03:04:14 +01:00
engineer124
f379012742
z_kaleido_map.c OK and Documented (Pause Menu Map Page) + related icon_item statics (dungeon/field/jpn) ( #1094 )
...
* import pause menu map page
* better owl-warp docs
* fix func name
* missed some owlwarps
* fix merge from master
* fix scene region code
* PR Suggestions
* add comment
* add description of gWorldMapImageTex, thanks @EllipticEllipsis
* clearup docs
* missed a comma
* bad formatter, drop comment
* more cleanup
2022-10-05 06:15:39 +01:00
petrie911
2006a65ba6
z_overlay and z_fbdemo_dlftbls (Transition overlay handling), clean up a lot of u32s used to store pointers ( #1073 )
...
* overlay matches
* prototypes
* fbdemo too
* virtual to physical
* names, cleanup, etc
* bss reordering
* uintptr stuff
* fixed now?
* one fix
* headers and such
* fixes'n'stuff
* XXX action
* docs of a sort
* useless error codes
* n
* format
* header? I barely know her!
Co-authored-by: petrie911 <petrie911@users.noreply.github.com >
2022-10-04 21:46:32 +01:00
Derek Hensley
4935ec7ba1
Rename SetupIndex to Layer ( #1099 )
...
* Rename setupIndex to Layer
* ()
2022-09-30 23:34:28 -03:00
engineer124
1af942ae12
Audio Sequences: Scene/Ambience/SeqFlags Functions OK ( #1033 )
...
* import audio scene seq docs
* cleanup
* fix scene cmd
* small fixes
* more PR suggestions
* missed comment
* rename spot to resume
* cleanup comments
* SEQ_IO_VAL_NONE
* Empty-Commit
* another PR suggestion
2022-09-30 08:49:35 -03:00
Derek Hensley
3a723efb15
SceneNum -> SceneId ( #1036 )
...
* sceneNum -> sceneId
* horse data scene -> sceneId
* Clean up scene table
* format
* PR comments
* Some more
* It helps if you actually save the file
* PR
* Remove comment
* Format
* Conflicts
2022-09-30 03:22:59 +01:00
engineer124
5e860dd3e7
z_parameter: Hud Visibility (#942 )
...
* Begin interface alpha docs
* More Interface Alpha
* cleanup docs
* Minor fixes
* Apply Discord Discussions
* More discussions
* More suggestions from OoT
* fix merge
2022-09-28 19:47:46 -03:00
Derek Hensley
132dd6a373
Entrance Macro ( #987 )
...
* POC
* fix
* Fix typo
* token POC
* The rest
* small cleanup
* More small cleanup
* ENTRANCE
* arg renames
* EntranceIndex -> Entrance
* format
* PR
* PR2
* Remove layer from entrance macro
* namefixer plus comments
* format
2022-08-15 14:45:28 -04:00
engineer124
04dd8d7b62
Decompile/Document bgCam and actorCsCam (combination of Camera/BgCheck/Play) ( #932 )
...
* Document bgCam and actorCsCam
* index
* Small PR suggestions
* small suggestions
* player stateflags
* Fix bss
* Fix BSS
* Fix bss
* Fix bss
2022-07-23 15:51:14 -04:00
engineer124
6472f68323
Map Select: Docs and Cleanup ( #962 )
...
* Add Map Select Docs
* cleanup
* brackets
* Another typo
2022-07-23 15:30:19 -04:00
engineer124
260be2c36b
Hex Cleanup ( #960 )
...
* Hex Cleanup
* PR Suggestions
2022-07-23 14:57:47 -04:00
engineer124
5f6c3df4ce
Transition System Docs ( #883 )
...
* Transition docs from OoT
* Cleanup
* Missed a spot
2022-07-22 15:05:20 +01:00
Anghelo Carvajal
87506f7c19
z_player_lib: Part 1 (#688 )
...
* fix some symbols and file splits
* PLAYER_STATE macros
* Move over a few functions
* AP functions and update struct
* another small bunch
* Add player_lib prototypes
* A few more functions
* Some fixes and add stuff to actorfixer
* format
* bss
* Elliptic's review
* Engineer's review
* Some renames and cleanups
* bss
* A bit of cleaning up
* Player_DrawZoraShield
* format
* actorfixer, bss and format
* Forgot to merge master again
* Rename some LinkGoron dlists
* PlayerMeleeWeaponAnimation enum
* format
* actorfixer, bss and format
* more bss
* actorfixer
* format
* actorfixer and format
* bss
* Update src/code/z_player_lib.c
Co-authored-by: EllipticEllipsis <73679967+EllipticEllipsis@users.noreply.github.com >
* sEnvironmentTextTriggers
* Update include/z64save.h
Co-authored-by: EllipticEllipsis <73679967+EllipticEllipsis@users.noreply.github.com >
* Update src/code/z_player_lib.c
Co-authored-by: EllipticEllipsis <73679967+EllipticEllipsis@users.noreply.github.com >
* Update src/code/z_player_lib.c
Co-authored-by: EllipticEllipsis <73679967+EllipticEllipsis@users.noreply.github.com >
* Update src/code/z_player_lib.c
Co-authored-by: EllipticEllipsis <73679967+EllipticEllipsis@users.noreply.github.com >
* breman mask march comment
* fix
* fixes
* bss
* RESPAWN_MODE_RETURN
* review
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
* format
* Engineer's review
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* Update src/code/z_player_lib.c
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
* review
Co-authored-by: EllipticEllipsis <73679967+EllipticEllipsis@users.noreply.github.com >
* Update include/z64player.h
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* review
Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com >
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* format
* unused mwas
* fixes
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
Co-authored-by: EllipticEllipsis <73679967+EllipticEllipsis@users.noreply.github.com >
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com >
2022-07-11 23:43:46 -04:00
Tom Overton
158d1b26b0
PlayState rename ( #835 )
...
* PlayState rename
* Make this work with the latest master and run format
* Respond to hensldm's review
* Respond to Elliptic's review
* Add Effect_GetPlayState to namefixer.py
* Add missed comma
2022-06-26 11:57:37 -04:00
engineer124
c2c7240634
Improve Various Matchings and Cleanup ( #809 )
...
* Improve various matchings and cleanup
* Fix warnings
* Missed 2
* Few hex to dec
* PR Suggestions
* More PR Suggestions
* Document time calculation
* Improved use of macros
* DAY_LENGTH macro
* More cleanup of functions
Co-authored-by: hensldm <https://github.com/hensldm >
* Missing a space
* PR Suggestions
* Use DAY_LENGTH more
2022-05-25 21:36:49 -04:00
EllipticEllipsis
31f0e19b57
Enable full IDO warnings ( #781 )
...
* Fix a lot of IDO warnings (and some Clang ones)
* Format
* Put FULL_DISASM=0 back
* Fix bss
2022-04-22 05:48:41 +01:00
Anghelo Carvajal
b08880f7a7
z_sram_NES with 2 NON_MATCHINGs and 1 NON_EQUIVALENTs (#531 )
...
* Rename Sram_InitDebugSave
* Sram_InitDebugSave
* err
* Sram_IncrementDay
* non_matchings
* func_80146F5C and protos
* func_80146EE8
* func_80145698
* func_80143A54
* Split SaveContext
* problems with bss
* Fix bss
* more
* a small bunch
* Fix warnings
* almost everything
* two attempts
* at least compiles
* import data
* bss
* format
* stuff?
* Progress?
* More progress
* clean up data a little
* More progress
* disaster
* re split data
* A bit less of a disaster
* Fix renamed stuff
* data stuff
* fix conflicts
* format
* CycleSceneFlags
* some enums
* cleanup
* Fix merge issues
* format
* some changes
* format
* Lots of progress on z_sram_NES, but no matches yet
* SaveContent Documentation
* Oops
* Oops2
* Document more SaveContext
* Oops, don't need that anymore
* add small comment
* Another comment
* dekuPlaygroundPlayerName
* Fix merge issues
* format
* Update src/code/z_sram_NES.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* Update src/code/z_sram_NES.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* Update src/code/z_sram_NES.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* Update src/code/z_sram_NES.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* Update src/code/z_sram_NES.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* Update src/code/z_sram_NES.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* Update src/code/z_sram_NES.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* Update src/code/z_sram_NES.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* Update src/code/z_sram_NES.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* Update src/code/z_sram_NES.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* Update src/code/z_sram_NES.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* Update src/code/z_sram_NES.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* remove magic number
* format
* fix merge issues
* bss
* format
* macro cleanup
* review
* merge issues
* review
* cleanup
* UNK_TYPE1
* Fix
* Remove comment
* small change
* conflicts
* review
* fix
* fixes
* format
* Update actorCtx renames part
* Match func_80143B0C thanks to Petrie and Anon
* minor cleaning pass
* format
* cleanup
* more minor cleanups
* Macros for accessing gSaveContext.save.stolenItems
* Introduce STOLEN_ITEM_NONE and remove CLEAR_STOLEN_ITEM_
* format
* Update include/macros.h
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
* Update src/code/z_sram_NES.c
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
* Update src/code/z_sram_NES.c
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
* Update src/code/z_sram_NES.c
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
* Update src/code/z_sram_NES.c
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
* Update src/code/z_sram_NES.c
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
* Update src/code/z_sram_NES.c
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
* Update src/code/z_sram_NES.c
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
* @hensldm review
* Update include/functions.h
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* Update include/functions.h
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* Rename QUEST_SONG_NEW_WAVE
* Add scene name comments to D_801C5FC0
* rename horseData.yaw
* Update include/functions.h
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* Update src/code/z_sram_NES.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* Update src/code/z_sram_NES.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* Update src/code/z_sram_NES.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* Update src/code/z_sram_NES.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* Update src/code/z_sram_NES.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* // = CUR_UPG_VALUE(UPG_WALLET);
* run actorfixer and format
* fix bss
* Fix merge problems and run format
* Some improvements to func_801457CC by anon
* bss
* format
* run actorfixer
* actorfixer, bss and format
* Use original names for the RESPAWN_MODE enum because the current ones are bad
* QUEST_SONG_BOSSA_NOVA
* some minor fixes on the SaveContext struct according to the debug rom
* Merge Inventory.items and Inventory.masks
* a
* simplify saveBuf accesses
* A few func renames
* actorfixer
* bss
* fixes
* bss
* actorfixer
* actorfixer and format
* actorfixer
* whoops
* whops
* bss
Co-authored-by: engineer124 <engineer124engineer124@gmail.com >
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
2022-03-27 12:37:02 -03:00
Derek Hensley
1e4411a871
General Cleanup 2 ( #681 )
...
* cleanup
* Clean up toto
* More ClockTime macro
* rename pad
* EnGo and format
* EntityLineTest booleans
* Other bgcheck tests
* Graph Allocs
* Lib_Segmented
* Fix toto comment
* Remove macro comment for EnBigpo_DrawLantern
* Format and remove sym from undefined_syms.txt
* PR suggestions
* BgIkanaRay params
* One day i'll remember
Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com >
2022-03-05 12:03:20 -03:00
engineer124
fa069535d0
Camera Preparation ( #644 )
...
* Copy progress from z_camera
* cleanup functions.h
* Oops
* Revert `SUB16` and `ADD16` back to original names
* PR Suggestions
* PR Suggestions
* Fix merge with master
2022-02-20 00:33:47 +00:00
engineer124
2104c16362
code_8012EC80.c OK and Documented + parameter_static extraction ( #534 )
...
* Match remaining functions of code_8012EC80.c
* parameter_static extracted and OK
* Small Progress
* Documentation all over the place
* Finish Documenting
* Cleanup
* Name more textures
* Update knowledge on deku playground player name
* All textures from parameter_static known now
* Finish documenting and validating parameter_static
* More up-to-date SaveContext docs
* More docs
* More cleanup
* Sun -> Star
* Minor touchup
* More cleanup
* pictograph -> pictoBox
* Remove the "unused" part
* More accurate name: hour lines
* It's gsDPLoadTextureBlock, not gsDPSetTextureImage
* Fix parameter_static and merge issues
* More docs from new PRs and Parameter WIP
* Missed a name
* Move parameter_static to interface assets
* Clean up code_8012EC80.c data
* Fix comment
* Add comments to parameter_static
* Oops
* fix merge
* Missed a PR review suggestion
* Fix merge
2022-02-05 01:49:21 +00:00
mzxrules
6b493d3f9d
z_bgcheck.c ( #357 )
...
* first few functions
* two more almost matching functions
* Rebase to NBS, get it to compile
* BgCheck_RaycastFloorStaticList OK, fix-up some functions
* BgCheck_SphVsStaticWall OK! and a few others
* more z_bgcheck NON_MATCHINGS
* OK more functions, reorganize external reference #defines
* More functions OK, more struct fixes
* More OKs
* Decomp all the way to the end of bgcheck
* All functions attempted
* Rename functions
* formatting, data migration
* Give names to unk structs, rename some structs, fix some non-equivalent functions
* WaterBox_GetSurfaceImpl OK
* BgCheck_ResetPolyCheckTbl OK, improve WaterBox_GetSurface2 codegen, eliminate warnings and clean up source.
* BcCheck3_BgActorInit ->BgCheck3_BgActorInit, fix warnings
* pr change requests
* fix crc maybe
* implement more changes
* implement alf's changes
2021-11-23 13:29:18 -03:00
engineer124
ea17d924e4
Audio BGM Macros ( #460 )
...
* Introduce bgms
* Fill in bgm enums
* Rename bgm to clearer names
* Fix spacing
* Fix "No_Music" define
* remove comment
* Improve bgm names, found another seqId function
* Another seqId function
* Another name change
* Woods of Mystery -> Sarias Song
* add saria's song bgm to pierre
* Another bgm function found!
* Add bgm's to `gSaveContext.seqIndex`
2021-11-20 11:01:37 -03:00
engineer124
d825ef5de1
Improve/Add Enums for Player, Items, and Quest ( #275 )
...
* Create enums (non-matching monkaBSS)
* Add effect enum
* Almost fix bss reordering (1 different word)
* Fix capacity
* Fully fix bss
* Add PlayerBoots
* PR Feedback & add missing playerForm enums
* Clean-Up
* Script to check global bss ordering
* Bit of cleanup
* Format
* Remove global_bss_check PR
* Fix bss
* Add enums to new PRs & previously missed ones
* Remove Effect Enums
* Missed one
* Format
* Remove old prevent_bss_reordering.h comments
* Use a better macro
* A few more uses of enums found
* Add enums to recent PRs
* Improve GI enums
* Add enums from new PRs
* PR Suggestions
* format
* Fix bss
* Fix mistake in GI
* No actually, part of it was correct before
Co-authored-by: Elliptic Ellipsis <elliptic.ellipsis@gmail.com >
2021-11-11 12:04:57 -03:00
Tharo
b1b114e142
Decompile graph.c ( #274 )
...
* Decompiled, 1 non-matching, add some bss reordering helpers
* Document stuff
* Review suggestions
* graphutil.c -> graphalloc.c
* Try to fix fault callback warnings
* Remove extra comments in GfxMasterList
* char pad -> u32 pad
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
* Fix gameState
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
* Other suggestions
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com >
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com >
2021-10-29 15:30:48 -03:00