Reply To: MWEdit

Home Forums Projects MWEdit Reply To: MWEdit

#3891

I’m currently working on the several arrays in esm/EsmBase.cpp, reformatting them so they’re a lot more readable (they’re large so it’s taking a bit: the file is going to be close to 3,000 lines of code once the arrays are reformatted), and they’re going to need some comments to describe what each field is for once we figure that out. The first field is obvious: it’s the text description but the next ones are unclear. For the animation array, for instance, it’s just a bunch of hex without any comments to tell us what the addresses are for. Each animation record has two hex fields associated with it and they’re often different so inference isn’t helping much.

It’s also possible that some of these arrays would do better as maps or sets since they’re key-value pairs but we can look into that once we have a better handle on how they’re used.