Skip to content

Postal Worker 08

I mentioned to Beetlefeet at lunch today that I really need to go through the AirPlay documentation to make sure I’m aware of everything that’s there, because up until now I’ve only referenced it on a need-to-know basis. Well, that pretty much sums up how I’ve spent my two hours tonight. I started by putting the final spit-and-polish on the main game loop, before skimming through the documentation, top-to-bottom, and quickly hacking out little test scenarios when things didn’t make sense, or sounded interesting. All that should come in useful over the next few weeks.

I finished off the night by stubbing out the rest of the Context Manager (which I’m now calling the Game State Manager). I should be able to finish off the bulk of that tomorrow. I expect the trickiest part will be investigating how to maintain a stack of Contexts, and how to retrieve them by name. AirPlay SDK has an Array type and a fast string hashing implementation to enable that kind of thing, and recommends not to use the STL. So a simple hash map may be a bit more work, and more of a lower level, than normal. Got to make sure I get it right!

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*