mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 02:51:27 +00:00
Deprecate plFileUtils and parts of pnUtPath
This commit is contained in:
@ -439,7 +439,7 @@ void plDynamicEnvMap::Read(hsStream* s, hsResMgr* mgr)
|
||||
nVis = s->ReadLE32();
|
||||
for( i = 0; i < nVis; i++)
|
||||
{
|
||||
plKey key = plKeyFinder::Instance().StupidSearch(nil, nil, plVisRegion::Index(), s->ReadSafeString_TEMP());
|
||||
plKey key = plKeyFinder::Instance().StupidSearch("", "", plVisRegion::Index(), s->ReadSafeString_TEMP());
|
||||
if (key)
|
||||
hsgResMgr::ResMgr()->AddViaNotify(key, new plGenRefMsg(GetKey(), plRefMsg::kOnCreate, -1, kRefVisSet), plRefFlags::kActiveRef);
|
||||
}
|
||||
@ -912,7 +912,7 @@ void plDynamicCamMap::Read(hsStream* s, hsResMgr* mgr)
|
||||
nVis = s->ReadLE32();
|
||||
for( i = 0; i < nVis; i++)
|
||||
{
|
||||
plKey key = plKeyFinder::Instance().StupidSearch(nil, nil, plVisRegion::Index(), s->ReadSafeString_TEMP());
|
||||
plKey key = plKeyFinder::Instance().StupidSearch("", "", plVisRegion::Index(), s->ReadSafeString_TEMP());
|
||||
if (key)
|
||||
hsgResMgr::ResMgr()->AddViaNotify(key, new plGenRefMsg(GetKey(), plRefMsg::kOnCreate, -1, kRefVisSet), plRefFlags::kActiveRef);
|
||||
}
|
||||
|
@ -111,8 +111,8 @@ void plStatusLogDrawer::Draw(plStatusLog* curLog, plStatusLog* firstLog)
|
||||
drawText.DrawRect( x, y, x + width, y + height, 0, 0, 0, 127 );
|
||||
|
||||
drawText.DrawString( x + 2, y + ( lineHt >> 1 ), IGetFilename( curLog ).AsString(), 127, 127, 255, 255, plDebugText::kStyleBold );
|
||||
drawText.DrawRect( x + 2, y + ( lineHt << 1 ) + 1,
|
||||
x + width - 8, y + ( lineHt << 1 ) + 2, 127, 127, 255, 255 );
|
||||
drawText.DrawRect( x + 2, y + ( lineHt << 1 ) + 1,
|
||||
x + width - 8, y + ( lineHt << 1 ) + 2, 127, 127, 255, 255 );
|
||||
|
||||
y += lineHt * 2;
|
||||
for( i = 0; i < IGetMaxNumLines( curLog ); i++ )
|
||||
|
Reference in New Issue
Block a user