mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-12 12:57:37 +00:00
The embedded addon Lua/XML and Bindings.xml were stored as raw RCDATA, 924 KB of the 2.38 MB DLL. Each resource is now gzipped at build time (cmake/gzip_file.cmake, CMake's own ARCHIVE_CREATE) and inflated with the engine's zlib on first use, so Embed::Resource keeps its contract: the same bytes, valid for the life of the DLL. Encoding::Compress now exports the Inflate it already had for C_EncodingUtil. /O1 replaces /O2 /Ob2: 280 KB less code. /GL + /LTCG made it larger. 2,380,288 -> 1,430,016 bytes.