Skip to content

Commit

Permalink
Improve the bass library (thegrb93#1618)
Browse files Browse the repository at this point in the history
* Reduce redundancy

* Add :is2D(), :is3D(), and :getFlags() to bass

* Only use one table

* Add bass state getters

* GMOD_CHANNEL is client-only

* Reduce lower limit of fade max

* Set default fade distance so it starts out within sf limits

* Add more bass getters

* Fix function docs

* Apparently both realms process it anyway, so use builtins_library

* Bandaid fix sound fading

* All enums are shared

* Implement manual fading correctly and allow both styles

* Consistency

* Fix nil error

* Clarity

* Avoid instance:runFunction()

* Remove outOfEarshot

* Simplify

* Anti-RERO

* Store fadeMin and fadeMax directly

* Use lookup instead of list
  • Loading branch information
legokidlogan authored Feb 20, 2024
1 parent 76084e7 commit 2b97ba7
Show file tree
Hide file tree
Showing 2 changed files with 296 additions and 76 deletions.
Loading

0 comments on commit 2b97ba7

Please sign in to comment.