Skip to content

v0.4.0

Choose a tag to compare

@khasinski khasinski released this 06 Mar 20:29
· 184 commits to main since this release

New features

  • HUD - status bar with health, armor, ammo and Doomguy face
  • Weapon view - visible weapon with bobbing animation
  • Door system - doors open on use and close automatically

Performance

  • Hash-based visplane lookup instead of linear search
  • Cache precomputed column data when angle unchanged
  • Reuse sprite clip arrays instead of allocating per frame
  • Use Struct instead of Hash for visible sprites
  • Preallocate y_slope arrays for floor/ceiling rendering
  • Remove nil checks from inner rendering loops
  • Use bitwise AND for power-of-2 texture wrapping

Bug fixes

  • Fix shareware WAD download URL
  • Fix sprite clipping with point-on-seg-side test
  • Fix weapon bob clipping above status bar
  • Fix status bar number and face positioning
  • Fix doors closing on player