Remove virtual machine?

I just started working on a new mod and i’m terribly limited by the C-like language for game logic. Is it possible to remove the virtual machine and use C and or C++?

The game logic is written in C 1989 Standard with C++ style comments and incomplete reimplemented C standard library. QVMs are compiled by a modified version of LCC.

To use newer C features and/or C++ you can use DLLs (compiled by GCC, MSVC, etc) instead of QVMs by setting sv_pure, vm_game, vm_cgame, and vm_ui cvars to 0. You can disabling building QVMs by setting BUILD_GAME_QVM=0 in the Makefile.

3 Likes

Thank you for the information! :slight_smile: