Commit Graph

48 Commits

Author SHA1 Message Date
Daan Breur 944b3c011c
Added layersupport to waypoints!! (#703)
* Added layersupport to waypoints!!
It will now save what layer its made on!

* Added Migrator for 1006 to 1007

* Corrected Version Number

* Updated Comment

* Changed HUB Layer to be hardcoded
2020-12-07 12:48:30 +01:00
tobspr b17cb6952b Update changelog and minor fixes 2020-10-31 12:19:51 +01:00
LeopoldTal 785eb31c8d
make save compressor faster (#888)
Fixes #836 by using a Map instead of an array. The Map maps the values to their indices rather than the reverse, making finding the index constant-time rather than linear, and so building the full map linear rather than quadratic. Flipping it to build the final array is also linear.
2020-10-31 12:12:05 +01:00
tobspr 8260edb373 Get rid of some todos / fixmes 2020-10-08 19:47:27 +02:00
tobspr 27242cdadf Fix toolbar color 2020-10-08 17:23:07 +02:00
tobspr 7b01db5dae Minor fixes 2020-10-08 10:41:06 +02:00
tobspr 7dccc1a844 Unlock all levels when having a legacy savegame 2020-10-07 15:02:27 +02:00
tobspr fa27d1681f Cleanup IS_DEMO flags and introduce Restriction Manager 2020-10-07 09:48:31 +02:00
tobspr 94266173d8 Introduce game modes and get rid of global level definitions etc 2020-10-07 08:36:02 +02:00
tobspr f841a05f52 Migrate levels 2020-09-28 12:35:43 +02:00
tobspr f8371a96cf Make the storage its own building, add sanity checks 2020-09-23 08:59:39 +02:00
tobspr c6eb1dad04 Rebalance the whole game, rename splitter -> balancer 2020-09-22 14:47:59 +02:00
tobspr 9075841768 Migrate old savegames 2020-09-22 09:32:31 +02:00
tobspr bba29b8a8b Improve (rendering-) performance in DEV mode 2020-09-18 19:51:15 +02:00
tobspr 091401e52b Store wires state on save 2020-08-29 23:38:49 +02:00
tobspr 728f4ae253 Allow naming savegames 2020-08-28 22:15:12 +02:00
Bjorn Stromberg 6a447e3583 Remove enumLayer and enumItemType 2020-08-15 19:47:01 +02:00
tobspr 8c39d31c5b Optimize performance by using singletons for items 2020-08-14 13:09:10 +02:00
tobspr 5708ef385c Fix entities being incorrectly restored 2020-08-11 13:31:27 +02:00
tobspr 2203d5fc6a Improve saving speed by using crc32 instead of sha1 for checksum 2020-08-10 23:31:02 +02:00
tobspr 9701a143ec Only store changed properties for all components 2020-08-10 22:53:02 +02:00
tobspr 89294c7072 Remove instant eject flag 2020-08-10 20:32:45 +02:00
asquared31415 868cd7baf5
Mock V1000 StaticMapEntity (#550) 2020-08-10 07:38:05 +02:00
Bjorn Stromberg 79158e2b56
Remove unused code (#526) 2020-08-06 11:28:28 +02:00
Bjorn Stromberg f79578a993
Make CI green by hiding the problem behind a sign that says FIXME (#515) 2020-08-06 11:21:12 +02:00
tobspr bf2eee908f Refactor static map entity component to store building metaclass 2020-07-27 17:14:29 +02:00
tobspr 34ef26b289 Fix multiple issues regarding saving / restoring games 2020-07-05 16:56:01 +02:00
tobspr 64c4816194 Remove some todos 2020-06-28 20:31:22 +02:00
tobspr 84417b60a5 Fix items being stuck on belts 2020-06-27 12:50:35 +02:00
tobspr 2e266f5f21 Get rid of 'builtins' file since its useless and causes performance issues 2020-06-27 10:51:52 +02:00
tobspr 42c569d91f Implement saving and restoring belt paths 2020-06-26 18:24:02 +02:00
tobspr 5c12c605f5 Reworked waypoints 2020-06-16 10:25:31 +02:00
tobspr 3af6532d32 Refactor pinned shapes and make them smart, closes #72 2020-06-12 18:38:13 +02:00
tobspr 23db5b117e Migrate old savegames 2020-06-01 12:49:04 +02:00
tobspr 3071bba633 store waypoints in savegame 2020-05-28 20:03:35 +02:00
tobspr e0facaf788 Fix keys being stuck, show savegame levels in main menu 2020-05-28 14:53:11 +02:00
tobspr 0cd324c82b Initial support for blueprints (Buggy) 2020-05-27 14:30:59 +02:00
tobspr 050466df19 Fix eslint errors 2020-05-24 18:55:58 +02:00
tobspr 224bc6c7e5 Add ability to import savegames, add game menu, multiple smaller improvements 2020-05-16 17:57:25 +02:00
tobspr 2c9867c837 Fix bug with pinned shapes not properly refreshed 2020-05-16 09:51:55 +02:00
tobspr 4e97ec281e Fix bug when saving underground belts 2020-05-15 11:08:49 +02:00
tobspr b64bbc8132 Fix hub being removable after restoring a game, fix tslint errors 2020-05-14 22:46:31 +02:00
tobspr a1fd83c03c Fix serialization errors and implement hub deserialization 2020-05-14 22:20:19 +02:00
tobspr 330c98267a Minor fixes and add save button 2020-05-14 22:05:06 +02:00
tobspr b01d38e55d Initial support for saving games 2020-05-14 21:54:11 +02:00
tobspr 85951615a9 Fix tslint errors 2020-05-14 08:56:18 +02:00
tobspr 241b4b42d9 Add proper game analytics 2020-05-12 20:06:50 +02:00
Tobias Springer 93c6ea683d Initial commit 2020-05-09 16:45:23 +02:00