Figured I might as well share something.. so here we go:
The wow data management library (incomplete)
What it has:
Streams from MPQ's directly
Abstract DBC class to write wrappers for specific DBC's
Included wrappers:
AreaTable.dbc
Map.dbc
More to come soon (like Spells.dbc)
Terrain Manager:
Loads up ADT files (incomplete. missing 3.0 water and a few other chunks)
Provides API for figuring out map names
Provides API for figuring out the ground level (Z) axis for a given X/Y coordinate. (Good if you want to stay under it
Water height needs to be fixed for 3.0
ADT File parser (still need some updates/additions but its working in a basic form)
WMO Parsers
ToDo:
- M2 parser
More DBC wrappers (too many to list)
Fixing everything for 3.0 compatibility
Improve streaming from MPQ's
As always, lots more i can't think of to list :P
Work in progress obviously, but I figured some of you might find it useful. Never know when you need to dig something out of the MPQ's to reference.
SVN can be found here:
wowdatamanager - Revision 4: /trunk
The code is GPL3'd so use pretty much as you wish.