

1

https://github.com/heinrich5991/libtw2/blob/2c77f799f0e40ff80c2580c6ff0ed8ad19041c4e/demo/src/raw.rs#L247

https://github.com/heinrich5991/libtw2/blob/2c77f799f0e40ff80c2580c6ff0ed8ad19041c4e/demo/src/raw.rs#L247 



































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 errors























std::vectors. 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 ...

