mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-21 12:49:10 +00:00
Merge remote-tracking branch 'origin/master' into plString
Conflicts: Sources/Plasma/CoreLib/hsStream.h Sources/Plasma/FeatureLib/pfAudio/plListener.cpp Sources/Plasma/FeatureLib/pfConsole/pfConsoleCommands.cpp Sources/Plasma/FeatureLib/pfConsole/pfDispatchLog.cpp Sources/Plasma/FeatureLib/pfJournalBook/pfJournalBook.cpp Sources/Plasma/FeatureLib/pfPython/cyMisc.cpp Sources/Plasma/FeatureLib/pfPython/cyMisc.h Sources/Plasma/FeatureLib/pfPython/cyMiscGlue4.cpp Sources/Plasma/FeatureLib/pfPython/plPythonFileMod.cpp Sources/Plasma/FeatureLib/pfPython/plPythonFileMod.h Sources/Plasma/FeatureLib/pfPython/pyImage.cpp Sources/Plasma/FeatureLib/pfPython/pyJournalBook.cpp Sources/Plasma/FeatureLib/pfPython/pyNetServerSessionInfo.h Sources/Plasma/NucleusLib/pnKeyedObject/plFixedKey.cpp Sources/Plasma/NucleusLib/pnKeyedObject/plKeyImp.cpp Sources/Plasma/NucleusLib/pnKeyedObject/plUoid.cpp Sources/Plasma/NucleusLib/pnKeyedObject/plUoid.h Sources/Plasma/NucleusLib/pnMessage/plMessage.h Sources/Plasma/NucleusLib/pnNetCommon/plNetApp.h Sources/Plasma/PubUtilLib/plAvatar/plCoopCoordinator.cpp Sources/Plasma/PubUtilLib/plDrawable/plDrawableSpansExport.cpp Sources/Plasma/PubUtilLib/plDrawable/plDynaDecalMgr.cpp Sources/Plasma/PubUtilLib/plDrawable/plWaveSet7.cpp Sources/Plasma/PubUtilLib/plInputCore/plInputDevice.h Sources/Plasma/PubUtilLib/plNetClient/plNetClientMgr.h Sources/Plasma/PubUtilLib/plNetCommon/plClientGuid.h Sources/Plasma/PubUtilLib/plNetMessage/plNetMessage.cpp Sources/Plasma/PubUtilLib/plNetMessage/plNetMsgHelpers.h Sources/Plasma/PubUtilLib/plNetTransport/plNetTransportMember.h Sources/Plasma/PubUtilLib/plPhysX/plSimulationMgr.cpp Sources/Plasma/PubUtilLib/plPipeline/plDXPipeline.cpp Sources/Plasma/PubUtilLib/plPipeline/plPlates.cpp Sources/Plasma/PubUtilLib/plResMgr/plKeyFinder.cpp Sources/Plasma/PubUtilLib/plResMgr/plKeyFinder.h Sources/Plasma/PubUtilLib/plResMgr/plRegistryNode.cpp Sources/Plasma/PubUtilLib/plResMgr/plRegistryNode.h Sources/Plasma/PubUtilLib/plScene/plRelevanceMgr.cpp Sources/Plasma/PubUtilLib/plScene/plRelevanceMgr.h Sources/Plasma/PubUtilLib/plSurface/plGrassShaderMod.cpp
This commit is contained in:
@ -223,10 +223,10 @@ void plNetClientMgr::IClearPendingLoads()
|
||||
//
|
||||
void plNetClientMgr::IAddCloneRoom()
|
||||
{
|
||||
plSceneNode *cloneRoom = TRACKED_NEW plSceneNode();
|
||||
plSceneNode *cloneRoom = new plSceneNode();
|
||||
cloneRoom->RegisterAs(kNetClientCloneRoom_KEY);
|
||||
plKey clientKey=hsgResMgr::ResMgr()->FindKey(kClient_KEY);
|
||||
plClientRefMsg *pMsg1 = TRACKED_NEW plClientRefMsg(clientKey, plRefMsg::kOnCreate, -1, plClientRefMsg::kManualRoom);
|
||||
plClientRefMsg *pMsg1 = new plClientRefMsg(clientKey, plRefMsg::kOnCreate, -1, plClientRefMsg::kManualRoom);
|
||||
hsgResMgr::ResMgr()->AddViaNotify(cloneRoom->GetKey(), pMsg1, plRefFlags::kPassiveRef);
|
||||
}
|
||||
|
||||
@ -439,7 +439,7 @@ void plNetClientMgr::StartLinkOutFX()
|
||||
{
|
||||
plNetLinkingMgr * lm = plNetLinkingMgr::GetInstance();
|
||||
|
||||
plLinkEffectsTriggerMsg* lem = TRACKED_NEW plLinkEffectsTriggerMsg();
|
||||
plLinkEffectsTriggerMsg* lem = new plLinkEffectsTriggerMsg();
|
||||
lem->SetLeavingAge(true);
|
||||
lem->SetLinkKey(fLocalPlayerKey);
|
||||
lem->SetBCastFlag(plMessage::kNetPropagate);
|
||||
@ -458,7 +458,7 @@ void plNetClientMgr::StartLinkInFX()
|
||||
{
|
||||
const plArmatureMod *avMod = plAvatarMgr::GetInstance()->GetLocalAvatar();
|
||||
|
||||
plLinkEffectsTriggerMsg* lem = TRACKED_NEW plLinkEffectsTriggerMsg();
|
||||
plLinkEffectsTriggerMsg* lem = new plLinkEffectsTriggerMsg();
|
||||
lem->SetLeavingAge(false); // linking in
|
||||
lem->SetLinkKey(fLocalPlayerKey);
|
||||
lem->SetLinkInAnimKey(avMod->GetLinkInAnimKey());
|
||||
@ -634,7 +634,7 @@ void plNetClientMgr::ICheckPendingStateLoad(double secs)
|
||||
plSynchedObject*so = pl->fKey ? plSynchedObject::ConvertNoRef(pl->fKey->ObjectIsLoaded()) : nil;
|
||||
if (so && so->IsFinal())
|
||||
{
|
||||
plSDLModifierMsg* sdlMsg = TRACKED_NEW plSDLModifierMsg(pl->fSDRec->GetDescriptor()->GetName(),
|
||||
plSDLModifierMsg* sdlMsg = new plSDLModifierMsg(pl->fSDRec->GetDescriptor()->GetName(),
|
||||
plSDLModifierMsg::kRecv);
|
||||
sdlMsg->SetState( pl->fSDRec, true/*delete pl->fSDRec for us*/ );
|
||||
sdlMsg->SetPlayerID( pl->fPlayerID );
|
||||
@ -915,7 +915,7 @@ hsBool plNetClientMgr::MsgReceive( plMessage* msg )
|
||||
if ( GetFlagsBit( kNeedToSendInitialAgeStateLoadedMsg ) )
|
||||
{
|
||||
SetFlagsBit(kNeedToSendInitialAgeStateLoadedMsg, false);
|
||||
plInitialAgeStateLoadedMsg* m = TRACKED_NEW plInitialAgeStateLoadedMsg;
|
||||
plInitialAgeStateLoadedMsg* m = new plInitialAgeStateLoadedMsg;
|
||||
m->Send();
|
||||
}
|
||||
|
||||
@ -1108,7 +1108,7 @@ void plNetClientMgr::IncNumInitialSDLStates()
|
||||
|
||||
void plNetClientMgr::NotifyRcvdAllSDLStates() {
|
||||
DebugMsg( "Got all initial SDL states" );
|
||||
plNetClientMgrMsg * msg = TRACKED_NEW plNetClientMgrMsg();
|
||||
plNetClientMgrMsg * msg = new plNetClientMgrMsg();
|
||||
msg->type = plNetClientMgrMsg::kNotifyRcvdAllSDLStates;
|
||||
msg->SetBCastFlag(plMessage::kBCastByType);
|
||||
msg->Send();
|
||||
@ -1178,7 +1178,7 @@ unsigned plNetClientMgr::GetPlayerIdByName (const plString & name) const {
|
||||
return 0;
|
||||
}
|
||||
|
||||
UInt32 plNetClientMgr::GetPlayerID() const
|
||||
uint32_t plNetClientMgr::GetPlayerID() const
|
||||
{
|
||||
return NetCommGetPlayer()->playerInt;
|
||||
}
|
||||
@ -1243,7 +1243,7 @@ void plNetClientMgr::MakeCCRInvisible(plKey avKey, int level)
|
||||
return;
|
||||
}
|
||||
|
||||
plAvatarStealthModeMsg *msg = TRACKED_NEW plAvatarStealthModeMsg();
|
||||
plAvatarStealthModeMsg *msg = new plAvatarStealthModeMsg();
|
||||
msg->SetSender(avKey);
|
||||
msg->fLevel = level;
|
||||
|
||||
@ -1305,12 +1305,12 @@ void plNetClientMgr::IDisableNet () {
|
||||
char title[256];
|
||||
StrPrintf(title, arrsize(title), "%S Error", ProductCoreName());
|
||||
hsMessageBox(fDisableMsg->str, title, hsMessageBoxNormal, hsMessageBoxIconError );
|
||||
plClientMsg *quitMsg = NEW(plClientMsg)(plClientMsg::kQuit);
|
||||
plClientMsg *quitMsg = new plClientMsg(plClientMsg::kQuit);
|
||||
quitMsg->Send(hsgResMgr::ResMgr()->FindKey(kClient_KEY));
|
||||
}
|
||||
else
|
||||
{
|
||||
pfKIMsg *msg = TRACKED_NEW pfKIMsg(pfKIMsg::kKIOKDialog);
|
||||
pfKIMsg *msg = new pfKIMsg(pfKIMsg::kKIOKDialog);
|
||||
msg->SetString(fDisableMsg->str);
|
||||
msg->Send();
|
||||
}
|
||||
@ -1409,7 +1409,7 @@ bool plNetClientMgr::IHandlePlayerPageMsg(plPlayerPageMsg *playerMsg)
|
||||
}
|
||||
|
||||
// for debugging purposes
|
||||
bool plNetClientMgr::IFindModifier(plSynchedObject* obj, Int16 classIdx)
|
||||
bool plNetClientMgr::IFindModifier(plSynchedObject* obj, int16_t classIdx)
|
||||
{
|
||||
plLayerAnimation* layer = plLayerAnimation::ConvertNoRef(obj);
|
||||
if (layer)
|
||||
|
Reference in New Issue
Block a user