3220 Commits

Author SHA1 Message Date
Jon Atkins
395502dcef update code to support extra level-related parameters supplied in the PLAYER object, negating the need for lists of XM and AP values per level 2014-04-29 01:09:30 +01:00
Jon Atkins
f0134d45f1 update munge code for 2014-04-29 site update 2014-04-29 00:28:36 +01:00
Jon Atkins
80348dd074 quick fix for importing draw tools, etc files - text/* works so much better than file/*
it should probably be passed through from the javascript side though...
2014-04-23 00:18:39 +01:00
Jon Atkins
86dab0384c Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion 2014-04-22 10:22:46 +01:00
Jon Atkins
e090bdefae remove some unused constants 2014-04-22 10:22:22 +01:00
Philipp Schaefer
41e60d5adc load plugins in alphabetical order, load main script last 2014-04-21 15:31:57 +02:00
Philipp Schaefer
0ad03742d1 Merge branch 'master' of github.com:jonatkins/ingress-intel-total-conversion 2014-04-21 15:25:48 +02:00
Jon Atkins
4a040e2db2 simplify display of incoming/outgoing links
- use words rather than symbols
- place outgoing first - it's more important
- tooltip gives a few more details, including outgoing limit and total link count
2014-04-14 23:00:09 +01:00
Philipp Schaefer
0bbd1987d6 reverted portal-lvl-numbers plugin changes commited by accident 2014-04-01 14:33:37 +02:00
Philipp Schaefer
c8a004e1e1 Merge branch 'master' of github.com:jonatkins/ingress-intel-total-conversion 2014-04-01 14:30:13 +02:00
Jon Atkins
22299adcef update portals-list to use current permalink format (ll & pll) rather than the ancient latE6/lngE6/pguid format
fix #788
2014-03-31 18:15:46 +01:00
Jon Atkins
f045cd5714 fix portals-list for portals with no title
fix #789
2014-03-31 18:11:26 +01:00
Philipp Schaefer
c2823c7dab updated mobile README 2014-03-31 14:57:33 +02:00
Jon Atkins
a9d58bc646 website: re-order the test builds page so mobile is first 2014-03-27 21:02:12 +00:00
Jon Atkins
6bc18d6c86 make all region lines non-clickable 2014-03-27 00:33:01 +00:00
Philipp Schaefer
16212b2032 remove redundant layer check...it's done in removeLabel function too 2014-03-25 01:09:10 +01:00
Philipp Schaefer
e6c7858eca bumped version number of portal lvl plugin 2014-03-25 00:24:52 +01:00
Philipp Schaefer
64bd129c02 bugfix: update portal level layer if it already exists instead of ignoring the addLabel call 2014-03-25 00:24:12 +01:00
Jon Atkins
5a033a971a Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion 2014-03-23 20:57:04 +00:00
Jon Atkins
4a4346a419 max-links: only count portals visible on screen against the portal limit. the recent larger data tiles for map data pull in more off-screen data, making the old test unreliable in some cases 2014-03-23 20:55:32 +00:00
fkloft
6408a1151c [plugins/bookmarks-by-zaso] audo draw: show distance between selected portals
/cc @ZasoGD
2014-03-23 21:24:18 +01:00
Jon Atkins
95ed0ddd7b some refactoring and improvements in rendering
- don't render portals or links outside the bounds. the backend returns lots of link, and some portals, outside of the data tiles
- moved more of the render pass start process inside startRenderPass function, rather than having to call separate functions in the data request code
2014-03-23 01:23:36 +00:00
Jon Atkins
f47b1211d2 canvas render plugin: add setting to window object outside of wrapper - this makes it work on mobile despite order potentially being wrong
note: also unsafeWindow version attempted, for tampermonkey/greasemonkey - but this doesn't work for some reason
2014-03-22 20:06:45 +00:00
Jon Atkins
fb7eae8473 don't enable canvas rendering by default. add a plugin to change the setting instead 2014-03-22 19:07:57 +00:00
Jon Atkins
2084117bd8 with canvas based L.Paths, it's inefficient to draw too frequently, so reduce the debug tile refresh rate even further 2014-03-22 03:43:52 +00:00
Jon Atkins
4d72137e12 render queue: when using canvas-based L.Path-s, it's most efficient to draw as much as possible every time - so quick-n-dirty change to the batch limits 2014-03-22 03:42:59 +00:00
Jon Atkins
427614ccca mobile - show-user-location
1. if canvas-based layers are in use, don't draw the hack range marker (as any leaflet path-based drawing is slow, and they don't support SVG styles)
2. only add/remove the circle marker layer when needed - as the leaflet library doesn't document what will happen if a removed layer is removed again, or an added layer is added again
2014-03-22 03:34:46 +00:00
Jon Atkins
ffc056505f switch to non-minified leaflet-src.js (see 480381d5e970452a275aa44a0d3d168b0fd9cc2b) and enabled L_PREFER_CANVAS 2014-03-22 03:05:27 +00:00
Jon Atkins
480381d5e9 leaflet: modify to handle canvas-based path redrawing better. the correct fix is only in the 0.8-dev at this time, but that's not stable enough to use
NOTE: only leaflet-src.js updated, and NOT the minified leaflet.js
2014-03-22 03:03:51 +00:00
Jon Atkins
c0d0d87946 bookmarks plugin: clicking a bookmark icon selects the portal 2014-03-22 02:53:28 +00:00
Jon Atkins
a275ea1673 geodesic: remove dependancy on L.LatLng.DEG_TO_RAD/RAD_TO_DEG, in preperation for leaflet 0.8 2014-03-22 01:46:51 +00:00
Jon Atkins
42ed6566e4 DEG_TO_RAD and RAD_TO_DEG removed from L.LatLng in 0.8-dev builds 2014-03-22 01:04:00 +00:00
Jon Atkins
a341aeb8f8 player tracker: multiPolyLine removed in leaflet 0.8-dev - so let's work without it 2014-03-22 01:02:39 +00:00
Jon Atkins
aaaf2f0b46 Merge pull request #785 from fkloft/chat
Remove CHAT_MIN_RANGE
2014-03-22 01:00:50 +00:00
fkloft
2e5da846a0 Remove CHAT_MIN_RANGE 2014-03-21 22:30:32 +01:00
Jon Atkins
eeed5e01cd remove marker icon shadow
it's pretty subtle, and was preventing clicks through it. also, some icons (e.g. the dynamic svg DivIcon from draw-tools) didn't use one, so it seems odd to have a mixture of some with, some without shadows
2014-03-21 20:17:27 +00:00
Jon Atkins
c6e557a557 another piece of experimental marker drawing code - not 100% working. committing for future reference if needed 2014-03-21 17:49:13 +00:00
Jon Atkins
2334166e69 moved experimental alternative marker plugin - it performs very poorly on mobile compared to the regular SVG circle markers 2014-03-21 17:48:24 +00:00
Jon Atkins
ed185c39ec add some (very) basic checks for "error: 'missing version'" from the server
only done in the game score update code - but this is run early, and just once, when loading IITC. it also refreshes at intervals
2014-03-21 17:11:28 +00:00
Jon Atkins
61ed2307e4 turn off markers during zoom animations - let's see how that works... 2014-03-21 16:47:24 +00:00
Jon Atkins
01990b8e73 Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion 2014-03-21 16:26:19 +00:00
Jon Atkins
5cb01b5afe experimental code: alternative marker rendering system, using canvas to create icon marker bitmaps, displaying as an L.Icon 2014-03-21 16:22:57 +00:00
Philipp Schaefer
1d55d68278 tweaked portal levels plugin. reduced level markers and prefer high level portals. 2014-03-21 15:26:50 +01:00
Jon Atkins
6b13984468 adjust the timers used at the start of a refresh, so IITC does it's work later. should give users a chance to interact a 2nd time
move the render queue batch size to the class - and use smaller values on mobile
2014-03-21 05:16:07 +00:00
Jon Atkins
828e7b7d3d restore the code that prevents rendering short links. seems like the backend isn't removing enough (any?) links again, so they were having a big impact on performance 2014-03-21 05:10:10 +00:00
Jon Atkins
8eeec788df experimental: render queue. rather than dumping all retrieved data into the render code immediately, queue it up and feed it in a bit at a time
also, we pause a very short time between processing sections of the queue - should help ensure things are responsive if user interacts while rendering
todo: better status bar updates while queue is being processed
2014-03-21 04:43:33 +00:00
Jon Atkins
0a9cc966cd slow animated fade speed, and add new tile status for render queue code 2014-03-21 04:42:48 +00:00
Jon Atkins
a03014a988 tiles per edge: fallback values changed to match stock site, after they undid their revert 2014-03-20 20:33:14 +00:00
Jon Atkins
9c27206218 comment out L_PREFER_CANVAS setting - just in case forcing it affects leaflet's default choice
(pretty sure it doesn't, but...)
2014-03-19 05:59:36 +00:00
Jon Atkins
d019ebd15b possible performance improvement - status bar display updated moved to a timer.
so 1. it happens after any delays rendering in the browser
and 2. performance (no repeated updates one after another - possible browser style recalculations)

could move more of the code into the timer event?
2014-03-19 05:25:50 +00:00