theAsmodai / metamod-r

Metamod is a plugin/DLL manager that sits between the Half-Life Engine and an HL Game mod, allowing the dynamic loading/unloading of mod-like DLL plugins to add functionality to the HL server or game mod. Metamod-r is improved version of metamod.
GNU General Public License v3.0
139 stars 35 forks source link

Basic Xash3D support #71

Closed a1batross closed 2 months ago

a1batross commented 2 months ago

This PR adds support for Xash3D physics interface, but only limited to linkent.

Usually, linkent replacement should be enough but on any Windows or Linux 32-bit x86 systems, but on my machine linked against system glibc it crashes dlfcn for some reason. Using physint makes it a bit more portable, akin to using ReHLDS API.

This PR also fixes CMake default flags, so debugging Metamod-r itself is possible. I found it useful for me, if it's unneeded, I will remove it from PR :)