Home
last modified time | relevance | path

Searched refs:GENTITYNUM_BITS (Results 1 – 25 of 65) sorted by relevance

123

/dports/games/openjk/OpenJK-07675e2/codemp/qcommon/
H A Dmsg.cpp858 { NETF(owner), GENTITYNUM_BITS },
895 { NETF(bolt2), GENTITYNUM_BITS },
955 { NETF(ragAttach), GENTITYNUM_BITS },
1317 { PSF(clientNum), GENTITYNUM_BITS },
1318 { PSF(duelIndex), GENTITYNUM_BITS },
1409 { PSF(ragAttach), GENTITYNUM_BITS },
1449 { PSF(clientNum), GENTITYNUM_BITS },
1511 { PSF(duelIndex), GENTITYNUM_BITS },
1561 { PSF(ragAttach), GENTITYNUM_BITS },
1626 { PSF(clientNum), GENTITYNUM_BITS },
[all …]
/dports/games/openjk/OpenJK-07675e2/code/qcommon/
H A Dmsg.cpp562 { NETF(otherEntityNum), GENTITYNUM_BITS },
564 { NETF(groundEntityNum), GENTITYNUM_BITS },
770 MSG_WriteBits( msg, to->number, GENTITYNUM_BITS );
797 MSG_WriteBits( msg, to->number, GENTITYNUM_BITS );
812 MSG_WriteBits(msg, removeNum, GENTITYNUM_BITS); in MSG_WriteEntity()
816 MSG_WriteBits(msg, to->number, GENTITYNUM_BITS); in MSG_WriteEntity()
869 startBit = msg->readcount * 8 - GENTITYNUM_BITS;
927 endBit = msg->readcount * 8 - GENTITYNUM_BITS;
979 { PSF(groundEntityNum), GENTITYNUM_BITS },
1192 startBit = msg->readcount * 8 - GENTITYNUM_BITS; in MSG_ReadDeltaPlayerstate()
[all …]
/dports/games/iortcw/iortcw-1.51c/SP/code/qcommon/
H A Dmsg.c935 { NETF( otherEntityNum ), GENTITYNUM_BITS },
936 { NETF( otherEntityNum2 ), GENTITYNUM_BITS },
937 { NETF( groundEntityNum ), GENTITYNUM_BITS },
1010 startBit = msg->cursize * 8 - GENTITYNUM_BITS; in MSG_WriteDeltaEntity()
1160 endBit = msg->cursize * 8 - GENTITYNUM_BITS; in MSG_WriteDeltaEntity()
1198 startBit = msg->readcount * 8 - GENTITYNUM_BITS; in MSG_ReadDeltaEntity()
1305 endBit = msg->readcount * 8 - GENTITYNUM_BITS; in MSG_ReadDeltaEntity()
1347 { PSF( groundEntityNum ), GENTITYNUM_BITS },
1436 startBit = msg->cursize * 8 - GENTITYNUM_BITS; in MSG_WriteDeltaPlayerstate()
1720 endBit = msg->cursize * 8 - GENTITYNUM_BITS; in MSG_WriteDeltaPlayerstate()
[all …]
/dports/games/iortcw/iortcw-1.51c/MP/code/qcommon/
H A Dmsg.c806 { NETF( otherEntityNum ), GENTITYNUM_BITS },
807 { NETF( otherEntityNum2 ), GENTITYNUM_BITS },
808 { NETF( groundEntityNum ), GENTITYNUM_BITS },
918 MSG_WriteBits( msg, to->number, GENTITYNUM_BITS ); in MSG_WriteDeltaEntity()
1019 startBit = msg->readcount * 8 - GENTITYNUM_BITS; in MSG_ReadDeltaEntity()
1112 endBit = msg->readcount * 8 - GENTITYNUM_BITS; in MSG_ReadDeltaEntity()
1154 { PSF( groundEntityNum ), GENTITYNUM_BITS },
1242 startBit = msg->cursize * 8 - GENTITYNUM_BITS; in MSG_WriteDeltaPlayerstate()
1540 endBit = msg->cursize * 8 - GENTITYNUM_BITS; in MSG_WriteDeltaPlayerstate()
1573 startBit = msg->readcount * 8 - GENTITYNUM_BITS; in MSG_ReadDeltaPlayerstate()
[all …]
/dports/games/dhewm3/dhewm3-1.5.1/neo/game/
H A DGameBase.h53 #define GENTITYNUM_BITS 12 macro
54 #define MAX_GENTITIES (1<<GENTITYNUM_BITS)
H A DGame_local.h592 spawnId = ( gameLocal.spawnIds[ent->entityNumber] << GENTITYNUM_BITS ) | ent->entityNumber;
604 if ( ( id >> GENTITYNUM_BITS ) == gameLocal.spawnIds[ id & ( ( 1 << GENTITYNUM_BITS ) - 1 ) ] ) { in SetSpawnId()
613 …return ( gameLocal.spawnIds[ spawnId & ( ( 1 << GENTITYNUM_BITS ) - 1 ) ] == ( spawnId >> GENTITYN… in IsValid()
618 int entityNum = spawnId & ( ( 1 << GENTITYNUM_BITS ) - 1 ); in GetEntity()
619 if ( gameLocal.spawnIds[ entityNum ] == ( spawnId >> GENTITYNUM_BITS ) ) { in GetEntity()
627 return ( spawnId & ( ( 1 << GENTITYNUM_BITS ) - 1 ) ); in GetEntityNum()
H A DGame_network.cpp353 outMsg.WriteBits( ( spawnIds[ clientNum ] << GENTITYNUM_BITS ) | clientNum, 32 ); // see GetSpawnId in ServerClientDisconnect()
618 msg.WriteBits( ent->entityNumber, GENTITYNUM_BITS ); in ServerWriteSnapshot()
631 deltaMsg.WriteBits( spawnIds[ ent->entityNumber ], 32 - GENTITYNUM_BITS ); in ServerWriteSnapshot()
651 msg.WriteBits( ENTITYNUM_NONE, GENTITYNUM_BITS ); in ServerWriteSnapshot()
714 int entityNum = event->spawnId & ( ( 1 << GENTITYNUM_BITS ) - 1 ); in NetworkEventWarning()
715 int id = event->spawnId >> GENTITYNUM_BITS; in NetworkEventWarning()
1018 …for ( i = msg.ReadBits( GENTITYNUM_BITS ); i != ENTITYNUM_NONE; i = msg.ReadBits( GENTITYNUM_BITS in ClientReadSnapshot()
1035 spawnId = deltaMsg.ReadBits( 32 - GENTITYNUM_BITS ); in ClientReadSnapshot()
1191 spawnId = deltaMsg.ReadBits( 32 - GENTITYNUM_BITS ); in ClientReadSnapshot()
1273 if( !gameLocal.entities[ event->spawnId & ( ( 1 << GENTITYNUM_BITS ) - 1 ) ] ) { in ClientProcessEntityNetworkEventQueue()
H A DEntity.cpp4600 bindInfo |= ( fl.bindOrientated & 1 ) << GENTITYNUM_BITS; in WriteBindToSnapshot()
4602 bindInfo |= 1 << ( GENTITYNUM_BITS + 1 ); in WriteBindToSnapshot()
4603 bindInfo |= bindJoint << ( 3 + GENTITYNUM_BITS ); in WriteBindToSnapshot()
4605 bindInfo |= 2 << ( GENTITYNUM_BITS + 1 ); in WriteBindToSnapshot()
4606 bindInfo |= bindBody << ( 3 + GENTITYNUM_BITS ); in WriteBindToSnapshot()
4611 msg.WriteBits( bindInfo, GENTITYNUM_BITS + 3 + 9 ); in WriteBindToSnapshot()
4624 bindInfo = msg.ReadBits( GENTITYNUM_BITS + 3 + 9 ); in ReadBindFromSnapshot()
4625 bindEntityNum = bindInfo & ( ( 1 << GENTITYNUM_BITS ) - 1 ); in ReadBindFromSnapshot()
4630 bindOrientated = ( bindInfo >> GENTITYNUM_BITS ) & 1; in ReadBindFromSnapshot()
4631 bindPos = ( bindInfo >> ( GENTITYNUM_BITS + 3 ) ); in ReadBindFromSnapshot()
[all …]
/dports/games/dhewm3/dhewm3-1.5.1/neo/d3xp/
H A DGameBase.h56 #define GENTITYNUM_BITS 12 macro
57 #define MAX_GENTITIES (1<<GENTITYNUM_BITS)
H A DGame_local.h652 spawnId = ( gameLocal.spawnIds[ent->entityNumber] << GENTITYNUM_BITS ) | ent->entityNumber;
664 if ( ( id >> GENTITYNUM_BITS ) == gameLocal.spawnIds[ id & ( ( 1 << GENTITYNUM_BITS ) - 1 ) ] ) { in SetSpawnId()
673 …return ( gameLocal.spawnIds[ spawnId & ( ( 1 << GENTITYNUM_BITS ) - 1 ) ] == ( spawnId >> GENTITYN… in IsValid()
678 int entityNum = spawnId & ( ( 1 << GENTITYNUM_BITS ) - 1 ); in GetEntity()
679 if ( gameLocal.spawnIds[ entityNum ] == ( spawnId >> GENTITYNUM_BITS ) ) { in GetEntity()
687 return ( spawnId & ( ( 1 << GENTITYNUM_BITS ) - 1 ) ); in GetEntityNum()
H A DGame_network.cpp353 outMsg.WriteBits( ( spawnIds[ clientNum ] << GENTITYNUM_BITS ) | clientNum, 32 ); // see GetSpawnId in ServerClientDisconnect()
632 msg.WriteBits( ent->entityNumber, GENTITYNUM_BITS ); in ServerWriteSnapshot()
645 deltaMsg.WriteBits( spawnIds[ ent->entityNumber ], 32 - GENTITYNUM_BITS ); in ServerWriteSnapshot()
665 msg.WriteBits( ENTITYNUM_NONE, GENTITYNUM_BITS ); in ServerWriteSnapshot()
728 int entityNum = event->spawnId & ( ( 1 << GENTITYNUM_BITS ) - 1 ); in NetworkEventWarning()
729 int id = event->spawnId >> GENTITYNUM_BITS; in NetworkEventWarning()
1032 …for ( i = msg.ReadBits( GENTITYNUM_BITS ); i != ENTITYNUM_NONE; i = msg.ReadBits( GENTITYNUM_BITS in ClientReadSnapshot()
1049 spawnId = deltaMsg.ReadBits( 32 - GENTITYNUM_BITS ); in ClientReadSnapshot()
1223 spawnId = deltaMsg.ReadBits( 32 - GENTITYNUM_BITS ); in ClientReadSnapshot()
1305 if( !gameLocal.entities[ event->spawnId & ( ( 1 << GENTITYNUM_BITS ) - 1 ) ] ) { in ClientProcessEntityNetworkEventQueue()
H A DEntity.cpp4774 bindInfo |= ( fl.bindOrientated & 1 ) << GENTITYNUM_BITS; in WriteBindToSnapshot()
4776 bindInfo |= 1 << ( GENTITYNUM_BITS + 1 ); in WriteBindToSnapshot()
4777 bindInfo |= bindJoint << ( 3 + GENTITYNUM_BITS ); in WriteBindToSnapshot()
4779 bindInfo |= 2 << ( GENTITYNUM_BITS + 1 ); in WriteBindToSnapshot()
4780 bindInfo |= bindBody << ( 3 + GENTITYNUM_BITS ); in WriteBindToSnapshot()
4785 msg.WriteBits( bindInfo, GENTITYNUM_BITS + 3 + 9 ); in WriteBindToSnapshot()
4798 bindInfo = msg.ReadBits( GENTITYNUM_BITS + 3 + 9 ); in ReadBindFromSnapshot()
4799 bindEntityNum = bindInfo & ( ( 1 << GENTITYNUM_BITS ) - 1 ); in ReadBindFromSnapshot()
4804 bindOrientated = ( bindInfo >> GENTITYNUM_BITS ) & 1; in ReadBindFromSnapshot()
4805 bindPos = ( bindInfo >> ( GENTITYNUM_BITS + 3 ) ); in ReadBindFromSnapshot()
[all …]
/dports/games/ioquake3-server/ioquake3-1.36/code/qcommon/
H A Dmsg.c819 { NETF(groundEntityNum), GENTITYNUM_BITS },
822 { NETF(otherEntityNum), GENTITYNUM_BITS },
834 { NETF(otherEntityNum2), GENTITYNUM_BITS },
896 MSG_WriteBits( msg, from->number, GENTITYNUM_BITS ); in MSG_WriteDeltaEntity()
921 MSG_WriteBits( msg, to->number, GENTITYNUM_BITS ); in MSG_WriteDeltaEntity()
927 MSG_WriteBits( msg, to->number, GENTITYNUM_BITS ); in MSG_WriteDeltaEntity()
1006 startBit = msg->readcount * 8 - GENTITYNUM_BITS; in MSG_ReadDeltaEntity()
1095 endBit = msg->readcount * 8 - GENTITYNUM_BITS; in MSG_ReadDeltaEntity()
1137 { PSF(groundEntityNum), GENTITYNUM_BITS },
1347 startBit = msg->readcount * 8 - GENTITYNUM_BITS; in MSG_ReadDeltaPlayerstate()
[all …]
/dports/games/ioquake3/ioquake3-1.36/code/qcommon/
H A Dmsg.c819 { NETF(groundEntityNum), GENTITYNUM_BITS },
822 { NETF(otherEntityNum), GENTITYNUM_BITS },
834 { NETF(otherEntityNum2), GENTITYNUM_BITS },
896 MSG_WriteBits( msg, from->number, GENTITYNUM_BITS ); in MSG_WriteDeltaEntity()
921 MSG_WriteBits( msg, to->number, GENTITYNUM_BITS ); in MSG_WriteDeltaEntity()
927 MSG_WriteBits( msg, to->number, GENTITYNUM_BITS ); in MSG_WriteDeltaEntity()
1006 startBit = msg->readcount * 8 - GENTITYNUM_BITS; in MSG_ReadDeltaEntity()
1095 endBit = msg->readcount * 8 - GENTITYNUM_BITS; in MSG_ReadDeltaEntity()
1137 { PSF(groundEntityNum), GENTITYNUM_BITS },
1347 startBit = msg->readcount * 8 - GENTITYNUM_BITS; in MSG_ReadDeltaPlayerstate()
[all …]
/dports/games/tremulous/tremulous/tremulous-1.1.0-src/src/qcommon/
H A Dmsg.c804 { NETF(groundEntityNum), GENTITYNUM_BITS },
807 { NETF(otherEntityNum), GENTITYNUM_BITS },
819 { NETF(otherEntityNum2), GENTITYNUM_BITS },
881 MSG_WriteBits( msg, from->number, GENTITYNUM_BITS ); in MSG_WriteDeltaEntity()
906 MSG_WriteBits( msg, to->number, GENTITYNUM_BITS ); in MSG_WriteDeltaEntity()
912 MSG_WriteBits( msg, to->number, GENTITYNUM_BITS ); in MSG_WriteDeltaEntity()
993 startBit = msg->readcount * 8 - GENTITYNUM_BITS; in MSG_ReadDeltaEntity()
1082 endBit = msg->readcount * 8 - GENTITYNUM_BITS; in MSG_ReadDeltaEntity()
1124 { PSF(groundEntityNum), GENTITYNUM_BITS },
1334 startBit = msg->readcount * 8 - GENTITYNUM_BITS; in MSG_ReadDeltaPlayerstate()
[all …]
/dports/games/worldofpadman/worldofpadman-1.2.20080621/code/qcommon/
H A Dmsg.c817 { NETF(groundEntityNum), GENTITYNUM_BITS },
820 { NETF(otherEntityNum), GENTITYNUM_BITS },
832 { NETF(otherEntityNum2), GENTITYNUM_BITS },
894 MSG_WriteBits( msg, from->number, GENTITYNUM_BITS ); in MSG_WriteDeltaEntity()
919 MSG_WriteBits( msg, to->number, GENTITYNUM_BITS ); in MSG_WriteDeltaEntity()
925 MSG_WriteBits( msg, to->number, GENTITYNUM_BITS ); in MSG_WriteDeltaEntity()
1006 startBit = msg->readcount * 8 - GENTITYNUM_BITS; in MSG_ReadDeltaEntity()
1095 endBit = msg->readcount * 8 - GENTITYNUM_BITS; in MSG_ReadDeltaEntity()
1137 { PSF(groundEntityNum), GENTITYNUM_BITS },
1347 startBit = msg->readcount * 8 - GENTITYNUM_BITS; in MSG_ReadDeltaPlayerstate()
[all …]
/dports/games/evq3/evq3/code/qcommon/
H A Dmsg.c823 { NETF(groundEntityNum), GENTITYNUM_BITS },
826 { NETF(otherEntityNum), GENTITYNUM_BITS },
838 { NETF(otherEntityNum2), GENTITYNUM_BITS },
900 MSG_WriteBits( msg, from->number, GENTITYNUM_BITS ); in MSG_WriteDeltaEntity()
925 MSG_WriteBits( msg, to->number, GENTITYNUM_BITS ); in MSG_WriteDeltaEntity()
931 MSG_WriteBits( msg, to->number, GENTITYNUM_BITS ); in MSG_WriteDeltaEntity()
1012 startBit = msg->readcount * 8 - GENTITYNUM_BITS; in MSG_ReadDeltaEntity()
1101 endBit = msg->readcount * 8 - GENTITYNUM_BITS; in MSG_ReadDeltaEntity()
1143 { PSF(groundEntityNum), GENTITYNUM_BITS },
1353 startBit = msg->readcount * 8 - GENTITYNUM_BITS; in MSG_ReadDeltaPlayerstate()
[all …]
/dports/games/openarena/openarena-engine-source-0.8.8/code/qcommon/
H A Dmsg.c834 { NETF(groundEntityNum), GENTITYNUM_BITS },
837 { NETF(otherEntityNum), GENTITYNUM_BITS },
849 { NETF(otherEntityNum2), GENTITYNUM_BITS },
911 MSG_WriteBits( msg, from->number, GENTITYNUM_BITS ); in MSG_WriteDeltaEntity()
936 MSG_WriteBits( msg, to->number, GENTITYNUM_BITS ); in MSG_WriteDeltaEntity()
942 MSG_WriteBits( msg, to->number, GENTITYNUM_BITS ); in MSG_WriteDeltaEntity()
1021 startBit = msg->readcount * 8 - GENTITYNUM_BITS; in MSG_ReadDeltaEntity()
1114 endBit = msg->readcount * 8 - GENTITYNUM_BITS; in MSG_ReadDeltaEntity()
1156 { PSF(groundEntityNum), GENTITYNUM_BITS },
1366 startBit = msg->readcount * 8 - GENTITYNUM_BITS; in MSG_ReadDeltaPlayerstate()
[all …]
/dports/games/openarena-server/openarena-engine-source-0.8.8/code/qcommon/
H A Dmsg.c834 { NETF(groundEntityNum), GENTITYNUM_BITS },
837 { NETF(otherEntityNum), GENTITYNUM_BITS },
849 { NETF(otherEntityNum2), GENTITYNUM_BITS },
911 MSG_WriteBits( msg, from->number, GENTITYNUM_BITS ); in MSG_WriteDeltaEntity()
936 MSG_WriteBits( msg, to->number, GENTITYNUM_BITS ); in MSG_WriteDeltaEntity()
942 MSG_WriteBits( msg, to->number, GENTITYNUM_BITS ); in MSG_WriteDeltaEntity()
1021 startBit = msg->readcount * 8 - GENTITYNUM_BITS; in MSG_ReadDeltaEntity()
1114 endBit = msg->readcount * 8 - GENTITYNUM_BITS; in MSG_ReadDeltaEntity()
1156 { PSF(groundEntityNum), GENTITYNUM_BITS },
1366 startBit = msg->readcount * 8 - GENTITYNUM_BITS; in MSG_ReadDeltaPlayerstate()
[all …]
/dports/games/tremulous/tremulous/tremulous-1.1.0-src/src/client/
H A Dcl_parse.c114 newnum = MSG_ReadBits( msg, GENTITYNUM_BITS ); in CL_ParsePacketEntities()
434 newnum = MSG_ReadBits( msg, GENTITYNUM_BITS ); in CL_ParseGamestate()
/dports/games/worldofpadman/worldofpadman-1.2.20080621/code/client/
H A Dcl_parse.c113 newnum = MSG_ReadBits( msg, GENTITYNUM_BITS ); in CL_ParsePacketEntities()
487 newnum = MSG_ReadBits( msg, GENTITYNUM_BITS ); in CL_ParseGamestate()
/dports/games/openjk/OpenJK-07675e2/codemp/client/
H A Dcl_parse.cpp130 newnum = MSG_ReadBits( msg, GENTITYNUM_BITS ); in CL_ParsePacketEntities()
585 newnum = MSG_ReadBits( msg, GENTITYNUM_BITS ); in CL_ParseGamestate()
/dports/games/ioquake3-server/ioquake3-1.36/code/client/
H A Dcl_parse.c116 newnum = MSG_ReadBits( msg, GENTITYNUM_BITS ); in CL_ParsePacketEntities()
501 newnum = MSG_ReadBits( msg, GENTITYNUM_BITS ); in CL_ParseGamestate()
/dports/games/iortcw/iortcw-1.51c/SP/code/client/
H A Dcl_parse.c123 newnum = MSG_ReadBits( msg, GENTITYNUM_BITS ); in CL_ParsePacketEntities()
511 newnum = MSG_ReadBits( msg, GENTITYNUM_BITS ); in CL_ParseGamestate()
/dports/games/ioquake3/ioquake3-1.36/code/client/
H A Dcl_parse.c116 newnum = MSG_ReadBits( msg, GENTITYNUM_BITS ); in CL_ParsePacketEntities()
501 newnum = MSG_ReadBits( msg, GENTITYNUM_BITS ); in CL_ParseGamestate()

123