Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/base/StarMemoryAssetSource.cpp
AgeCommit message (Collapse)Author
2025-02-15Streaming Audiobmdhacks
Problem: The current implementation reads the entire sound file in to memory in order to play it. For OGG background music, this uses 91 Megs of RAM by injesting all ogg songs as well as all wav assets. Solution: Change StarAudio to play the asset from a file handle and stream it off the disk. This results in a massive savings of RAM and doesn't really affect audio quality unless you're doing massive disk operations such as compiling Starbound.
2024-04-15only round vertices if AA is onKae
[skip ci]
2024-03-25Add support for directly setting image assets and processing Image userdataKae
2024-03-17Lua: new Image userdata (& cursor mod fix)Kae
2024-03-16postLoad scripts tooKae
2024-03-15asset onLoad scripts can add and patch assets nowKae