View Single Post
Old 30-04-13, 18:57   #26
TeslaRus's Avatar
Join Date: Jan 2013
Posts: 195
Default Challenge complete (FY)

I fix kayak.tr4 loading. Level works! But I did not use extended data. In l_tr1.cpp I use this stick (alligator looks like a baggage ):
if ((moveable.mesh_tree_index % 4) != 0)
            moveable.mesh_tree_index += 4 - moveable.mesh_tree_index % 4;
            //Sys_Error("read_tr_moveable: mesh_tree_index");
In tree mesh matrix calculation I fix stack using (make it safely). I will upload new version to SF with a hour.
TeslaRus is offline   Reply With Quote