source: OGRE/trunk/ogrenew/Tools/LightwaveConverter/readme.linux @ 657

Revision 657, 1.0 KB checked in by mattausch, 19 years ago (diff)

added ogre dependencies and patched ogre sources

Line 
1
2$Id: readme.linux,v 1.1 2004/10/23 22:24:25 josullivan Exp $
3
4Linux changes
5=============
6"#pragma once" is deprecated, using GCC 3.x, so I've changed all occurances
7of those with "#ifndef _HEADER_H_ ... #endif"
8
9GNU libc does not have _splitpath() and _makepath() functions, so I've written
10some dirty hacks in lwo2mesh.cpp which use a bizarre combination of C and C++.
11
12I've changed Lwo2MeshWriter::makeLayerFileName() and
13Lwo2MeshWriter::makeMaterialFileName() to use _makepath and _splitpath.
14
15Bugs fixed
16----------
17From lwReader.cpp:
18
19        /* skip unread parts of the current subchunk */
20       
21        if ( rlen < sz )
22-           is->seekg(sz - rlen, SEEK_CUR );
23+           is->seekg(sz - rlen, ios_base::cur );
24       
25        /* end of the ENVL chunk? */
26
27From lwReader.cpp:
28
29            break;
30 
31        case ID_GLOS:
32-           surf->glossiness.val = ( float ) log( getU2()) / 20.7944f;
33+           surf->glossiness.val = (float) log( (double)getU2() ) / 20.7944f;
34            break;
35 
36        case ID_SMAN:
37
38
39/Magnus
40
Note: See TracBrowser for help on using the repository browser.