ddnet/src
bors[bot] 1883546939
Merge #3201
3201: Map optimizer r=def- a=Jupeyy

Wrote a map optimizer(very aggressive, explain later why).
It reduces map sizes by ~40% (optimized the whole ddnet-maps repo and it was around 40% smaller afterwards)

Test and idea by mind, credits to him

What it does, and why I called it aggressive:

- It removes all unused tiles from embedded images
- It clears transparent pixels and dilates them as 2D array textures, instead of simple 2D textures.
- It uses zlibs best compression

So yeah, it changes the output map(keeps the source file working, output is in "out" dir), its not the same as before, it's a nice tool for optimizing size with a lot of embedded images as a final release, or when using higher resolution textures.

Co-authored-by: jupeyy <jupeyy@am-6036ddb5ef41.intern>
2020-11-21 11:19:29 +00:00
..
antibot Run clang-format 2020-09-26 21:50:15 +02:00
base Allow utf8 ban reasons (fixes #3329) 2020-11-18 14:42:12 +01:00
engine Merge #3201 2020-11-21 11:19:29 +00:00
game Fix assets menu 2020-11-19 18:11:00 +01:00
mastersrv Run clang-format 2020-09-26 21:50:15 +02:00
osx Fix Mac OS X notifications linking 2020-04-30 21:30:21 +02:00
osxlaunch Streamline platform client 2020-03-28 02:20:16 +03:00
steam Run clang-format 2020-09-26 21:50:15 +02:00
test blocklist_driver unit test: also check gl version 2020-11-07 19:56:21 +01:00
tools Map optimizer 2020-11-21 12:10:20 +01:00
twping Run clang-format 2020-09-26 21:50:15 +02:00