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
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
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
Jon Atkins
4dd944a642
move portal level layer enable/disable out of status bar code into a map.on(zoomend) event instead
2014-03-19 04:44:20 +00:00
Jon Atkins
584b8bcd72
changes to queue processing timeouts after errors - should be friendlier to the servers when things fail
2014-03-18 22:16:20 +00:00
Jon Atkins
df4bf0bbc0
remove experimental exception catching code in boot func - was never that helpful
2014-03-18 22:14:55 +00:00
Jon Atkins
e1752954a1
and Niantic revert the changes to tile sizes a few days later...
2014-03-18 22:14:10 +00:00
Jon Atkins
246fa1a7d7
double-timeout on debug tile fading - helps when rendering goes slow
2014-03-17 07:07:02 +00:00
Jon Atkins
cb8dc7bd41
oops - some debug code was accidentally committed - portals should be brought to front
2014-03-15 00:02:17 +00:00
Jon Atkins
40b74f7dba
updated internal values due to stock site changes. by preference we detect the values in the stock site, but these are kept as a fallback
2014-03-14 23:28:12 +00:00
fkloft
99324c076c
Show indeterminate progress bar on mobile if chat is loading
2014-03-13 22:16:27 +01:00
Jon Atkins
6c50fc9eb1
oops - can only bringToFront when a layer is acutally on the map - so check debug layer is enabled
2014-03-11 13:59:02 +00:00
Jon Atkins
4f6631d1f7
make IITC first try to use the TILES_PER_EDGE and ZOOM_TO_LEVEL values from the stock script - only falling back (with a warning) to our pre-defined list on error
...
this way we automatically follow any changes to these made in the stock site, but have a fallback case in case the stock site renames the variables
2014-03-11 02:29:21 +00:00
Jon Atkins
d534b12f19
debug: move debug tiles to back
2014-03-10 22:18:02 +00:00
Jon Atkins
2f7635a175
comment converning cache-related optimisation that might be added
2014-03-09 05:53:53 +00:00
Jon Atkins
350175b235
the removal stickyness stat is now being used - so don't hide it when it's zero
2014-03-07 19:30:32 +00:00
Jon Atkins
36fe84b4ef
warn when some standard layers are turned off
...
not so visible for mobile users - but less of an issue there (as an uninstall/reinstall resets all options to default)
for #778
2014-03-04 18:42:45 +00:00
Jon Atkins
b5e2ad70b4
debug tiles: fade rather than instant clear
2014-03-03 01:13:52 +00:00
Jon Atkins
b173f778a5
debug tiles: clear on a timer rather than at the end of the requests
2014-03-02 01:33:22 +00:00
Jon Atkins
0a506d3027
debug tile display: remove the 'ok' tiles from screen when the refresh completes - makes it practical to leave the layer on at all times
2014-03-02 01:02:40 +00:00
Jon Atkins
8b7a50729d
more agressive portal clustering - seeing if it improves performance
2014-03-02 00:47:02 +00:00
Jon Atkins
16e56917c2
debug layer: default to off
2014-02-26 05:12:37 +00:00
Jon Atkins
c634720cf1
artifacts: centralise the descriptions of the artifact types/fragment names, and fix an incorrect warning concerning the new amar artifacts
2014-02-23 00:24:47 +00:00
Jon Atkins
333c1a6daf
add tweaks of data retrieval zoom level, to make better use of the cache and be friendlier to the API in some cases
...
also, default-intel-detail and show-more-portals plugins fixed - the logic has been moved into IITC core, with the plugins just setting flags to change behaviour
2014-02-22 19:30:12 +00:00