MSRevive / MasterSwordRebirth

Continuation of Master Sword Classic/Continued.
https://msrebirth.net/
Other
9 stars 8 forks source link

Add Solokiller's particle manager #114

Closed SaintWish closed 1 year ago

SaintWish commented 2 years ago

I think it might be a good idea to add Solokiller's particle manager from his repo here

From reading the changelog here https://github.com/SamVanheer/halflife-updated/blob/master/FULL_CHANGELOG.md it seems like the his is far more efficient and will allow for far more particles to be allocated?

Implemented particle manager in client library https://github.com/SamVanheer/halflife-updated/issues/122

This change fixes halflife issue https://github.com/ValveSoftware/halflife/issues/2196 by embedding the particle manager in the client library. It also fixes compatibility issues caused by optimizations applied to the Vector type. Reworked particle memory management to allow far more particles to be allocated before crashing by running out of memory (previous limit was around 100 particles at the same time, new limit closer to 1 million). Fixes halflife https://github.com/ValveSoftware/halflife/issues/1447

SaintWish commented 1 year ago

Probably just use Trinity Engine's particle manager. https://github.com/MSRevive/MasterSwordRebirth/issues/129