I haven't got to the lock file yet. I'll power through and see what happens. Thanks.
Have you started using the lock file yet? In later episodes we use a lock file to ensure that th…
Including %random% in the -PDB option results in the same behaviour. And as far I can see my buil…
Pent —
I'm using VS2015 and it seems to work fine for me. Make sure your build.bat is correct!
I'm not aware of anything that would prevent dll reloading to work in VS2015. Afaik it should wor…
Hello,
Enjoying the series so far, early days though. It's been good going up until today. I jus…
In my experience, thread affinity masking is pretty safe to ship in game code. YMMV, of course..…
Yes, your concerns for shipping code are valid.
You could first get which thread is running on a…
Ok so I used SetThreadAffinityMask to limit my thread to only one core and now the results of rdt…
My cpu is Haswell i7-5930k.
Thanks for the suggestions, I'll try some of these things and see wha…
There are a few oddities in TSC that can depend on your CPU architecture and also whether you hav…
I also saw some inconsistencies with my CPU (even negative timespans B) ). What helped me was to…
Hi, I was wondering if anyone could help me understand this.
I'm using __rdtsc to profile my gam…
Brad B —
I'm using Visual Studio 2015 for the project. Just had this old version in the archives.
Wow that really is old school! The oldest version I would go would have been VC6 but VC1.52 is so…
Brad B —
I am enjoying this series that Casey has done. Takes me back to the old days. I haven't programme…
Thanks guys for your detailed response
I guess I need to see how Casey implemented it first on t…
Have you guys heard of voltron? https://github.com/snare/voltron
It's not exactly a debugger but …
On Day 32 and I must have missed this... is there a particular reason that Casey uses an int32+fl…
Hmm. I think I misread the post. I thought the idea was to mimic a game loop that uses PeekMessag…
Why would you want non-empty event queue, if you are writing text editor?
Empty queue makes proce…
OK so I thought that was _this_ weekend. Turns out it's _next_ weekend. Sorry for announcing it…
I'm sure this has been mentioned some place or forum but I've never found it.
You can create you…
Yep, everything that @mmozeiko said.
The only thing I'll add is the in the typically event-drive…
Yes, in current state all functions (except dll exported) can be static or inline. If some are no…
I see, thanks for that.
Why are some functions non static though? Shouldn't every function in t…
If you don't mark function static then compiler needs to put it in special symbol table for linke…
Sorry if this has been asked before but I don't understand why some functions are marked as inter…
These are beautiful days.
All Hail the BlackMagic of WebDev!