bitburner-src/src
Martin Fournier 855a4e622d Add Electron preload script to allow communication
Adds a channel to communicate between the main process & the renderer
process, so that the game can easily ship data back to the main process.

It uses the Electron contextBridge & ipcRenderer/ipcMain.

Connects those events to various save functions. Adds triggered events
on game save, game load, and imported game. Adds way for the Electron
app to ask for certain actions or data.

Hook handlers to disable automatic restore

Allows to temporarily disable restore when the game just did an import
or deleted a save game. Prevents looping screens.
2022-01-26 03:56:19 -05:00
..
@types Add webpack file-loader to handle images 2022-01-20 18:41:48 -05:00
Achievements Merge pull request #2655 from SagePtr/patch-1 2022-01-17 15:56:44 -05:00
Augmentation Merge pull request #2703 from lethern/patch-1 2022-01-26 00:50:42 -05:00
BitNode Fix: Cypress tests for dev (updates to match UI changes) 2022-01-25 23:57:36 +00:00
Bladeburner Refactor for ... in loops 2022-01-15 18:45:03 -06:00
Casino Merge pull request #2745 from jamie-mac/fix/roulette-result 2022-01-26 00:51:03 -05:00
Company Refactor for ... in loops 2022-01-15 18:45:03 -06:00
Corporation Merge pull request #2705 from pigalot/bug-corp-product-cost 2022-01-26 00:46:39 -05:00
CotMG many fixes 2022-01-09 15:24:32 -05:00
Crime Refactor for ... in loops 2022-01-15 18:45:03 -06:00
DarkWeb Refactor for ... in loops 2022-01-15 18:45:03 -06:00
data Update codingcontracttypes.ts 2022-01-22 21:06:20 -08:00
DevMenu/ui Display bonus time in sleeve detailed stats panel 2022-01-21 07:50:41 -05:00
Diagnostic fix few bugs 2021-11-22 11:36:13 -05:00
Exploits rm console log 2022-01-05 01:13:48 -05:00
Faction Merge pull request #2747 from smolgumball/improve-faction-root 2022-01-26 00:44:55 -05:00
Gang Fix console warning on ascension modal 2022-01-22 11:37:27 -06:00
Hacking bugfix 2021-11-05 17:12:52 -04:00
Hacknet Refactor for ... in loops 2022-01-15 18:45:03 -06:00
hash bugfix 2021-12-16 20:09:19 -05:00
Hospital fix decimal 2021-11-11 21:35:26 -05:00
Infiltration Add a Cancel to exit out of Infiltrations 2022-01-06 19:30:15 +11:00
Literature Change "import" to "important" 2022-01-19 13:00:59 -08:00
Locations Add the deck count for blackjack 2022-01-23 22:08:23 +01:00
Message bugfix 2021-11-05 17:12:52 -04:00
Milestones remove unused stuff 2021-10-14 18:45:50 -04:00
Netscript Add ns.printf function 2022-01-21 12:08:47 +00:00
NetscriptFunctions Merge pull request #2707 from MartinFournier/feature/theme-browser 2022-01-26 00:46:17 -05:00
NetworkShare Remove console spamming from CalculateShareMult 2022-01-19 02:47:51 +02:00
PersonObjects Move import save functionality into SaveObject 2022-01-26 03:42:52 -05:00
Programs Fix focus arg for sing functions 2022-01-18 08:49:06 -06:00
Script rm blob caching 2022-01-20 16:11:48 -05:00
ScriptEditor Merge pull request #2703 from lethern/patch-1 2022-01-26 00:50:42 -05:00
Server Revert "Use min server.moneyAvailable of 1$ when growing server money" 2022-01-26 00:35:42 -05:00
Settings Add theme browser page accessible from game options 2022-01-20 18:41:49 -05:00
Sidebar/ui Merge pull request #2668 from MartinFournier/fix/locked-shortcuts 2022-01-17 15:53:18 -05:00
SourceFile change sf4 2022-01-04 19:09:34 -05:00
StockMarket Refactor for ... in loops 2022-01-15 18:45:03 -06:00
Terminal Refactor download.ts (export "download *" command) 2022-01-26 03:40:22 -05:00
Themes Add ID to ThemeEditorButton 2022-01-20 18:43:36 -05:00
ThirdParty Add achievements to base game 2022-01-08 05:45:32 -05:00
Tutorial/ui fix editor not loading 2021-12-21 12:02:06 -05:00
ui Add Electron preload script to allow communication 2022-01-26 03:56:19 -05:00
utils Move import save functionality into SaveObject 2022-01-26 03:42:52 -05:00
Alias.ts Refactor for ... in loops 2022-01-15 18:45:03 -06:00
CodingContractGenerator.ts fix corp softcap 2021-11-05 21:01:23 -04:00
CodingContracts.ts remove unused stuff 2021-10-14 18:45:50 -04:00
Constants.ts 1.4 2022-01-18 14:03:24 -05:00
db.tsx Fixing spelling mistake 2022-01-10 15:17:04 +10:00
DevMenu.tsx Add achievements dev menu 2022-01-08 05:45:38 -05:00
Electron.tsx Add Electron preload script to allow communication 2022-01-26 03:56:19 -05:00
engine.tsx Move theme related things into its own subfolder 2022-01-20 18:41:48 -05:00
engineStyle.ts v0.55.0 2021-10-01 16:22:33 -04:00
ExportBonus.tsx prettify, sorry for the big ass commit 2021-09-04 19:09:30 -04:00
Hacking.ts Fixed player hacking exp multiplier application 2022-01-23 20:30:36 +01:00
IEngine.ts Add achievements to base game 2022-01-08 05:45:32 -05:00
index.html Allow drag on character overview 2022-01-10 07:37:01 -05:00
index.tsx Move theme related things into its own subfolder 2022-01-20 18:41:48 -05:00
InteractiveTutorial.ts few bugfix 2021-12-13 18:44:52 -05:00
MathJaxWrapper.tsx Add local reference to mathjax context 2022-01-08 07:48:10 -05:00
NetscriptEvaluator.ts 1.4 2022-01-18 14:03:24 -05:00
NetscriptFunctions.ts Merge pull request #2703 from lethern/patch-1 2022-01-26 00:50:42 -05:00
NetscriptJSEvaluator.ts rm blob caching 2022-01-20 16:11:48 -05:00
NetscriptPort.ts convert to ts 2021-09-24 17:56:30 -04:00
NetscriptWorker.ts change asleep 2022-01-18 18:57:43 -05:00
Player.ts few more bugfixes 2021-11-11 23:28:08 -05:00
Prestige.ts 1.4 2022-01-18 14:03:24 -05:00
RedPill.tsx finalize corp in mui 2021-09-30 17:02:07 -04:00
SaveObject.tsx Add Electron preload script to allow communication 2022-01-26 03:56:19 -05:00
Terminal.ts convert player to ts 2021-09-23 18:47:43 -04:00
TextFile.ts Add support for the mv command in NS 2022-01-12 09:53:54 -08:00
types.ts nuke half the dependencies because they were unused. 2021-10-14 19:31:17 -04:00
UncaughtPromiseHandler.ts catch scripts taht end too early 2021-12-20 16:06:19 -05:00