Wednesday, April 14, 2004
« Another Night of Programming | Main | MSDN Security Event »

Hey, it finally feels like I made some progress!  I have never taken the time to really sit down and use the Xml objects built into the .NET framework.  It sounds asinine, I know, but honestly I have never had/found a need to use them.  I've used the DomDocument before in very limited ways in VB and Javascript, but never had broken down to use the .NET stuff.

Well, long story short, I got the ScenarioEditor utility to save and load my xml scenario files.  Plus they get validated on load against my schema file!  Hey, this is progress for me.  Previously, I would have saved the data to a binary file with my own proprietary data structure.  That would have been way to much for what I wanted to accomplish for such a small utility that didn't need such functionality.  I wanted scenarios to be creatable in tools such as Notepad.

I have yet to profile the code and go back over a few loose ends, but the utility is now in a functional state and ready to save scenarios for the game - that is goodness!  I'll get some screenshots posted shortly.

Name
E-mail
Home page

Comment (Some html is allowed: a@href@title, b, i, strike) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview