Query D2GL configs - bayaraa/d2gl GitHub Wiki
Since v1.3.2 you can query some d2gl boolean config from externally.
Might be usefull for other mods.
Howto: Include https://github.com/bayaraa/d2gl/blob/master/d2gl/src/d2gl.h and call d2glConfigQuery
with config id.
Example to check if HD Text enabled:
#include "d2gl.h"
...
void someFunction() {
...
BOOL hd_text_enabled = d2glConfigQuery(D2GL_CONFIG_HD_TEXT);
...
}
...