Commit Graph

29 Commits (master)

Author SHA1 Message Date
Anthony Zhang fa5e200a2d Fix deserialization bug. 2012-07-07 18:46:11 -04:00
Anthony Zhang 77e9a75b7a Have switch default to off when first added. 2012-07-06 14:36:01 -04:00
Anthony Zhang 4c748c5c23 Add switch node, which toggles state if punched. 2012-07-06 14:32:57 -04:00
Anthony Zhang 82868e5621 Automatic and transparent escaping of invalid data in node metadata. 2012-07-03 12:17:42 -04:00
Anthony Zhang c20f83768d Properly have main window own all dialogs, pass hDC to Node.Draw(). 2012-07-02 21:19:39 -04:00
Anthony Zhang b0e4485119 Add "Sign" node with editable text that is saved with the schematic. 2012-07-02 21:08:08 -04:00
Anthony Zhang 03eeec9a32 Fix bug in which Mesecon did not propagate the correct state to receiving but non-sending neighbor nodes when they already had a nonzero state. 2012-06-23 10:46:55 -04:00
Anthony Zhang f4a03561f7 Fix hotkey bug where all hotkeys stopped working after file modification, add "solid" node that is not conductive, make blinkyplant off state darker. 2012-06-20 17:37:35 -04:00
Anthony Zhang 47198adf4c Fix file saving/loading, add current filename to title bar. 2012-06-18 20:42:17 -04:00
Anthony Zhang 2235a2d169 Separate tools into new files, put nodes in the Nodes class, add file opening dialog, implement basic file saving. 2012-06-14 20:04:07 -04:00
Anthony Zhang 9e16909a2d Add infrastructure needed to provide file saving and loading. 2012-06-10 22:45:52 -04:00
Anthony Zhang 06aaf659ed Check for empty node between plug and socket. 2012-06-04 18:48:28 -04:00
Anthony Zhang ff90bb61ea Add actuator tool and actuation callbacks. 2012-06-04 18:47:43 -04:00
Anthony Zhang 182340035c Use GetStockObject(NULL_PEN) instead of using PS_NULL with CreatePen. 2012-06-03 12:49:32 -04:00
Anthony Zhang 37b8b3af26 Fix #Include error. 2012-06-03 12:14:04 -04:00
Anthony Zhang 625a838f0f Move Power and Load classes to Node/Basis.ahk. 2012-06-03 12:13:23 -04:00
Anthony Zhang b92f1d61b7 Implement Blinky Plants, move redundant code for Power.ModifyState() into base Power class. 2012-06-03 11:06:54 -04:00
Anthony Zhang fc14003afc Fix plug recalculation issue. 2012-06-01 19:44:45 -04:00
Anthony Zhang e40f903e6c Use static brush creation, handle repeated node adds in node handlers. 2012-05-31 18:37:48 -04:00
Anthony Zhang 2c0c29db6b Update comments. 2012-05-30 19:08:13 -04:00
Anthony Zhang ba450cc8fc Fix typo. 2012-05-24 23:13:05 -04:00
Anthony Zhang bb4c3141df Fix open list bugs and starting states of power sources. 2012-05-24 23:09:16 -04:00
Anthony Zhang 9f94080ea4 Working plugs, sockets, and inverters. 2012-05-24 22:54:45 -04:00
Anthony Zhang 057aa0e7f2 Implement inverters. 2012-05-24 22:35:39 -04:00
Anthony Zhang 011a4ad838 Implement sockets. 2012-05-24 22:32:44 -04:00
Anthony Zhang 125389e792 Organise nodes into senders and receivers, implement basic plug functionality. 2012-05-24 21:53:51 -04:00
Anthony Zhang cc719c8fe2 Fix loads conducting charges. 2012-05-24 21:28:19 -04:00
Anthony Zhang 25e574a0e1 Abstract receptor and effector functionality into basis classes. 2012-05-24 18:18:16 -04:00
Anthony Zhang f8eaa93f56 Fix meselamp recalculation bug, move node implementations into subfolder. 2012-05-24 17:11:58 -04:00