Commit f0df9db1 authored by Dipl.-Ing. Jonas Stienen's avatar Dipl.-Ing. Jonas Stienen
Browse files

More portal methods, still not finished

parent f3f286c8
......@@ -954,6 +954,12 @@ public:
return m_pProtocol->ClientGetSceneEnabled( sID );
};
inline int CreateSoundPortal( const std::string& sName = "" )
{
VA_REQUIRE_CONNECTED;
VA_MUTAL_EXCLUDE;
return m_pProtocol->ClientCreateSoundPortal( sName );
};
inline void GetSoundPortalIDs( std::vector< int >& viIDs )
{
......@@ -973,7 +979,7 @@ public:
{
VA_REQUIRE_CONNECTED;
VA_MUTAL_EXCLUDE;
m_pProtocol->ClientSetPortalName( iPortalID, sName );
m_pProtocol->ClientSetSoundPortalName( iPortalID, sName );
};
inline CVAStruct GetSoundPortalParameters( const int iPortalID ) const
......@@ -990,95 +996,123 @@ public:
m_pProtocol->ClientSetSoundPortalParameters( iPortalID, oParams );
};
inline int CreateSoundPortal( const std::string& sName = "" )
{
VA_EXCEPT_NOT_IMPLEMENTED;
};
inline CVASoundPortalInfo GetSoundPortalInfo( const int iID ) const
{
VA_EXCEPT_NOT_IMPLEMENTED;
VA_REQUIRE_CONNECTED;
VA_MUTAL_EXCLUDE;
return m_pProtocol->ClientGetSoundPortalInfo( iID );
};
//! Returns the name of a portal
inline std::string GetSoundPortalName( const int iID ) const
{
VA_EXCEPT_NOT_IMPLEMENTED;
VA_REQUIRE_CONNECTED;
VA_MUTAL_EXCLUDE;
return m_pProtocol->ClientGetSoundPortalName( iID );
};
inline void SetSoundPortalName( const int iID, const std::string& sName )
{
VA_EXCEPT_NOT_IMPLEMENTED;
VA_REQUIRE_CONNECTED;
VA_MUTAL_EXCLUDE;
m_pProtocol->ClientSetSoundPortalName( iID, sName );
};
inline void SetSoundPortalMaterial( const int iSoundPortalID, const int iMaterialID )
{
VA_EXCEPT_NOT_IMPLEMENTED;
VA_REQUIRE_CONNECTED;
VA_MUTAL_EXCLUDE;
m_pProtocol->ClientSetSoundPortalMaterial( iSoundPortalID, iMaterialID );
};
inline int GetSoundPortalMaterial( const int iSoundPortalID ) const
{
VA_EXCEPT_NOT_IMPLEMENTED;
VA_REQUIRE_CONNECTED;
VA_MUTAL_EXCLUDE;
return m_pProtocol->ClientGetSoundPortalMaterial( iSoundPortalID );
};
inline void SetSoundPortalNextPortal( const int iSoundPortalID, const int iNextSoundPortalID )
{
VA_EXCEPT_NOT_IMPLEMENTED;
VA_REQUIRE_CONNECTED;
VA_MUTAL_EXCLUDE;
m_pProtocol->ClientSetSoundPortalNextPortal( iSoundPortalID, iNextSoundPortalID );
};
inline int GetSoundPortalNextPortal( const int iSoundPortalID ) const
{
VA_EXCEPT_NOT_IMPLEMENTED;
VA_REQUIRE_CONNECTED;
VA_MUTAL_EXCLUDE;
return m_pProtocol->ClientGetSoundPortalNextPortal( iSoundPortalID );
};
inline void SetSoundPortalSoundReceiver( const int iSoundPortalID, const int iSoundReceiverID )
{
VA_EXCEPT_NOT_IMPLEMENTED;
VA_REQUIRE_CONNECTED;
VA_MUTAL_EXCLUDE;
m_pProtocol->ClientSetSoundPortalSoundReceiver( iSoundPortalID, iSoundReceiverID );
};
inline int GetSoundPortalSoundReceiver( const int iSoundPortalID ) const
{
VA_EXCEPT_NOT_IMPLEMENTED;
VA_REQUIRE_CONNECTED;
VA_MUTAL_EXCLUDE;
return m_pProtocol->ClientGetSoundPortalSoundReceiver( iSoundPortalID );
};
inline void SetSoundPortalSoundSource( const int iSoundPortalID, const int iSoundSourceID )
{
VA_EXCEPT_NOT_IMPLEMENTED;
VA_REQUIRE_CONNECTED;
VA_MUTAL_EXCLUDE;
m_pProtocol->ClientSetSoundPortalSoundSource( iSoundPortalID, iSoundSourceID );
};
inline int GetSoundPortalSoundSource( const int iSoundPortalID ) const
{
VA_EXCEPT_NOT_IMPLEMENTED;
VA_REQUIRE_CONNECTED;
VA_MUTAL_EXCLUDE;
return m_pProtocol->ClientGetSoundPortalSoundSource( iSoundPortalID );
};
inline void SetSoundPortalPosition( const int iSoundPortalID, const VAVec3& vPos )
{
VA_EXCEPT_NOT_IMPLEMENTED;
VA_REQUIRE_CONNECTED;
VA_MUTAL_EXCLUDE;
m_pProtocol->ClientSetSoundPortalPosition( iSoundPortalID, vPos );
};
inline VAVec3 SetSoundPortalPosition( const int iSoundPortalID ) const
{
VA_EXCEPT_NOT_IMPLEMENTED;
VA_REQUIRE_CONNECTED;
VA_MUTAL_EXCLUDE;
return m_pProtocol->ClientGetSoundPortalPosition( iSoundPortalID );
};
inline void SetSoundPortalOrientation( const int iSoundPortalID, const VAQuat& qOrient )
{
VA_EXCEPT_NOT_IMPLEMENTED;
VA_REQUIRE_CONNECTED;
VA_MUTAL_EXCLUDE;
m_pProtocol->ClientSetSoundPortalOrientation( iSoundPortalID, qOrient );
};
inline VAQuat GetSoundPortalOrientation( const int iSoundPortalID ) const
{
VA_EXCEPT_NOT_IMPLEMENTED;
VA_REQUIRE_CONNECTED;
VA_MUTAL_EXCLUDE;
return m_pProtocol->ClientGetSoundPortalOrientation( iSoundPortalID );
};
inline void SetSoundPortalEnabled( const int iSoundPortalID, const bool bEnabled = true )
{
VA_EXCEPT_NOT_IMPLEMENTED;
VA_REQUIRE_CONNECTED;
VA_MUTAL_EXCLUDE;
m_pProtocol->ClientSetSoundPortalEnabled( iSoundPortalID, bEnabled );
};
inline bool GetSoundPortalEnabled( const int iSoundPortalID ) const
{
VA_EXCEPT_NOT_IMPLEMENTED;
VA_REQUIRE_CONNECTED;
VA_MUTAL_EXCLUDE;
return m_pProtocol->ClientGetSoundPortalEnabled( iSoundPortalID );
};
......
......@@ -209,11 +209,11 @@ void CVANetNetworkProtocol::ServerCallFunctionByMessageType( const int nMessageT
SERVER_FUNCTION_MAPPING( VA_NP_GET_SCENE_IDS, ServerGetSceneIDs() );
SERVER_FUNCTION_MAPPING( VA_NP_GET_SCENE_INFO, ServerGetSceneInfo() );
SERVER_FUNCTION_MAPPING( VA_NP_GET_PORTAL_IDS, ServerGetSoundPortalIDs() );
SERVER_FUNCTION_MAPPING( VA_NP_GET_PORTAL_NAME, ServerGetSoundPortalName() );
SERVER_FUNCTION_MAPPING( VA_NP_SET_PORTAL_NAME, ServerSetSoundPortalName() );
SERVER_FUNCTION_MAPPING( VA_NP_GET_PORTAL_PARAMETERS, ServerGetSoundPortalParameters() );
SERVER_FUNCTION_MAPPING( VA_NP_SET_PORTAL_STATE, ServerSetSoundPortalParameters() );
SERVER_FUNCTION_MAPPING( VA_NP_GET_SOUND_PORTAL_IDS, ServerGetSoundPortalIDs() );
SERVER_FUNCTION_MAPPING( VA_NP_GET_SOUND_PORTAL_NAME, ServerGetSoundPortalName() );
SERVER_FUNCTION_MAPPING( VA_NP_SET_SOUND_PORTAL_NAME, ServerSetSoundPortalName() );
SERVER_FUNCTION_MAPPING( VA_NP_GET_SOUND_PORTAL_PARAMETERS, ServerGetSoundPortalParameters() );
SERVER_FUNCTION_MAPPING( VA_NP_SET_SOUND_PORTAL_PARAMETERS, ServerSetSoundPortalParameters() );
// Global functions
SERVER_FUNCTION_MAPPING( VA_NP_GET_INPUT_GAIN, ServerGetInputGain() );
......@@ -2512,11 +2512,23 @@ void CVANetNetworkProtocol::ServerSetSceneEnabled()
}
int CVANetNetworkProtocol::ClientCreateSoundPortal( const std::string& sName )
{
CVANetMessage* pMsg = ClientInitMessage( VA_NP_CREATE_SOUND_PORTAL, MESSAGE_WITH_ANSWER );
ClientSendCommand( pMsg );
return pMsg->ReadInt();
}
void CVANetNetworkProtocol::ServerCreateSoundPortal()
{
CVANetMessage* pMsg = ServerGetMessage();
const int iID = m_pRealCore->CreateSoundPortal();
pMsg->WriteInt( iID );
}
void CVANetNetworkProtocol::ClientGetSoundPortalIDs( std::vector<int>& vPortalIDs )
{
CVANetMessage* pMsg = ClientInitMessage( VA_NP_GET_PORTAL_IDS, MESSAGE_WITH_ANSWER );
CVANetMessage* pMsg = ClientInitMessage( VA_NP_GET_SOUND_PORTAL_IDS, MESSAGE_WITH_ANSWER );
ClientSendCommand( pMsg );
vPortalIDs.clear();
int iNumElems = pMsg->ReadInt();
......@@ -2534,9 +2546,23 @@ void CVANetNetworkProtocol::ServerGetSoundPortalIDs()
pMsg->WriteInt( vIDs[ i ] );
}
void CVANetNetworkProtocol::ClientSetPortalName( const int iPortalID, const std::string& sName )
CVASoundPortalInfo CVANetNetworkProtocol::ClientGetSoundPortalInfo( const int iID )
{
CVANetMessage* pMsg = ClientInitMessage( VA_NP_GET_SOUND_PORTAL_INFO, MESSAGE_WITH_ANSWER );
pMsg->WriteInt( iID );
}
void CVANetNetworkProtocol::ServerGetSoundPortalInfo()
{
CVANetMessage* pMsg = ServerGetMessage();
const int iID = pMsg->ReadInt();
}
void CVANetNetworkProtocol::ClientSetSoundPortalName( const int iPortalID, const std::string& sName )
{
CVANetMessage* pMsg = ClientInitMessage( VA_NP_SET_PORTAL_NAME, MESSAGE_ALLOWS_BUFFERING );
CVANetMessage* pMsg = ClientInitMessage( VA_NP_SET_SOUND_PORTAL_NAME, MESSAGE_ALLOWS_BUFFERING );
pMsg->WriteInt( iPortalID );
pMsg->WriteString( sName );
ClientSendCommand( pMsg );
......@@ -2545,16 +2571,196 @@ void CVANetNetworkProtocol::ClientSetPortalName( const int iPortalID, const std:
void CVANetNetworkProtocol::ServerSetSoundPortalName()
{
CVANetMessage* pMsg = ServerGetMessage();
const int iPortalID = pMsg->ReadInt();
const std::string sPortalName = pMsg->ReadString();
m_pRealCore->SetSoundPortalName( iPortalID, sPortalName );
}
int iPortalID = pMsg->ReadInt();
std::string sPortalName = pMsg->ReadString();
void CVANetNetworkProtocol::ClientSetSoundPortalMaterial( const int iSoundPortalID, const int iMaterialID )
{
CVANetMessage* pMsg = ClientInitMessage( VA_NP_SET_SOUND_PORTAL_MATERIAL, MESSAGE_ALLOWS_BUFFERING );
pMsg->WriteInt( iSoundPortalID );
pMsg->WriteInt( iMaterialID );
ClientSendCommand( pMsg );
}
m_pRealCore->SetSoundPortalName( iPortalID, sPortalName );
void CVANetNetworkProtocol::ServerSetSoundPortalMaterial()
{
CVANetMessage* pMsg = ServerGetMessage();
const int iID = pMsg->ReadInt();
}
int CVANetNetworkProtocol::ClientGetSoundPortalMaterial( const int iSoundPortalID )
{
CVANetMessage* pMsg = ClientInitMessage( VA_NP_SET_SOUND_PORTAL_MATERIAL, MESSAGE_WITH_ANSWER );
pMsg->WriteInt( iSoundPortalID );
ClientSendCommand( pMsg );
}
void CVANetNetworkProtocol::ServerGetSoundPortalMaterial()
{
CVANetMessage* pMsg = ServerGetMessage();
const int iID = pMsg->ReadInt();
}
void CVANetNetworkProtocol::ClientSetSoundPortalNextPortal( const int iSoundPortalID, const int iNextSoundPortalID )
{
CVANetMessage* pMsg = ClientInitMessage( VA_NP_SET_SOUND_PORTAL_NEXT_SOUND_PORTAL, MESSAGE_ALLOWS_BUFFERING );
pMsg->WriteInt( iSoundPortalID );
pMsg->WriteInt( iNextSoundPortalID );
ClientSendCommand( pMsg );
}
void CVANetNetworkProtocol::ServerSetSoundPortalNextPortal()
{
CVANetMessage* pMsg = ServerGetMessage();
const int iID = pMsg->ReadInt();
}
int CVANetNetworkProtocol::ClientGetSoundPortalNextPortal( const int iSoundPortalID )
{
CVANetMessage* pMsg = ClientInitMessage( VA_NP_SET_SOUND_PORTAL_NEXT_SOUND_PORTAL, MESSAGE_WITH_ANSWER );
pMsg->WriteInt( iSoundPortalID );
ClientSendCommand( pMsg );
}
void CVANetNetworkProtocol::ServerGetSoundPortalNextPortal()
{
CVANetMessage* pMsg = ServerGetMessage();
const int iID = pMsg->ReadInt();
}
void CVANetNetworkProtocol::ClientSetSoundPortalSoundReceiver( const int iSoundPortalID, const int iSoundReceiverID )
{
CVANetMessage* pMsg = ClientInitMessage( VA_NP_SET_SOUND_PORTAL_SOUND_RECEIVER, MESSAGE_ALLOWS_BUFFERING );
pMsg->WriteInt( iSoundPortalID );
pMsg->WriteInt( iSoundReceiverID );
ClientSendCommand( pMsg );
}
void CVANetNetworkProtocol::ServerSetSoundPortalSoundReceiver()
{
CVANetMessage* pMsg = ServerGetMessage();
const int iID = pMsg->ReadInt();
}
int CVANetNetworkProtocol::ClientGetSoundPortalSoundReceiver( const int iSoundPortalID )
{
CVANetMessage* pMsg = ClientInitMessage( VA_NP_SET_SOUND_PORTAL_SOUND_RECEIVER, MESSAGE_WITH_ANSWER );
pMsg->WriteInt( iSoundPortalID );
ClientSendCommand( pMsg );
}
void CVANetNetworkProtocol::ServerGetSoundPortalSoundReceiver()
{
CVANetMessage* pMsg = ServerGetMessage();
const int iID = pMsg->ReadInt();
}
void CVANetNetworkProtocol::ClientSetSoundPortalSoundSource( const int iSoundPortalID, const int iSoundSourceID )
{
CVANetMessage* pMsg = ClientInitMessage( VA_NP_SET_SOUND_PORTAL_SOUND_SOURCE, MESSAGE_ALLOWS_BUFFERING );
pMsg->WriteInt( iSoundPortalID );
pMsg->WriteInt( iSoundSourceID );
ClientSendCommand( pMsg );
}
void CVANetNetworkProtocol::ServerSetSoundPortalSoundSource()
{
CVANetMessage* pMsg = ServerGetMessage();
const int iID = pMsg->ReadInt();
}
int CVANetNetworkProtocol::ClientGetSoundPortalSoundSource( const int iSoundPortalID )
{
CVANetMessage* pMsg = ClientInitMessage( VA_NP_GET_SOUND_PORTAL_SOUND_SOURCE, MESSAGE_WITH_ANSWER );
pMsg->WriteInt( iSoundPortalID );
ClientSendCommand( pMsg );
}
void CVANetNetworkProtocol::ServerGetSoundPortalSoundSource()
{
CVANetMessage* pMsg = ServerGetMessage();
const int iID = pMsg->ReadInt();
}
void CVANetNetworkProtocol::ClientSetSoundPortalPosition( const int iSoundPortalID, const VAVec3& vPos )
{
CVANetMessage* pMsg = ClientInitMessage( VA_NP_SET_SOUND_PORTAL_POSITION, MESSAGE_ALLOWS_BUFFERING );
pMsg->WriteInt( iSoundPortalID );
pMsg->WriteVec3( vPos );
ClientSendCommand( pMsg );
}
void CVANetNetworkProtocol::ServerSetSoundPortalPosition()
{
CVANetMessage* pMsg = ServerGetMessage();
int iSoundPortalID = pMsg->ReadInt();
const VAVec3 v3Pos = pMsg->ReadVec3();
m_pRealCore->SetSoundPortalPosition( iSoundPortalID, v3Pos );
}
VAVec3 CVANetNetworkProtocol::ClientGetSoundPortalPosition( const int iSoundPortalID )
{
CVANetMessage* pMsg = ClientInitMessage( VA_NP_GET_SOUND_PORTAL_POSITION, MESSAGE_WITH_ANSWER );
pMsg->WriteInt( iSoundPortalID );
ClientSendCommand( pMsg );
const VAVec3 vPos = pMsg->ReadVec3();
return vPos;
}
void CVANetNetworkProtocol::ServerGetSoundPortalPosition()
{
CVANetMessage* pMsg = ServerGetMessage();
const int iSoundPortalID = pMsg->ReadInt();
VAVec3 v3Pos = m_pRealCore->GetSoundPortalPosition( iSoundPortalID );
pMsg->WriteVec3( v3Pos );
}
void CVANetNetworkProtocol::ClientSetSoundPortalOrientation( const int iID, const VAQuat& qOrient )
{
CVANetMessage* pMsg = ClientInitMessage( VA_NP_SET_SOUND_PORTAL_ORIENTATION, MESSAGE_ALLOWS_BUFFERING );
pMsg->WriteInt( iID );
pMsg->WriteQuat( qOrient );
ClientSendCommand( pMsg );
}
void CVANetNetworkProtocol::ServerSetSoundPortalOrientation()
{
CVANetMessage* pMsg = ServerGetMessage();
const int iID = pMsg->ReadInt();
const VAQuat qOrient = pMsg->ReadQuat();
m_pRealCore->SetSoundPortalOrientation( iID, qOrient );
}
VAQuat CVANetNetworkProtocol::ClientGetSoundPortalOrientation( const int iID )
{
CVANetMessage* pMsg = ClientInitMessage( VA_NP_GET_SOUND_PORTAL_ORIENTATION, MESSAGE_WITH_ANSWER );
pMsg->WriteInt( iID );
ClientSendCommand( pMsg );
const VAQuat qOrient = pMsg->ReadQuat();
return qOrient;
}
void CVANetNetworkProtocol::ServerGetSoundPortalOrientation()
{
CVANetMessage* pMsg = ServerGetMessage();
const int iID = pMsg->ReadInt();
VAQuat qOrient = m_pRealCore->GetSoundPortalOrientation( iID );
pMsg->WriteQuat( qOrient );
}
std::string CVANetNetworkProtocol::ClientGetSoundPortalName( int iPortalID )
std::string CVANetNetworkProtocol::ClientGetSoundPortalName( const int iPortalID )
{
CVANetMessage* pMsg = ClientInitMessage( VA_NP_GET_PORTAL_NAME,
CVANetMessage* pMsg = ClientInitMessage( VA_NP_GET_SOUND_PORTAL_NAME,
MESSAGE_WITH_ANSWER );
pMsg->WriteInt( iPortalID );
......@@ -2574,7 +2780,7 @@ void CVANetNetworkProtocol::ServerGetSoundPortalName()
CVAStruct CVANetNetworkProtocol::ClientGetSoundPortalParameters( const int iID )
{
CVANetMessage* pMsg = ClientInitMessage( VA_NP_GET_PORTAL_PARAMETERS, MESSAGE_WITH_ANSWER );
CVANetMessage* pMsg = ClientInitMessage( VA_NP_GET_SOUND_PORTAL_PARAMETERS, MESSAGE_WITH_ANSWER );
pMsg->WriteInt( iID );
ClientSendCommand( pMsg );
CVAStruct oParams;
......@@ -2592,7 +2798,7 @@ void CVANetNetworkProtocol::ServerGetSoundPortalParameters()
void CVANetNetworkProtocol::ClientSetSoundPortalParameters( const int iPortalID, const CVAStruct& oParams )
{
CVANetMessage* pMsg = ClientInitMessage( VA_NP_SET_PORTAL_STATE, MESSAGE_ALLOWS_BUFFERING );
CVANetMessage* pMsg = ClientInitMessage( VA_NP_SET_SOUND_PORTAL_PARAMETERS, MESSAGE_ALLOWS_BUFFERING );
pMsg->WriteInt( iPortalID );
pMsg->WriteVAStruct( oParams );
ClientSendCommand( pMsg );
......
......@@ -202,11 +202,26 @@ public:
static const int VA_NP_GET_SCENE_ENABLED = 1005;
static const int VA_NP_SET_SCENE_ENABLED = 1006;
static const int VA_NP_GET_PORTAL_IDS = 1013;
static const int VA_NP_GET_PORTAL_NAME = 1014;
static const int VA_NP_SET_PORTAL_NAME = 1015;
static const int VA_NP_GET_PORTAL_PARAMETERS = 1016;
static const int VA_NP_SET_PORTAL_STATE = 1017;
static const int VA_NP_CREATE_SOUND_PORTAL = 1600;
static const int VA_NP_GET_SOUND_PORTAL_IDS = 1601;
static const int VA_NP_GET_SOUND_PORTAL_NAME = 1602;
static const int VA_NP_SET_SOUND_PORTAL_NAME = 1603;
static const int VA_NP_GET_SOUND_PORTAL_PARAMETERS = 1604;
static const int VA_NP_SET_SOUND_PORTAL_PARAMETERS = 1605;
static const int VA_NP_GET_SOUND_PORTAL_POSITION = 1606;
static const int VA_NP_SET_SOUND_PORTAL_POSITION = 1607;
static const int VA_NP_GET_SOUND_PORTAL_ORIENTATION = 1608;
static const int VA_NP_SET_SOUND_PORTAL_ORIENTATION = 1609;
static const int VA_NP_GET_SOUND_PORTAL_ENABLED = 1610;
static const int VA_NP_SET_SOUND_PORTAL_ENABLED = 1611;
static const int VA_NP_GET_SOUND_PORTAL_MATERIAL = 1612;
static const int VA_NP_SET_SOUND_PORTAL_MATERIAL = 1613;
static const int VA_NP_GET_SOUND_PORTAL_NEXT_SOUND_PORTAL = 1614;
static const int VA_NP_SET_SOUND_PORTAL_NEXT_SOUND_PORTAL = 1615;
static const int VA_NP_GET_SOUND_PORTAL_SOUND_SOURCE = 1616;
static const int VA_NP_SET_SOUND_PORTAL_SOUND_SOURCE = 1617;
static const int VA_NP_GET_SOUND_PORTAL_SOUND_RECEIVER = 1618;
static const int VA_NP_SET_SOUND_PORTAL_SOUND_RECEIVER = 1619;
static const int VA_NP_CREATE_ACOUSTIC_MATERIAL = 1400;
static const int VA_NP_CREATE_ACOUSTIC_MATERIAL_FROM_PARAMETERS = 1401;
......@@ -644,15 +659,56 @@ public:
void ClientSetSceneEnabled( const std::string& sID, const bool bEnabled );
void ServerSetSceneEnabled();
int ClientCreateSoundPortal( const std::string& sName );
void ServerCreateSoundPortal();
void ClientGetSoundPortalIDs( std::vector<int>& vPortalIDs );
void ServerGetSoundPortalIDs();
std::string ClientGetSoundPortalName( int iPortalID );
void ServerGetSoundPortalName();
CVASoundPortalInfo ClientGetSoundPortalInfo( const int iID );
void ServerGetSoundPortalInfo();
void ClientSetPortalName( int iPortalID, const std::string& sName );
std::string ClientGetSoundPortalName( const int iPortalID );
void ServerGetSoundPortalName();
void ClientSetSoundPortalName( const int iPortalID, const std::string& sName );
void ServerSetSoundPortalName();
int ClientGetSoundPortalMaterial( const int iSoundPortalID );
void ServerGetSoundPortalMaterial();
void ClientSetSoundPortalMaterial( const int iSoundPortalID, const int iMaterialID );
void ServerSetSoundPortalMaterial();
int ClientGetSoundPortalNextPortal( const int iSoundPortalID );
void ServerGetSoundPortalNextPortal();
void ClientSetSoundPortalNextPortal( const int iSoundPortalID, const int iNextSoundPortalID );
void ServerSetSoundPortalNextPortal();
int ClientGetSoundPortalSoundReceiver( const int iSoundPortalID );
void ServerGetSoundPortalSoundReceiver();
void ClientSetSoundPortalSoundReceiver( const int iSoundPortalID, const int iSoundReceiverID );
void ServerSetSoundPortalSoundReceiver();
int ClientGetSoundPortalSoundSource( const int iSoundPortalID );
void ServerGetSoundPortalSoundSource();
void ClientSetSoundPortalSoundSource( const int iSoundPortalID, const int iSoundSourceID );
void ServerSetSoundPortalSoundSource();
VAVec3 ClientGetSoundPortalPosition( const int iSoundPortalID );
void ServerGetSoundPortalPosition();
void ClientSetSoundPortalPosition( const int iSoundPortalID, const VAVec3& vPos );
void ServerSetSoundPortalPosition();
VAQuat ClientGetSoundPortalOrientation( const int iSoundPortalID );
void ServerGetSoundPortalOrientation();
void ClientSetSoundPortalOrientation( const int iSoundPortalID, const VAQuat& qOrient );
void ServerSetSoundPortalOrientation();
bool ClientGetSoundPortalEnabled( const int iSoundPortalID );
void ServerGetSoundPortalEnabled();
void ClientSetSoundPortalEnabled( const int iSoundPortalID, const bool bEnabled );
void ServerSetSoundPortalEnabled();
CVAStruct ClientGetSoundPortalParameters( const int iPortalID );
void ServerGetSoundPortalParameters();
void ClientSetSoundPortalParameters( const int iPortalID, const CVAStruct& oParams );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment