Commit Graph

12 Commits

Author SHA1 Message Date
Sascha L. Teichmann
4b4c620c35 Removed pointless logging. 2015-03-13 15:46:33 +01:00
Sascha L. Teichmann
c3b634669a Simplified auto update code. Removed pointless tile updating when there are only player updates. Removed redundant JSON parsing. 2015-03-13 15:43:59 +01:00
Sascha L. Teichmann
71636a5b4c Fix state switching auto-update/manual refresh. 2015-03-13 15:03:10 +01:00
Sascha L. Teichmann
dda0716053 To keep websockets alive send every eight seconds a ping to the server. 2015-03-13 12:29:55 +01:00
Raimund Renkert
3c63fbf185 Added players layer and update data in manual and auto mode. 2015-03-09 17:55:19 +01:00
Sascha L. Teichmann
c918b538db Broadcast player posistion to websocket clients this could be high traffic. 2015-03-09 15:37:57 +01:00
Sascha L. Teichmann
d6b4bb6352 Replaced 'if (cond) { ...; return; } if (!cond) { ...; return; }' with 'if (cond) { ... } else { ... }'. 2015-03-08 13:39:02 +01:00
Sascha L. Teichmann
446a3ddc10 Small JS nits. 2015-03-04 12:10:07 +01:00
Raimund Renkert
7413221341 Replaced checkbox with toggle button to start automatic updates. 2015-03-04 10:36:59 +01:00
Sascha L. Teichmann
f708a7c44b Added forgotten semikola in JS. 2015-03-04 09:33:07 +01:00
Sascha L. Teichmann
b71f8bd208 Removed the radix 10 from parseInt calls as it is the default. 2015-03-04 08:55:20 +01:00
Sascha L. Teichmann
49c95f15ca Added missing auto update javascript file. Implemented smarter invalidatioon code based on server notification. 2015-03-04 00:39:35 +01:00