Commit Graph

46 Commits

Author SHA1 Message Date
Steven Evans af40252ee9 [refactor] Moved 'clearSelector' to its own TS file. 2018-07-09 13:57:21 -04:00
Steven Evans 9e26ee7858 [refactor] Moved 'removeChildrenFromElements' to its own TS file 2018-07-08 21:18:44 -04:00
Steven Evans 95939a8818 [refactor] Moved 'removeElement' to its own TS file; deduped logic 2018-07-08 21:18:43 -04:00
Steven Evans 3a20809943 [refactor] Removed 'clearEventListenersEl' as it was never called 2018-07-08 21:18:42 -04:00
Steven Evans 8016321bfb [refactor] Moved 'clearEventListeners' to its own TS file 2018-07-08 21:18:10 -04:00
Steven Evans 7edf5b5f1a [refactor] Moved 'clearObject' to its own TS file 2018-07-08 20:17:53 -04:00
Steven Evans bcc6d39b10 [refactor] Removed unused imports/exports 2018-07-08 20:17:53 -04:00
Steven Evans 6701503c78 [refactor] Moved 'compareArrays' to its own TS file 2018-07-08 20:17:52 -04:00
Steven Evans 1f7ed8f791 [refactor] Moved 'appendLineBreaks' to its own TS file 2018-07-08 20:17:52 -04:00
Steven Evans 015524f049 [refactor] Moved 'powerOfTwo' to 'isPowerOfTwo' TS file 2018-07-08 20:17:52 -04:00
Steven Evans 1a5208f78f [refactor] Moved 'printArray' to 'arrayToString' TS file 2018-07-08 20:17:51 -04:00
Steven Evans d20516b03c [refactor] Moved 'addOffset' to its own TS file 2018-07-08 20:17:51 -04:00
Steven Evans 875f7b4438 [refactor] Moved 'removeElementById' to its own TS file 2018-07-08 20:17:50 -04:00
Steven Evans 488f947a5b [refactor] Moved 'getElementById' to its own TS file. 2018-07-08 20:17:50 -04:00
Steven Evans 8c25684fe1 [refactor] Moved 'createPopup' to its own TS file. 2018-07-08 20:17:50 -04:00
Steven Evans 107f1de18d [refactor] Moved createElement into its own TS file
This is the start at separating out UI related work from potentially backend
related work. This distinction will help when Web Workers can be
introduced to get around the background tab limitation for scripts.
2018-07-08 20:17:49 -04:00
Steven Evans be9891d93b [refactor] Moved 'getRandomInt' to its own TS file 2018-07-08 20:17:49 -04:00
Steven Evans 39c9488768 [refactor] Moved 'roundToTwo' to its own TS file 2018-07-08 20:17:48 -04:00
Steven Evans 15e3b751da [refactor] Moved "exceptionAlert" to its own TS file
Since this is a UI only function, when Web Workers are introduced this
call chain will not be allowed on the backend.
2018-07-08 20:15:07 -04:00
Steven Evans a6293474a9 [refactor] Moved "isString()" to its own TS file 2018-07-08 20:15:06 -04:00
Steven Evans 187b5051b9 [refactor] Moved "createProgressBarText" to its own TS file 2018-07-08 20:15:06 -04:00
danielyxie 3213032427 Fixed incompatibility issues with Edge (due to spread syntax). Fixed issue with Terminal autocomplete and capitalized commands. Script ram is now rounded to 2 decimal places 2018-07-02 22:35:12 -05:00
Olivier Gagnon 6bdf946790 remove all .js from all appplicable imports 2018-06-26 12:34:11 -04:00
Olivier Gagnon 53ddfbc9ec first conversion 2018-06-22 17:30:24 -04:00
Steven Evans 720478377f [feat] Shrunk the UI of Hacknet Nodes to view more at a time on screen.
The UI of a single Hacknet Node now only takes up ~50% of the screen.
This allows two nodes to be displayed per "row" when the screen is wide
enough.

Also repositioned the buttons for the nodes so they are inline with the
information each updates. This visual correlation lets us reduce the
text that needs to be in each button.

Also reduced the amount of DOM that needs to be continuously garbage
collected by updating specific text rather than throwing out entire HTML
elements.
2018-06-05 13:30:07 -04:00
danielyxie 9acc422f05 v0.36.0 - Bladeburner BitNode (BN-6) 2018-05-02 12:38:11 -05:00
danielyxie d29797ce1e Update Faction info for Fulcrum and NWO 2018-03-28 11:35:34 -05:00
danielyxie 521b81aec0 v0.35.2 2018-03-26 19:46:21 -05:00
danielyxie f33d81b1a5 v0.35.1 2018-03-12 14:39:04 -05:00
danielyxie e3c435270b V0.35.0. Adding netscript_tests in game testbench. 2018-03-03 15:05:33 -06:00
danielyxie 779ce25ae5 v0.34.5. Also adding webpack config and package-lock.json 2018-02-24 16:55:06 -06:00
danielyxie f82d216e10 v0.34.4 2018-02-14 22:26:43 -06:00
danielyxie dc26d831d6 Reworked Gang UI 2018-02-09 15:11:43 -06:00
danielyxie 5f817c8016 V 0.34.2 Changes 2018-01-27 00:52:39 -06:00
danielyxie e88a3936f3 v0.34.1 2018-01-19 22:47:57 -06:00
danielyxie 1529552542 v0.33.0 Added BitNode-3:Corporatocracy 2017-12-01 21:50:08 -06:00
danielyxie bc6f0da677 Fixed Netscript interpreter memory issues by breaking promise chains in while and for loops. Improved Stock Market UI. Added a button to kill script from log display box. Added confirm() Netscript function 2017-11-02 16:47:09 -05:00
danielyxie c93a398fbf Continue statement, began work on missions 2017-09-21 16:27:31 -05:00
danielyxie 7a05d3585a All 0.28.0 Changes - Bitnodes 4 and 11 and webpack migration 2017-08-30 12:44:29 -05:00
Daniel Xie 222f75d55a Refactored Netscript with Acorns parser. Major rebalancing. Add TIX API. Add round(), purchaseServer(). 2017-07-13 11:54:29 -05:00
Daniel Xie e2fbca1ef0 More nerfs to combat augmentations. Randomized server parameters. Added Log and Kill button to Active SCripts panel 2017-06-19 09:54:11 -05:00
Daniel Xie 36eb7608d5 Added ability to pass arguments into scripts 2017-06-16 21:53:57 -05:00
Daniel Xie 94dd4395be Adding messages. Changed hacking factions to rely on hacking their specific servers to get the invite. Made Augmentations more expensive 2017-06-01 23:15:45 -05:00
Daniel Xie 2e55f1d472 Implemented interactive tutorial! 2017-05-06 01:24:01 -05:00
Daniel Xie e2cbc38920 Adding Interactive Tutorial files - incomplete 2017-05-05 16:27:35 -05:00
Daniel Xie 9b408cb995 Playtesting - Fixed bugs 2017-04-19 14:19:33 -05:00