This is conversion of Soldat from Pascal to C++.
Conversion was made with help of ptoc. Both client and server are converted.
The big missing part is scriptcore and pascalscript in server. Places with missing code (mostly due to converter issue)
are marked by NotImplemented()
function.
This is rather a toy project, to test various ideas.
- freetype-2.10.4
- GameNetworkingSockets-1.3.0
- glad
- googletest-1.10.0
- libsodium-1.0.18
- physfs-3.0.2
- protobuf-3.19.1
- SDL2-2.0.20
- spdlog-1.9.2
- stb
- SoLoud
- OpenGL
- Vulkan
- SHA1
- Tracy-0.7.8
Currently only linux x64 is actively developed.
Press Shift + F7
:
- SoldatGame - builds game binary
- SoldatGame_full - builds game + assets
- third_party_dependencies - builds dependencies in third_party directory
When game triggers breakpoint under debugger, mouse is locked to game and thus you cannot use it. To overcome it in gdb execute:
source ${PROJECT}/build/gdb/release_mouse.py
- execute those commands in main repo directory (it creates directories outside the repo)
mkdir -p ../soldat_container/soldat_build
- rebuild devcontainer
ctrl + shift + p
and pressDev Containers: Rebuild and Reopen in Container
microsoft/vscode#232863 (comment)
For cross compilation to windows, dev container uses VisualStudio build tools community version. See license: https://go.microsoft.com/fwlink/?LinkId=2179811