Casey doesn't read the chat while he's talking, and shame sounds mean. It would be better to say …
Max —
nvm, will do this on GitHub :lol:
Will update with more commands whenever I see we should add …
Sorry for the delay; Chapter 16 "Bits and Pieces" of Handmade Penguin is now up.
This is the lon…
So, I had an issue where my keyboard input wouldn't work, and after much looking back over the vi…
Furkan —
I guess i've found my answer. Intrinsics are built-in to compilers. This means which functions ar…
I know that Casey very deliberately does not call C.O.P. "refactoring" due to the OOP baggage tha…
Yes! I do this too, it works great. I've tried a few different workflows out. I'm probably most u…
My main objection to this technique is that it pretends that simulating the game is valuable even…
I believe WMI stuff for display configuration won't work on Windows XP (or won't work reliably). …
It's easy to get from WMI:
1
2$(Get-WmiObject Win32_DisplayConfiguration).DisplayFrequency
60
…
It's kind of hard to say without actually watching you program :) But yes, it sounds like you ma…
The problem we're trying to figure out is just that Windows is allowed to return "0 or 1" for tha…
Yes, the monitor refresh rate is a hard bound on how many frames per second you can show. If you…
I will start loading up official videos on Monday.
If there is sufficient interest I might do a l…
One of the viewers asked about having a constant physics time, and then just display snapshots fr…
oh yeah for c++ stuff you need more headers
Ian —
You're right - perhaps unknown is a better description than uninitialised. I just wanted to note …
Yesterday I wrote some test code that instead of updating the backbuffer memory directly, like HH…
Yes, I extracted and ran from the place where it was extracted to. The files are actually there i…
GetCaps DC, VREFRESH
gives 60 on my nachine which is correct.
Maybe I have misunderstood some…
This file should be in the zip package.
did you extract it all into one directory ?
(while preser…
schme You can actually see that Visual Studio is pretty slow in answering those WM_PAINT commands…
Even better! I'm really enjoying these new features.
You can actually see that Visual Studio is pretty slow in answering those WM_PAINT commands. Just…
With decltype, you can even save the typedef.
Just thought I'd share a C++11 thing you can do for the XInput stubs.
1
2
3
4
5typedef DWORD WIN…
For now I opted to do "the right thing": repaint in WM_PAINT and adjust the viewport in WM_SIZE. …
Hi
Sorry for my late reply. I have been sick lately and havent had the time to fully investigat…
Dejan —
schme I'll start.
Will the world burn if I don't redraw in WM_PAINT? Does it have bigger ramific…