Commit Graph

61 Commits

Author SHA1 Message Date
nickofolas
73f26e2ae3 Reapply boosts in migration 2022-05-05 01:02:05 -05:00
nickofolas
965d5c7c20 Add migration for broken saves 2022-05-04 20:16:23 -05:00
hydroflame
44475aaac9
Merge branch 'dev' into breaking-contract-capitalization 2022-04-26 11:15:37 -04:00
Undeemiss
8e4ac7be6b Save migration for old contract names
Rename old "HammingCodes: Integer to encoded Binary" contracts to
"HammingCodes: Integer to Encoded Binary" on file load if the save
is old.
2022-04-25 20:12:46 -05:00
Olivier Gagnon
9fdfb77dd4 Update infiltrators 2022-04-22 15:30:49 -04:00
nickofolas
7054c9daef Fix editor theme migration 2022-04-18 11:44:00 -05:00
Olivier Gagnon
62d15ff3a1 rm SourceFileFlags 2022-04-14 01:22:50 -04:00
Olivier Gagnon
9f3423bd46 save file migration 2022-04-13 17:50:01 -04:00
hydroflame
3b5e877801
Merge pull request #3424 from Undeemiss/smarter-icarus
Reduced icarus.msg spam and added new truthgazer.msg
2022-04-13 11:06:26 -04:00
Undeemiss
dfadfcea09 Smarter icarus.msg, new truthgazer.msg, fix long-standing message bug
Sorry for putting this all in one commit; it all happened at the same time
as a direct conscequence of trying to get icarus.msg to be smarter.
There's a compilation error on MessageHelpers.ts:24, but the game
seems to run fine so I'm committing and coming back to it later.
2022-04-13 01:53:22 -05:00
Heinous Tugboat
492c7012ea Renames SnackbarVariant to ToastVariant, adds enum to ns 2022-04-13 01:54:13 -04:00
Heinous Tugboat
5b96cedd0c Adds SnackbarVariant enum 2022-04-08 23:46:19 -04:00
Olivier Gagnon
680081c548 post-grafting changes 2022-03-29 14:09:17 -04:00
BB
0eced1b9f2 Simplified some booleans and if elses 2022-03-08 22:52:26 +01:00
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
Martin Fournier
974344545d Move import save functionality into SaveObject
Adds a lot of metadata to be able to easily compare the new save to the
current player.

- Adds lastSaved & identifier to the PlayerObject
- Includes a hash method used to generate an identifier
2022-01-26 03:42:52 -05:00
Martin Fournier
8a2cad6c4a Reset styles for html changelogs in getUpdateText
Adds an optional sxProps to the DialogBox component.
2022-01-25 10:20:36 -05:00
Olivier Gagnon
07fe3c1906 update scam msg 2022-01-20 23:53:33 -05:00
Olivier Gagnon
a3c599e6c5 update to prevent scam 2022-01-20 23:43:19 -05:00
nickofolas
ab841f7530 Refactor for ... in loops 2022-01-15 18:45:03 -06:00
Martin Fournier
b22eb58aba Add option to exclude running scripts from save 2022-01-11 16:48:00 -05:00
Martin Fournier
2220286062 Fix sleeves brachiblades aug with save migration 2022-01-09 05:57:50 -05:00
Martin Fournier
3562671772 Add SaveTimestamp to saveString, used in import 2022-01-07 09:02:35 -05:00
Martin Fournier
46fe8cc94c Change SuppressSaveToast to only work on auto-save
Before this, this setting also suppressed the toast for the manual clicks.
2022-01-05 14:56:28 -05:00
Olivier Gagnon
d0214c1fed fix some weird eval 2022-01-02 12:41:54 -05:00
Olivier Gagnon
5dc9ac040a toast time config 2021-12-20 13:29:04 -05:00
Martin Fournier
733f04c343 Add an option to suppress the 'Saved Game' toast 2021-12-18 08:01:15 -05:00
Olivier Gagnon
ed821617c0 save files are now chronologically named 2021-12-08 18:27:57 -05:00
Olivier Gagnon
632de50a73 convert BN13 to a more conventional one. 2021-11-18 15:38:19 -05:00
Olivier Gagnon
c69eb34341 v1.0.1 2021-11-17 19:56:17 -05:00
Olivier Gagnon
56ddcd9a45 more work on bn13 2021-11-13 22:44:17 -05:00
Olivier Gagnon
3112dc60c0 few more bugfixes 2021-11-11 23:28:08 -05:00
Olivier Gagnon
9d435bbe47 fix corp not loading 2021-11-11 22:43:40 -05:00
Olivier Gagnon
9799d2f33b dont run the migration every time 2021-11-10 12:36:15 -05:00
Olivier Gagnon
9fe817daf2 fix backup_ folder not working 2021-11-10 12:34:56 -05:00
Olivier Gagnon
7cc2a1b49a fix mc 2021-11-09 23:57:44 -05:00
Olivier Gagnon
57cec546f0 some documentation 2021-11-09 23:46:22 -05:00
Olivier Gagnon
c87e9bdf84 v1.0.0 changes 2021-11-09 23:42:36 -05:00
Olivier Gagnon
d0eb8aaab9 added v1.0.0 cutover msg 2021-11-08 09:27:11 -05:00
Olivier Gagnon
88b4a7d862 bugfix 2021-11-05 17:12:52 -04:00
Olivier Gagnon
0bee743b47 v1.0.0 migration guide 2021-11-02 22:49:46 -04:00
Olivier Gagnon
b2bf3fc21f v1 api breaks 2021-11-02 22:11:22 -04:00
Olivier Gagnon
8f097ebb32 v0.58.0 2021-10-27 15:16:16 -04:00
Olivier Gagnon
eb846c1318 merge dev 2021-10-14 02:12:15 -04:00
Olivier Gagnon
e245c2d3a7 fixed a few things 2021-10-14 02:07:05 -04:00
Olivier Gagnon
3f1d4875e7 Added toast function 2021-10-13 17:25:58 -04:00
Olivier Gagnon
e436d7f3a0 up to date omg 2021-10-13 02:27:55 -04:00
Olivier Gagnon
6543e73f6f Fix blade corp gang equal 0 2021-10-12 19:23:36 -04:00
Olivier Gagnon
87c63cde59 merge v0.56.0 2021-10-12 01:35:30 -04:00
Olivier Gagnon
83137a2364 v0.56.0 2021-10-12 00:29:16 -04:00