Commit Graph

906 Commits

Author SHA1 Message Date
Tim Young 565ab9489d initial ctrl-z working 2018-03-15 17:12:20 -05:00
Tim Young d40d9aee58 ctrl-z stub 2018-03-15 16:22:12 -05:00
Tim Young 6593a172fd Add a deep-clone func to the network. We will end up using this for adding ctrl-z functionality. 2018-03-15 16:12:00 -05:00
Tim Young 8d1ba61b89 Add some of the start of the IP address code that will be used for IPv6 2018-03-15 16:03:32 -05:00
Tim Young f3df4f525a Rename IPAddress class to NB_IPAddress. We will be using the System.Net.IPAddress class and do not want to have a conflict. 2018-03-09 15:47:33 -06:00
Tim Young 0368d6d0f9 Lock some items in their location in old puzzles. Packet corruption, wireless corruption, wireless repeater, etc. Update release notes for this. 2018-03-07 15:33:26 -06:00
Tim Young d72ccee22f Increase chance of damage when traversing long links. 2018-03-07 13:51:29 -06:00
Tim Young 2713d6156b Locked Location does not make a success ding at load. 2018-03-06 15:45:59 -06:00
Tim Young 38fd6705e4 devices can be locked to a region. They can be moved around somewhat, but only within a named shape. You can still lock a device so it cannot be moved around at all. 2018-03-06 15:38:47 -06:00
Tim Young 79304fae25 NetTestEditor lets us lock to a rectangle shape defined on the network. 2018-03-06 15:25:24 -06:00
Tim Young ef658c4a58 Keep things from being dropped off the map 2018-03-06 14:50:11 -06:00
Tim Young efa99fc719 Network returns all the rectangle shapes on the map. For use on the net-test editor 2018-03-06 14:37:37 -06:00
Tim Young bd300d9c10 Shape editor has name. & put named shapes into line of sight puzzle 2018-03-06 14:34:29 -06:00
Tim Young 690369ae9c Add a name to the NetShape class. 2018-03-06 14:20:37 -06:00
Tim Young 05477cf9c4 update release notes 2018-03-06 14:18:17 -06:00
Tim Young 124c347751 Add LineOfSight puzzle 2018-03-06 14:15:52 -06:00
Tim Young 18200217f3 Fix spelling of Grey 2018-03-05 17:06:01 -06:00
Tim Young cd0b1c4bdc Items locked for movement have a light circle drawn around them so that it is a little more obvious that there is something different about them. 2018-03-02 11:03:03 -06:00
Tim Young 56b680e057 Finish locking items in location. Can no longer move them if they are locked. 2018-03-01 17:25:07 -06:00
Tim Young 1ada144423 Add a lock location test. Not active yet, but can be added to a network 2018-03-01 17:13:34 -06:00
Tim Young f4b07f1d9d Edit the selected item (select it on the list when the ShapeEdit window is opened) 2018-03-01 13:00:54 -06:00
Tim Young 90843eec0d Some data validation 2018-03-01 12:58:47 -06:00
Tim Young 279fc9b0f3 Get move up / move down working for shape editor 2018-03-01 12:50:30 -06:00
Tim Young 40b8798cbd Languify components for ShapeEditor 2018-03-01 12:37:23 -06:00
Tim Young 1b3291fcfa make context menu visible 2018-03-01 12:31:15 -06:00
Tim Young 5d373a5e95 Better behavior when resizing shape window 2018-03-01 12:29:54 -06:00
Tim Young 6d8553e750 Add edit to NetworkBuilder context menu for shapes 2018-03-01 12:19:17 -06:00
Tim Young 0d4dff5e17 start of context menu 2018-03-01 12:15:53 -06:00
Tim Young 05519891db Fill shape from form 2018-03-01 08:18:20 -06:00
Tim Young 1a83ff7ce1 if nothing selected, clear out values 2018-03-01 08:11:09 -06:00
Tim Young ce6e40e099 Add the shape of the netshape to the form (circle, rectangle) 2018-03-01 08:09:40 -06:00
Tim Young 69814ad21e Starting to add the initial shapelist edit window 2018-02-28 16:50:50 -06:00
Tim Young 9f2974cf6b Able to right-click and delete shapes 2018-02-28 12:18:04 -06:00
Tim Young e3fe80ea42 Draw an X in the center of images when we are in shape mode. We will right-click this center to delete or edit the shape. 2018-02-28 12:03:08 -06:00
Tim Young 4531e0526a Able to resize existing shapes 2018-02-28 10:14:23 -06:00
Tim Young 46bf7acee0 Make a func on the net shape to find the corner opposite from where we clicked 2018-02-28 09:16:01 -06:00
Tim Young 8187cc7a34 Starting values of colors is "Empty" 2018-02-27 16:22:59 -06:00
Tim Young a06f27a836 Allow empty colors, but if both are empty, do not use them. 2018-02-27 16:21:57 -06:00
Tim Young 1d1290c3c2 Able to add a new shape. Cannot edit existing shapes yet... 2018-02-27 16:03:29 -06:00
Tim Young 4f3f260c48 tooltips for Color Combo-boxes 2018-02-27 13:06:14 -06:00
Tim Young 3ff8f1488c Clicking the shape button toggles which shape you are adding. 2018-02-27 09:16:42 -06:00
Tim Young c75f1407f9 Move the dragsize out so we can use it elsewhere. 2018-02-27 07:27:36 -06:00
Tim Young cb3a29b4ea Toggle viewing of drag areas on shapes when shape selector is pressed. 2018-02-27 07:25:32 -06:00
Tim Young d6a2a62c9b Add color choosing boxes for Line and Fill colors for use when adding a shape. 2018-02-26 18:07:56 -06:00
Tim Young 483951f022 Change how we do filled stuff. And add ability to add drag marks on the corners when in shape edit mode 2018-02-26 17:50:48 -06:00
Tim Young 552c949a11 Add a button to toggle the shape-editing mode 2018-02-26 16:30:51 -06:00
Tim Young 1825f2badf Add the image for the shapes button 2018-02-26 16:26:28 -06:00
Tim Young 4f59f3c3a6 Network shapes load, save, and print properly 2018-02-24 17:43:45 -06:00
Tim Young 3b0bb6358f network loads and saves NetShapes 2018-02-24 17:30:13 -06:00
Tim Young e9fe9095b6 make a NetShape class for drawing simple shapes on networks. For making a background look like a map or something. 2018-02-24 17:26:07 -06:00