mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Convert plUoid's object name to a plString
This commit is contained in:
@ -182,21 +182,21 @@ hsBool plListener::IEval(double secs, hsScalar del, UInt32 dirty)
|
||||
|
||||
if( fPrintDbgInfo )
|
||||
{
|
||||
char str[ 256 ];
|
||||
sprintf( str, "Direction: (%3.2f,%3.2f,%3.2f) from %s", dir.fX, dir.fY, dir.fZ, ( facingType == kObject ) ? pRefObject->GetKey()->GetUoid().GetObjectName() : "VCam" );
|
||||
plDebugText::Instance().DrawString( x, y, str, (UInt32)0xffffffff );
|
||||
plString str;
|
||||
str = plString::Format( "Direction: (%3.2f,%3.2f,%3.2f) from %s", dir.fX, dir.fY, dir.fZ, ( facingType == kObject ) ? pRefObject->GetKey()->GetUoid().GetObjectName().c_str() : "VCam" );
|
||||
plDebugText::Instance().DrawString( x, y, str.c_str(), (UInt32)0xffffffff );
|
||||
y += 12;
|
||||
|
||||
sprintf( str, "Up: (%3.2f,%3.2f,%3.2f) from %s", up.fX, up.fY, up.fZ, ( facingType == kObject ) ? pRefObject->GetKey()->GetUoid().GetObjectName() : "VCam" );
|
||||
plDebugText::Instance().DrawString( x, y, str, (UInt32)0xffffffff );
|
||||
str = plString::Format( "Up: (%3.2f,%3.2f,%3.2f) from %s", up.fX, up.fY, up.fZ, ( facingType == kObject ) ? pRefObject->GetKey()->GetUoid().GetObjectName().c_str() : "VCam" );
|
||||
plDebugText::Instance().DrawString( x, y, str.c_str(), (UInt32)0xffffffff );
|
||||
y += 12;
|
||||
|
||||
sprintf( str, "Position: (%3.2f,%3.2f,%3.2f) from %s", position.fX, position.fY, position.fZ, ( posType == kObject ) ? pRefObject->GetKey()->GetUoid().GetObjectName() : "VCam" );
|
||||
plDebugText::Instance().DrawString( x, y, str, (UInt32)0xffffffff );
|
||||
str = plString::Format( "Position: (%3.2f,%3.2f,%3.2f) from %s", position.fX, position.fY, position.fZ, ( posType == kObject ) ? pRefObject->GetKey()->GetUoid().GetObjectName().c_str() : "VCam" );
|
||||
plDebugText::Instance().DrawString( x, y, str.c_str(), (UInt32)0xffffffff );
|
||||
y += 12;
|
||||
|
||||
sprintf( str, "Velocity: (%3.2f,%3.2f,%3.2f) from %s", velocity.fX, velocity.fY, velocity.fZ, ( velType == kObject ) ? pRefObject->GetKey()->GetUoid().GetObjectName() : "VCam" );
|
||||
plDebugText::Instance().DrawString( x, y, str, (UInt32)0xffffffff );
|
||||
str = plString::Format( "Velocity: (%3.2f,%3.2f,%3.2f) from %s", velocity.fX, velocity.fY, velocity.fZ, ( velType == kObject ) ? pRefObject->GetKey()->GetUoid().GetObjectName().c_str() : "VCam" );
|
||||
plDebugText::Instance().DrawString( x, y, str.c_str(), (UInt32)0xffffffff );
|
||||
y += 12;
|
||||
}
|
||||
plgDispatch::MsgSend( msg );
|
||||
|
Reference in New Issue
Block a user