Chairn
Chairn
This adds more type safety into the code. Generated code should be similar with no performance impacts. Fixes https://github.com/ddnet/ddnet/issues/5228. I kept mem_zero and mem_copy on default language type. Reference: https://en.cppreference.com/w/cpp/algorithm/copy...
As proposed by @Robyt3 in https://github.com/ddnet/ddnet/issues/5711 (relevant comment https://github.com/ddnet/ddnet/issues/5711#issuecomment-1208390586) and relevant upstream PR https://github.com/teeworlds/teeworlds/pull/3041
Reported by Voxel on Discord, louis says it has always been like that for him. https://discord.com/channels/252358080522747904/757720336274948198/991204853915336765 Doesn't happen on Linux for me.
It also cannot hit if it has no hit. I think super should always be able to perform these actions, otherwise it's only half super.
Not sure how we could do that. We could try to open a map, apply some action (resize, select & rotate) and save it and check the output checksum.
Probably because fifo is not implemented on windows.
Before:  After:  ## Checklist - [x] Tested the change ingame - [x] Provided screenshots if it is a visual change - [x] Tested in combination with possibly related...
Init all class members to prevent further bug due to non initialised member, following discussion from https://github.com/ddnet/ddnet/issues/5247. CPP reference: - https://en.cppreference.com/w/cpp/language/constructor - https://en.cppreference.com/w/cpp/language/data_members#Member_initialization - https://stackoverflow.com/questions/2417065/does-the-default-constructor-initialize-built-in-types I tested this very lightly....
This should ease moderation when someone enters a server spam some racist shit and leaves instantly. We just had a case tonight and @bencie had to chase him around until...
Basically title. For instance, on Tutorial you start with only your main jump but as soon as you're falling, you loose it without understanding why (for newcomers at least). So...