ddnet icon indicating copy to clipboard operation
ddnet copied to clipboard

Generated `server_data.cpp/h` mostly unused

Open Robyt3 opened this issue 1 year ago • 0 comments

We compile around 800 LOC on the server side that are mostly unused. This includes embedding the paths of all sounds and images as strings in the executable.

AFAICT, only some weapon properties of the global data g_pData are used in https://github.com/ddnet/ddnet/blob/cc6d75d3926a20ef46c872cd004a6cb9be869ce6/src/game/server/entities/character.cpp on the server-side.

Robyt3 avatar Sep 25 '24 12:09 Robyt3