Ignore:
Timestamp:
13 Nov 2015, 16:29:39 (9 years ago)
Author:
tech
Message:

Merged 15.1-dev1@1381.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/Lib/TLibRenderer/TRenModSetupStrParser.cpp

    r1313 r1386  
    3737#include "TRenModSetupStrParser.h"
    3838
    39 #if NH_3D
     39#if NH_3D_VSO
    4040Int
    4141TRenModSetupStrParser::getNumOfModels()
     
    153153
    154154Void
    155 TRenModSetupStrParser::setString( Int iNumOfBaseViews, Char* pchSetStr )
     155TRenModSetupStrParser::setString( Int iNumOfBaseViews, TChar* pchSetStr )
    156156{
    157157  for (Int iContent = 0; iContent < 2; iContent++)
     
    178178TRenModSetupStrParser::xParseString()
    179179{
    180   Char cChar;
     180  TChar cChar;
    181181  xGetNextChar(cChar);
    182182  while(  cChar != '\0' )
     
    220220  m_bCurrentViewSet = false;
    221221
    222   Char cChar;
     222  TChar cChar;
    223223  xGetNextCharGoOn( cChar );
    224224  xError( cChar != '[' );
     
    249249
    250250Void
    251 TRenModSetupStrParser::xReadViews( Char cType )
    252 {
    253   Char cChar;
     251TRenModSetupStrParser::xReadViews( TChar cType )
     252{
     253  TChar cChar;
    254254  xGetNextCharGoOn( cChar );
    255255  xError( cChar != '(' );
     
    272272
    273273Void
    274 TRenModSetupStrParser::xReadViewInfo( Char cType )
     274TRenModSetupStrParser::xReadViewInfo( TChar cType )
    275275{
    276276  std::vector<Int> aiViewNums;
     
    280280  {
    281281  case 'B':
    282     Char cVideoType;
    283     Char cDepthType;
     282    TChar cVideoType;
     283    TChar cDepthType;
    284284
    285285    xGetNextCharGoOn   ( cVideoType );
     
    317317  case 'L':
    318318  case 'R':
    319     Char cRefType;
     319    TChar cRefType;
    320320    xGetNextCharGoOn   ( cRefType   );
    321321    xGetViewNumberRange( aiViewNums );
     
    328328
    329329Void
    330 TRenModSetupStrParser::xAddBaseView( Int iViewIdx, Char cVideoType, Char cDepthType )
     330TRenModSetupStrParser::xAddBaseView( Int iViewIdx, TChar cVideoType, TChar cDepthType )
    331331{
    332332  AOF( m_bCurrentViewSet );
     
    334334  if ( cDepthType == 'x' ) cDepthType = 'o';
    335335  if ( cVideoType == 'x' ) cVideoType = 'o';
    336 
    337 
    338 
     336 
    339337  xError( cDepthType != 'o' && cDepthType != 'c' && cVideoType != 'r' );
    340338  xError( cVideoType != 'o' && cVideoType != 'c' && cVideoType != 'r' );
     
    346344
    347345Void
    348 TRenModSetupStrParser::xAddSynthView( Int iViewNum, Char cType, Char cRefType )
     346TRenModSetupStrParser::xAddSynthView( Int iViewNum, TChar cType, TChar cRefType )
    349347{
    350348  AOF( m_bCurrentViewSet );
     
    399397  size_t iStartPos;
    400398  size_t iEndPos;
    401   Char cChar;
     399  TChar cChar;
    402400  xGetNextCharGoOn(cChar );
    403401  if (cChar == '{')
     
    424422
    425423  size_t iNumElem = iEndPos - iStartPos + 1;
    426   Char* pcTempBuffer = new Char[  iNumElem + 1];
     424  TChar* pcTempBuffer = new TChar[  iNumElem + 1];
    427425  strncpy( pcTempBuffer, m_pchSetStr + iStartPos, iNumElem );
    428426  pcTempBuffer[iNumElem] = '\0';
     
    433431
    434432Void
    435 TRenModSetupStrParser::xGetNextCharGoOn( Char& rcNextChar )
     433TRenModSetupStrParser::xGetNextCharGoOn( TChar& rcNextChar )
    436434{
    437435  while ( m_pchSetStr[m_iPosInStr] == ' ' || m_pchSetStr[m_iPosInStr] == ',' )
     
    445443
    446444Void
    447 TRenModSetupStrParser::xGetNextChar( Char& rcNextChar )
     445TRenModSetupStrParser::xGetNextChar( TChar& rcNextChar )
    448446{
    449447  size_t iPos = m_iPosInStr;
Note: See TracChangeset for help on using the changeset viewer.