Skip to content

Releases: Fanorisky/omp-easing-functions

v1.0.3.0

v1.0.3.0 Pre-release
Pre-release

Choose a tag to compare

@Fanorisky Fanorisky released this 16 Jun 15:23

Release v1.0.3.0

Major Changes

  • Dynamic memory pool system replacing the hardcoded 2048 animation limit
  • Configuration system via config.json for performance tuning parameters
  • Generation-based slot recycling to prevent stale ID references
  • Split animation functions for separate X and Y axis control

Features

  • Added configurable parameters: update_rate_fps, batch_process_limit, expected_players, initial_capacity, and callback_reserve
  • New animation functions: PlayerText_MoveLetterSizeX, PlayerText_MoveLetterSizeY, PlayerText_MoveTextSizeX, PlayerText_MoveTextSizeY
  • Enhanced color utilities: GetColorFromRGBA and GetRGBAFromColor with proper bit masking
  • Silent animation tracking in GetAnimationStats

Performance

  • O(1) animation removal instead of linear search
  • Hash-set based textdraw batch deduplication
  • Round-robin batch processing to prevent server lag spikes
  • Reduced memory footprint through on-demand pool growth

Breaking Changes

  • Animation IDs are now opaque handles, not array indices
  • PlayerText_MoveLetterSize and PlayerText_MoveTextSize split into X/Y variants
  • GetColorRGBA renamed to GetColorFromRGBA

Full Changelog: v1.0.2.0...v1.0.3.0

v1.0.2.0

v1.0.2.0 Pre-release
Pre-release

Choose a tag to compare

@Fanorisky Fanorisky released this 11 Dec 19:26
efcc254