986 Commits

Author SHA1 Message Date
Jon Atkins
2e4b54e868 helper function for plugins to create new hooks 2014-07-04 19:38:21 +01:00
Jon Atkins
2a35330fb7 and shortly after I removed the code that limited drawing of very short links... niantic chance the server and start returning them again!
so probably better with this re-enabled
2014-07-04 19:37:19 +01:00
fkloft
c6a6dc3105 Privacy view: accesskey (9) + fixes
- collapse chat before entering privacy view
- don't allow chat to expand when in privacy view
- disallow pointer events for the leaflet-control placeholder so ic can be clicked through
2014-07-03 21:44:58 +02:00
Jon Atkins
5520f927a9 tweak leaflet map settings - no 'bounce' at zoom limits for touch devices. may prevent unnecessary redraws on mobile, which may help performance in some cases 2014-07-02 03:10:40 +01:00
Jon Atkins
a06a28de7b switch to newer jquery and jquery-ui versions 2014-06-28 06:05:22 +01:00
Jon Atkins
25f9b9b19b tweaks to render queue - on mobile, increase the delay, rather than decreasing the number of items, to help speed things up 2014-06-23 02:40:31 +01:00
Jon Atkins
418675a8f0 always show the full details of a portal - looks rather empty with just one line of data 2014-06-16 20:17:49 +01:00
Jon Atkins
3fb686e7f6 reformat shielding tooltip - should be more logical 2014-06-16 17:40:55 +01:00
Jon Atkins
73d5f3755c rearrange portal details, now we no longer have capture date or resonator ranges
many more fields are now not displayed for uncaptured portals - not useful
2014-06-16 17:38:49 +01:00
Jon Atkins
b3da632948 allow a higher number of tile retries if the config value exists in the stock site 2014-06-16 17:16:00 +01:00
Jon Atkins
958ca2758d quick fix for capture date removal - could do with re-formatting the sidebar data to use the space better 2014-06-16 16:45:01 +01:00
Jon Atkins
fe2542902c reduce the delay between requests - now we always send 4 at a time, rather than larger batches, a shorter delay is better 2014-06-16 16:39:42 +01:00
Jon Atkins
c2ffad80d7 niantic perform agressive filtering of short links - so no point in waisting time in IITC testing link length too 2014-06-16 16:39:11 +01:00
Jon Atkins
07066c5711 Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion 2014-06-13 21:59:14 +01:00
Jon Atkins
665dad0bab trying some tweaks to render queue processing... 2014-06-13 21:58:50 +01:00
fkloft
042129095b Fix some bugs regarding OMS by introducing a new helper function 2014-06-10 20:52:20 +02:00
fkloft
d3fca8612c Move OverlappingMarkerSpiderfier from player-tracker to core. Implement for bookmarks and draw tools
(Markers added to OMS shouldn't use the "click" event but "spiderfiedclick")
2014-06-09 21:08:06 +02:00
Jon Atkins
fdda5bf1bd limit zoom on search to the level that shows all portals - prevents being zoomed in too far since changing most map layers to suppot zoom 21 2014-06-03 13:45:41 +01:00
Jon Atkins
361c665626 link range - correctly flag missing resonators 2014-06-01 19:04:52 +01:00
Jon Atkins
a83688a4c2 niantic have removed all munging from the network protocol, so update IITC to match
improvements could be made to our version handling (currently we just take their version string and assume it'll work, with no checks for changes - needs some thoughts on sensible handling)
2014-05-30 22:42:00 +01:00
Jon Atkins
a05ac61cb4 update default and plugin base maps to allow zooming up to level 21, and scale the tiles when they don't support such a resolution 2014-05-29 01:23:25 +01:00
Jon Atkins
79b3782e97 fix resonator handling when less than 8 are provided - we can't work out which is in which slot any more
and silly mistake in last night's quick fix for the 8 slot case
2014-05-25 01:11:14 +01:00
Jon Atkins
9882157f45 fix: mod owner not displayed 2014-05-24 23:58:33 +01:00
Jon Atkins
492d16b446 remove broken resonator distance from tooltip 2014-05-24 04:53:45 +01:00
Jon Atkins
20ed666552 add empty mod slots - server no longer returns all 4, and it looks odd with empty space 2014-05-24 04:30:00 +01:00
Jon Atkins
3ee03778ef fix several issues
- resonator energy
- portal owner & capture date
- mod type filtering code
2014-05-24 01:14:39 +01:00
Jon Atkins
b595af30ad more work on fixing things for the 2014-05-23 changes
it's a big job - much is still broken
2014-05-23 23:50:37 +01:00
Jon Atkins
589fd83b93 first pass of fixes for 2014-05-23
still need to fix name changes in response for portal details
2014-05-23 22:21:36 +01:00
Jon Atkins
86327fa578 niantic removed controllingTeam from the portal details - we have to use the team from the summary data 2014-05-17 00:27:15 +01:00
Jon Atkins
55aa9ad37a munge code fixing - yet again, another RPC method has had it's munging removed - get_portal_details this time 2014-05-16 23:36:25 +01:00
Jon Atkins
8b7d031208 for some reason SEND_PLEXT no longer munges it's parameters - but everything else does still!
no idea if it's permanant, or an accident - so we'll handle either munged or unmunged parameters now
2014-05-10 00:36:44 +01:00
Jon Atkins
7138e3e5cd update game score to support changed format 2014-05-06 01:56:19 +01:00
Jon Atkins
abb0fcd638 latest stock site update changed the quadkey construction - updated to match 2014-05-06 01:44:10 +01:00
Jon Atkins
937fedcad9 Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion 2014-05-04 03:12:31 +01:00
Jon Atkins
7ee40b5b45 make the 'default intel detail level' act more like the stock map - a partial workaround for some portals not being returned for zoom levels 16/17 sometimes
also, 'show more portals' plugin has less impact in this case too
2014-05-04 03:10:50 +01:00
Philipp Schaefer
94dceae694 more fine granular portal marker scaling on mobile devices (see #311) 2014-05-03 13:44:32 +02:00
Jon Atkins
1e58fbbd44 missed a level-related change from previous commit 2014-04-29 04:33:45 +01:00
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
e090bdefae remove some unused constants 2014-04-22 10:22:22 +01: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
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
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
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
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
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