whoa/src/sound
Alex Tiernan-Berry d4d359acea feat(web): add Emscripten/WASM build infrastructure
Adds the platform layer for building whoa as a WebAssembly application:

Working:
- CMake configuration for WHOA_SYSTEM_WEB with pthreads and ASYNCIFY
- Web entry point and HTML shell template
- Event loop adapted for emscripten_set_main_loop callback model
- WebSocket-based networking (WowConnection over JS WebSocket API)
- Sound system stubs (audio not yet implemented)
- FetchFS for async file loading from web server
- Freetype fixes for WASM compatibility (type mismatches)
- Input handling for web canvas

Missing (in separate commits):
- WebGPU graphics backend (CGxDeviceWebGPU)
- WGSL shaders
- API selection in Device.cpp
2026-02-06 02:21:20 +00:00
..
web feat(web): add Emscripten/WASM build infrastructure 2026-02-06 02:21:20 +00:00
CMakeLists.txt feat(web): add Emscripten/WASM build infrastructure 2026-02-06 02:21:20 +00:00
CVarHandlers.cpp feat(sound): partially implement EnableMusic_CVarCallback 2025-11-29 19:55:25 -06:00
CVarHandlers.hpp feat(sound): add SI2::RegisterUserCVars 2025-11-24 13:30:43 -06:00
Interface.hpp feat(sound): add SI2::Init 2025-11-21 12:48:58 -06:00
SEChannelGroup.hpp feat(sound): improve name 2025-11-29 09:49:07 -06:00
SESound.cpp feat(sound): add SESound::SetMasterVolume 2025-11-29 19:36:04 -06:00
SESound.hpp feat(web): add Emscripten/WASM build infrastructure 2026-02-06 02:21:20 +00:00
SESoundInternal.cpp feat(sound): set up fade in SESoundInternal::Play 2025-11-29 16:06:27 -06:00
SESoundInternal.hpp feat(web): add Emscripten/WASM build infrastructure 2026-02-06 02:21:20 +00:00
SEUserData.hpp feat(sound): add SEUserData and SI2USERDATA 2025-11-26 14:10:54 -06:00
SI2.cpp fix(sound): correct potential use-after-scope in SI2::PlaySoundKit 2025-12-07 13:33:46 -06:00
SI2.hpp feat(sound): use better name for static 2025-11-29 11:50:00 -06:00
SI2Script.cpp feat(sound): implement Script_PlaySound 2025-11-22 13:44:11 -06:00
SI2Script.hpp chore: initial commit 2023-01-02 13:17:18 -06:00
SI2USERDATA.hpp feat(sound): add SEUserData and SI2USERDATA 2025-11-26 14:10:54 -06:00
SOUNDKITDEF.hpp feat(web): add Emscripten/WASM build infrastructure 2026-02-06 02:21:20 +00:00
SOUNDKITLOOKUP.hpp feat(sound): add SOUNDKITLOOKUP 2025-11-22 13:12:30 -06:00
SOUNDKITOBJECT.hpp feat(sound): correct type for SOUNDKITOBJECT::m_sound 2025-11-26 20:00:26 -06:00
SoundKitProperties.cpp feat(sound): set fade in and fade out in SI2::PlaySoundKit 2025-11-26 23:24:35 -06:00
SoundKitProperties.hpp feat(sound): set fade in and fade out in SI2::PlaySoundKit 2025-11-26 23:24:35 -06:00