I wonder if some kind soul could spend some time and tell me where I went wrong with the live code editing. My looping works, but the state is never initialized to the captured game state when the L key is pressed. The game just repeats the input over and over. So if I press forward and move 30 pixels, instead of resetting the "player" to the default position, it keeps adding 30 to the previous value. I've been staring at my code and trying to compare to Caseys, but I just can't see what I'm doing wrong.
It appears that my game memory that I'm writing to the disk is full of 0s, however, the gameMemory struct passed to the game engine seems to have valid data in it. I'm sure it's something simple and I'll loudly bang my head on my desk once it's pointed out.
Handmade.cpp:
http://pastebin.com/ViRdE9U3
Handmade.h:
http://pastebin.com/rJXv2gYF
win32_handmade.cpp:
http://pastebin.com/DXGpA4e6