FWGS / hlsdk-portable

Portable Half-Life SDK. GoldSource and Xash3D. Crossplatform.
https://xash.su
Other
267 stars 119 forks source link

Don't print 'Node Graph out of Date' messages in non-developer mode #344

Open FreeSlave opened 1 year ago

FreeSlave commented 1 year ago

Note that in Valve repo the message printing is commented out https://github.com/ValveSoftware/halflife/blob/master/dlls/nodes.cpp#L1490 As a compromise we can still print it, but only in developer mode.

a1batross commented 1 year ago

I think we forced printing it because when nodes wasn't shipped with the game for some reason, nodes generation without this iconic message make the game look like it's frozen.

FreeSlave commented 1 year ago

I think the message stays for too long, longer than the node graph building usually takes. And there's no way to control the duration. But it's up to you.

a1batross commented 1 year ago

Player knows when nodes generation is finished :)

nekonomicon commented 1 year ago

I think the message stays for too long, longer than the node graph building usually takes.

Platform/CPU/Optflags-specific.