2006-03-17 12:22:32 UTC
Hi
A little bit of info about Ref entries:
they're built from name, and a vector3 ( three floats). Patch follows.
diff -u -w -b -i -r1.1.1.1 FileViewType.cpp
--- FileViewType.cpp 17 Feb 2005 23:17:48 -0000 1.1.1.1
+++ FileViewType.cpp 17 Mar 2006 10:16:44 -0000
@@ -605,7 +605,6 @@
switch(eThisSection)
{
case SECTION_LOD:
- case SECTION_REF:
case SECTION_ITEM:
case SECTION_BODYPALETTE: // costume.bin
case SECTION_SKINPALETTE: // costume.bin
@@ -801,7 +800,10 @@
strFinal += GetString(pData, nPos, dwLength) + strEOL1;
strFinal += GetString(pData, nPos, dwLength);
break;
-
+ case SECTION_REF:
+ strFinal += GetString(pData, nPos, dwLength) + strEOL1;
+ strFinal += GetFloat(pData, nPos, dwLength) + ","+GetFloat(pData, nPos, dwLength) + ","+GetFloat(pData, nPos, dwLength);
+ break;
case SECTION_DEF: // geobin/object_library/*
strFinal += GetString(pData, nPos, dwLength) + strEOL1;
strFinal += GetString(pData, nPos, dwLength) + strEOL1;