[Plib-cvs] plib/src/ssg ssgLoadMDL.cxx,1.45,1.46
Brought to you by:
sjbaker
From: Wolfram K. <wol...@us...> - 2003-12-05 18:14:05
|
Update of /cvsroot/plib/plib/src/ssg In directory sc8-pr-cvs1:/tmp/cvs-serv30949 Modified Files: ssgLoadMDL.cxx Log Message: Started making it CFS2 compatible Index: ssgLoadMDL.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/ssg/ssgLoadMDL.cxx,v retrieving revision 1.45 retrieving revision 1.46 diff -u -d -r1.45 -r1.46 --- ssgLoadMDL.cxx 2 Jun 2003 21:03:50 -0000 1.45 +++ ssgLoadMDL.cxx 5 Dec 2003 18:14:01 -0000 1.46 @@ -116,6 +116,14 @@ #endif }*/ +#ifdef DEBUG +FILE *wkfp; + +#define PRINT_STRUCTURE(a, b) fprintf(wkfp, a, b); +#define PRINT_STRUCTURE1(a ) fprintf(wkfp, a); + +#endif + [...178 lines suppressed...] + case 0xB4: // TextureSize + ulEndianReadLittle32(fp); // float + break; + case 0xBD: // BGL_END / EndVersion + break; + default: // Unknown opcode { if (opcode < 256) @@ -1474,7 +1577,9 @@ } fclose(fp); - +#ifdef DEBUG + fclose(wkfp); +#endif delete curr_vtx_; delete curr_norm_; |