Thursday, 6 January 2011

Better Validation

Tonight's chunk of work was first to get titles for each scene set up and displayed. This was pretty simple so I then went though my TODO comments in the engine code. These consisted entirely of validation checks my data parsing code could do, I added them in. I had the data structures for the mark up language in place so it was really an exercise in data structure walking. I added checks like an option can only have one goto actions, I also syntax checked all the actions and conditions.

I could do much more analysis on the data structures but for now the benefit is not that great as the complexity of the story is not so great to gain much from doing it. The downside is it would cost me time.

With all this in place I am now going to spend some time fleshing out all the text for the story.

No comments:

Post a Comment