Commit Graph

4 Commits

Author SHA1 Message Date
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
fallenoak
961c722825
feat(model): properly handle IsDrawable and WaitForLoad calls 2023-02-20 11:15:06 -06:00
fallenoak
9e06cb8942
chore(async): clean up function declarations 2023-01-05 20:57:28 -06:00
fallenoak
70b00c5c38
chore: initial commit 2023-01-02 13:17:18 -06:00