I'm writing a fullscreen DirectDraw game that uses only DirectInput for all the mouse
and keyboard input and I had a doubt about
the game loop. I used the basic Input(),
Process(), Output() functions to update my
surface on each pass on the while(1) loop
but I don't know if I need to place the
Win32 message processing functions like
if(PeekMessage(...))
if(!GetMessage())
return msg.wParam;
Translate
Dispatch
I don't know because, to quit, I use the
PostQuitMessage function. Will it be
processed if I don't use the Win32 message
functions? Will the game quit? Is there any
other way to do it so I don't need to use
these functions?