重新实现的RanderWare引擎,用于GTA
6b9c546ec1
cmake: build tools and install librw by default, only when main project |
||
---|---|---|
.github/workflows | ||
cmake | ||
conan | ||
skeleton | ||
src | ||
tools | ||
.appveyor.yml | ||
.gitignore | ||
.travis.yml | ||
ARCHITECTURE.MD | ||
args.h | ||
CMakeLists.txt | ||
conanfile.py | ||
docker_rebuild_ps2.sh | ||
Dockerfile | ||
LICENSE | ||
premake5.exe | ||
premake5.lua | ||
premake-vs2019.cmd | ||
README.cmake | ||
README.md | ||
rw.h | ||
TODO |
librw
This library is supposed to be a re-implementation of RenderWare graphics, or a good part of it anyway.
It is intended to be cross-platform in two senses: support rendering on different platforms similar to RW; supporting all file formats for all platforms at all times and provide way to convert to all other platforms.
Supported file formats are DFF and TXD for PS2, D3D8, D3D9 and Xbox. Not all pre-instanced PS2 DFFs are supported. BSP is not supported at all.
For rendering we have D3D9 and OpenGL (>=2.1, ES >= 2.0) backends. Rendering some things on the PS2 is working as a test only.
Uses
librw can be used for rendering GTA.
Building
Get premake5. Generate a config, e.g. with premake5 gmake
,
and look in the build directory.