Development discussion. Logged to https://ddnet.tw/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 2022-04-10 00:00:00Z and 2022-04-11 00:00:00Z
The demo renders, the audio is normal, but the screen rotates vertically repeatedly and the tees are stuck in place.
It does only happens when ddnet is minimized. When ddnet is restored the demo continues normal.
https://youtu.be/nzT09mjNpJE
Version: 16.0.3
Platform: Windows (Steam)
hehe I have a funny bug for you today, which is already for more than 11 years in the code and certainly already noticed by a few. Spoiler in 0.7 it is already fixed. I would suggest we also fix it
you seem to have added the width and height parameter and changed the thingy
11:51
you meande x and y the center and not the left top position of the quad so i wanted to ask how to fix the ub but seems liek multiplication is the solutuon
Start server and headless client once and see if it gets some ubsan or asan hits.
The headless client might have less or different violations of the holy c++ standard but its the best way to get some client code runtime in the CI.
Related issue https://github.com/ddnet/ddnet/issues/3050
See #4970:
```
/home/runner/work/ddnet/ddnet/src/base/math.h:50:11: runtime error: left shift of negative value -32
#0 0x198d955 in i2fx(int) /home/runner/work/ddnet/ddnet/src/base/math.h:50:11
#1 0x197ebdf in CLayerQuads::NewQuad(int, int, int, int) /home/runner/work/ddnet/ddnet/src/game/editor/layer_quads.cpp:47:22
#2 0x18ef8d3 in CEditor::Init() /home/runner/work/ddnet/ddnet/src/game/editor/editor.cpp:6360:18
#3 0xa8e5be in CClient::Run() /home/runner/work/ddnet/ddn...
fixes #4969
fixes #4138
The problem of #4138 can be seen in the following picture:
!image
we have a strange angle circle, it was fixed in 0.7. For 0.7 to interpolate correctly between two network packets we should send the correct angle circle.
The poblem from #4969 I have already described and follows directly from the wrong calculation.
The PR fixes both problems. Here is a v...
click_select_layers_iterate_scroll.mp4
Ctrl+leftclick on a tile in the map to select the layer that has tiles placed there. Useful if there are a lot of overlapping layers. Or ple...
05bc256 Fix undefined behavior in fixed point number conversion - Robyt3
c14889e Code format: use multiple lines for function - Robyt3
0157dea Merge #4971 - bors[bot]