On a recent pre-stream (day 204) Casey was asked about gameplay code architecture, and mentioned t…
Thanks alot. The problem is solved.
Since the functions are members of a class, they need to be called on an instance of the class (i.…
Hi there... It seems after trying different combinations and searching, I found out how to perform…
Hi there... I don't seem to figure out the correct syntax for calling a function that has its poin…
I think I tracked down the issue. With a game pad connected... In handmade.cpp... } //... } [/cod…
Yes. The joystick SetCooperativeLevel uses the DISCL_EXCLUSIVE flag. So I tried DISCL_NONEXCLUSIVE…
Makes sense. I'm not worried as much as surprised. I was curious about time spent "sleeping." I wa…
Thanks. It is very useful. I love Open Source command line tools.
Oh, I misunderstood what you were telling. I though game code was not processing input correctly (…
I wouldn't worry about this Sleep code much. Around day 19x when working on debug UI Casey removed…
CppCon 2014: Herb Sutter "Back to the Basics! Essentials of Modern C++ Style" :silly:
Right. There is also a MS note someplace saying that you should not keep changing it.tim
Will there more than one call to ::Sleep? If there is only one call than it can be bracketed by b…
AFAIK, timeBeginPeriod affects the granularity of ::Sleep(). I'm only at day 19 right now so this …
As an experiment, I wanted to know how much time is spent "sleeping". I removed the sleep code //…
For completeness, I have a test application that interfaces to the Wingman using DirectInput. That…
Mostly the next stream (017), it looks like. The input variables are expanded and the keyboard and…
With no breakpoints set the keyboard doesn't respond unless the gamepad (Logitech Wingman) is disc…
Don't remember exactly when, but this is fixed later.
If keyboard input get captured and passed right to place where it is processed, then what exactly …
Check this one....A simple sample Chris
Another one that has me stumped. I got the keyboard changes for D17 working. I was feeling pretty …
A Faster Than Light (FTL)-inspired roguelike that focuses on running your crew, exploring, and cr…
If I remember correctly I was doing something similar using two stacks. I mean you always pop from…
If this is covered later I'll be happy with a reply of "Patience, Grasshopper." What prevents the …
Late to the party so... Is the for loop index correctly initialized? The keyboard goes to controll…
From Anton Gerdelan blog : Why Modern Software Sucks So Badly The reason all of the modern choice…
re: GetProcAddresss - right. I was a bit careless pasting the code in. I've been using Paul DiLasc…