mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 18:59:09 +00:00
Obliterate hsBool
This commit is contained in:
@ -251,7 +251,7 @@ bool plSDLParser::IParseVarDesc(const char* fileName, hsStream* stream, char tok
|
||||
hsAssert(curVar, xtl::format("Syntax problem with .sdl file, fileName=%s", fileName).c_str());
|
||||
dbgStr += std::string(" ") + token;
|
||||
|
||||
hsBool read=stream->GetToken(token, kTokenLen);
|
||||
bool read=stream->GetToken(token, kTokenLen);
|
||||
if (read)
|
||||
{
|
||||
std::string oldOptions=curVar->GetDisplayOptions();
|
||||
@ -274,7 +274,7 @@ bool plSDLParser::IParseVarDesc(const char* fileName, hsStream* stream, char tok
|
||||
hsAssert(curVar, xtl::format("Syntax problem with .sdl file, fileName=%s", fileName).c_str());
|
||||
dbgStr += std::string(" ") + token;
|
||||
|
||||
hsBool read=stream->GetToken(token, kTokenLen);
|
||||
bool read=stream->GetToken(token, kTokenLen);
|
||||
if (read)
|
||||
{
|
||||
dbgStr += std::string("=") + token;
|
||||
|
@ -1848,7 +1848,7 @@ bool plSimpleStateVariable::IWriteData(hsStream* s, float timeConvert, int idx,
|
||||
break;
|
||||
case plVarDescriptor::kBool:
|
||||
for(i=0;i<fVar.GetAtomicCount();i++)
|
||||
s->Writebool(fB[j+i]);
|
||||
s->WriteBool(fB[j+i]);
|
||||
break;
|
||||
case plVarDescriptor::kKey:
|
||||
for(i=0;i<fVar.GetAtomicCount();i++)
|
||||
@ -1921,7 +1921,7 @@ bool plSimpleStateVariable::IReadData(hsStream* s, float timeConvert, int idx, u
|
||||
break;
|
||||
case plVarDescriptor::kBool:
|
||||
for(i=0;i<fVar.GetAtomicCount();i++)
|
||||
fB[j+i]=s->Readbool();
|
||||
fB[j+i]=s->ReadBool();
|
||||
break;
|
||||
case plVarDescriptor::kKey:
|
||||
for(i=0;i<fVar.GetAtomicCount();i++)
|
||||
|
Reference in New Issue
Block a user