View Single Post
Old 30-04-13, 18:57   #26
TeslaRus
Member
 
TeslaRus's Avatar
 
Joined: 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 ):
Code:
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