Cleanup/refactoring of tags.cc. No functional changes. I've been

running with and without this patch applied for about a week, and none of my saves have broken, so I'm ready to commit it.

  • Tag system no longer uses one big (shared!) global buffer. This was the original impetus behind the change…
  • Change every use of tagHeader into reader or writer (touches a lot).
  • Split tagHeader into two classes: reader and writer. Turns out every place that used tagHeader only cared about reading or writing and not about tags at all. There was nothing left in tagHeader, so it disappeared along with a bunch of grotty special-case code.
  • Not done: merge the files.cc read/writeThing code with the tags.cc marshall/unmarshallThing code. This patch is big enough already.

git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3685 c06c8d41-db1a-0410-9941-cceddc491573

Created by  pauldubois  on March 17, 2008
52J7CYVAW3QCUEWA5OKWPDGOP6JZR5NJSE3JDLZFBCR7B6LH5ASAC
Dependencies
In channels
main
Change contents