Commit Graph

9 Commits

Author SHA1 Message Date
Jcw87 80c7719636 Compiler compatibility (#1171)
* mark functions with duplicate names as static

* make std::__tag_va_List work with other compilers

* fix some offset comments

* use inlines in J3DJointFactory, JUTCacheFont

* fix class/struct mismatch

* improve const correctness

* fix missing return values

* make some JAudio namespaces more explicit
2026-08-16 11:15:07 -04:00
LagoLunatic be8da688fc zl1 cleanup, inline cleanup 2026-07-27 12:14:38 -04:00
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 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 2d0dc6ea49 Cleanup 2026-04-12 20:03:12 -04:00
big zam 49d51e338c D boss magma 100% matching (#946)
* d_a_obj_plant: Add headers, functions (nodeCallBack, CheckCreateHeap, CreateInit, set_mtx, daObjPlant_Delete)

* d_a_obj_plant: draw

* CreateHeap in progress, Moved NodeCallBack higher

* daObjPlant_c::CreateHeap 100% matching

* daObjPlant_Create 100% matching

* Fixed field 40A being unsigned, plant_execute() 99% matching

* Fixed floating point order of ops, daObjPlant_Execute 100% matching

* rename param

* Fixed checkCreateHeap not returning

* Marked as equivalent due to weak function ordering

* Fixed nodeCallBack function order

* PR Feedback: Removed nodeCallBack forward declaration, Moved all inline functions from h to cpp, Replaced magic numbers with enums

* d_a_obj_plant 100% matching

* d_a_obj_plant: Fixed matching for kiosk demo

* Update src/d/actor/d_a_obj_plant.cpp

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

* d_boss_magma: dMagma_ballBoss_c::calc 81.99% matching

* d_boss_magma: dMagma_ballBoss_c::calc 95.41% matching

* d_boss_magma: dMagma_ballBoss_c::calc 98.06% matching

* d_boss_magma: dMagma_ballBoss_c::calc 98.99% matching

* dMagma_ballBoss_c::~dMagma_ballBoss_c() 100% matching, dMagma_ballBoss_c::calc(float, unsigned char, int) 99%

* dMagma_ballBoss_c::calc(float, unsigned char, int) 100% matching

* Autoformat

* update() 100% matching

* 100% matching

* 100% matching

* Fixed virtualFunc standing in for setup

* dMagma_ballBoss_c::__vtable 100% matching

* fixed mWaveTimer type, Add missing mTimer

* d_boss_magma 100% matching

* Regression fix: introduce union, fixed dMagma_ballBoss_c::calc matching

* Fixed regression

* pr feedback, removed union, restored vtable

* pr feedback, square helpers

* revert field_0x7c

* revert mpathtimer

* remove

* Remove misleading mWaveTimer name, fix regression in d_magma

* fix regression in d_magma

---------

Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>
2026-04-11 20:37:51 -04:00
LagoLunatic 217775af4e Use precompiled headers, fix weak data issues 2025-08-20 18:51:42 -04:00
LagoLunatic e251cbabc2 get some more d TUs to compile 2023-12-22 14:24:50 -05:00
Luke Street adb95b135c Import project
Original repository: https://github.com/encounter/ww
2023-09-10 00:48:55 -04:00