summaryrefslogtreecommitdiff
path: root/src/d/d_particle.cpp
AgeCommit message (Collapse)Author
3 daysTVec template fixes (#1140)LagoLunatic
* TVec template fixes * Fix cubic
12 daysClean up angle constants and conversions (#1135)LagoLunatic
* Add angle conversion constants and macros * Replace angle literals with hex instead of decimal
2026-05-29Update all code to use the new enum formatsLagoLunatic
2026-05-28Demo work and fakematch cleanup (#1034)LagoLunatic
2026-05-26Implement some more JPAEmitter inlinesLagoLunatic
2026-05-26Process profiles and enums cleanup (#1031)LagoLunatic
* 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-22Clean up JGeometry::TVec3 jank/fakematchesLagoLunatic
It seems the const parameters might not be necessary after all, and these can be matched with (f32)/(s16) casts in set(T, T, T) instead.
2026-05-21d_a_player_main cleanup and some demo matches (#1016)LagoLunatic
* d_a_player_main cleanup and some demo matches * Add unions for player_main procvars * Make d_a_player_main fields private
2026-05-07d_a_obj_bemos (#975)Maide
* d_a_obj_bemos * Improve d_particle for demo
2026-04-13TVec3 inline fixes, d_a_obj_gtaki OK, JPAConvectionField::calc cleanupLagoLunatic
2026-03-20Replace particle enums with official namesLagoLunatic
2025-09-05CleanupLagoLunatic
2025-08-20Use precompiled headers, fix weak data issuesLagoLunatic
2025-07-05Some particle work and cleanupLagoLunatic
2025-05-21G_CM3D_F_INFLagoLunatic
2025-05-08Match more player_main regalloc/stack/etc issuesLagoLunatic
2025-05-03Match some data (#745)Jcw87
* J3DTransform Data * d_map Data * jstudio-object Data * JASBankMgr Data * JASTrack Data * d_particle Data * d_camera Data
2025-04-16Bunch of inline fixesLagoLunatic
2025-04-10J3DModel inlines cleanup, procBottleSwing_init match, etcLagoLunatic
2025-03-29player_swim 100%, bunch of inline cleanupLagoLunatic
2025-03-28d_a_ship 95% (#706)mattias-blum
* Initial Progress Basic functions at 100% matching 100% Matching: - `daShip_Draw` - `daShip_Execute` - `daShip_IsDelete` - `daShip_Delete` - `daShip_createHeap` - `daShip_Create` * implemented `getJointPos` inlines in `daTornado_c` needed for d_a_ship * implemented `Center()` inline in `dCamera_c` needed for d_a_ship * added `setTranslationX` inline to `J3DTexMtx` needed for match in d_a_ship * parameters set to `const` for certain inlines in `m_Do_mtx.h` * added `dComIfGp_onMenuCollect` inline * changed `shipSpecialDemoStart` return type to `BOOL` * added member functions to `dPa_waveEcallBack`, `dPa_splashEcallBack `, `dPa_trackEcallBack` also modified member type of `mRotMtx` of `dPa_waveEcallBack` and `mPos` of `dPa_trackEcallBack` * added member to `daGrid_c` that is used in d_a_ship * added `mDoAud_setShipSailState` and `mDoAud_shipCruiseSePlay` inline functions * added `fopAcM_seenPlayerAngleY` inline * d_a_ship mostly matching approx. 90% matching, mostly regalloc issues. , `checkNextMode`, `setRopePos`, `setHeadAnm`, and `execute` need to have their logic fixer * replace `unknown_inline_TODO ` from `daShip_c` with `checkForceMove` * .data match * .rodata matching * more inline return type changes from `bool` to `BOOL` Also changed the array size of `mPlayerStatus` * implemented `force_calc_wind_rel_angle` inline in `daGrid_c` * fix `d_a_ship_static` * fixed `getEmitterAxis`, might need review but works for now * more progress * reverted change to `getEmitterAxis`, moved casts to function call in `dPa_waveEcallBack::executeAfter` * more progress * change return types of certain inlines from `BOOL` to `u32` `dComIfGp_checkCameraAttentionStatus`, `dComIfGp_checkPlayerStatus0`, `dComIfGp_checkPlayerStatus1` needed for match in d_a_ship * fixed memory addresses in `daGrid_c` * more progress * resolving symbols * Initial PR changes * Removed unnecessary cast * replaced instances of `PSVECSquareMag` with corresponding inline functions * update memory layout in `d_a_grid` for consistency * More PR changes `checkNextMode` and `procZevDemo` now at 100% matching
2025-03-10Fix const params in JGeometry::TVec3 ctorLagoLunatic
2025-03-10d-a-obj-swhammer equivalent (#702)Ross Newman
* start d-a-obj-swhammer * mostly match swhammer and name members * rename smoke callback member mColor * name attrs and match createheap * 100% equivalent
2025-03-06C_BG_MIN_HEIGHT, C_BG_MAX_HEIGHTLagoLunatic
2025-03-06A few more matches for d_particleLagoLunatic
createCommon/createRoomScene only match when the particle group enum is used, as enums and literals have different codegen
2025-03-06Populate particle IDs enum with placeholders and use them everywhereLagoLunatic
2025-01-14Use _GX name typedefsLagoLunatic
2024-11-20Clean up the weak data fakematches to be slightly closer to the real codeLagoLunatic
2024-10-29misc cleanup, mostly inlinesLagoLunatic
2024-10-19Add fake headers for unsolved weak objects to reduce manual copy-pastingLagoLunatic
2024-09-02Fix JPABaseParticle position members being out of orderLagoLunatic
2024-09-02d_particle workJasper St. Pierre
2024-08-09d_a_player_particle (#674)Daniel Hajjar
* daPy_mtxPosFollowEcallBack_c::execute matching * daPy_waterDropEcallBack_c::end matching * daPy_dmEcallBack_c::execute matching * daPy_fanSwingEcallBack_c::execute matching * daPy_waterDropPcallBack_c::execute matching * daPy_sightPacket_c::draw matching * daPy_sightPacket_c::setSight matching * daPy_swBlur_c::initSwBlur matching * daPy_swBlur_c matching * daPy_lk_c::setWaterDrop matching * daPy_lk_c::setFootMark matching * daPy_footEffect_c work * daPy_lk_c::resetFootEffect matching * daPy_lk_c::setSwimTail matching * daPy_lk_c::setCutWaterSplash matching * daPy_lk_c::setDamageCurseEmitter matching * daPy_lk_c::setDamageElecEmitter matching * daPy_lk_c::setDamageEmitter matching * daPy_lk_c::endFlameDamageEmitter matching * daPy_lk_c::setSwimWaterDrop matching * daPy_lk_c::setItemWaterEffect matching * daPy_lk_c::setFootEffectType matching * daPy_lk_c::setFootEffect matching * daPy_lk_c::setAuraEffect work * daPy_lk_c::setWaterRipple matching * d_a_player_particle minor cleanup * daPy_lk_c::setAuraEffect matching * Removed comment * Removed another old comment * PR suggestions
2024-08-08Move sqrtf to std:: namespaceLagoLunatic
2024-08-07Move abs and fabsf to std namespaceLagoLunatic
2024-07-14JPA workJasper St. Pierre
2024-07-13d_particle workJasper St. Pierre
2024-06-22Use NULL macro in asserts, fix NULL macro to matchLagoLunatic
2024-02-03Clean up resource enums, more inline workLagoLunatic
2024-01-31d_particleJcw87
2023-12-27particle/JGeometry progressLagoLunatic
2023-12-20various constructors and other small functionsJcw87
2023-12-14d_particleJcw87
2023-11-11d_drawlist, d_particle, f_op_actor_mng, JPA workJasper St. Pierre
2023-11-08d_drawlist workJasper St. Pierre
2023-11-02d_a_vrbox OKLagoLunatic
2023-10-07More MatchesSuperDude88
- Match a few more functions - Offset comments
2023-10-06Add bomb headersLagoLunatic
2023-10-04Finish mergeDylan Ascencio
2023-10-03Improve d_particle destructorsLagoLunatic