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.