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.
Flyingsand
So here's a little update on my progress so far. The main bit of optimization I've done is to m…
»
Caleb
ratchetfreak But reinterpret_cast as defined by C++ must be able to roundtrip as long as all the…
»
Banehallow
mmozeiko Oh, I see what is the issue - CS_HREDRAW and CS_VREDRAW flags for WNDCLASS style member.…
»
Mārtiņš Možeiko
Oh, I see what is the issue - CS_HREDRAW and CS_VREDRAW flags for WNDCLASS style member. These fl…
»
Banehallow
mmozeiko On Windows moving or resizing window happens inside internal modal loop: https://msdn.mi…
»
Banehallow
Okay, that's good to hear. Yea, must be some strange bug. I'm on Windows 10, so I thought maybe t…
»
Mārtiņš Možeiko
On Windows moving or resizing window happens inside internal modal loop: https://msdn.microsoft.c…
»
Mārtiņš Možeiko
ratchetfreak, reinterpret_cast cannot be done from int to float (and back). One of types must be …
»
Connor
I don't think that this is a problem with the code. The same thing had me confused but when I cop…
»
Banehallow
Hi everyone, I'm current on Day 4 and I ran into an issue. Sorry if I am posting in the wrong f…
»
Jack Mott
The trick is this is an engine, where users can create their own objects, so there is not a finit…
»
ratchetfreak
cubercaleb i am not sure you understand the point of reinterpret_cast (or the problem this is t…
»
Caleb
ratchetfreak For rcast you could do something like *((t*)((void*)(&(v)))) i am not sure you…
»
ratchetfreak
For rcast you could do something like *((t*)((void*)(&(v)))) it only works on lvalues but m…
»
strangezak
Debugging is half of the fun :)
»
Andre
Actually, the rules for things like selecting proper articles or suffixes in English, or any spok…
»
AM
I found a bug in CTIME, which only hits when you run ctime -stats on a .ctm file on which a singl…
»
Caleb
Since clang/gcc like to complain about c style casting at the highest warning levels I have these…
»
AM
Hah, good to know, sorry for the noise. I could not find a search function to see if this was dis…
»
Mārtiņš Možeiko
There is OSX port available here: https://gist.github.com/nil-ableton/80294aad65abdf9e1dc764e12f4…
»
AM
»
AM
Apologies if this has been posted before. I just wanted to share the code for making Casey's CTIM…
»
Simon Anciaux
bytesToWrite is initialized like this 1DWORD bytesTowrite = (DWORD)win32State->totalSize; so…
»
ratchetfreak
GreenLightning I like the function signature macro which I learned from Casey's Working on The Wi…
»
GreenLightning
I like the function signature macro which I learned from Casey's Working on The Witness blog seri…
»
Timothy Wright
The KISS engine has some fun macros for debugging and testing code (using code from "Learn C the …
»
Jack Mott
I am working on a text adventure engine, and there are little grammar things that come up all the…
»
ratchetfreak
cmuratori I am skeptical that these computed gotos are necessary to get the "improved" performanc…
»
Ginger Bill
Here are some of my favourites: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2…
»
rizoma
you forgot to paste the win32_handmade.h file, so I can't check but.. You should try this: chang…
»