Ryan Huffman
ec0fc81b86
Update EntityEditPacketSender to use QSharedPointer<NLPacket>
2015-07-10 08:46:11 -07:00
Ryan Huffman
4db3b309b5
Update AvatarHashMap to use QSharedPointer<NLPacket>
2015-07-10 08:45:54 -07:00
Ryan Huffman
28a1059232
Update AudioClient to use QSharedPointer<NLPacket>
2015-07-10 08:45:39 -07:00
Ryan Huffman
976d14736d
Update PacketReceiver to pass NLPacket as NLPacket&
2015-07-09 16:06:21 -07:00
Ryan Huffman
f8b4c84903
Add missing header in SentPacketHistory
2015-07-09 15:34:20 -07:00
Ryan Huffman
b7fe91ccc6
Fix errors PacketReceiver
2015-07-09 15:34:02 -07:00
Ryan Huffman
672c5cc5b3
Properly create QByteArray in EntityEditPacketSender
2015-07-09 15:33:00 -07:00
Ryan Huffman
5737b3b770
Fix call to size() in AvatarHashMap
2015-07-09 15:32:19 -07:00
Ryan Huffman
5e65f422fa
Move mute environment handling to Application
2015-07-09 15:30:25 -07:00
Ryan Huffman
dd9dea7a97
Merge remote-tracking branch 'birarda/protocol' into receive_packets
...
Conflicts:
interface/src/DatagramProcessor.cpp
interface/src/octree/OctreePacketProcessor.cpp
libraries/entities/src/EntityEditPacketSender.cpp
libraries/networking/src/LimitedNodeList.h
libraries/networking/src/NLPacket.h
2015-07-09 14:08:35 -07:00
Stephen Birarda
1b4e333c49
Merge pull request #3 from birarda/atp
...
initial networking API changes for new protocol
2015-07-09 16:51:37 -04:00
Stephen Birarda
2417981c9d
resolve conflicts on merge with clement/protocol
2015-07-09 13:27:59 -07:00
Atlante45
57d4e64926
Missing deref
2015-07-09 13:24:07 -07:00
Stephen Birarda
caed7da99b
create the avatarPacket in ScriptEngine with the right size
2015-07-09 13:23:20 -07:00
Atlante45
a9cfcf241d
Merge branch 'atp' of https://github.com/birarda/hifi into protocol
2015-07-09 13:22:45 -07:00
Stephen Birarda
893e1864fd
cleanup _newestEntryAtIndex calc in RBH insert
2015-07-09 13:22:41 -07:00
Atlante45
c0b8f83ca0
Better ring index compute
2015-07-09 13:22:09 -07:00
Stephen Birarda
16e7b2625b
don't sink the audioPacket in ScriptEngine
2015-07-09 13:20:10 -07:00
Stephen Birarda
7ee08130f0
fix for avatar packet size in ScriptEngine
2015-07-09 13:18:11 -07:00
Atlante45
7e4999b717
int64_t to qint64 for consistency
2015-07-09 13:12:48 -07:00
Atlante45
01f1a6e2b9
Fix NLPacket::create
2015-07-09 13:12:21 -07:00
Atlante45
f90f3a05be
Fail in Packet::create if size is invalid
2015-07-09 13:11:43 -07:00
Stephen Birarda
6f2e9f4899
cleanup return in SentPacketHistory
2015-07-09 13:06:34 -07:00
Stephen Birarda
14b73ae00f
remove qtimespan that isn't used anymore
2015-07-09 12:45:32 -07:00
Stephen Birarda
f68845e806
remove hash and sequence number replacement in PacketHeaders
2015-07-09 12:33:34 -07:00
Stephen Birarda
3da1a81363
remove packet header population from PacketHeaders
2015-07-09 12:32:52 -07:00
Stephen Birarda
6dc7745826
remove two lines from PacketHeaders
2015-07-09 12:29:21 -07:00
Stephen Birarda
bcea400ee4
delete the old methods to get closer to an even PR
2015-07-09 12:23:12 -07:00
Philip Rosedale
c4911dbbd4
Merge pull request #5288 from AndrewMeadows/arsenic
...
fix ObjectActionOffset logic
2015-07-09 12:22:23 -07:00
Brad Hefta-Gaub
489a8b4b3d
Merge pull request #5285 from jherico/homer
...
Move log file writing to a separate thread
2015-07-09 12:22:13 -07:00
Stephen Birarda
01d1a17231
fix indentation in LimitedNodeList
2015-07-09 12:20:28 -07:00
Stephen Birarda
4c8f32ce7b
add an assert for an NLPacketList segment that is oversized
2015-07-09 12:13:15 -07:00
Andrew Meadows
55207a8fb1
enforce coding standards
2015-07-09 11:59:28 -07:00
Andrew Meadows
ccf14b2e50
fix syntax error typo
2015-07-09 11:43:57 -07:00
Stephen Birarda
a363f42bb2
pass const NLPacket& for all sendUnreliablePacket calls
2015-07-09 11:42:18 -07:00
Andrew Meadows
612e9649d8
fix update logic of ObjectActionOffset
2015-07-09 11:35:54 -07:00
Andrew Meadows
46bca30698
MotionState reports zero velocity for slow objects
...
This reduces the number of updates for an Entity that is effectively
at rest due to a balance between some spring action and gravity, but
nevertheless has a slight non-zero velocity at the end of each
simulation step.
2015-07-09 11:34:27 -07:00
Stephen Birarda
c903d284bb
fix for arguments that are now const NLPacket&
2015-07-09 11:32:00 -07:00
Stephen Birarda
6d2fea4426
make NLPacket copy take const, fix get in SPH
2015-07-09 11:24:58 -07:00
Stephen Birarda
bd9b42bd4c
change createCopy in packet to take const &
2015-07-09 11:23:44 -07:00
Stephen Birarda
659f6742c6
Merge branch 'protocol' of https://github.com/Atlante45/hifi into atp
2015-07-09 11:21:36 -07:00
Stephen Birarda
922d6413d5
change some const unique_ptr to const NLPacket
2015-07-09 11:21:27 -07:00
Atlante45
f2e0524817
Add send unreliable takes const ref
2015-07-09 11:20:01 -07:00
Philip Rosedale
542a5f100a
Merge pull request #5280 from BingShearer/airhockey
...
Air Hockey UI Fix
2015-07-09 10:04:21 -07:00
Ryan Huffman
7f771122ee
Remove old packet handling from PacketReceiver
2015-07-09 09:25:12 -07:00
Ryan Huffman
0180bdc4fb
Update EntityEditPacketSender to use packet callbacks
2015-07-09 09:24:50 -07:00
Ryan Huffman
32b232c87a
Update AvatarHashMap to use packet callbacks
2015-07-09 09:24:28 -07:00
Ryan Huffman
bb132e354b
Update AudioClient to use packet callbacks
2015-07-09 09:24:07 -07:00
Brad Hefta-Gaub
fb07956689
Merge pull request #5284 from hyperlogic/ajt/mirror-view-fix
...
fix for mirror rendering on windows
2015-07-09 08:38:55 -07:00
Stephen Birarda
19c5f0b67c
resolve conflicts on merge with upstream/master
2015-07-08 22:54:36 -07:00