Simon Walton
64fc3e1091
ThreadedAssignment calls virtual stop() upon domain disconnect
2018-07-31 15:30:33 -07:00
Clement
949c7f8c19
Add automated test tool scripting interface
2018-07-30 17:18:32 -07:00
John Conklin II
6d7116fad7
Merge pull request #13676 from thoys/fix/api/agent
...
MS15184: Remove deprecated functions in Agent API
2018-07-30 14:48:10 -07:00
David Rowe
baf88ab508
Revise scriptable resource caches' interfaces
2018-07-26 16:12:16 +12:00
David Rowe
16e06de9cd
Move scriptable caches into scripting interfaces
...
Removed non-working getResource() API functions.
2018-07-25 22:10:14 +12:00
Dante Ruiz
b750a005cf
fix script memory issue
2018-07-24 16:31:12 -07:00
Thijs Wenker
e2d7431456
move agent scripting interface to its own class to get rid of deprecated API
2018-07-24 16:54:24 +02:00
Simon Walton
b60ea1f6a2
Fixes from reviewer
...
Call base version from aboutToFinish(); add comment for
script-engine logic.
2018-07-16 18:25:46 -07:00
Simon Walton
c1e6221391
Merge branch 'master' into script-engine-thread-agent
2018-07-13 10:06:49 -07:00
Simon Walton
a305a6a534
Emit finished in Agent::aboutToFinish() if script execution hasn't started yet
2018-07-12 16:48:41 -07:00
Simon Walton
2c629e2ec8
Don't destroy ScriptEngines in aboutToFinish()
2018-07-09 17:38:39 -07:00
Simon Walton
1c23fc75a4
Emit finished signal from AC derived classes
...
To avoid Agent destruction-in-use move emit finished from
setFinished to Agent methods. For other ACs emit from
aboutToFinish().
2018-07-09 16:56:54 -07:00
Simon Walton
000423673e
Don't explicitly destroy script engine; emit finished when actually finished
2018-07-09 13:30:44 -07:00
Clement
ba53e7add8
Fix ACs startup crash
2018-06-29 16:29:32 -07:00
Clement
d87cd2af6e
Update avatar query names
2018-05-03 18:19:30 -07:00
Clement
27c471ee97
Move all wire frustums to conical frustums
2018-05-03 18:19:29 -07:00
Clement
e400eb4ed2
Rename ViewFrustum packets to AvatarQuery
2018-05-03 18:19:29 -07:00
Clement
7fe16f82fb
Move variables to Agent.cpp
2018-05-03 17:08:17 -07:00
Clement
83a438eb22
Set avatar view packets on their own timer
2018-05-01 18:10:55 -07:00
Clement
a283d28686
Send number of frustums in packet
2018-05-01 18:03:21 -07:00
Clement
ddde0228ba
Fix AC not sending Avatar Mixer a frustum
2018-05-01 18:03:21 -07:00
Stephen Birarda
3a8c9de4fb
fix some xcode warnings for unnecessary captured this
2018-04-04 10:38:32 -07:00
Ryan Huffman
cb9327e030
Add entity file sync and domain content backups
2018-02-15 10:09:20 -08:00
Stephen Birarda
c90cdf52b4
remove unecessary parenting of Agent script engine
2018-01-17 11:02:56 -08:00
Ken Cooke
660032d8fb
Fix bug in how emitAudioPacket() determines mono/stereo.
...
Compressed bytes were counted as if audio samples.
2018-01-10 06:54:27 -08:00
Atlante45
28f164d7e5
Remove legacy jurisdiction code
2017-12-29 12:46:52 -08:00
ZappoMan
a7a0f03ede
rename SpatiallyNestable::getPosition() to SpatiallyNestable::getWorldPosition()
2017-10-27 18:39:17 -07:00
Seth Alves
d89f2b77da
rework ScriptEngine lifetimes using 'smart' pointers
2017-09-14 10:42:21 -07:00
Stephen Birarda
8d0ed51035
clear entity tree in Agent if ES disappears
2017-08-10 11:02:56 -07:00
Atlante45
91d65469a0
Use timer instead of dedicated thread to tick avatar
2017-07-17 15:52:52 -07:00
Clément Brisset
d346b1c68f
Merge pull request #10924 from Atlante45/fix/debug-asserts
...
Misc servers debug asserts fixes
2017-07-12 15:05:15 -07:00
Atlante45
b3d73fd0df
Add comments to DebugDraw instanciation
2017-07-12 10:39:15 -07:00
Atlante45
c32f4ab0d3
CR
2017-07-10 14:24:53 -07:00
Atlante45
aa306c3450
Fix debug asserts on shutdown
2017-07-07 17:01:07 -07:00
Atlante45
0778fbaea9
Fix Debug Mode Assert
2017-07-07 15:58:39 -07:00
Atlante45
1d07ab70f0
Fix warnings
2017-07-06 10:56:09 -07:00
Atlante45
95abbd0ad4
Prevent Interface from trying to send packets bigger than an MTU
2017-07-05 17:08:04 -07:00
Thijs Wenker
93679f7c3b
move the ResourceManager init back to where it was, to prevent problems
2017-06-29 00:52:51 +02:00
Seth Alves
794495c197
make ResourceManager be owned by DependencyManager
2017-06-28 14:18:14 -07:00
Thijs Wenker
47643e1efe
Expose location API to Agent scripts (side-effect, agents now can teleport)
2017-06-21 06:31:36 +02:00
Bradley Austin Davis
fc6a278217
Fixing dangling thread issues, consolidating thread management
2017-06-06 15:02:16 -07:00
Sam Cake
d19956f93c
Fixing warnings
2017-05-31 22:02:47 -07:00
Ken Cooke
0fe404adbb
Merge branch 'master' of https://github.com/highfidelity/hifi into audio-noisegate-new
2017-05-23 17:31:03 -07:00
Ken Cooke
f3797798d3
Cleanup
2017-05-23 15:33:37 -07:00
Ken Cooke
c47d80574e
Replace the other noise gate, in Agent.cpp
2017-05-23 15:32:41 -07:00
Zach Fox
487319f7ef
Increment _identitySequenceId before sending ID packet for agents
2017-05-19 16:53:25 -07:00
Brad Hefta-Gaub
ee6bed5c1c
Merge pull request #10189 from Atlante45/fix/memory-leak
...
Set max packet per second on the agent
2017-05-16 21:03:05 -07:00
ZappoMan
834a447d62
remove debugging code
2017-04-26 18:36:44 -07:00
ZappoMan
7154a11192
add some more logging
2017-04-26 14:03:36 -07:00
ZappoMan
65801cbb4d
Merge branch 'master' of https://github.com/highfidelity/hifi into retrySkeletonURL
2017-04-25 18:21:17 -07:00
ZappoMan
8dc41ca8b9
add support for ignore radius from agent scripts
2017-04-25 15:28:26 -07:00
ZappoMan
382645ddd0
more cleanup
2017-04-24 18:01:54 -07:00
Atlante45
41cd0d79b2
Set max packet per second on the agent
2017-04-24 10:56:57 -07:00
Thijs Wenker
6f58e91d76
Merge pull request #10121 from birarda/bug/recording-cache
...
cleanup Agent RSI handling, make loadRecording async
2017-04-14 21:35:51 +02:00
Stephen Birarda
84a5807ff1
return ScriptAvatarData raw pointer from getAvatar
2017-04-10 22:15:45 -07:00
Stephen Birarda
6c49db0f1b
add missing include for qScriptRegisterMetaType in Agent
2017-04-10 22:15:45 -07:00
Stephen Birarda
42a406e90a
add ScriptAvatar for std::shared_ptr<Avatar> passing to scripts
2017-04-10 22:15:45 -07:00
Stephen Birarda
c7a28a527a
cleanup Agent recording handling, make loadRecording async
2017-04-04 10:56:25 -07:00
Stephen Birarda
6ed4295b8b
make sure HeadData is present before processing recording frames
2017-04-03 13:55:11 -07:00
Ryan Huffman
aa8d231e82
Remove extra setting of AnimationCache in Agent
2017-03-28 09:35:15 -07:00
Ryan Huffman
d84e2fb048
Add AnimationCache to agent scripts
2017-03-27 12:05:25 -07:00
Stephen Birarda
b53cb5934b
make sure the AC agent has an AudioScriptingInterface
2017-03-22 23:35:29 -07:00
Zach Pomerantz
3b8c82491a
add AudioNoiseGate to Agent
2017-03-16 18:47:58 +00:00
Zach Pomerantz
e6fbdf8f06
add isNoiseGateEnabled to Agent
2017-03-15 00:15:49 +00:00
David Kelly
29f263a296
oh man, this was hard to find
2017-03-02 12:43:41 -07:00
David Kelly
81451191c1
no need to get the ScriptableAvatar from DependencyManager every time
2017-03-01 18:06:03 -07:00
David Kelly
2635657456
zappoman's feedback, plus added const corrrectness to computeLoudness
2017-02-28 13:24:25 -07:00
David Kelly
0b8624aa6f
Merge branch 'master' of https://github.com/highfidelity/hifi into dk/agentAvatarDataUpdates
2017-02-28 09:46:01 -07:00
David Kelly
397eb89c14
compiler warning - odd
2017-02-22 08:38:49 -08:00
David Kelly
6d7fab4053
Agent Avatars sending loudness in AvatarData
2017-02-21 16:59:08 -08:00
Brad Hefta-Gaub
d233430809
fix warnings
2017-02-17 21:58:35 -08:00
Brad Hefta-Gaub
291b823cfa
const cleanup and fix crash
2017-02-17 18:28:07 -08:00
Brad Hefta-Gaub
4f655bba3f
more hacking
2017-02-15 09:29:45 -08:00
Brad Hefta-Gaub
b399420190
CR
2017-02-08 15:42:59 -08:00
Brad Hefta-Gaub
9d3c674271
fix warning
2017-02-08 13:41:09 -08:00
Brad Hefta-Gaub
eedfc4fd38
fix various bot related bugs
2017-02-08 12:35:00 -08:00
Thijs Wenker
a2da1e3dc1
Merge branch 'master' into fix-ac-playback-audio
2017-01-27 21:00:57 +01:00
Thijs Wenker
cdc0f3ddd2
- make AC recording audio play with right encoding
...
- spelling fix
2017-01-27 01:19:11 +01:00
ZappoMan
3c3dcbbbaa
Merge branch 'master' of https://github.com/highfidelity/hifi into tuneAvatarInfo
2017-01-26 08:20:03 -08:00
ZappoMan
81b5a3c585
more cleanup
2017-01-23 15:12:54 -08:00
ZappoMan
292d472a59
checkpoint - got first cut at distance based rotation tolerance working
2017-01-23 13:06:29 -08:00
Ryan Huffman
9b1cd52fb4
Add the ability to get the context that a script is running in
2017-01-23 08:58:01 -08:00
Stephen Birarda
25bd6fa2c1
move recording interface to Agent/Application only
2017-01-20 10:27:08 -08:00
Atlante45
529286b2ea
More EntityScriptServer work
2017-01-17 13:47:45 -08:00
Atlante45
163d65d784
Setup basic EntityScriptServer
2017-01-17 13:47:45 -08:00
ZappoMan
6e5e9d3492
more work
2017-01-16 18:28:01 -08:00
ZappoMan
c9c311e275
checkpoint for distance joints
2017-01-15 11:47:48 -08:00
Brad Hefta-Gaub
5e65e3991c
CR feedback
2016-12-20 21:03:10 -08:00
Zach Fox
7030c7b0a6
Space bubble improvements ( #9142 )
...
* The space bubble around a player's avatar is now visualized. When another avatar enters a player's bubble, The bubble visualization will appear, a soft tone will play, and the "Bubble" HUD button will flash.
* The space bubble radius setting has been removed. Space bubble size now scales based on avatar scale.
* Space bubble collision detection is now more accurate and reliable.
* CTRL + N toggles the bubble.
* The "Bubble" HUD button has been moved to the proper location.
2016-12-12 14:22:54 -08:00
David Kelly
920cd90afa
CR feedback
2016-11-03 13:23:05 -07:00
David Kelly
ec0382daf7
PR feedback
...
Completely deleting hrtfs incorrectly. This seems to be better, we
only want to delete HRTF for the QUuid() stream for the killed node in each
node's list of HRTFs.
2016-11-01 18:29:31 -07:00
David Kelly
c1feac971b
CR feedback
2016-11-01 15:17:07 -07:00
David Kelly
404c08b0c7
Un-do of previous commit
...
Seems to add an artifact when using our test scripts. Will work on that
as a separate issue, as it would be an existing issue in any case.
2016-11-01 10:46:22 -07:00
David Kelly
fb2968a419
Reset bytes sent counter when setting avatar sound
...
It could be past the end of the buffer if you changed sounds, and the
new one is shorter. Won't happen with our current tests, but that could
change, and in general no reason it couldn't happen.
2016-11-01 09:12:35 -07:00
David Kelly
5714063eff
Make more reliable
...
Need to be sure we don't change the _isAvatar or
_isListeningToAudioStream from one thread while processing audio in
another. Also, fixed issue sending NLPacketList.
2016-10-31 16:38:01 -07:00
David Kelly
80e38c395e
Send KillAvatar to AudioMixer too
...
So it can remove the listening agent avatar audio streams. Otherwise
they stick around forever, and eventually swamp the audio mixer.
2016-10-31 10:35:16 -07:00
David Kelly
e3a22618d1
CR feedback
2016-10-27 17:49:43 -07:00
David Kelly
5e4f539144
AudioMixer flushes now
...
And protected agent from case with no codec
2016-10-27 14:46:04 -07:00
David Kelly
d00a73dde1
Play the flushed encoder sound at end
...
Basically 0-padding the end of the sound buffer. Next do that in
AudioMixer and we should be good.
2016-10-27 14:27:15 -07:00
David Kelly
b09364c288
whitespace
2016-10-25 12:22:26 -07:00