1
0
Fork 0
Commit Graph

287 Commits

Author SHA1 Message Date
Starbeamrainbowlabs 7a6d758e92 [client] Provisionally fix the seamless line rendering logic. Not gonna call it fixed yet though - I think it'll come back to hant us at some point mya 2017-10-03 15:39:41 +01:00
Starbeamrainbowlabs 22737f7058 Fix string format 2017-09-30 21:14:01 +01:00
Starbeamrainbowlabs 4786347e7e [server] Add logging 2017-09-30 19:57:40 +01:00
Starbeamrainbowlabs a5adb30364 [client] Add continues from/with id support & fix a few bugs, but it still doesn't work yet :-( 2017-09-29 15:42:42 +01:00
Starbeamrainbowlabs 54f5d3bd3f [server] Add continues from/with id properties 2017-09-29 15:42:14 +01:00
Starbeamrainbowlabs 4f485720b2 [client] Session end - add reminder for next time ;-) 2017-09-28 22:08:58 +01:00
Starbeamrainbowlabs 1c5996ecca [server] Add UniqueLineId to DrawnLine & use NCuid for id generation.
Also remove ChunkReference.Parse, as we're using JSON now

Next ContinuesIn/From need to be updated to use the new property.
2017-09-28 22:08:27 +01:00
Starbeamrainbowlabs 5130901127 Merge branch 'master' of https://git.starbeamrainbowlabs.com/sbrl/Nibriboard 2017-09-27 12:23:19 +01:00
Starbeamrainbowlabs 03be60b3b0 [client] Make fetchLineFragments while condition more restrictive.
Looks like the issue lies in the fact we don't have unique ids on a
per-line-fragment basis, so that's next up I guess.
2017-09-27 12:23:01 +01:00
Starbeamrainbowlabs 971c14d8cd [client] Create npm lockfile 2017-09-26 15:33:36 +01:00
Starbeamrainbowlabs 1a2852783c make validate.sh executable 2017-09-26 15:31:56 +01:00
Starbeamrainbowlabs c3952f0778 [server+client] Start working on the line-spanning-multiple-chunks issue, now that the last crisis has been averted :P 2017-09-22 22:35:56 +01:00
Starbeamrainbowlabs c4609ffd3a [server] Update SharpCompress. 2017-09-22 11:26:24 +01:00
Starbeamrainbowlabs ccf06ec976 Fix a few lingering issues after fixing problems in GlidingSquirrel. It works! :D :D :D 2017-09-20 22:39:14 +01:00
Starbeamrainbowlabs be258f63dc It sure does feel strangely both good and scary to be completely refactoring so many core classes. 2017-09-10 21:34:01 +01:00
Starbeamrainbowlabs afb6eb8dca Fiddle with things - it looks like a manual nuget packing is in order for the GlidingSquirrel.... sigh 2017-09-09 22:49:08 +01:00
Starbeamrainbowlabs 0e4fe2eecb Update GlidingSquirrel version 2017-09-09 21:33:01 +01:00
Starbeamrainbowlabs b070c5b760 Remove IotWeb as a dependency. The game is officially afoot! 2017-09-05 21:31:47 +01:00
Starbeamrainbowlabs 81d28ed26d Merge branch 'master' of https://git.starbeamrainbowlabs.com/sbrl/Nibriboard 2017-09-05 21:30:15 +01:00
Starbeamrainbowlabs 0fce4cc6bb Add GlidingSquirrel as a git submodule and a reference in the main Nibriboard project file. The great refactoring has BEGUN! 2017-09-05 21:30:02 +01:00
Starbeamrainbowlabs 74fc82e022 Merge remote-tracking branch 'refs/remotes/origin/master' 2017-08-31 13:14:07 +01:00
Starbeamrainbowlabs 1272448063 Umm 2017-08-31 13:14:05 +01:00
Starbeamrainbowlabs 0a0f742266 Update SharpCompress 2017-08-22 18:03:45 +01:00
Starbeamrainbowlabs 69b7db4220 [server+client] Compact messages a bit, and comfirm that IoTWeb is causing the invisible chunk issue 2017-08-05 22:04:51 +01:00
Starbeamrainbowlabs 03181dc54a [client] Stop the page from moving round when you use the arrow keys 2017-07-30 22:23:19 +01:00
Starbeamrainbowlabs a0605c281d [client] Fiddle with the colour palette some more. 2017-07-30 22:22:34 +01:00
Starbeamrainbowlabs dc53de1a34 [client] Widen colour palette. It needs lots of work O.o 2017-07-29 22:40:59 +01:00
Starbeamrainbowlabs b34fb59575 [client] Send a viewport update before requesting new chunks 2017-07-29 21:26:14 +01:00
Starbeamrainbowlabs d6b4b50588 Fix exception when a client tries to add a line with no points 2017-07-29 20:43:17 +01:00
Starbeamrainbowlabs a7fd57d1e6 [server] Handle viewport updates sent by clients 2017-07-29 20:42:42 +01:00
Starbeamrainbowlabs ac0d947e31 [client] Send viewport updates to the server. 2017-07-29 20:42:07 +01:00
Starbeamrainbowlabs b673719b78 [client+server] Fix typoes in comments 2017-07-29 20:41:41 +01:00
Starbeamrainbowlabs cedf749e3e [client] Fix initial cursor syncing message bug 2017-07-29 18:49:56 +01:00
Starbeamrainbowlabs b32e51dddd [server] Try to avoid certain scenarios where drawn lines can contain no points 2017-07-29 16:21:15 +01:00
Starbeamrainbowlabs 226452cb57 Get loading to work :D Now we've just got a few more chunk loading issues to sort out... 2017-07-29 13:20:12 +01:00
Starbeamrainbowlabs d19135d486 Tie in loading to main program 2017-07-23 22:02:24 +01:00
Starbeamrainbowlabs 02a527d6b4 Fiddle with logging 2017-07-23 19:43:33 +01:00
Starbeamrainbowlabs fddfa31939 Fix the saving system. It works! 2017-07-23 19:36:28 +01:00
Starbeamrainbowlabs 99ac0634ad Reworkt he saving system a bit. 2017-07-20 20:02:50 +01:00
Starbeamrainbowlabs 3d013e208c Start creating logic for saving planes & chunks 2017-07-20 13:27:13 +01:00
Starbeamrainbowlabs d79a89423c Create simple command console 2017-07-20 13:15:11 +01:00
Starbeamrainbowlabs 34d74281e3 Extensively refactor core to allow for loading. Also work on a bit of saving too.
Now I can see why they say that you should build this in from the beginning....
2017-07-18 20:43:34 +01:00
Starbeamrainbowlabs 37fd8bff81 Start filling in all the missing saving/loading logic 2017-07-15 22:41:31 +01:00
Starbeamrainbowlabs af8fe9bbc2 Get live line rendering working for *other* clients! Yay!
It _works_. It actually _works_! I'm so happy right now :D

