Make sure that the selected server is always in sync with the server address (handle Page change, Filter selection, Server selection, Filter change). Changing the address changes the selection, wil...
10:02
old address will be gone because of the name change
i think that a client might ask a server for its dummy in a nice future
14:17
but, if ddnet client allows the player to exchange the control between the dummy and the original character, this idea might lead to higher latency for control swapping
// Type your code here, or load an example.
unsigned char *Pack(unsigned char *pDst, int i)
{
*pDst = (i>>25)&0x40; // set sign bit if i<0
i = i^(i>>31); // if(i<0) i = ~i
*pDst |= i&0x3F; // pack 6bit into dst
i >>= 6; // discard 6 bits
if(i)
{
*pDst |= 0x80; // set...