HRose —
oh boy, Xlib is a can of worms. The fact that is pollutes the namespace with things like "Window",…
This should take care of a few more cases by replacing the enum with sparse indices that are gener…
Hi guys, How should I make an event loop for a game using Xlib on Linux? I have tried using as so…
Nice! That takes care of synchronizing indices with data when you erase an element in the middle …
An important part of testing the usability and showing that it's not just a toy project is to actu…
Hello, First of all, thank you so much for Remedy! I have not been programming c++ for long, so I …
HRose —
Since C99, you can include a "designator" in array initialization literials. Missing entries will…
What you do is you define a macro that makes itself a number of calls to functions that are not d…
Jens —
Save in particular is a bit tricky. Say you're editing with the hex view, you do a little edit her…
I haven't seen a mention of a technique called X-macros, which I use frequently, and which covers …
John —
That seems like a very well-thought and massive project. Hats off to you! I'm nowhere near the lev…
Yes, and you use function pointers instead of virtual calls so that data and actions are separate…
John —
Oh, I see it supports multiple types. That's pretty cool! Would you mind sharing some more info ab…
In my table-driven language (Basic inspired), you simply write like this using pipes to separate …
John —
I guess you're talking about something like this ("ID" is kind of the key of the record and you ac…
A collection of data entries. For table-driven programming, both rows and columns should be acces…
If anyone else stumbles across this I referenced the as it was more directly relevant to my code.
Thank you very much for the links. I will do some reading and see if I can get my controller worki…
Jens —
Everything seems to be working except that the lexer test crashes, but as it works I'm happy. It w…
Tables in C++ has always been quite ugly and error-prone with separate enums and arrays. Matching …
Linux kernel soure code: Shows exactly how to identify controllers, parse incoming HID packets, e…
Can anyone point me to a site where I can find HID information for the usb XBOX 360 controllers? B…
If you still need help with this, you might want to contact Allen directly on discord.
Artur —
No problem! I'm glad it was useful, learning how to compose in such a short time must be daunting.…
The problem arises because you want to restore contrast rather than preserve the washed out colors…
If you're using Visual Studio to run executable, then this was covered in Day 1:
You need to set the working directory in the visual studio project properties.In the solution expl…
Tsuns —
I made an account just to say thank you for doing this. I've wanted to understand font files for a…
Sounds very interesting, but I after reading what you wrote like 10 times, I still don't understa…