It's taken 204 commits and 6 months to get to this point. Wow.
2017-07-09 15:28:12 +01:00
Starbeamrainbowlabs 59db921100 [client] Finish (untested!) other clients handling logic. 2017-07-09 15:18:45 +01:00
Starbeamrainbowlabs 53ba0b1c06 [client] Add debug statement 2017-07-01 22:20:48 +01:00
Starbeamrainbowlabs edb50e2619 [client] Bugfix the latest live line refactor.
Also send all the right events with the right attachments.
2017-07-01 13:29:45 +01:00
Starbeamrainbowlabs c49f2b2278 [client] Start extensive refactoring of OtherClient logic 2017-06-30 21:09:37 +01:00
Starbeamrainbowlabs 23514f788d [server] Add line start event. 2017-06-30 16:47:29 +01:00
Starbeamrainbowlabs dd184b38ac [server] Add LineCompleteReflection message & hooks 2017-06-30 15:42:02 +01:00
Starbeamrainbowlabs e0d7bf4bc4 [server] Rework line part reflections. 2017-06-30 10:33:35 +01:00
Starbeamrainbowlabs 551ceeb17e Add & hook up empty OnLinePartAddition handler to NibriClient 2017-06-27 15:14:40 +01:00
Starbeamrainbowlabs ecbece8f22 [server] Get the LineIncubator to emit OnLinePartAddition events 2017-06-27 14:42:36 +01:00
Starbeamrainbowlabs 058511be19 [server] Add new event to LineIncubator 2017-06-27 12:10:14 +01:00
Starbeamrainbowlabs bfdf1b0c6e [server] Fix LineIncubator DrawnLine id assignment to enable tracking 2017-06-27 12:03:21 +01:00
Starbeamrainbowlabs fcfc330b28 [client] Finish client cursor synchronisation 2017-06-27 12:02:45 +01:00
Starbeamrainbowlabs eeee26e720 [client] Fix phantom disconnect on page load 2017-06-27 10:57:50 +01:00
Starbeamrainbowlabs 41e6b46311 [server] Add addtional error handling to enbedded file server 2017-06-26 22:31:48 +01:00
Starbeamrainbowlabs 75641b4f30 [client] Add number keyboard shortcuts to tools 2017-06-26 18:04:42 +01:00
Starbeamrainbowlabs 1845e38613 Clamp the zoom to avoid crashes. 2017-06-26 17:53:18 +01:00
Starbeamrainbowlabs 441cb5a283 Change the cursor depending on the tool selected 2017-06-26 17:18:37 +01:00
Starbeamrainbowlabs 247d3f3cc6 Implement pan & pointer tools 2017-06-26 16:57:26 +01:00
Starbeamrainbowlabs 1f4afe1f78 [server] Fix strange bug in ChunkUpdateRequest 2017-06-26 12:48:58 +01:00
Starbeamrainbowlabs 914e3abfe3 [server] Fix ChunkTools.GetContainingChunkReferences 2017-06-24 20:42:43 +01:00
Starbeamrainbowlabs bfe8c25b6c [client] Add new debug display param & implement some chunk update request logic. It's buggy though apparently. 2017-06-24 20:24:56 +01:00
Starbeamrainbowlabs 2929bca212 [server] Add missing RawChunkReference 2017-06-24 20:19:57 +01:00
Starbeamrainbowlabs 55cdcf982c [server] Rework ChunkUpdateRequest logic 2017-06-24 20:14:43 +01:00
Starbeamrainbowlabs 334acdbc18 Start work on the chunk update request handling.
There's a thorny issue with deserialising into ChunkReference in the server.... that should be fun to solve. I'll have to do some head scratching\!
2017-06-23 21:32:29 +01:00
Starbeamrainbowlabs 1935f6350e [client] Refactor ChunkCache a bit to start adding chunk loading logic 2017-06-22 22:38:05 +01:00
Starbeamrainbowlabs 5e59d7098a Enchance chunk hightlighting and add keyboard control 2017-06-22 21:00:59 +01:00
Starbeamrainbowlabs 0bbe117f3d [client] Add todo 2017-06-15 17:27:24 +01:00
Starbeamrainbowlabs ce1f8545a6 [client] Fix chunk loading at high zooms 2017-06-15 17:25:11 +01:00
Starbeamrainbowlabs 4ff91f700b [client] Remove viewport console debug, as we've now got the debugging info panel :D 2017-06-15 17:21:47 +01:00
Starbeamrainbowlabs dc795f6d00 Fix chunk loading when zoomed in. 2017-06-15 17:20:22 +01:00
Starbeamrainbowlabs 653df90674 Create simple debug panel 2017-06-15 13:12:30 +01:00
Starbeamrainbowlabs 74a0010e59 [client] Tidy up translations 2017-06-12 20:46:50 +01:00
Starbeamrainbowlabs 636bc0535a Fix pencil live preview and more zomming issues 2017-06-12 19:53:05 +01:00
Starbeamrainbowlabs 70ed434f1b Finish accounting for zoom level in the pencil 2017-06-12 19:13:22 +01:00
Starbeamrainbowlabs aec619a34b Start accounting for the zoom level when drawaing things to the screen 2017-06-12 18:53:32 +01:00
Starbeamrainbowlabs 62dd7af656 Fix visible chunk area calculations 2017-06-12 18:48:08 +01:00
Starbeamrainbowlabs 0808c05f05 Improve bindings between pencil and interface 2017-06-12 18:15:49 +01:00
Starbeamrainbowlabs b043362f29 [client] Account for zoom when rendering chunks. 2017-06-11 22:01:12 +01:00
Starbeamrainbowlabs 00117a35a9 [client] Get chunks to account for position on canvas 2017-06-11 21:47:38 +01:00
Starbeamrainbowlabs 6a0d3180a7 [client] Fix chunk update piping & display logic 2017-06-11 21:39:33 +01:00
Starbeamrainbowlabs 6ca05e8d44 [client] Update chunk cache 2017-05-29 21:59:15 +01:00
Starbeamrainbowlabs a7132d344d Get chunks and references serialising correctly 2017-05-29 13:14:56 +01:00
Starbeamrainbowlabs db4a9311d5 [server] Properly retain line properties when splitting a line on chunk boundaries 2017-05-29 12:56:32 +01:00
Starbeamrainbowlabs 8d38086eaf [client] Fix crash by fiddling with imports 2017-05-04 21:38:30 +01:00
Starbeamrainbowlabs e7b6293278 [client] Fix new WebSocket pathing 2017-05-04 21:38:03 +01:00
Starbeamrainbowlabs abce0b2af7 [server] Add plane name property to Chunk for serialistion purposes.... which doesn't appear to be working right. Hrm. 2017-05-04 21:37:22 +01:00
Starbeamrainbowlabs 53f5d9e400 [server] Fix infinite loop in chunk sending logic in plane changer 2017-05-04 21:36:24 +01:00
Starbeamrainbowlabs 1b2d50b7af [server] Fix Rectangle Overlap() method 2017-05-04 21:35:27 +01:00
Starbeamrainbowlabs 19412e4361 Update connection to be ip address agnostic 2017-05-04 19:53:38 +01:00
Starbeamrainbowlabs 0498b5ad9a [server] Send visible chunks to the client when changing planes 2017-05-01 19:12:26 +01:00
Starbeamrainbowlabs ccb93f9850 [client] Finish ChunkCache renderer & start hooking up a chunk update mechanism 2017-05-01 14:40:05 +01:00
Starbeamrainbowlabs 2e97f91efe [server] Make *Reference classes implement ICloneable 2017-05-01 14:38:57 +01:00
Starbeamrainbowlabs 451b3a0171 [server] Remove a few stray usings 2017-04-30 14:41:20 +01:00
Starbeamrainbowlabs 5d716fe925 [client] Write ChunkCache renderer method renderVisible() 2017-04-30 14:40:53 +01:00
Starbeamrainbowlabs 4e2a27df94 [client] Start creating chunk representation system 2017-04-29 13:56:33 +01:00
Starbeamrainbowlabs d582396f74 [client] Fix the cursor update frequency 2017-04-29 13:43:50 +01:00