WowModelViewApp::OnInit()
加載配置: WowModelViewApp::LoadSettings()
初始化主界面ModelViewer::ModelViewer()
初始化圖形, 載入MPQModelViewer::Init(), 得到文件列表加入樹控件裏
初始化數據庫ModelViewer::InitDatabase()
瀏覽模型:
ModelViewer::OnTreeSelect(wxTreeEvent &event)
清除原有的資源ModelCanvas::clearAttachments(),TextureManager::clear()
加載模型ModelViewer::LoadModel(const wxString fn)
加載角色模型ModelCanvas::LoadCharModel(const char *fn)
創建壹個Model對象Model::Model(std::string name, bool forceAnim)
初始化動畫模型Model::initAnimated(MPQFile &f)
初始化模型資源Model::initCommon(MPQFile &f)
頂點, 法線, 包圍盒, 紋理, 附件, 顏色, 透明度, 索引, 渲染批次排序
骨骼, 頂點/紋理緩沖, 粒子系統, 條帶, 攝像機, 燈光, 動作
重置可見區域ModelCanvas::ResetView()
添加載入的模型Attachment::addChild(Displayable *disp, int id, int slot, float scale, float rot, Vec3D pos)
更新主界面(菜單, 角色控制面板)
更新模型控制面板ModelControl::UpdateModel(Attachment *a)
更新動畫控制面板AnimControl::UpdateModel(Model *m)