I think it's more likely that every entity will have its own position and if it is tied to anothe…
Oh! Sorry Martins! I feel dumb. You covered this early on and I forgot. My answers are right t…
_ftol2 and _ftol2_sse functions have their own non-standard calling convention. Argument in ST(0)…
I'm not sure if this topic has been discussed in an episode already but I was wondering if the ga…
Hello Martins!
Its me again. Stuck on another floating point issue in x86 32 bit with elim…
It's always a judgement call and it depends a lot on the target platform.
If we _do_ want to por…
Judging by the log you posted, I would suspect that the lock file fixes it.
- Casey
I think the reason is that all the calculations happens on the float, that is twice as fast as do…
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…