From 79cd0132e7b709a5c1a16907fb9008232587b52b Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Sat, 14 Sep 2013 08:29:16 +0100 Subject: [PATCH] add comment as a reminder of possible future work to clear 'faked' links earlier - if possible --- code/map_data_render.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/map_data_render.js b/code/map_data_render.js index 0985e9d3..c6dccdff 100644 --- a/code/map_data_render.js +++ b/code/map_data_render.js @@ -70,6 +70,12 @@ window.Render.prototype.clearEntitiesOutsideBounds = function(bounds) { console.log('Render: deleted '+pcount+' portals, '+lcount+' links, '+fcount+' fields by bounds check'); } +// TODO? as well as clearing portals by level, and clearing entities outside the bounds... +// can we clear unneeded 'fake' links after zooming out? based on the portals no longer being available to construct +// the data? (not *required* - as they'll be removed in the endRenderPass code - but clearing things earlier rather than +// later is preferred, if possible) + + // process deleted entity list and entity data window.Render.prototype.processTileData = function(tiledata) { this.processDeletedGameEntityGuids(tiledata.deletedGameEntityGuids||[]);