Commit Graph

128 Commits

Author SHA1 Message Date
Mitchell McCaffrey
7d1cff7358 Fix custom token loading for players 2021-06-06 11:03:07 +10:00
Mitchell McCaffrey
1ae9ce06cb Add more efficient method of adding multiple tokens to the map at once 2021-06-03 12:42:19 +10:00
Mitchell McCaffrey
140ac7d61c Add sort to token and map tiles and refactor 2021-05-09 12:04:31 +10:00
Mitchell McCaffrey
8aa3bda90d Move drag and drop to dnd-kit 2021-05-06 15:04:53 +10:00
Mitchell McCaffrey
bd522017a7 Rename token bar 2021-05-01 14:32:02 +10:00
Mitchell McCaffrey
71edf5c5c5 Add thumbnail sending to assets for map grid 2021-04-29 15:44:57 +10:00
Mitchell McCaffrey
0ccee84cbf Changed asset loading bar to show progress as a group of assets 2021-04-29 13:49:39 +10:00
Mitchell McCaffrey
9a9b778f04 Remove map preview sending and fix initial player map load 2021-04-24 12:39:04 +10:00
Mitchell McCaffrey
245a9cee43 Move tokenState to work without backing token, add asset sync 2021-04-23 17:10:10 +10:00
Mitchell McCaffrey
b2ed5d2f6b Ensure session is available for disconnect 2021-04-23 11:47:08 +10:00
Mitchell McCaffrey
1d5cf77aea Fixed bug with corrupted map state on token deletion 2021-04-16 13:36:14 +10:00
Mitchell McCaffrey
3577938501 Fix unable to find owner toast appearing if map is cached 2021-04-15 21:49:18 +10:00
Nicola Thouliss
3a29974ca5 Added force update handling 2021-04-11 18:02:02 +10:00
Mitchell McCaffrey
24870666fb Fix toast effect dependency 2021-04-01 11:15:35 +11:00
Mitchell McCaffrey
fb1fdc430b Added toast for unable to find map owner 2021-04-01 10:55:45 +11:00
Mitchell McCaffrey
2330709e62 Allow setting asset manifest to null 2021-03-26 15:48:55 +11:00
Mitchell McCaffrey
c77db06bce Restructure asset manifest to split replication id and assets 2021-03-23 10:24:01 +11:00
Mitchell McCaffrey
75f4b97135 Moved asset manifest to use partial network updates and fix asset cache ignoring changes 2021-03-22 21:23:43 +11:00
Mitchell McCaffrey
1eab3e66a2 Added msgpack socket parser 2021-03-19 12:22:59 +11:00
Mitchell McCaffrey
53d4e05502 Clear map actions on reset 2021-02-22 17:14:12 +11:00
Mitchell McCaffrey
064ccbf65f Added a session expired modal 2021-02-20 18:09:49 +11:00
Mitchell McCaffrey
1f665674a4 Updated session socket type 2021-02-20 16:23:48 +11:00
Mitchell McCaffrey
c55e236a61 Added socket disconnect on game unmount 2021-02-20 16:23:37 +11:00
Mitchell McCaffrey
77bb13e8e6 Combine session status events into one event 2021-02-20 14:40:00 +11:00
Mitchell McCaffrey
002a52674b Clear map actions when map changes 2021-02-11 23:09:00 +11:00
Mitchell McCaffrey
24e64f9d32 Update maps and tokens to have thumbnails and removed loading of all files on load 2021-02-08 16:53:56 +11:00
Mitchell McCaffrey
905b43a64b Merge branch 'master' into release/v1.7.1 2021-02-07 16:04:00 +11:00
Mitchell McCaffrey
09471bdf2b Added requesting asset tracking to prevent assets loading multiple times 2021-02-07 14:47:34 +11:00
Mitchell McCaffrey
f20173de35 Added shared grid context and moved away from calling useContext directly 2021-02-06 13:32:38 +11:00
Mitchell McCaffrey
de84e77e58 Add basic hex functionality and clean up hooks and Vector2 class 2021-02-04 15:06:34 +11:00
Mitchell McCaffrey
fa1f6fe18f Converted draw actions storage to collapsed representation
Moved to command pattern for action application
2021-02-04 09:11:27 +11:00
Mitchell McCaffrey
2108d32501 Added colours and gradients to pointers 2021-01-28 15:12:30 +11:00
Mitchell McCaffrey
99502bc878 Added tracking of requesting assets to prevent multiple requests 2021-01-25 08:38:50 +11:00
Mitchell McCaffrey
bda0aa9ebe Merge branch 'master' into release/v1.7.1 2021-01-25 08:19:25 +11:00
Mitchell McCaffrey
1c143f5464 Moved token request to DB and added sanity check to putToken 2021-01-24 17:50:52 +11:00
Mitchell McCaffrey
493377233c Removed strict null check from map and mapState 2021-01-23 00:01:15 +11:00
Mitchell McCaffrey
3abf9c62fa Changed data contexts to use useCallback and fixed performance issues when changing party state 2021-01-22 14:59:05 +11:00
Mitchell McCaffrey
b9e681f7a1 Updated network state debounce to 500ms 2021-01-22 06:59:49 +11:00
Mitchell McCaffrey
4f76652eff Added null checks to asset manifest 2021-01-21 13:51:23 +11:00
Mitchell McCaffrey
ddf3a6daed Fix bug with adding tokens when no map is selected 2021-01-21 11:29:39 +11:00
Mitchell McCaffrey
e892661016 Added checks for peer availability and fixed peer error handling 2021-01-21 08:44:46 +11:00
Mitchell McCaffrey
1e545b3220 Added comment to peer data progress 2021-01-20 19:20:38 +11:00
Mitchell McCaffrey
272793b1ee Fix token add to manifest 2021-01-20 19:20:21 +11:00
Mitchell McCaffrey
28b9886b06 Moved asset load callbacks to take into account database insertion time 2021-01-20 18:08:03 +11:00
Mitchell McCaffrey
435752e7a9 Moved peer connection to fully use write for backpressure 2021-01-20 18:07:23 +11:00
Mitchell McCaffrey
26b474452c Removed connection logs 2021-01-04 13:44:20 +11:00
Mitchell McCaffrey
c89a75a23e Disabled multiplexing 2021-01-04 13:34:09 +11:00
Mitchell McCaffrey
bce5fb6154 Added logging to connection 2021-01-04 13:05:31 +11:00
Mitchell McCaffrey
abd5f12269 Added a clear map call to map changes 2021-01-04 09:48:08 +11:00
Mitchell McCaffrey
524a6d9aea Update network partial updates to have id to prevent invalid changes 2021-01-04 09:34:25 +11:00