Files
tww/include/d
Briggs Baltzell ca9481dcc9 d_cloth_packet matching (#928)
* Match dCloth_packet_c::setMtx

* Match dCloth_packet_c::setGlobalWind

* Match dCloth_packet_c::dCloth_packet_c constructor implementation

* Match dCloth_packet_c::getFactor and get_cloth_anim_sub_factor implementation

* Match dCloth_packet_c::cloth_move implementation

* Match dCloth_packet_c::setNrm implementation

* Match dCloth_packet_c::init and default_factor_checkCB implementation

* Match dCloth_packet_c::draw implementation

* Match dCloth_packet_c::cloth_draw implementation

* Match dCloth_packet_c::plot implementation

* Match dCloth_packet_c::TexObjLoad implementation

* Match dCloth_packet_c::TexObjInit implementation

* Match dCloth_packet_c::TevSetting implementation

* Match dCloth_packet_c::dCloth_packet_create implementation

* Match dCloth_packet_c::TevSetting implementation

* Match dCloth_packetXlu_c::TevSetting implementation and make dCloth_packet_c members protected

* Match dCloth_packetXlu_c::cloth_draw implementation

* Match dClothVobj03_c::cloth_copy implementation and update member definitions

* Match dClothVobj04_c, dClothVobj05_c, and dClothVobj07_0_c::cloth_copy implementations and update member definitions

* Match dClothVobj03_c::init implementation, update cloth_counter definitions, and add new member variables

* Match `dClothVobj04_c::init`, `dClothVobj05_c::init`, and `dClothVobj07_0_c::init` implementations, and add new member variables.

* Match `dClothVobj03_c::dClothVobj03_create` and constructor implementations, update member definitions, and add new logic checks.

* Match `dClothVobj03_c::cloth_move` implementation

* Match `dClothVobj04_c`, `dClothVobj05_c`, and `dClothVobj07_0_c::cloth_move` implementations

* Match `dClothVobj03_c`, `dClothVobj04_c`, `dClothVobj05_c`, and `dClothVobj07_0_c::TexObjInit` implementations, update member definitions, and initialize `mTlutObj`.

* Match `TexObjLoad` implementations for `dClothVobj03_c`, `dClothVobj04_c`, `dClothVobj05_c`, and `dClothVobj07_0_c`.

* Fix `dClothVobj04_c::cloth_move`

* Match `dClothVobj04_create`, `dClothVobj05_create`, and `dClothVobj07_0_create` implementations, update parameter definitions, and add new constructor logic.

* Update parameter names in `dClothVobj05_VtxFactorCB` and `dClothVobj07_0_VtxFactorCB` for consistency.

* Adjust parameter values in `dClothVobj05_create` and `dClothVobj07_0_create` for consistency with expected behavior.

* Match `dClothVobj05_VtxFactorCB` and `dClothVobj07_0_VtxFactorCB` implementations and update return logic.

* Fix constructors

* Refactor repetitive parameter assignments in `dCloth_packet_c` with `setParam` and `setWindPower` for cleaner and more maintainable code.

* Add `setFactorCheckCB` call in `dCloth_packet_c` initialization

* Refactor `dCloth_packet_c` and related classes to eliminate redundant success checks with `chkCreateBuff` helper method.

* Refactor `dCloth_packet_c` and related classes to use getter methods for cleaner access and rename methods for improved clarity.

* Simplify constructors for `dClothVobj03_c`, `dClothVobj04_c`, `dClothVobj05_c`, and `dClothVobj07_0_c` by removing redundant parameters.

* Replace `field_0x109` with `mIsIndoors` for improved clarity and consistency across `dCloth_packet_c` and related classes.

* Replace `VECDotProduct` with `inprod` method in `dCloth_packet_c` for improved readability and modern syntax usage.

* Make `top_pointer` and `cloth_counter` members private in multiple `dClothVobjXX_c` classes for encapsulation.

* Match cloth creation functions

* Add `l_alpha_matDL` assets and update `GXCallDisplayList` usage in `dCloth_packetXlu_c`

* Match dCloth_packet_c::init

* Match dCloth_packet_c::setNrm

* Refactor dCloth_packet_c to use mDoMtx_stack_c methods

* Match `get_cloth_anim_sub_factor` implementation in `dCloth_packet_c`.

* Refactor `getFactor` in `dCloth_packet_c` to use a bitmask for neighbor checks, enhancing code clarity and efficiency.

* Match dCloth_packet_c::cloth_move

* Match dCloth_packet_c::setGlobalWind

* Match dCloth_packet_c::plot implementation

* Remove unused virtual function declarations

* Update `d/d_cloth_packet.cpp` to Matching in configure.py

* Refactor field_0x108 and mIsIndoors to boolean types, rename, and add explanatory comments.

* Update `d/d_cloth_packet.cpp` to `MatchingFor("GZLE01")` in configure.py

* Add new material and alpha material configurations for `d_cloth_packet` across GZLP01, GZLJ01, and D44J01

* Update `d/d_cloth_packet.cpp` to `Matching` in configure.py

* Update `d/d_cloth_packet.cpp` to `MatchingFor("GZLE01", "GZLP01")` in configure.py

* Add conditional GXSetNumIndStages and resetVcdVatCache for non-JPN versions in `dCloth_packet_c::draw`

* Update `d/d_cloth_packet.cpp` to `MatchingFor("GZLJ01", "GZLE01", "GZLP01")` in configure.py

* Matched dCloth_packet_c::dCloth_packet_c for `VERSION_DEMO` in `d/d_cloth_packet.cpp`

* Matched dCloth_packet_c::cloth_move for `VERSION_DEMO` in `d/d_cloth_packet.cpp`

* Matched dCloth_packet_c::draw for `VERSION_DEMO` in `d/d_cloth_packet.cpp`

* Matched dCloth_packet_c::TexObjInit for `VERSION_DEMO` in `d/d_cloth_packet.cpp`

* Matched dClothVobjXX_c::TexObjInit for `VERSION_DEMO` in `d/d_cloth_packet.cpp`

* Update `d/d_cloth_packet.cpp` to `Matching` in configure.py

* Replaced direct member access with getter methods in `d/d_cloth_packet.cpp`

* Added `f` suffix to floating-point literals in `d/d_cloth_packet.cpp` for consistency.
2026-02-12 01:42:21 -05:00
..
2026-02-11 22:45:53 -05:00
2025-08-25 18:55:36 -04:00
2025-08-25 18:55:36 -04:00
2025-03-28 20:44:06 -04:00
2025-03-28 20:44:06 -04:00
2025-04-11 16:37:42 -04:00
2025-04-11 16:37:42 -04:00
2025-04-11 16:37:42 -04:00
2025-04-11 16:37:42 -04:00
2025-04-11 16:37:42 -04:00
2025-08-03 20:25:43 -04:00
2023-10-09 15:45:46 -04:00
2025-07-25 22:24:57 -04:00
2025-08-11 18:49:47 -04:00
2025-08-04 11:36:22 -04:00
2025-05-19 20:17:13 -04:00
2025-12-27 16:23:15 -05:00
2024-10-31 16:58:37 -04:00
2025-04-11 16:37:42 -04:00
2024-02-09 13:55:31 -05:00
2026-02-11 22:40:15 -05:00
2023-12-29 17:17:18 -05:00
2025-07-25 00:04:41 -04:00
2025-03-28 22:35:13 -04:00
2025-07-25 00:04:41 -04:00
2025-12-27 16:23:15 -05:00
2026-01-01 14:14:13 -05:00
2023-10-21 15:43:26 -07:00
2025-07-17 21:41:40 -04:00
2025-06-04 16:50:49 -04:00
2025-08-15 20:27:31 -04:00
2025-11-11 01:58:46 -08:00
2025-08-29 17:04:11 -04:00
2025-05-28 01:39:07 -04:00
2023-09-23 03:47:34 -07:00
2023-11-28 20:35:06 -08:00
2025-05-17 22:40:49 -04:00
2024-09-02 23:31:19 -07:00
2025-08-22 22:00:46 -04:00
2024-02-25 13:48:17 -08:00
2024-03-10 20:57:14 -07:00
2025-05-18 10:15:09 -04:00
2025-06-26 19:12:22 -04:00
2024-01-16 17:18:38 -05:00
2025-06-26 19:12:22 -04:00
2024-03-01 01:21:27 -05:00
2024-03-01 01:21:27 -05:00
2025-12-27 16:23:15 -05:00
2025-12-27 16:23:15 -05:00
2025-11-14 19:51:12 -08:00
2025-12-29 13:34:48 -05:00
2024-07-13 10:45:21 -07:00
2025-03-28 20:44:06 -04:00
2025-08-20 13:56:13 +01:00
2025-03-28 20:31:04 -04:00
2025-05-25 17:01:01 -04:00
2025-08-11 21:14:18 -04:00
2025-08-15 16:52:21 -04:00
2024-07-02 16:31:05 -07:00
2025-08-08 21:34:37 -04:00
2023-09-10 01:16:37 -07:00
2026-02-11 22:40:15 -05:00
2024-03-01 01:21:27 -05:00
2023-11-26 16:21:56 -08:00
2026-02-11 22:40:15 -05:00
2025-09-17 10:56:12 -04:00
2025-04-11 16:37:42 -04:00
2025-12-27 16:23:15 -05:00
2025-05-28 01:39:07 -04:00
2025-05-24 18:54:46 -04:00
2024-03-01 01:21:27 -05:00
2024-02-29 20:00:41 -05:00
2025-08-23 12:17:10 -04:00