Commit Graph

33 Commits

Author SHA1 Message Date
LagoLunatic 96347ab502 Clean up angle constants and conversions (#1135)
* Add angle conversion constants and macros

* Replace angle literals with hex instead of decimal
2026-07-22 20:13:31 -04:00
LagoLunatic bae595b973 Update all code to use the new enum formats 2026-05-29 16:34:55 -04:00
LagoLunatic 102042628f Process profiles and enums cleanup (#1031)
* Fix some profile comments

* Add missing static for local visibility data

* Move proc name and draw priority enums to f_pc

* Add _e suffix to daObjBarrier_c proc enum

* Change proc name enum format to match TP

* Change draw prio enum format to match TP

* Change ItemNo enum format, finish fixing item names

* Revert static for cb1 hio

* Clean up formatting of profile comments

* Fix comment alignment
2026-05-26 00:11:58 -04:00
LagoLunatic e1f5b7e23b Rename fopAcM_SetupActor to fopAcM_ct 2026-05-07 15:59:23 -04:00
LagoLunatic 765f88e4f3 Move extern forward decls from cpps to headers 2026-04-01 19:38:51 -04:00
Briggs Baltzell f64d5000b6 GX Vertex Format Fixes (#938)
* Update vertex attribute formats in `d_a_hookshot.cpp` for improved correctness.

* Fix texture coordinate formats in `J3DSys.cpp` to use `GX_TEX_ST` for improved semantics.

* Update vertex attribute formats in `JFWDisplay.cpp` for improved semantics.

* Update texture coordinate vertex format in `J2DWindow.cpp` to use `GX_TEX_ST` for improved semantics.

* Refactor `J2DWindow.cpp` for improved readability: update constructor initialization style, inline function arguments, and add spacing for clarity in GX rendering logic.

* Update vertex attribute formats in `JUTResFont.cpp` for improved correctness and semantic clarity.

* Update vertex attribute format in `d_kankyo_rain.cpp` to use `GX_POS_XYZ` for improved correctness.

* Update texture coordinate formats in `d_ovlp_fade2.cpp` to use `GX_TEX_ST` for improved semantics.

* Update texture coordinate format in `d_ovlp_fade4.cpp` to use `GX_TEX_ST` for improved semantics

* Format vertex attribute and texture coordinate initialization in `d_a_goal_flag.cpp` for improved consistency and semantics.

* Update vertex attribute and texture coordinate formats in `d_a_majuu_flag.cpp` for improved correctness and semantics.

* Update vertex attribute and texture coordinate formats in `d_a_pirate_flag.cpp` for improved correctness and semantics.

* Update vertex attribute and texture coordinate formats in `d_a_sail.cpp` for improved correctness and semantics.

* Update vertex attribute and texture coordinate formats in `d_a_player_particle.inc` for improved correctness and semantics.

* Update vertex attribute and texture coordinate formats in `d_a_player_particle.inc` for improved correctness and semantics.

* Update vertex attribute and texture coordinate formats in `d_a_sea.cpp` for improved correctness and semantics.

* Update vertex attribute and texture coordinate formats in `d_wood.cpp` for improved correctness and semantics.

* Update vertex attribute and texture coordinate formats in `m_Do_ext.cpp` for improved correctness and semantics.

* Undid formatting of `halftofull` array in `JUTResFont.cpp`

* Update vertex attribute and texture coordinate formats in `d_tree.cpp` for improved correctness and semantics.

* Update vertex attribute and texture coordinate formats in `d_a_bwdg.cpp` for improved correctness and semantics.
2026-03-14 18:47:46 -04:00
LagoLunatic 217775af4e Use precompiled headers, fix weak data issues 2025-08-20 18:51:42 -04:00
LagoLunatic ea02e17b83 obj_mkiek demo match, remove fake inlines from cXyz 2025-07-14 19:11:39 -04:00
LagoLunatic c625992a77 Add enum for actor priority 2025-05-21 14:44:25 -04:00
LagoLunatic 99c78680de Fix version defines 2025-05-19 20:17:13 -04:00
LagoLunatic 4ac105c02d JPN build fix, remove nonmatching comments 2025-04-12 23:27:17 -04:00
LagoLunatic 822b13e57a Add cPhs_State typedef and use it everywhere 2025-03-17 22:26:56 -04:00
LagoLunatic fab0d7a5ba misc cleanup, mostly inlines 2024-10-29 00:22:32 -04:00
LagoLunatic f9d40ebad8 Use NULL macro in asserts, fix NULL macro to match 2024-06-22 11:07:16 -04:00
Daniel Hajjar c9e6b0c676 d_a_sea cleanup (#660)
* d_a_sea minor cleanup

* d_a_sea improvements
2024-06-22 09:54:01 -04:00
LagoLunatic 58dee066bd d_a_sea OK on JPN
fixes #586
2024-06-21 20:43:12 -04:00
Daniel Hajjar fda302008e d_a_sea (#659)
* d_a_sea fixes

* daSea_ChkArea matching

* daSea_calcWave WIP

* daSea_GetPoly WIP

* d_a_sea Added Nonmatching comments

* daSea_calcWave matching

* daSea_calcWave fakematch

* daSea_packet_c::CalcFlatInterTarget matching

* daSea_GetPoly matching

* daSea_packet_c::SetCullStopFlag matching

* d_a_sea Misc fixes

* daSea_packet_c::execute matching

* daSea_packet_c::execute cleanup

* daSea_packet_c::create matching

* daSea_packet_c::CalcFlatInter matching

* daSea_packet_c::draw WIP

* daSea_packet_c::draw more WIP

* daSea_packet_c::draw work

* daSea_packet_c::draw even more WIP

* d_a_sea matching

Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>

* d_a_sea cleanup

* updated configure.py

* d_a_sea minor cleanup

---------

Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>
2024-06-21 17:31:43 -07:00
LagoLunatic f856df04e5 Regenerate old actor profiles for consistency 2024-04-22 13:20:05 -04:00
LagoLunatic a116292705 add static keyword in more places 2024-04-17 13:27:52 -04:00
LagoLunatic 443691603d rename fopAc_ac_c member vars to match TP decomp 2024-03-08 21:31:41 -05:00
Jasper St. Pierre a2b9822e5c minor matches 2024-01-23 01:04:32 -08:00
LagoLunatic a0ea511650 Add save stage table, stage type, and event bit enums 2024-01-04 00:37:52 -05:00
Jcw87 46a937b489 various constructors and other small functions 2023-12-20 21:39:09 -08:00
LagoLunatic ec3f7f0198 misc minor cleanup (indentation, offset comments, etc) 2023-12-19 21:29:37 -05:00
Jcw87 fe28552c28 move placement new to MSL_C 2023-12-19 03:30:16 -08:00
LagoLunatic a8d10408a2 Add return type and static keyword to common actor static funcs 2023-11-30 15:54:02 -05:00
LagoLunatic 5039fe661c Finished porting all actor classes to headers 2023-11-25 23:53:05 -05:00
LagoLunatic 072f172d50 d_a_obj_kanat OK 2023-11-24 17:26:10 -05:00
LagoLunatic 8a2bc19a89 Better defaults for create/delete/execute/draw/isdelete 2023-11-24 16:49:23 -05:00
LagoLunatic e69d6ae3f6 Begin moving existing actor class defs to headers 2023-11-24 13:53:54 -05:00
Jasper St. Pierre 98da19dfac d_a_sea start 2023-11-18 19:54:18 -08:00
LagoLunatic e7a2f4c209 Add sea headers 2023-10-09 17:50:46 -04:00
Luke Street adb95b135c Import project
Original repository: https://github.com/encounter/ww
2023-09-10 00:48:55 -04:00