Development discussion. Logged to https://ddnet.org/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2023-10-12 00:00:00Z and 2023-10-13 00:00:00Z
im a little bit confused with map loading.
when you load a 20,000x20,000 map with a completely filled game layer and nothing else. how much ram would it take up?
i mean a block is basically an integer right? so 32bits * 20,000 * 20,000 (1.6GB) should be the space it would take in ram right? im a little bit confused because when you actually load the map on the client it takes more than 30GB of ram (at which my computer overflows).
well, imagine you write a switch with no default case, and some other parts of the code test for some specific bits, and voila, you got unofficial opcodes that are completely implementation dependent
Some new suggested qol changes:
Delete saves from ddnet-saves.txt after loading them.
And maybe a section in the client where the saves are printed, or only the recent ones(edited)