mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 17:39:26 +02:00
Finish with TODOs
This commit is contained in:
parent
0da4e3e3c4
commit
43619d1db1
2 changed files with 5 additions and 5 deletions
|
@ -18,9 +18,9 @@
|
||||||
PLAYER_COMMAND_PLAY = "play",
|
PLAYER_COMMAND_PLAY = "play",
|
||||||
PLAYER_COMMAND_STOP = "stop",
|
PLAYER_COMMAND_STOP = "stop",
|
||||||
heartbeatTimer = null,
|
heartbeatTimer = null,
|
||||||
HEARTBEAT_INTERVAL = 3000, // TODO: Final value.
|
HEARTBEAT_INTERVAL = 3000,
|
||||||
TIMESTAMP_UPDATE_INTERVAL = 2500, // TODO: Final value.
|
TIMESTAMP_UPDATE_INTERVAL = 2500,
|
||||||
AUTOPLAY_SEARCH_INTERVAL = 5000, // TODO: Final value.
|
AUTOPLAY_SEARCH_INTERVAL = 5000,
|
||||||
AUTOPLAY_ERROR_INTERVAL = 30000, // 30s
|
AUTOPLAY_ERROR_INTERVAL = 30000, // 30s
|
||||||
scriptUUID,
|
scriptUUID,
|
||||||
|
|
||||||
|
@ -280,7 +280,7 @@
|
||||||
|
|
||||||
function autoPlay() {
|
function autoPlay() {
|
||||||
var recording,
|
var recording,
|
||||||
AUTOPLAY_SEARCH_DELTA = 1000; // TODO: Final value.
|
AUTOPLAY_SEARCH_DELTA = 1000;
|
||||||
|
|
||||||
// Random delay to help reduce collisions between AC scripts.
|
// Random delay to help reduce collisions between AC scripts.
|
||||||
Script.setTimeout(function () {
|
Script.setTimeout(function () {
|
||||||
|
|
|
@ -270,7 +270,7 @@
|
||||||
playerTimestamps = [], // Timestamps of last heartbeat update from player script.
|
playerTimestamps = [], // Timestamps of last heartbeat update from player script.
|
||||||
|
|
||||||
updateTimer,
|
updateTimer,
|
||||||
UPDATE_INTERVAL = 5000; // Must be > player's HEARTBEAT_INTERVAL. TODO: Final value.
|
UPDATE_INTERVAL = 5000; // Must be > player's HEARTBEAT_INTERVAL.
|
||||||
|
|
||||||
function numberOfPlayers() {
|
function numberOfPlayers() {
|
||||||
return playerIDs.length;
|
return playerIDs.length;
|
||||||
|
|
Loading…
Reference in a new issue