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
e16ca2abb5
[refactor] Removed "numNetscriptOperators" as it is not used.
2018-07-08 20:15:07 -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
be577164e3
[refactor] Removed export of "numOccurrences"
...
Does not appear to actually be used outside of StringHelperFunctions.ts
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
Steven Evans
b84e9749f6
[chore] TSLint violation cleanup
2018-07-08 20:15:06 -04:00
danielyxie
fde2b8cbc1
Infiltration can no longer be done programmatically. HP is reset when prestiging
2018-07-07 19:16:58 -05: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
danielyxie
c8421168b6
Copying a NetscriptJS script with scp now properly clears its 'module'.
2018-06-29 00:39:05 -05:00
danielyxie
300cd01cc8
Merge pull request #344 from kopelli/lint-cleanup
...
[style] Cleaning up TSLint violations
2018-06-27 22:39:50 -05:00
danielyxie
393ce096fd
Finishing Infiltration returns to company page. Infiltration remembers selected faction
2018-06-27 22:34:57 -05:00
Steven Evans
2b5090a273
[style] Cleaning up TSLint violations
...
Adding a few custom types and documentation to clean up TSLint rule
violations. Included some usage of rule disabling for things like long
lines where we need to extract text that the user would see. That level
of text should really be separated from the logic.
2018-06-26 21:40:26 -04:00
Olivier Gagnon
6bdf946790
remove all .js from all appplicable imports
2018-06-26 12:34:11 -04:00
Olivier Gagnon
1c9e6f5c26
linting stuff
2018-06-24 20:55:43 -04:00
Olivier Gagnon
53ddfbc9ec
first conversion
2018-06-22 17:30:24 -04:00
Steven Evans
9c09e44db2
[refactor, chore] Including TSLint; fixing most things.
...
As it currently stands, bringing in TSLint with *all* rules enabled by
default and override each as we go. This means that as we upgrade and
bring in new rules we might start seeing new rules that the code
violates.
Because all the rules are enabled by default, the choice to explicitly
disable/relax rules can be discussed as part of PRs.
This also brought in strict type checking. This means we shouldn't be
relying on truthy/falsey value coercion. It also means that we will
likely need to create some type definition files or port certain files
over. That...will be a bit tedious, but will make the codebase better as
a whole.
2018-06-14 14:57:44 -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
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
691e2850d7
[refactor] Removing jsplumb from utils folder; no references to it.
2018-05-30 22:14:03 -04:00
Steven Evans
10d7e43f01
[refactor] Pull in 'decimal.js' as an npm dependency
2018-05-30 15:54:13 -04:00
danielyxie
4ea365da02
Refactored Active Scripts UI. Can no longer gain Bladeburner faction rep from infiltration. Added Disable Hotkeys setting
2018-05-06 15:27:47 -05: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
24e99ed8d9
Wraithan's changes
2018-02-17 21:08:54 -06:00
danielyxie
1f5ab50b79
Revert "Fix some stuff with ls() and cat"
2018-02-16 15:03:16 -06:00
danielyxie
d37e8f1d5f
Merge pull request #190 from wraithan/fix-ls-txt
...
Fix some stuff with ls() and cat
2018-02-16 15:03:06 -06:00
danielyxie
f82d216e10
v0.34.4
2018-02-14 22:26:43 -06:00
Wraithan (Chris McDonald)
8445edeaf0
Change terminal cat to use <pre> tag for txt files which are often data
2018-02-10 12:52:56 -08: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
124292ef97
Fix mission UI
2017-11-08 20:53:40 -06:00
Stephen Kang
04f3ee8ebf
first commit
2017-11-07 20:44:34 -08: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
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
4dc87af132
v0.32.0 - Added BitNode-8: Ghost of Wall Street
2017-10-25 14:47:47 -05:00
danielyxie
4186326771
Added new Text Files (downloadable) and their corresponding Terminal commands. Added sprintf and vsprintf.
2017-10-12 15:10:34 -05:00
danielyxie
246acf5966
Game now uses indexedDb. Added new Bond Forgery crime. Added commitCrime() and getStats() Singularity functions. Removed getIntelligence(). Balance changes to crime/infiltration
2017-10-11 21:00:22 -05:00
danielyxie
ffa59d9779
Adding jsplum to utils...I think this can be deleted actually
2017-09-21 16:28:24 -05:00
danielyxie
c93a398fbf
Continue statement, began work on missions
2017-09-21 16:27:31 -05:00
danielyxie
d1f4f8fd36
All v0.29.0 changes
2017-09-19 13:38:03 -05:00
danielyxie
e3991b8795
v0.28.6 changes
2017-09-15 09:06:59 -05:00
danielyxie
024546b4f1
v0.28.4 - Bug fixes, getScriptIncome(), syntax highlighting for regular Netscript functions,
2017-09-11 18:14:51 -05:00