Subversion Repositories spk

Rev

Rev 52 | Rev 118 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 52 Rev 82
Line 590... Line 590...
590
					textFormat = "440001";
590
					textFormat = "440001";
591
 
591
 
592
				if ( p.ExtractGameFile(CyString("t/") + textFormat + ".pck", sTempDir + "/" + textFormat + ".xml", strNode->str) )
592
				if ( p.ExtractGameFile(CyString("t/") + textFormat + ".pck", sTempDir + "/" + textFormat + ".xml", strNode->str) )
593
				{
593
				{
594
					CFileIO Open(sTempDir + textFormat + ".xml");
594
					CFileIO Open(sTempDir + textFormat + ".xml");
595
					if ( Open.StartRead() )
595
					if ( Open.startRead() )
596
					{
596
					{
597
						int donePage = (tcText) ? 3 : 2;
597
						int donePage = (tcText) ? 3 : 2;
598
						int inPage = 0;
598
						int inPage = 0;
599
						while ( !Open.AtEnd() )
599
						while ( !Open.atEnd() )
600
						{
600
						{
601
							CyString line = Open.readEndOfLine();
601
							CyString line = Open.readEndOfLine();
602
							if ( line.Empty() )
602
							if ( line.Empty() )
603
								continue;
603
								continue;
604
							line = line.RemoveFirstSpace();
604
							line = line.RemoveFirstSpace();
Line 658... Line 658...
658
									}
658
									}
659
								}
659
								}
660
							}
660
							}
661
						}
661
						}
662
 
662
 
663
						Open.StopRead();
663
						Open.close();
664
					}
664
					}
665
				}
665
				}
666
 
666
 
667
				tcText = true;
667
				tcText = true;
668
			}
668
			}