Cockpit of the Cessna 172 Skyhawk
aircraft cockpit controls and instruments
As far as code goes, I finished the basic state switching code. The current state is switched by returning an input object for the new state from the current state's update function. This input object is used as the input for the new state, allowing the previous state to pass on information such as the character the player selected, open network connections, Direct3D device, etc.
I also finished the window class wrapper. I am actually wondering why I have the registration code inside of the wrapper's constructor rather than having external code directly alter the wrapped class atom... I suspect this is RAII, but I do not know for sure. I plan on researching RAII again tomorrow (I keep forgetting the exact definition of that term).
[size="1"]Reposted from http://invisiblegdev.blogspot.com/