Translate
function modifies the first argument, so the client ID keeps changing when the function is being used in a loop. Additionally, calling Translate
manually is not necessary for messages, as client IDs in messages are already automatically translated when using SendPackMsg
. Both faults can cause emoticons to appear on the wrong players when the emote spamprotection limits emotes to nearby players.
dbg_gfx 4
Then it should report validation errorsstd::vector
s. The algorithm is very loosely inspired by https://github.com/TeamHypersomnia/rectpack2D.
Increases texture atlas utilization from ~70% to ~90-94%, i.e. less space in the atlas is unused.
Decreases the computational time to find suitable free regions in the atlas by factor 40x-164x (depending on atlas dimension and utilization). In absolute numbers, the ...