|
|
@ -109,7 +109,7 @@ plSceneInputInterface::plSceneInputInterface() |
|
|
|
{ |
|
|
|
{ |
|
|
|
fPipe = nil; |
|
|
|
fPipe = nil; |
|
|
|
fSpawnPoint = nil; |
|
|
|
fSpawnPoint = nil; |
|
|
|
GuidClear(&fAgeInstanceGuid); |
|
|
|
fAgeInstanceGuid.Clear(); |
|
|
|
fInstance = this; |
|
|
|
fInstance = this; |
|
|
|
SetEnabled( true ); // Always enabled
|
|
|
|
SetEnabled( true ); // Always enabled
|
|
|
|
} |
|
|
|
} |
|
|
@ -790,7 +790,7 @@ hsBool plSceneInputInterface::MsgReceive( plMessage *msg ) |
|
|
|
} |
|
|
|
} |
|
|
|
else if ( mgrMsg->GetCommand() == plInputIfaceMgrMsg::kSetShareAgeInstanceGuid ) |
|
|
|
else if ( mgrMsg->GetCommand() == plInputIfaceMgrMsg::kSetShareAgeInstanceGuid ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
fAgeInstanceGuid = mgrMsg->GetAgeInstanceGuid(); |
|
|
|
fAgeInstanceGuid = plUUID(mgrMsg->GetAgeInstanceGuid()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
plVaultNotifyMsg* pVaultMsg = plVaultNotifyMsg::ConvertNoRef(msg); |
|
|
|
plVaultNotifyMsg* pVaultMsg = plVaultNotifyMsg::ConvertNoRef(msg); |
|
|
@ -817,15 +817,15 @@ void plSceneInputInterface::ILinkOffereeToAge() |
|
|
|
info.SetAgeFilename(fOfferedAgeFile); |
|
|
|
info.SetAgeFilename(fOfferedAgeFile); |
|
|
|
info.SetAgeInstanceName(fOfferedAgeInstance); |
|
|
|
info.SetAgeInstanceName(fOfferedAgeInstance); |
|
|
|
|
|
|
|
|
|
|
|
bool isAgeInstanceGuidSet = !GuidIsNil(fAgeInstanceGuid); |
|
|
|
bool isAgeInstanceGuidSet = fAgeInstanceGuid.IsSet(); |
|
|
|
|
|
|
|
|
|
|
|
plAgeLinkStruct link; |
|
|
|
plAgeLinkStruct link; |
|
|
|
|
|
|
|
|
|
|
|
if (isAgeInstanceGuidSet) { |
|
|
|
if (isAgeInstanceGuidSet) { |
|
|
|
info.SetAgeInstanceGuid(&plUUID(fAgeInstanceGuid)); |
|
|
|
info.SetAgeInstanceGuid(&fAgeInstanceGuid); |
|
|
|
link.GetAgeInfo()->CopyFrom(&info); |
|
|
|
link.GetAgeInfo()->CopyFrom(&info); |
|
|
|
|
|
|
|
|
|
|
|
GuidClear(&fAgeInstanceGuid); |
|
|
|
fAgeInstanceGuid.Clear(); |
|
|
|
} |
|
|
|
} |
|
|
|
else if (!VaultGetOwnedAgeLink(&info, &link)) { |
|
|
|
else if (!VaultGetOwnedAgeLink(&info, &link)) { |
|
|
|
|
|
|
|
|
|
|
@ -1236,4 +1236,4 @@ uint32_t plSceneInputInterface::SetCurrentCursorID(uint32_t id) |
|
|
|
void plSceneInputInterface::RequestAvatarTurnToPointLOS() |
|
|
|
void plSceneInputInterface::RequestAvatarTurnToPointLOS() |
|
|
|
{ |
|
|
|
{ |
|
|
|
IRequestLOSCheck( plMouseDevice::Instance()->GetCursorX(), plMouseDevice::Instance()->GetCursorY(), ID_FIND_WALKABLE_GROUND );
|
|
|
|
IRequestLOSCheck( plMouseDevice::Instance()->GetCursorX(), plMouseDevice::Instance()->GetCursorY(), ID_FIND_WALKABLE_GROUND );
|
|
|
|
} |
|
|
|
} |
|
|
|