summaryrefslogtreecommitdiff
path: root/src/koopatlas/mapdata.cpp
diff options
context:
space:
mode:
authorColin Noga <Tempus@chronometry.ca>2012-07-19 02:55:17 -0500
committerColin Noga <Tempus@chronometry.ca>2012-07-19 02:55:17 -0500
commitc6893153b5e4772baee92dae71613ea367837188 (patch)
treefd8393f383d8089db56a8cfedab5446d77e9d605 /src/koopatlas/mapdata.cpp
parent5f03da589c0d0eb22e73993198a709ddb95f2960 (diff)
downloadkamek-c6893153b5e4772baee92dae71613ea367837188.tar.gz
kamek-c6893153b5e4772baee92dae71613ea367837188.zip
updates to HUD and commenting out of some spec changes
Diffstat (limited to '')
-rw-r--r--src/koopatlas/mapdata.cpp32
1 files changed, 17 insertions, 15 deletions
diff --git a/src/koopatlas/mapdata.cpp b/src/koopatlas/mapdata.cpp
index 524fb4f..1fb8eb6 100644
--- a/src/koopatlas/mapdata.cpp
+++ b/src/koopatlas/mapdata.cpp
@@ -143,25 +143,27 @@ void dKPMapData_c::fixup() {
if (node->type == dKPNode_s::CHANGE)
fixRef(node->destMap);
- else if (node->type == dKPNode_s::LEVEL) {
- break;
- node->allocator.link(-1, GameHeaps[0], 0, 0x20);
+ // FORWARDS COMPATIBILITY:
+ // else if (node->type == dKPNode_s::LEVEL) {
+ // break;
- nw4r::g3d::ResFile rf(nodeLoader.buffer);
- rf.CheckRevision();
- rf.Init();
- rf.Bind(rf);
+ // node->allocator.link(-1, GameHeaps[0], 0, 0x20);
- nw4r::g3d::ResMdl mdl = rf.GetResMdl("cobCourse");
- nw4r::g3d::ResAnmVis anmRes = rf.GetResAnmVis("cobCourse");
+ // nw4r::g3d::ResFile rf(nodeLoader.buffer);
+ // rf.CheckRevision();
+ // rf.Init();
+ // rf.Bind(rf);
- node->model.setup(mdl, &node->allocator, 0x224, 1, 0);
- node->color.setup(mdl, anmRes, &node->allocator, 0);
- node->color.bind(&node->model, anmRes, 0);
- node->model.bindAnim(&node->color, 0.0f);
- SetupTextures_MapObj(&node->model, 0);
- }
+ // nw4r::g3d::ResMdl mdl = rf.GetResMdl("cobCourse");
+ // nw4r::g3d::ResAnmVis anmRes = rf.GetResAnmVis("cobCourse");
+
+ // node->model.setup(mdl, &node->allocator, 0x224, 1, 0);
+ // node->color.setup(mdl, anmRes, &node->allocator, 0);
+ // node->color.bind(&node->model, anmRes, 0);
+ // node->model.bindAnim(&node->color, 0.0f);
+ // SetupTextures_MapObj(&node->model, 0);
+ // }
}
break;
}