Commit Graph

53 Commits

Author SHA1 Message Date
danielyxie d50c5abb66 Refactored all code that uses the numeral library to use a wrapper class. Implemented configurable locale setting through this wrapper class 2018-09-12 11:29:02 -05:00
Steven Evans edcfe71eed [refactor] Moving BitNodeMultipliers to its own file to break cyclical
module references.
2018-08-02 14:33:08 -04:00
Steven Evans 826a8799fa [refactor] Extracting Locations to its own file to remove circular dependency 2018-08-02 14:33:08 -04:00
Steven Evans 26b0840f26 [refactor] Breaking out page tracking from 'engine' 2018-08-02 14:33:07 -04:00
Steven Evans 681401b7b0 [refactor] Converting all font-size to be based on $defaultFontSize 2018-07-17 12:09:19 -04:00
danielyxie c449dee97e Fixed bug with Corporaiton healthcare. Fixed bug with new netscript 1.0 JS Interpreter properly throwing errors 2018-07-15 13:03:33 -05:00
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 875f7b4438 [refactor] Moved 'removeElementById' 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 a6293474a9 [refactor] Moved "isString()" to its own TS file 2018-07-08 20:15:06 -04: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
danielyxie 91d53d93a1 Merge pull request #298 from hydroflame/corporation-styling
Corporation styling
2018-06-20 16:57:07 -05:00
danielyxie 8620a4d30c Fix issue with 'Object.prototye' functions throwing errors during NetscriptJS RAM calculation. Fixed type with new Travel Confirmation setting loading to the correct initial value. Fixed Competition/Demand display for Products. Changed RAM for window/document access to be 100 2018-06-14 14:51:06 -05:00
Olivier Gagnon 83aeb50605 unify dropdown and text input accross the app 2018-06-13 16:20:27 -04:00
danielyxie c663b5edc7 Merge pull request #289 from hydroflame/fix-277
Fix #277
2018-06-13 09:18:31 -05:00
Olivier Gagnon bef2f07811 fixed 282 2018-06-13 01:02:26 -04:00
Olivier Gagnon 6f82f67cea fix #277 2018-06-13 00:12:16 -04:00
Steven Evans 7362d1809f [refactor] Remove numeral from utils folder; use npm reference
In order to shave off ~0.02MiB of the bundle size, needed to continue
referencing the minified file. Ideally future changes can utilize
code splitting, tree shaking, and minification in WebPack to use normal
references.
2018-05-30 22:46:52 -04:00
Steven Evans 10d7e43f01 [refactor] Pull in 'decimal.js' as an npm dependency 2018-05-30 15:54:13 -04:00
danielyxie 9acc422f05 v0.36.0 - Bladeburner BitNode (BN-6) 2018-05-02 12:38:11 -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 629e2eb425 Removed dev/debugging parameters 2018-03-03 17:58:05 -06:00
danielyxie f8c987a2c0 Fixed various bugs in v0.35.0 with prestiging 2018-03-03 17:55:58 -06:00
danielyxie e3c435270b V0.35.0. Adding netscript_tests in game testbench. 2018-03-03 15:05:33 -06:00
danielyxie 0e6ef8b83f Fixed company bug in v0.34.5 2018-02-24 20:10:24 -06:00
danielyxie 779ce25ae5 v0.34.5. Also adding webpack config and package-lock.json 2018-02-24 16:55:06 -06:00
danielyxie 920bfb7913 Fixed bug with Advert Inc upgrade not working properly because I used Math.random instead of getRandomInt. 2018-02-05 13:56:07 -06:00
danielyxie d89b804b00 0.34.3 Multiple Corporation Management bug fixes and balance changes 2018-01-31 17:41:02 -06:00
danielyxie 470b66e304 Bugfixes for Corporations. hacknetnodes now accounts for RAM usage. Start of v0.34.3 2018-01-29 23:14:17 -06:00
danielyxie be17cff29e Fixed a serious bug with Corporation profit (forgot to multiple by secsperCycle 2018-01-27 12:42:53 -06:00
danielyxie f60fe597fb Fixed Corporation bug with businessFactor for Products 2018-01-27 12:29:21 -06:00
danielyxie 5f817c8016 V 0.34.2 Changes 2018-01-27 00:52:39 -06:00
danielyxie 8d72dd0f4e fileExists() now works on text files. Starting redoing Company mgmt employee UI 2018-01-21 14:53:16 -06:00
danielyxie e88a3936f3 v0.34.1 2018-01-19 22:47:57 -06:00
danielyxie f211e8856f Minor bug fixes, adding spotify music player, and adding sphinx documentation 2018-01-09 14:48:06 -06:00
danielyxie d5bd1665d0 Bugfixes for cancelOrder(), selling stocks for Corporation, and updating RAM usage on prestige. Also added in-game documentation for clear() and exit() 2017-12-10 23:04:00 -06:00
danielyxie 3f61ec1cab v0.34.0 changes 2017-12-06 21:45:47 -06:00
danielyxie 9e5db4b644 Merged conflicts. Fixed several minor bugs. Increased infiltration exp. TIX api functions return transaction value rather than boolean. Hacking Mission changes for v0.34.0 2017-12-02 22:19:49 -06:00
danielyxie 1529552542 v0.33.0 Added BitNode-3:Corporatocracy 2017-12-01 21:50:08 -06:00
danielyxie 0fbea47f18 CompanyManagement changes 2017-11-16 13:37:26 -06:00
danielyxie 36696d04db Stock Market rebalancing. Change visibility to display for changing UI. More work on company management 2017-11-08 19:55:21 -06:00
danielyxie 03fdaeaba4 Changed confirm to prompt, updated version, more stock market balancing 2017-11-02 22:11:14 -05:00
danielyxie 52967d7f9d Refactored Code using Bluebird Promises. Still has memory issues. Added Buy Max and Sell All to stock market UI 2017-11-01 17:56:30 -05:00
danielyxie 7c4ac00f5a Replaced strict equality comparisons for null with loose eq comparisons 2017-10-25 17:05:12 -05:00
danielyxie 7614c62507 Fix bug when checking for null 2017-10-25 16:11:53 -05:00