Monday, March 06, 2006

Poorly named animals

I've been pushing my new world generation into my main code.
It's actually gone suprisingly smoothly just dropping the classes in adding a superclass and changing one line of code.

Unfortunately tile generation seems to have been broken at some time in the past - it also looks like it needs a bit of rewriting anyway.

Oh and VS.net's class designer is pretty good for documenting how code works. It's extremely rough though (its seems very hard to delete things or get rid of inheritance arrows you don't want because they're just clutter and not relevant to whats being explained), and it's quite slow. But because it's linked into the code it's theortically always up to date.

Also, I'm curious if there are any premade virtual file systems coded up in C#? I want one but don't want to write it.

2 comments:

Scott Stubbs said...

Interesting, I spent a day last week looking for a virtual file system in C#. Although my pursuit was less than satisfying, a few things led to an experiment with p/invoke, interop services, and the structured storage COM interfaces. Granted, it’s not exactly managed C# code, but the results quite frankly exceeded my expectations. I’m currently in the process of cleaning up the code to work more like the .NET Framework File and Stream classes in my current project. I also ran across the new System.IO.Packaging namespace in Microsoft’s Windows SDK for Vista (a.k.a. WinFX) which looks promising.

Dan said...

Thanks for the tips. I'll have to have a look a COM interfaces.