Commit Graph

2549 Commits

Author SHA1 Message Date
blackgamma7 cc35cdac6e Update z_en_po_sisters.c
macro issue
2025-12-10 17:00:17 -05:00
blackgamma7 8edb0df75a Update z_en_po_sisters.h
macro issue
2025-12-10 16:24:16 -05:00
blackgamma7 758d8e4dcd `En_Po_Sisters`: some changes requested by thar0.
As there are contradictory instructions on location of actor's flag enums, this will remain unchanged until a consensus is reached.
2025-12-10 15:35:03 -05:00
blackgamma7 6975d63a30 Update z_en_po_sisters.c 2025-12-09 01:17:45 -05:00
blackgamma7 b230f8941d Update z_en_po_sisters.c
little more formatting
2025-12-08 20:18:03 -05:00
blackgamma7 1321ba2c5a Update z_en_po_sisters.c
more formatting
2025-12-08 19:41:26 -05:00
blackgamma7 54a76ae7f0 `En_Po_Sisters`: formatting 2025-12-08 19:01:36 -05:00
blackgamma7 6b3c090239 `En_Po_Sisters`: add and implement param macros at Actor_Spawns 2025-12-08 17:42:13 -05:00
blackgamma7 299ef8c9b9 `En_Po_Sisters`: move static vars to appropriate functions 2025-12-08 17:19:25 -05:00
blackgamma7 106a877535 `En_Po_Sisters`: fixed mismatch, more comments, moved enum, new macro 2025-12-08 17:09:52 -05:00
blackgamma7 8db70d33bd `En_Po_Sisters`: most suggeted changes
Changed formatting based on review.
Will attempt moving suggested static vars when toolchain issue and mismatch are resolved.
2025-12-08 10:18:47 -05:00
blackgamma7 a65b55b9f4 Update z_en_po_sisters.c
found mismatch with setting decoy params
2025-12-07 20:32:23 -05:00
blackgamma7 466893d631 `En_Po_Sisters`: formatting 2025-12-07 19:37:38 -05:00
blackgamma7 5a522a3662 Update z_en_po_sisters.c
a few more renames
2025-12-07 18:47:55 -05:00
blackgamma7 b7296f966d `En_po_Sisters`: nearly all funcs and vars labeled 2025-12-07 18:43:58 -05:00
blackgamma7 4da327188a `En_Po_Sisters`: rename some funcs, rename and describe flags 2025-12-07 14:33:17 -05:00
blackgamma7 0be0cd1b97 `En_Po_Sisters`: More documenting
most fields id'd, several funcs id'd.
2025-12-07 12:29:15 -05:00
blackgamma7 e78acb9b34 `en_Po_Sisters`: begin doc'ing
ID'd field determining which sister, and some associated values
2025-12-07 09:11:47 -05:00
Gabriel Ravier eb5dac74d6
Document N64DD data buffer (#2665) 2025-11-20 18:49:16 -05:00
Tharo eb55fc8453
Don't include calling isPrintfInit in iQue debug builds (#2672) 2025-11-19 22:33:09 -05:00
Tharo 9f5ddc518a
Explicitly align gfxprint texture data to 8 bytes (#2663) 2025-10-19 11:30:16 -04:00
Pepe20129 b204d6c089
Document Dampé's ghost (#2656)
* Document Dampé

* Format

* Address review

* Format
2025-08-20 10:30:08 +02:00
cadmic 6ecb84097c
Fix macOS build for clang 17 (#2657) 2025-08-16 18:25:04 +01:00
Dragorn421 4c2a451b9c
Add `ENV_LIGHT_SETTINGS_BLEND_RATE_AND_FOG_NEAR_PACK`, fix extracted negative `blendRate` (#2653)
* Add ENV_LIGHT_SETTINGS_BLEND_RATE_AND_FOG_NEAR_PACK, fix extracted negative blendRate

* -> BLEND_RATE_AND_FOG_NEAR
2025-07-15 01:52:22 -04:00
Dragorn421 7158775cea
Finish rename scene lists (#2652) 2025-07-15 01:31:41 -04:00
Dragorn421 41adadd85d
Pause docs: UIOverlay L/R buttons details (#2650) 2025-07-15 07:10:34 +02:00
Jordan Longstaff 4d2bc68bac
Child Ruto Actions Part 3: Boss room (#2602)
* Child Ruto Actions Part 3: Boss room

* Rename action enum members

* Subtle rename of enum members
2025-07-03 16:08:42 +02:00
Jordan Longstaff fd7e88af1e
Child Ruto Actions Part 2: First encounter (#2601)
* Child Ruto Actions Part 2: First encounter

* Rename action enum entries

* Rename to Sfx

* Rename "first encounter" to "meeting"
2025-07-03 09:49:27 +02:00
Jordan Longstaff 80c4f33da5
Child Ruto Actions Part 1: Zora's Fountain (#2600)
* Child Ruto Actions Part 1: Zora's Fountain

* Oops, forgot sound effects

* Reformat

* Rename action enum entries

* Suggested changes
2025-06-30 08:41:47 +02:00
Dragorn421 d45353ee33
Cleanup extracted colliders 3: Use `HIT_SPECIAL_EFFECT_`, `HIT_BACKLASH_` names (#2646)
* Cleanup extracted colliders 3: Use `HIT_SPECIAL_EFFECT_`, `HIT_BACKLASH_` names

* revert removing FLARE_DANCER_BODY_DMG (oops)
2025-06-28 18:06:42 -04:00
Dragorn421 b5f980570c
Pause docs: UIOverlay quads dimensions (#2644) 2025-06-28 15:23:00 +09:00
Dragorn421 ffd84af543
Fixup docker (#2642)
* Fixup docker

* comma
2025-06-28 08:05:50 +02:00
Dragorn421 88f452af10
Reevaluate player hit response names (#2640)
* 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-27 04:45:44 +09:00
Dragorn421 d44c341c2d
`Camera_KeepOn4` docs 2: RO and RW data (#2632)
* `Camera_KeepOn4` docs 2: RO and RW data

* fix unk_14 rename

* CAM_DATA_UNK_22 -> CAM_DATA_INIT_TIMER
2025-06-26 21:11:38 +02:00
Dragorn421 b7935dad12
Cleanup extracted colliders 2: `ARRAY_COUNT` (#2643) 2025-06-25 21:20:55 +09:00
Dragorn421 6234d7f2aa
Commit objects 1: `tp`, `triforce_spot`, `umajump`, `vase`, `yukabyun`, `zg` (#2634)
* commit object_zg

* commit object_yukabyun

* commit object_vase

* commit object_umajump

* commit object_triforce_spot

* commit object_tp

* fixup1

* format
2025-06-25 13:09:14 +02:00
Dragorn421 affb39624f
Pause docs: "uiOverlay" quads (renamed from "InfoPanel") (#2635)
* Pause docs: "InfoPanel" quads

* bss

* rename infoPanelVtx to decorVtx

* rename to uiOverlayVtx / UI_OVERLAY_QUAD_

* fixup
2025-06-25 00:08:26 +02:00
Dragorn421 d52ba1ed26
Cleanup extracted colliders 1 (#2641) 2025-06-24 17:53:55 +02:00
Dragorn421 ad7ef14b5d
Name `HIT_BACKLASH_` and `HIT_SPECIAL_EFFECT_` values (#2639)
* Name HIT_BACKLASH_ and HIT_SPECIAL_EFFECT_ values

* SHOCK -> ELECTRIC
2025-06-22 17:36:09 +02:00
Dragorn421 04a92708cf
Rename AT `effect` to `hitSpecialEffect` (#2637)
* Rename AT `effect` to `hitSpecialEffect`

* bss
2025-06-20 10:12:45 +02:00
Leonid Kapitonov b11fdab792
Document `Save.cutsceneIndex` and adjacent data / code (#2286)
* 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 106cb1021b, 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-17 15:54:52 +02:00
Dragorn421 bc5839a32c
fixup rename hitBacklash (#2638) 2025-06-17 14:01:13 +02:00
Dragorn421 e8c59385bc
Rename `acDmgInfo.effect` -> `hitBacklash` (#2555)
* CollisionCheckInfo.atHitEffect -> atHitBacklash

* ColliderElementDamageInfoAC.effect -> hitBacklash

* add HIT_BACKLASH_ enum

* bss

* bss

* bss

* bss

* bss

* Update comments
2025-06-17 05:23:49 -04:00
Dragorn421 fc2992abf6
Pause docs: misc docs (#2636)
* 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-16 13:13:31 +02:00
Dragorn421 fd1ea6bc1a
Macroify PlaySfxGeneral calls: introduce `SFX_PLAY_CENTERED` and `SFX_PLAY_AT_POS` (#2633)
* Add `SFX_PLAY_CENTERED`

* Add `SFX_PLAY_AT_POS`
2025-06-15 18:28:37 -04:00
Dragorn421 05a2818557
Assets: Move limb enums into xmls 4 (#2631) 2025-06-15 14:32:54 -04:00
Dragorn421 d3ed137878
Assets: Move limb enums into xmls 3 (#2630) 2025-06-15 13:55:11 -04:00
Dragorn421 2054637cab
Name most `object_gi_*` textures (#2629)
* Name most `object_gi_*` textures

* gGiButterflyTex
2025-06-14 23:06:12 +02:00
Dragorn421 7547603989
Pause doc: DrawInfoPanel textures (#2628)
* Pause doc: DrawInfoPanel textures

* plural Widths
2025-06-14 22:06:53 +02:00
Dragorn421 8a823a7ad2
`Camera_KeepOn4` docs 1 (#2627)
* `Camera_KeepOn4` docs 1

* add comment

* backticks around at, eye
2025-06-13 17:45:22 -04:00