main() {
obj = new adt();
// setup some helpers
check = new adtChecker(obj);
adtCoordHelper cordh = new adtCoordHelper(obj);
adtObjHelper objh = new adtObjHelper(obj);
// Add some Textures
int texID = obj.mtex.addString("Tileset\\SilverPine\\SilverPineDirt.blp");
obj.mtex.addString("Tileset\\Elwynn\\ElwynnFlowerBase.blp");
// add a dd
int ddID = obj.mmdx.addString("world\\Kalimdor\\Ashenvale\\ActiveDoodads\\MannarothSpear\\AshenvaleMannarothSpear.m2");
// add a wmo
int wmoID = obj.mwmo.addString("world\\wmo\\azeroth\\buildings\\guildhouses\\guildhouseb.wmo");
obj.mwmo.addString("World\\wmo\\Dungeon\\LD_ShadowFang\\LD_ShadowFang.wmo");
// set our coordinates
cordh.calcCoordinates(49, 31, 60F, texID);
cordh.loadHeightMap("./images/hmap.jpg", 0.5F);
// place a DD
objh.addDoodad(ddID, 96050, -9270F, 300F, 60.5F);
objh.addDoodad(ddID, 96051, -9260F, 300F, 60.5F);
objh.addDoodad(ddID, 96052, -9280F, 300F, 60.5F);