Skip to content
Success

Changes

Summary

  1. Lazily initialize MapData (commit: 45aebef) (details)
Commit 45aebef601a0ac075c9c411ab6dd4f04d1f60e9c by Geolykt
Lazily initialize MapData

This massively reduces the time it takes to open the galaxy type selection screen,
with it now being near-instant as opposed to the former good 10 seconds it took.

Do note that this does not touch the vanilla menu.

The APIs behind this are currently incubating - it's planned to merge them
into SLAPI once they have been bulletproofed enough
(commit: 45aebef)
The file was modifiedsrc/main/resources/s2dmenues.ras (diff)
The file was addedsrc/main/java/de/geolykt/s2dmenues/incubator/VanillaStarGeneratorWrapper.java
The file was addedsrc/main/java/de/geolykt/s2dmenues/incubator/LazyMapdataPlacementGenerator.java
The file was addedsrc/main/java/de/geolykt/s2dmenues/incubator/StarPlacementRegistry.java
The file was modifiedbuild.gradle (diff)
The file was addedsrc/main/java/de/geolykt/s2dmenues/incubator/StarPlacementGenerator.java
The file was addedsrc/main/java/de/geolykt/s2dmenues/incubator/StarPathWrapper.java
The file was addedsrc/main/java/de/geolykt/s2dmenues/incubator/StarPlacementMeta.java
The file was addedsrc/main/java/de/geolykt/s2dmenues/incubator/LazyQuickmapPlacementGenerator.java
The file was modifiedsrc/main/java/de/geolykt/s2dmenues/components/GenGalaxyWindow.java (diff)
The file was addedsrc/main/java/de/geolykt/s2dmenues/incubator/StarMovementPath.java