SNMetamorph / PrimeXT

Modern Half-Life 1 SDK for Xash3D FWGS engine, has enhanced graphics and physics and a lot of new features for mod-makers. Crossplatform, supports Windows/Linux. Based on XashXT and Spirit Of Half-Life.
https://snmetamorph.github.io/PrimeXT/
108 stars 30 forks source link

Reorganizing server-side source code: entities, monsters and weapons #197

Closed SNMetamorph closed 7 months ago

SNMetamorph commented 11 months ago

Originally, in HLSDK bunch of code was clumped in single .cpp files with thousands lines of code in them. That isn't easy to maintain and understand, especially for beginner developers. Also less clumped structure of source code will lead to better compiling time, since different translation units may being compiled simultaneously. In final, every generic entity and weapon will be located in separate pair of source files: modifying existing and adding new objects will be relatively easy.

SNMetamorph commented 8 months ago

Rest of the files that need to be splitted: