Commit graph

527 commits

Author SHA1 Message Date
Stephen Birarda
b4184562e0 Merge remote-tracking branch 'origin/master' 2013-02-22 13:39:20 -08:00
Stephen Birarda
5d2cba0b2a add silent agent removal to AgentList class 2013-02-22 13:38:33 -08:00
Stephen Birarda
345ec8b938 fix threaded socket joins so that socket has timeout on blocking receive 2013-02-22 13:37:57 -08:00
Philip Rosedale
0453445b13 Render own manipulator hand in front of camera 2013-02-22 12:47:28 -08:00
Philip Rosedale
777a00db3e Adding hand data to head broadcast packet. 2013-02-22 12:28:27 -08:00
Stephen Birarda
200982dddc fix for UDPSocket receive crash in Audio class and main.cpp 2013-02-22 12:20:16 -08:00
Philip Rosedale
014fdcc618 Tweaked hand 'length' 2013-02-22 12:20:01 -08:00
Philip Rosedale
41259f9ae0 Changed Hand to be a floating 'paddle' in front of the head 2013-02-22 12:10:29 -08:00
Stephen Birarda
f4a1c405fc remove useless cast, activeSocket is a sockaddr 2013-02-22 10:13:12 -08:00
Stephen Birarda
e7fc997f78 push and pop when drawing agent heads 2013-02-21 16:55:20 -08:00
Stephen Birarda
5d8ece7867 add a missing break in processAgentData switch case 2013-02-21 16:47:41 -08:00
Stephen Birarda
aa9f4f966e allow switchover to new audio mixer received from audio server 2013-02-21 15:43:52 -08:00
Stephen Birarda
c28ace9c15 have mixer use sockaddr when calling UDPSocket receive 2013-02-21 15:17:07 -08:00
Stephen Birarda
41691a8aae UDPSocket methods now want sockaddr instead of sockaddr_in 2013-02-21 15:16:19 -08:00
Stephen Birarda
1e00962fb7 fix crash on match to active socket, remove LD debug 2013-02-21 15:08:23 -08:00
Stephen Birarda
0becd86e6c show correct number of agents nearby 2013-02-21 15:04:17 -08:00
Stephen Birarda
4a60c5a07b switch back to EC2 domain server 2013-02-21 15:02:33 -08:00
Stephen Birarda
008223b847 include cstring for memcpy in Agent class 2013-02-21 14:55:43 -08:00
Stephen Birarda
27c4702c7e move to agent head position before drawing it 2013-02-21 14:45:33 -08:00
Stephen Birarda
9ec51116d5 fix unecessary copy of Agent, blow away linkedData to rebuild it 2013-02-21 14:36:53 -08:00
Stephen Birarda
ea43988173 resolve conflicts on merge with master 2013-02-21 13:00:02 -08:00
Stephen Birarda
47e2e6651a add AgentData.cpp with defined abstract destructor 2013-02-21 12:57:45 -08:00
Stephen Birarda
060f4dceca use AgentData class to abstract implemenation of linked data 2013-02-21 12:56:57 -08:00
Philip Rosedale
67115ccad4 First commit of 'Death Star' voxel planet 2013-02-21 11:25:52 -08:00
Philip Rosedale
5f60bf6376 recursive position vector is same as rendering. 2013-02-20 21:42:10 -08:00
Philip Rosedale
9d6d17c1bc Merge remote-tracking branch 'origin' 2013-02-20 21:39:04 -08:00
Philip Rosedale
15fd9638d6 remove deadhead (of self) at origin. First commit of voxels with LOD, recursive test pattern. 2013-02-20 21:38:42 -08:00
Stephen Birarda
c57380012e hook domain server up to AgentList, pack sockets 2013-02-20 18:32:23 -08:00
Stephen Birarda
7205817476 remove AgentSocket abstraction to use sockaddr struct 2013-02-20 11:44:35 -08:00
Stephen Birarda
42927ec602 implement pingAgents method in AgentList 2013-02-19 17:46:49 -08:00
Stephen Birarda
9a514f56e5 have AgentList control the required UDPSocket instance 2013-02-19 17:34:34 -08:00
Stephen Birarda
00211ddc3d add an overloaded << operator to simplify address debugging 2013-02-19 17:08:32 -08:00
Stephen Birarda
bd02f48943 switch to copy-and-swap for AgentSocket and Agent 2013-02-19 16:59:14 -08:00
Stephen Birarda
9d5a800c6f begin abstraction of Agent communication to shared classes 2013-02-19 16:38:57 -08:00
Stephen Birarda
6c70d264ac fix company name in header comments 2013-02-19 12:50:23 -08:00
Stephen Birarda
3b8bd83c01 include string for memset and strcpy, use fscanf returns 2013-02-18 17:14:35 -08:00
Stephen Birarda
b9dafbe5bd include stdlib for use of strtoul 2013-02-18 17:12:09 -08:00
Stephen Birarda
6d4a0b82ce include cstdio for UNIX build 2013-02-18 17:10:41 -08:00
Stephen Birarda
216e671fa0 bump MAX_NAME_LENGTH to 255 2013-02-18 17:08:08 -08:00
Philip Rosedale
fd151fb7bc trivial change for gyro fix 2013-02-18 16:42:19 -08:00
Stephen Birarda
741654e13d don't print RAW packet to stdout 2013-02-18 16:35:45 -08:00
Stephen Birarda
307fa9e5fa point to EC2 domain server instead of local machine 2013-02-18 16:33:31 -08:00
Stephen Birarda
e6a0f5cd6c simplify bitwise operations to single statements 2013-02-18 16:32:39 -08:00
Stephen Birarda
8322c29093 use char * in place of vectors and strings 2013-02-18 16:29:33 -08:00
Stephen Birarda
dcb0e5add2 copy resources to OS X application bundle 2013-02-18 11:39:29 -08:00
Stephen Birarda
8c8309c1f4 add some comments to the CMakeLists files 2013-02-18 11:08:12 -08:00
Stephen Birarda
9774dd5874 don't kill serial when polling too quickly 2013-02-18 10:37:00 -08:00
Stephen Birarda
fd73b8de82 always store ports as unsigned short ports 2013-02-18 09:50:15 -08:00
Stephen Birarda
c3c0793ddc mixer needs to send port as unsigned short 2013-02-18 09:39:52 -08:00
Stephen Birarda
612662c475 actually allocate memory for the agent private address 2013-02-18 09:36:47 -08:00