mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2024-12-25 22:35:31 +03:00
Fixed Linux debug build
This commit is contained in:
parent
d93a2f0b17
commit
e2569f6657
@ -1424,7 +1424,7 @@ void CNetMsgScriptHelper::ReceiveMessage( bf_read &msg )
|
|||||||
m_MsgIn.StartReading( msg.m_pData, msg.m_nDataBytes );
|
m_MsgIn.StartReading( msg.m_pData, msg.m_nDataBytes );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
DebugNetMsg( 2, DLL_LOC_STR " " __FUNCTION__ "()\n" );
|
DebugNetMsg( 2, DLL_LOC_STR " %s()", __FUNCTION__ );
|
||||||
|
|
||||||
// Don't do anything if there's no VM here. This can happen if a message from the server goes to a VM-less client, or vice versa.
|
// Don't do anything if there's no VM here. This can happen if a message from the server goes to a VM-less client, or vice versa.
|
||||||
if ( !g_pScriptVM )
|
if ( !g_pScriptVM )
|
||||||
@ -1483,7 +1483,7 @@ void CNetMsgScriptHelper::Start( const char *msg )
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
DebugNetMsg( 1, DLL_LOC_STR " " __FUNCTION__ "() [%d]%s\n", Hash( msg ), msg );
|
DebugNetMsg( 1, DLL_LOC_STR " %s() [%d]%s\n", __FUNCTION__, Hash( msg ), msg );
|
||||||
|
|
||||||
#ifdef CLIENT_DLL
|
#ifdef CLIENT_DLL
|
||||||
// Client can write multiple messages in a frame before the usercmd is sent,
|
// Client can write multiple messages in a frame before the usercmd is sent,
|
||||||
@ -1519,7 +1519,7 @@ void CNetMsgScriptHelper::Start( const char *msg )
|
|||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
void CNetMsgScriptHelper::Send( HSCRIPT player, bool bReliable )
|
void CNetMsgScriptHelper::Send( HSCRIPT player, bool bReliable )
|
||||||
{
|
{
|
||||||
DebugNetMsg( 1, DLL_LOC_STR " " __FUNCTION__ "() size(%d)\n", GetNumBitsWritten() );
|
DebugNetMsg( 1, DLL_LOC_STR " %s() size(%d)\n", __FUNCTION__, GetNumBitsWritten() );
|
||||||
|
|
||||||
CBaseEntity *pPlayer = ToEnt(player);
|
CBaseEntity *pPlayer = ToEnt(player);
|
||||||
if ( pPlayer )
|
if ( pPlayer )
|
||||||
@ -1544,7 +1544,7 @@ void CNetMsgScriptHelper::Send( HSCRIPT player, bool bReliable )
|
|||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
void CNetMsgScriptHelper::Send()
|
void CNetMsgScriptHelper::Send()
|
||||||
{
|
{
|
||||||
DebugNetMsg( 1, DLL_LOC_STR " " __FUNCTION__ "() size(%d)\n", m_bWriteIgnore ? 0 : GetNumBitsWritten() );
|
DebugNetMsg( 1, DLL_LOC_STR " %s() size(%d)\n", __FUNCTION__, m_bWriteIgnore ? 0 : GetNumBitsWritten() );
|
||||||
|
|
||||||
m_bWriteReady = true;
|
m_bWriteReady = true;
|
||||||
}
|
}
|
||||||
|
@ -225,7 +225,7 @@ BEGIN_VS_SHADER( SDK_DecalModulate_dx9,
|
|||||||
|
|
||||||
SetFlashLightColorFromState( state, pShaderAPI, 28 );
|
SetFlashLightColorFromState( state, pShaderAPI, 28 );
|
||||||
|
|
||||||
Assert( state.m_pSpotlightTexture >= 0 && state.m_nSpotlightTextureFrame >= 0 );
|
Assert( state.m_pSpotlightTexture && state.m_nSpotlightTextureFrame >= 0 );
|
||||||
BindTexture( SHADER_SAMPLER7, state.m_pSpotlightTexture, state.m_nSpotlightTextureFrame );
|
BindTexture( SHADER_SAMPLER7, state.m_pSpotlightTexture, state.m_nSpotlightTextureFrame );
|
||||||
|
|
||||||
float atten_pos[8];
|
float atten_pos[8];
|
||||||
|
@ -1841,7 +1841,7 @@ public:
|
|||||||
scopemap_t *scopeMap = m_HookList.Element(i);
|
scopemap_t *scopeMap = m_HookList.Element(i);
|
||||||
char *szEvent = m_HookList.Key(i);
|
char *szEvent = m_HookList.Key(i);
|
||||||
|
|
||||||
Msg( "%s [%x]\n", szEvent, (void*)scopeMap );
|
Msg( "%s [%p]\n", szEvent, (void*)scopeMap );
|
||||||
Msg( "{\n" );
|
Msg( "{\n" );
|
||||||
|
|
||||||
FOR_EACH_MAP_PTR( scopeMap, j )
|
FOR_EACH_MAP_PTR( scopeMap, j )
|
||||||
@ -1849,7 +1849,7 @@ public:
|
|||||||
HScriptRaw hScope = scopeMap->Key(j);
|
HScriptRaw hScope = scopeMap->Key(j);
|
||||||
contextmap_t *contextMap = scopeMap->Element(j);
|
contextmap_t *contextMap = scopeMap->Element(j);
|
||||||
|
|
||||||
Msg( "\t(0x%X) [%x]\n", hScope, (void*)contextMap );
|
Msg( "\t(0x%X) [%p]\n", hScope, (void*)contextMap );
|
||||||
Msg( "\t{\n" );
|
Msg( "\t{\n" );
|
||||||
|
|
||||||
FOR_EACH_VEC_PTR( contextMap, k )
|
FOR_EACH_VEC_PTR( contextMap, k )
|
||||||
|
Loading…
Reference in New Issue
Block a user