We are currently in the process of converting the website to the new design. Some pages, like this one, are still broken. We appreciate your patience.
Casey Muratori
Yes, this was a day when sadly we lost the source recording :( It had to be recovered off of Twit…
»
xel
Hey all, Figured out a quick dead simple way to get custom fonts working in 4coder. Just include y…
»
Andrew Chronister
You can view subtraction as being the composition of addition and multiplication by -1, i.e. 1 - …
»
Bryan Taylor
-2xu = -1*2xu It's just pulling out a constant multiplier, which comes out in front of a summatio…
»
Caleb
Since subtraction is anticommutative I don't think that you can make that jump. But I am not entir…
»
Bryan Taylor
Okay, so I re-derived the formula and you are correct, I got it wrong. Here's the correct deriva…
»
Caleb
Those two formulas are very different and produce different results as far as can tell, so no they…
»
Brian
Greetings, Downloading the Latest Source Code (from the link Casey gives us), which is labeled as …
»
Bryan Taylor
At this point, what optimizations you make is going to depend on usage. A list holding integers …
»
Caleb
malloc does 16 byte alignmentAs I said earlier, modern versions of malloc align allocations by 16 …
»
Mārtiņš Možeiko
Your pdb for executable is fine, because it shows Line 944 for DoNextWorkEntry function. Line numb…
»
xcodedave
Another quick update - I haven't settled on how I'll write the GUI stuff yet, though for now I've…
»
ernes
Hello guys, Hope it's alright to ask this kind of question here. I've recently moved to another ma…
»
Flyingsand
So here's a little update on my progress so far. The main bit of optimization I've done is to make…
»
Caleb
rcast(float32, rcast(int32, myFloat32)) under the original C definition will not preserve the flo…
»
Banehallow
Wow. I just rewatched the video again, and at 43:00 I noticed that Casey does not have anything f…
»
Mārtiņš Možeiko
Oh, I see what is the issue - CS_HREDRAW and CS_VREDRAW flags for WNDCLASS style member. These fla…
»
Banehallow
DefWindowProc doesn't return until resize/move operation is done. That means your game code in Wi…
»
Banehallow
Okay, that's good to hear. Yea, must be some strange bug. I'm on Windows 10, so I thought maybe th…
»
Mārtiņš Možeiko
On Windows moving or resizing window happens inside internal modal loop: DefWindowProc doesn't re…
»
Mārtiņš Možeiko
ratchetfreak, reinterpret_cast cannot be done from int to float (and back). One of types must be p…
»
Connor
I don't think that this is a problem with the code. The same thing had me confused but when I copi…
»
Banehallow
Hi everyone, I'm current on Day 4 and I ran into an issue. Sorry if I am posting in the wrong foru…
»
Jack Mott
The trick is this is an engine, where users can create their own objects, so there is not a finite…
»
ratchetfreak
i am not sure you understand the point of reinterpret_cast (or the problem this is trying to solv…
»
Caleb
i am not sure you understand the point of reinterpret_cast (or the problem this is trying to solv…
»
ratchetfreak
For rcast you could do something like ((t)((void*)(&(v)))) it only works on lvalues but makes sure…
»
strangezak
Debugging is half of the fun :)
»
Andre
Actually, the rules for things like selecting proper articles or suffixes in English, or any spoke…
»
AM
I found a bug in CTIME, which only hits when you run ctime -stats on a .ctm file on which a single…
»