Skip to content

0.2.2

Choose a tag to compare

@SPLATPLAYS SPLATPLAYS released this 01 Mar 15:00
· 8 commits to main since this release

Add dirty bitset for optimized rendering and update logic

  • Introduced a dirty bitset to track changes between simulation frames.
  • Updated initGrid to initialize the dirty bitset.
  • Modified placeParticle to set dirty flags when particles are placed.
  • Enhanced simulate to accumulate changes into the dirty bitset.
  • Updated drawGrid to only repaint changed cells and clear dirty flags after rendering.

Update particle enum to include COUNT for accurate particle type count

Enhance lava particle update logic to correctly handle interactions with sand, water, ice, and plant particles

Implement XorShift32 PRNG state definition in random.cpp and update header file