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.
Casey Muratori
It's always a judgement call and it depends a lot on the target platform. If we do want to port to…
»
Casey Muratori
Judging by the log you posted, I would suspect that the lock file fixes it.Casey
»
Gianluca Alloisio
I think the reason is that all the calculations happens on the float, that is twice as fast as dou…
»
Eoin Bradley
I haven't got to the lock file yet. I'll power through and see what happens. Thanks.
»
Casey Muratori
Have you started using the lock file yet? In later episodes we use a lock file to ensure that the…
»
Eoin Bradley
Including %random% in the -PDB option results in the same behaviour. And as far I can see my build…
»
Pent
I'm using VS2015 and it seems to work fine for me. Make sure your build.bat is correct!
»
Mārtiņš Možeiko
I'm not aware of anything that would prevent dll reloading to work in VS2015. Afaik it should work…
»
Eoin Bradley
Hello, Enjoying the series so far, early days though. It's been good going up until today. I just …
»
Casey Muratori
In my experience, thread affinity masking is pretty safe to ship in game code. YMMV, of course...…
»
Mārtiņš Možeiko
Yes, your concerns for shipping code are valid. You could first get which thread is running on and…
»
Matt Hartley
Ok so I used SetThreadAffinityMask to limit my thread to only one core and now the results of rdts…
»
Matt Hartley
My cpu is Haswell i7-5930k. Thanks for the suggestions, I'll try some of these things and see what…
»
Neil Blakey-Milner
There are a few oddities in TSC that can depend on your CPU architecture and also whether you have…
»
Marc Costa
I also saw some inconsistencies with my CPU (even negative timespans B) ). What helped me was to …
»
Matt Hartley
Hi, I was wondering if anyone could help me understand this. I'm using __rdtsc to profile my game …
»
Brad B
I'm using Visual Studio 2015 for the project. Just had this old version in the archives.
»
Ginger Bill
Wow that really is old school! The oldest version I would go would have been VC6 but VC1.52 is som…
»
Brad B
I am enjoying this series that Casey has done. Takes me back to the old days. I haven't programmed…
»
ernesernesto
Thanks guys for your detailed response I guess I need to see how Casey implemented it first on tha…
»
Edrick Hong Zhi Xuan
Have you guys heard of voltron? It's not exactly a debugger but it lets you create views of gdb/l…
»
co.nl.on
On Day 32 and I must have missed this... is there a particular reason that Casey uses an int32+flo…
»
Timothy McCarthy
Hmm. I think I misread the post. I thought the idea was to mimic a game loop that uses PeekMessage…
»
Mārtiņš Možeiko
Why would you want non-empty event queue, if you are writing text editor? Empty queue makes proces…
»
Casey Muratori
OK so I thought that was this weekend. Turns out it's next weekend. Sorry for announcing it wron…
»
Timothy McCarthy
I'm sure this has been mentioned some place or forum but I've never found it. You can create your …
»
David Owens II
Yep, everything that @mmozeiko said. The only thing I'll add is the in the typically event-driven …
»
Mārtiņš Možeiko
Yes, in current state all functions (except dll exported) can be static or inline. If some are not…
»
bimbinel
I see, thanks for that. Why are some functions non static though? Shouldn't every function in the …
»
Mārtiņš Možeiko
If you don't mark function static then compiler needs to put it in special symbol table for linker…
»