set_view
but relative instead of absolute. Then users can bind that on any key they want to use for panning the view. Even on...2024-05-09 09:27:40 D stun/6: couldn't send stun request
i am having a hard time reading my debug prints with scrolling logsgoto_tele
feature was skipping one tele.
https://github.com/ddnet/ddnet/assets/20344300/afface81-7199-4419-be2a-9e80d8ada79b
I did not want to debug the code because it looked so complex. So I refactored it and it also fixed the bug. As you can see it now finds one more tele in the same map:
https://github.com/ddnet/ddnet/assets/20344300/49dc9ed3-d1f6-43db-a80a-9ca71d86b6b2
Also the performance should be much better. Since now the wor...void framebuffer_size_callback(GLFWwindow *window, int width, int height) {
glViewport(0, 0, width, height);
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
glOrtho(0, width, height, 0, -1, 1);
glMatrixMode(GL_MODELVIEW);
}
void framebuffer_size_callback(GLFWwindow *window, int width, int height) {
glViewport(0, 0, width, height);
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
glOrtho(0, width, height, 0, -1, 1);
glMatrixMode(GL_MODELVIEW);
}
void framebuffer_size_callback(GLFWwindow *window, int width, int height) {
glViewport(0, 0, width, height);
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
glOrtho(0, width, height, 0, -1, 1);
glMatrixMode(GL_MODELVIEW);
}
void framebuffer_size_callback(GLFWwindow *window, int width, int height) {
glViewport(0, 0, width, height);
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
glOrtho(0, width, height, 0, -1, 1);
glMatrixMode(GL_MODELVIEW);
}
grep -v --line-buffered "stun request"
to the command line? .text
.file "LLVMDialectModule"
.globl main
.p2align 4, 0x90
.type main,@function
main:
subq $24, %rsp
movabsq $8031924123371070824, %rax
leaq 8(%rsp), %rdi
movq %rax, 8(%rsp)
movl $560229490, 16(%rsp)
movb $0, 20(%rsp)
callq puts@PLT
xorl %eax, %eax
addq $24, %rsp
retq
.Lfunc_end0:
.size main, .Lfunc_end0-main
.section ".note.GNU-stack","",@progbits
make clean
I still think Makefile is better than cmake lol