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…
mmozeiko Oh, I see what is the issue - CS_HREDRAW and CS_VREDRAW flags for WNDCLASS style member.…
Oh, I see what is the issue - CS_HREDRAW and CS_VREDRAW flags for WNDCLASS style member. These fl…
mmozeiko On Windows moving or resizing window happens inside internal modal loop: https://msdn.mi…
Okay, that's good to hear. Yea, must be some strange bug. I'm on Windows 10, so I thought maybe t…
On Windows moving or resizing window happens inside internal modal loop: https://msdn.microsoft.c…
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…
Hi everyone,
I'm current on Day 4 and I ran into an issue. Sorry if I am posting in the wrong f…
The trick is this is an engine, where users can create their own objects, so there is not a finit…
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…
For rcast you could do something like *((t*)((void*)(&(v))))
it only works on lvalues but m…
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…
There is OSX port available here: https://gist.github.com/nil-ableton/80294aad65abdf9e1dc764e12f4…
AM —
Apologies if this has been posted before. I just wanted to share the code for making Casey's CTIM…
bytesToWrite is initialized like this
1DWORD bytesTowrite = (DWORD)win32State->totalSize;
so…
GreenLightning I like the function signature macro which I learned from Casey's Working on The Wi…
I like the function signature macro which I learned from Casey's Working on The Witness blog seri…
The KISS engine has some fun macros for debugging and testing code (using code from "Learn C the …
I am working on a text adventure engine, and there are little grammar things that come up all the…
cmuratori I am skeptical that these computed gotos are necessary to get the "improved" performanc…
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…