summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2025-10-19Explicitly align gfxprint texture data to 8 bytes (#2663)Tharo
2025-08-20Document Dampé's ghost (#2656)Pepe20129
* Document Dampé * Format * Address review * Format
2025-08-16Fix macOS build for clang 17 (#2657)cadmic
2025-07-15Finish rename scene lists (#2652)Dragorn421
2025-07-15Pause docs: UIOverlay L/R buttons details (#2650)Dragorn421
2025-07-03Child Ruto Actions Part 3: Boss room (#2602)Jordan Longstaff
* Child Ruto Actions Part 3: Boss room * Rename action enum members * Subtle rename of enum members
2025-07-03Child Ruto Actions Part 2: First encounter (#2601)Jordan Longstaff
* Child Ruto Actions Part 2: First encounter * Rename action enum entries * Rename to Sfx * Rename "first encounter" to "meeting"
2025-06-30Child Ruto Actions Part 1: Zora's Fountain (#2600)Jordan Longstaff
* Child Ruto Actions Part 1: Zora's Fountain * Oops, forgot sound effects * Reformat * Rename action enum entries * Suggested changes
2025-06-28Cleanup extracted colliders 3: Use `HIT_SPECIAL_EFFECT_`, `HIT_BACKLASH_` ↵Dragorn421
names (#2646) * Cleanup extracted colliders 3: Use `HIT_SPECIAL_EFFECT_`, `HIT_BACKLASH_` names * revert removing FLARE_DANCER_BODY_DMG (oops)
2025-06-28Pause docs: UIOverlay quads dimensions (#2644)Dragorn421
2025-06-27Reevaluate player hit response names (#2640)Dragorn421
* PlayerHitResponseType * PLAYER_HIT_RESPONSE_ICE_TRAP -> FROZEN * PLAYER_KNOCKBACK_LARGE_SHOCK, PLAYER_HIT_RESPONSE_ELECTRIC_SHOCK -> PLAYER_KNOCKBACK_LARGE_ELECTRIFIED, PLAYER_HIT_RESPONSE_ELECTRIFIED * damageResponseType -> hitResponseType
2025-06-26`Camera_KeepOn4` docs 2: RO and RW data (#2632)Dragorn421
* `Camera_KeepOn4` docs 2: RO and RW data * fix unk_14 rename * CAM_DATA_UNK_22 -> CAM_DATA_INIT_TIMER
2025-06-25Cleanup extracted colliders 2: `ARRAY_COUNT` (#2643)Dragorn421
2025-06-25Pause docs: "uiOverlay" quads (renamed from "InfoPanel") (#2635)Dragorn421
* Pause docs: "InfoPanel" quads * bss * rename infoPanelVtx to decorVtx * rename to uiOverlayVtx / UI_OVERLAY_QUAD_ * fixup
2025-06-24Cleanup extracted colliders 1 (#2641)Dragorn421
2025-06-22Name `HIT_BACKLASH_` and `HIT_SPECIAL_EFFECT_` values (#2639)Dragorn421
* Name HIT_BACKLASH_ and HIT_SPECIAL_EFFECT_ values * SHOCK -> ELECTRIC
2025-06-20Rename AT `effect` to `hitSpecialEffect` (#2637)Dragorn421
* Rename AT `effect` to `hitSpecialEffect` * bss
2025-06-17Document `Save.cutsceneIndex` and adjacent data / code (#2286)Leonid Kapitonov
* introduce `enum CutsceneIndex` as a first step * crudely rename `enum CutsceneIndex` entries * run `check_format.py ...` separetely so that it doesn't clutter previous commit. still, allowing `clangd LSP` to run format-on-save yields inconsistent results for me with the project's tooling, especially for header files * apply a draft PR suggestion Co-authored-by: mzxrules <mzxrules@gmail.com> * rename `CS_INDEX_*` with PR suggestions and some additional observations reverified with > `check_format.py ...` > `make ...` additionally: - current clang-format lacks a rule for trailing commas - compiler says about them `cfe: Warning 624` * improve `CS_INDEX_*` naming, rem `ENTRANCE` suffix https://github.com/zeldaret/oot/pull/2286#discussion_r1829165205 reverified with > `check_format.py ...` > `make ...` * apply Jenkins fixes https://jenkins.deco.mp/job/OOT/job/PR-2286/4/console hmm, i do need this automation locally to * apply a PR suggestion https://github.com/zeldaret/oot/pull/2286#discussion_r1829219841 * remove redundant comments, fix the header comment and add a comment chunk from https://github.com/zeldaret/oot/pull/2286#discussion_r1829108940 * rename the flag for freeing `nextCutsceneIndex` * rename the flag for automatic `sceneLayer` calc it gets assigned to the `nextCutsceneIndex`, so `CS_INDEX_NONE` name was misleading * use explicit scene layer names instead of numbers * ok, now the last two `CS_INDEX_*` are less unknown the purpose of `CS_INDEX_BARRIER` is not quite clear still * apply Jenkins fixes https://jenkins.deco.mp/job/OOT/job/PR-2286/14/console * run `fix_bss` locally `ntsc-1.2` refused to comply though * revert all local to the branch bss shifts * ugh, use defines instead of an enum probably size of enum entries doesn't match well? originally these were just numbers. besides, not like it's a real enumeration from zero to a value or some bit flags * still, add a BSS pragma for `z_demo.c` * apply review changes * factor out a cutscene layer formula * give scene layers names throughout code * apply Jenkins fixes https://jenkins.deco.mp/job/OOT/job/PR-2286/32/console * tweak `CS_INDEX` descriptions * apply PR review suggestions * rename "auto" -> "default" * apply PR review suggestions https://github.com/zeldaret/oot/pull/2286#discussion_r1868693980 essentially reverts 106cb1021be88f745ee303838c11c7d7cbf9c79d, except for 2 generic `z_scene.c` lines * apply Jenkins fixes https://jenkins.deco.mp/job/OOT/job/PR-2286/77/console * Apply suggestions from code review Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> Co-authored-by: mzxrules <mzxrules@gmail.com> * apply Jenkins fixes https://jenkins.deco.mp/job/OOT/job/PR-2286/175/console * Move CS_INDEX_* macros to z64save.h, with the definition of gSaveContext.save.cutsceneIndex * `#define CS_INDEX_D 0xFFFD` and co. Co-authored-by: cadmic <cadmic24@gmail.com> * add comment on CS_INDEX_D * review * CS_INDEX_NONE is back * bss * expand comment about 0xFFFD * fix comment about 0xFFFF usage * review --------- Co-authored-by: mzxrules <mzxrules@gmail.com> Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> Co-authored-by: cadmic <cadmic24@gmail.com>
2025-06-17fixup rename hitBacklash (#2638)Dragorn421
2025-06-17Rename `acDmgInfo.effect` -> `hitBacklash` (#2555)Dragorn421
* CollisionCheckInfo.atHitEffect -> atHitBacklash * ColliderElementDamageInfoAC.effect -> hitBacklash * add HIT_BACKLASH_ enum * bss * bss * bss * bss * bss * Update comments
2025-06-16Pause docs: misc docs (#2636)Dragorn421
* doc `KaleidoScope_SetCursorPos` * doc bug in `KaleidoScope_DrawWorldMap` * fix anonymous enum * `D_808321A8` -> `sSavedButtonStatus` * s16 decimal for `sVtxPageMapDungeonQuads``X/Y/Width/Height` * Use `LANGUAGE_` enum for indexing language-indexed regs
2025-06-15Macroify PlaySfxGeneral calls: introduce `SFX_PLAY_CENTERED` and ↵Dragorn421
`SFX_PLAY_AT_POS` (#2633) * Add `SFX_PLAY_CENTERED` * Add `SFX_PLAY_AT_POS`
2025-06-15Assets: Move limb enums into xmls 4 (#2631)Dragorn421
2025-06-15Assets: Move limb enums into xmls 3 (#2630)Dragorn421
2025-06-14Pause doc: DrawInfoPanel textures (#2628)Dragorn421
* Pause doc: DrawInfoPanel textures * plural Widths
2025-06-13`Camera_KeepOn4` docs 1 (#2627)Dragorn421
* `Camera_KeepOn4` docs 1 * add comment * backticks around at, eye
2025-06-12Assets: Move limb enums into xmls 2 (#2626)Dragorn421
2025-06-12Assets: Move limb enums into xmls 1 (#2625)Dragorn421
2025-06-10Introduce `CAM_DATA_SET_`, `CAM_ITEM_TYPE_` and name ↵Dragorn421
`Player_SetTurnAroundCamera`, `Player_RequestCameraSetting` (#2608) * Introduce `CAM_SET_CAMERA_DATA_`, `CAM_ITEM_TYPE_` and name `Player_CameraChangeSettingTurnAround` * bss and formatting * func_80835E44 -> Player_RequestCameraSetting * -> Player_SetTurnAroundCamera * -> CAM_DATA_SET_
2025-06-09Commit `object_ganon_anime3` (#2611)Dragorn421
* Commit object_ganon_anime3 * rm from write_source.txt * bss
2025-06-09Commit some `assets/overlays/` 2 (#2610)Dragorn421
* Commit some `assets/overlays/` 2 * format
2025-06-08Child Ruto Actions: Enums (#2603)Jordan Longstaff
* Child Ruto Actions: Enums * Stronger typedefs * Fix wrong action enum usage Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> * Undo single-line formatting of actions array * Fix formatting * Remove trailing commas * Move all enums to header * Index action functions with comments --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2025-06-07`WeaponInfo` docs (#1596)Dragorn421
* WeaponInfo docs * format * disasm metadata * merge fixup * Add MELEE_WEAPON_INFO_TIP and _BASE * format * Offset
2025-06-07Document fog functions Gfx_SetFog(2) and Play_SetFog (#1922)Tharo
* Document fog functions Gfx_SetFog(2) and Play_SetFog * review * Apply suggestions from code review Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com> --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2025-06-07Commit `do_action_static` (#2597)Dragorn421
* Commit `do_action_static` * fix * rm do_action_static from write_source.txt
2025-06-07Update docs/Documenting.md (#1265)Dragorn421
* Update docs/Documenting.md * fix
2025-06-07Add Vtx[] resources in xmls for (partially) documented assets 10 (#2609)Dragorn421
* Add Vtx[] resources in xmls for (partially) documented assets 10 * bss
2025-06-07Doc Actor: En_Ma2 (Adult Malon) (#2593)hiisuya
* ma2 actor docs start * doc inftable entries in ma2 * removed testing prints * added file description * format.py ran
2025-06-08Add Vtx[] resources in xmls for (partially) documented assets 9 (#2607)Dragorn421
2025-06-07Add Vtx[] resources in xmls for (partially) documented assets 7 (#2605)Dragorn421
* Add Vtx[] resources in xmls for (partially) documented assets 7 * bss
2025-06-06Child Ruto Part 7: Limb draw functions (#2575)Jordan Longstaff
* Child Ruto Part 7: Limb draw functions * Add comment * Rename vectors, remove comment * Rename again
2025-06-06Child Ruto Part 4: Eye and mouth index enums (#2571)Jordan Longstaff
* Child Ruto Part 4: Eye and mouth index enums * Suggested changes * Rename struct variables
2025-06-05Add various undocumented resources in xmls 1 (#2589)Dragorn421
* Add various undocumented resources in xmls 1 * bss
2025-06-05Child Ruto Part 5: Colliders (#2572)Jordan Longstaff
* Child Ruto Part 5: Colliders * Suggested refactoring * Missed function rename
2025-06-05T() macro loose ends 3 (#2592)Dragorn421
* Remaining weird T() * cleanup "発生" as ~"spawn" * single strings T() * more single strings T() * more single strings T() (InitDynaPoly helpers)
2025-06-05Child Ruto Part 3: Water states (#2570)Jordan Longstaff
* Child Ruto Part 3: Water states * Update function names too * Rename more water-related variables * Revise/remove comments * Enum updates
2025-06-05Child Ruto Part 6: Switch flag and type functions (#2574)Jordan Longstaff
* Child Ruto Part 6: Switch flag and type functions * Add type enum and getter macros * Fix macros * Fix macros better * Revert improper usage * Move macros to header * Refactor enum * Move type enum to header
2025-06-04Child Ruto Part 13: Animation change function (#2581)Jordan Longstaff
* Child Ruto Part 13: Animation change function * Update function signature * Revert playReversed parameter type Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> * Missed call Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> * Revert the other parameter type Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2025-06-04Child Ruto Part 9: Camera setting (#2577)Jordan Longstaff
* Child Ruto Part 9: Camera setting * Add comment * Rename "Jabu-Jabu context" to "Big Octo platform" * Rename getter and setter
2025-06-04Remove "z64" prefix from all headers (#2518)fig02
* z64 - a * z64 - b * z64 - c * z64 - d * z64 - e * z64 - f * z64 - g * z64 - h * z64 - i * z64 - l * z64 - m * z64 - o * z64 - p * z64 - q * z64 - r * z64 - s * z64 - t * z64 - v * restore file * fix merge * fix merge --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>