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.
Jim R. Didriksen
Sorry for replying to such a old post but I believe I have the plugin-less answer so I'll add it f…
»
Teddy
I do not see 128 as "being halfway." On the Filmicgames image, the fields on the side are half bl…
»
Edgar Gomez
welp i figured it out. a '.' was a ','..... i need gasses
»
Edgar Gomez
Hello, when i try to run build.bat nothing happens.
»
Mārtiņš Možeiko
EDIT: What I wrote here before is wrong. it won't work due to game dll reloading. You need such "c…
»
Mox
I got something working with minimal changes to my counter code. But the DebugTable and platform A…
»
Mārtiņš Možeiko
You never ever should trust Intellisense for warnings/errors. Always compile and then see what com…
»
Bryan Taylor
Visual Studio just stole 2 hours of my life and I am going to rage about that a bit. Hopefully it…
»
Mārtiņš Možeiko
There would be no need to store TranslationUnit member in debug_event structure in RecordDebugEven…
»
Clem
Hey thanks for taking the time to answer! That's a good point. I have a general idea of what I wa…
»
Mox
Not really a shocker that gcc is better at this than msvc :P I can't really picture yet how hashin…
»
Mārtiņš Možeiko
Yes it will. But there are more advantages for hash - no need to deal with translation unit index…
»
Mox
Wouldn't this be valid for my "real" counter code too? What is the reason for choosing a hash tab…
»
ZenSoturi
I have been in that position where I try look for information on what is the best way to do someth…
»
Mārtiņš Možeiko
To solve TRANSLATION_UNIT_INDEX problem? Yes, that should solve that. Another options is to use it…
»
Timothy McCarthy
yes. The theory is that the compiler will save time by not opening the file and then detecting the…
»
skeeto
I making the inline function static would also solve the problem. It would prevent the linker fro…
»
Mārtiņš Možeiko
Same with hash solution. You do all this (chain/bucket traversal, collision resolving) inside "Ha…
»
Casey Muratori
Once you introduce a static, it doesn't matter how expensive the lookup is. That's the key thing.…
»
Clem
Hello everyone. I'm currently working on some game engine and have been scratching my head quite a…
»
»
Mārtiņš Možeiko
Oh, you're right. They are using WM_DEVICECHANGE window message to receive callback if there is de…
»
Johannes Norneby
Thanks for the tip! It looks however like XInputGetCapabilities() is roughly the same expense, unl…
»
Mox
Yes, my idea was that this eliminates the actual problem of the translation units that the origina…
»
Mārtiņš Možeiko
Yes, you are right. It is know issue with XInput, that polling disconnected controllers takes sign…
»
Johannes Norneby
I have been doing my own experiments using __rdtsc() after learning about it on HMH (thanks Casey!…
»
Mārtiņš Možeiko
My understanding why Casey want's to avoid COUNTER is because it requires using TRANSLATION_UNIT_I…
»
Oliver Marsh
Don't worry, I should have watched the next video. :blush:
»
Mox
With Casey stating he is hesitant to keep using the COUNTER to keep track of the DebugRecords, I w…
»
Dumitru Frunza
Awesome!! Love it! That episode is my favorite :)
»