Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
public int loadModel(String filepath, String tex) throws IOException { File file = new File(filepath); FileInputStream fis = new FileInputStream(file); Mesh[] bufIndexPtr; Frame frame = new Frame(); ModelHeader header = new ModelHeader(); StIndex[] stPtr; LittleEndianInputStream is = new LittleEndianInputStream(fis); header.ident = is.readInt(); header.version = is.readInt(); header.skinWidth = is.readInt(); header.skinHeight = is.readInt(); header.frameSize = is.readInt(); header.numSkins = is.readInt(); header.numXYZ = is.readInt(); header.numST = is.readInt(); header.numTris = is.readInt(); header.numGLcmds = is.readInt(); header.numFrames = is.readInt(); header.offsetSkins = is.readInt(); header.offsetST = is.readInt(); header.offsetTris = is.readInt(); header.offsetFrames = is.readInt(); header.offsetGLcmds = is.readInt(); header.offsetEnd = is.readInt(); String texture = tex; byte[] buffer = new byte[header.offsetEnd - 68]; is.read(buffer); numST = header.numSkins; numVertices = header.numXYZ; numFrames = header.numFrames; frameSize = header.frameSize; ByteArrayInputStream bs = new ByteArrayInputStream(buffer, header.offsetFrames - 68, buffer.length - header.offsetFrames); is = new LittleEndianInputStream(bs); vertexList = new Vector[header.numXYZ * header.numFrames]; for(int i = 0; i < numFrames; i++) { frame.scale[0] = is.readFloat(); frame.scale[1] = is.readFloat(); frame.scale[2] = is.readFloat(); frame.translate[0] = is.readFloat(); frame.translate[1] = is.readFloat(); frame.translate[2] = is.readFloat(); frame.name = is.readString(16); int index = numVertices * i; for(int j = 0; j < numVertices; j++) { Vector vertex = vertexList[index++]; vertex.point[0] = frame.scale[0] * is.readUnsignedChar() + frame.translate[0]; vertex.point[1] = frame.scale[1] * is.readUnsignedChar() + frame.translate[1]; vertex.point[2] = frame.scale[2] * is.readUnsignedChar() + frame.translate[2]; } } .... }