Commit Graph

28 Commits

Author SHA1 Message Date
James Lyne
b2f58f681c Fully support Pl3xmap URLs 2021-09-07 23:08:44 +01:00
James Lyne
9517de0760 Path point handling changes
- Store path points as {x,y,z} objects instead of separate arrays
- Project point objects right before layer creation
- A bit slower overall but matches the format of Pl3xmap path points.
2021-07-28 04:04:46 +01:00
James Lyne
5cf353cd8a Update license headers 2021-07-26 01:05:08 +01:00
James Lyne
e61d0def04 Replace serverConfig getter with MapProvider url methods 2021-07-26 01:05:07 +01:00
James Lyne
1d27e05f7c Rename DynmapPlayer to LiveAtlasPlayer, rename some fields, add uuid field 2021-07-26 01:04:18 +01:00
James Lyne
33b5b305e2 Add MapProvider, move dynmap api handling to DynmapMapProvider 2021-07-26 01:04:17 +01:00
James Lyne
ef26d78c19 Refactor map handling
- Map definitions now have their own class
- A map's projection is now a private property of the instance. Coordinates are converted via map instance methods.
- Moved map icon handling to instance getter
- Removed currentProjection and related mutations from store
- Changed currentProjection watchers to currentMap
2021-07-26 01:04:13 +01:00
James Lyne
9bea4519c6 Rename some types 2021-07-19 16:40:30 +01:00
James Lyne
789505e2d9 Reimplement keyboard shortcuts more generically 2021-05-29 00:08:43 +01:00
James Lyne
034a7a2fdb Split up Util.ts 2021-05-27 01:41:58 +01:00
James Lyne
a616a302e8 Move splash methods to Util 2021-05-27 00:50:34 +01:00
James Lyne
6567cfd850 Move URL generation to Util 2021-05-24 16:40:03 +01:00
James Lyne
2ab569c18f Refactor state.currentServer to contain the server config instead of just the ID. Abstract API away from actions. 2021-05-20 00:06:57 +01:00
James Lyne
eb6674e106 Move config validation to Util 2021-05-20 00:01:19 +01:00
James Lyne
7adfdec4c7 Fix head urls 2021-05-18 18:32:42 +01:00
James Lyne
0facb446f5 Initial work for multiple servers 2021-05-17 03:39:25 +01:00
James Lyne
21220c986a Throttle loading of player images to improve performance 2021-01-26 21:07:56 +00:00
James Lyne
df487ec364 export Util functions separately 2021-01-26 20:37:29 +00:00
James Lyne
cb63f489e4 Cache player heads by both account and size 2021-01-26 17:03:43 +00:00
James Lyne
b64250404a Allow fetching player head using player name 2020-12-31 13:00:32 +00:00
James Lyne
42cdb8fba7 Implement skin images in player list 2020-12-23 03:07:52 +00:00
James Lyne
165afd762c Use player account for skin URL. Fixes #2 2020-12-22 13:15:59 +00:00
James Lyne
614f0b9774 Legacy url support, allow world/world+map only new urls 2020-12-21 18:42:24 +00:00
James Lyne
da2c89730e Cleanup console logs 2020-12-18 16:12:14 +00:00
James Lyne
31b05613fb Add license 2020-12-16 16:54:41 +00:00
James Lyne
9e28e695ee Implement link copying and url handling 2020-12-13 02:50:17 +00:00
James Lyne
e77a777a66 Implement update handling for areas/lines/circles 2020-12-11 15:28:51 +00:00
James Lyne
404121188b Marker improvements
- Refactor html and classnames
- Fix/refactor styles
- Re-implement player head images
2020-12-10 02:21:42 +00:00