https://github.com/ikskuh/wmb
Gamestudio WMB level loader in C++17
https://github.com/ikskuh/wmb
Last synced: 3 months ago
JSON representation
Gamestudio WMB level loader in C++17
- Host: GitHub
- URL: https://github.com/ikskuh/wmb
- Owner: ikskuh
- License: mit
- Created: 2018-11-10T16:05:41.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-13T22:48:05.000Z (over 6 years ago)
- Last Synced: 2025-01-17T12:16:16.692Z (5 months ago)
- Language: C++
- Size: 11.7 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WMB
Gamestudio WMB level loader in C++17.## Requirements and dependencies
- Compiler with C++17 support (clang or gcc, msvc is not supported yet)
- [glm library](https://glm.g-truc.net/0.9.8/index.html)## Example
A short example on how to list all textures in a WMB file.
A more complete version is in `example.cpp`.```cpp
auto level = WMB::load("stage1.wmb");
for(auto const & tex : level->textures)
{
std::cout << "name='" << tex.name << "'" << std::endl;
}
```## Todo:
- [ ] Implement support for MSVC