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 2019-09-28 00:00:00Z and 2019-09-29 00:00:00Z
GitHub Gist: instantly share code, notes, and snippets.
11:16
I worked a little on getting a cleanly integrating plugin system for teeworlds, kinda hit a roadblock with not knowing how to translate the macro call before it runs through the actual compiler preprocessor
1
2
11:17
The script above takes in a source file, and generated the required hook variables and the required registering functions
11:17
s#generated#generates#
11:19
I did it like this so as to not limit developers to only c++, but I'm kinda regretting that decision and thinking of doing an abstract class based approach instead
11:22
even after that @Deleted User's words kinda make me feel like not doing a plugin system at all but to make a framework to let people modify the actual source itself, but that I have no good approach for
xush had this funny approach of injecting code into the binary xD search the correct places and then it would also be version and even sourcecode independent
Well it does not have to be mysql... Sqlite would be perfect for something like this
But yeah... Something as simple as the file scoring is still useful
Any one on debian10? @jao ? And got a fix for the graphics bug when tabbing back into ddnet after latest debian update. Resolution gets worse and it tabs in and out 3 times.
Previously, this was only doable with frame-perfect input if you were
going to get frozen again the next tick. Now, you only have to hold your
hammer to immediately hammer once you get unfrozen.
This fixes that "deepfly" (flying with deep-frozen dummy, binding both
main and dummy tee hammers onto the same key) does not only work for
good connection.