Skip to content

Commit ddc3ba8

Browse files
committed
Final deprecations
Next destination: Release
1 parent c0d4d4b commit ddc3ba8

7 files changed

Lines changed: 36 additions & 22 deletions

File tree

brachyura-bootstrap-0.jar

-3 Bytes
Binary file not shown.

buildscript/src/main/java/Buildscript.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ public Buildscript() {
1919
.addHttpRepository("https://geolykt.de/maven", false) // FIXME fix this at the source
2020
.addHttpRepository("https://repo1.maven.org/maven2/")
2121
.setAccessWidenerFile("starloader-api.accesswidener")
22+
.addDependency("org.ow2.asm", "asm-analysis", "9.2", "https://asm.ow2.io/javadoc/")
23+
.addDependency("org.ow2.asm", "asm-commons", "9.2", "https://asm.ow2.io/javadoc/")
24+
.addDependency("org.ow2.asm", "asm-util", "9.2", "https://asm.ow2.io/javadoc/")
25+
.addDependency("org.ow2.asm", "asm-tree", "9.2", "https://asm.ow2.io/javadoc/")
26+
.addDependency("org.ow2.asm", "asm", "9.2", "https://asm.ow2.io/javadoc/")
27+
.addDependency("org.jetbrains", "annotations", "22.0.0", "https://javadoc.io/doc/org.jetbrains/annotations/22.0.0/")
28+
.addDependency("de.geolykt.starloader", "mixin", "0.8.4", "https://jenkins.liteloader.com/view/Other/job/Mixin/javadoc/")
29+
.addDependency("com.badlogicgames.gdx", "gdx", "1.9.11", "https://libgdx.badlogicgames.com/ci/nightlies/docs/api/")
2230
.addDependency("de.geolykt.starloader", "launcher", "3.0.0"));
2331

2432
this.getCompileOptions()
@@ -37,6 +45,6 @@ public String getBuildscriptName() {
3745
}
3846

3947
static {
40-
System.setProperty("de.geolykt.starplane.nocache", "true");
48+
//System.setProperty("de.geolykt.starplane.nocache", "true");
4149
}
4250
}

buildscript/starplane.jar

1.18 KB
Binary file not shown.

src/main/java/de/geolykt/starloader/api/empire/ActiveEmpire.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,9 @@ public default void addSLActor(@NotNull ActorSpec actor) {
183183
* the Empire is currently owned by the player.
184184
*
185185
* @return The {@link Flagship} owned by the Empire
186+
* @deprecated Exposes galimulator internals directly. Generally stupid API
186187
*/
188+
@Deprecated(forRemoval = true, since = "1.6.0")
187189
public @Nullable Flagship getFlagship();
188190

189191
/**
@@ -192,7 +194,9 @@ public default void addSLActor(@NotNull ActorSpec actor) {
192194
* directly.
193195
*
194196
* @return An {@link ArrayList} of {@link Fleet} that are assigned to the empire
197+
* @deprecated Exposes galimulator internals directly. Generally stupid API
195198
*/
199+
@Deprecated(forRemoval = true, since = "1.6.0")
196200
public @NotNull ArrayList<Fleet> getFleets();
197201

198202
/**

src/main/java/de/geolykt/starloader/api/empire/Empire.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ public default int getAge() {
6262
* change without reason to not confuse the user.
6363
*
6464
* @return The GalColor assigned to the empire
65+
* @deprecated snoddasmannen.galimulator.GalColor getters and setters are scheduled for purging in a future version
6566
*/
67+
@Deprecated(forRemoval = true, since = "1.6.0")
6668
public @NotNull GalColor getColor();
6769

6870
/**

src/main/java/de/geolykt/starloader/api/registry/RegistryExpander.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,14 @@ public void addEmpireSpecial(@NotNull NamespacedKey key, @NotNull String enumNam
8888
* These regions are not rendered if the star region rendering setting is disabled. This function may be called very often
8989
* so caching might be needed on the function's side. This parameter is there to reduce the burden of extensions
9090
* when it comes to actually making the map mode useful and such functionality is the most needed type of map modes</li>
91-
*
91+
* </ul>
9292
* <ul>
93-
* <li>Parameter is null if there should be no obvious colouring of star regions.</li>
93+
* <li>The parameter is null if there should be no obvious colouring of star regions.</li>
9494
* <li>The function will return null for any non-null star if the star's overlaid region should not be painted
9595
* in any obvious color. The function may throw an exception if it is fed in a null star.</li>
9696
* <li>If neither of the above conditions apply, the function must return a non-null color which should be used to
9797
* paint the overlaying region in a certain color.</li>
98-
* </ul></ul>
98+
* </ul>
9999
* @param key The registry key of the enum to register
100100
* @param enumName The unique enum-like name of the map mode. Used for {@link Enum#name()} along other methods
101101
* @param sprite The sprite to use for the map mode in the map mode selection menu.

src/main/java/de/geolykt/starloader/api/resource/AudioSampleWrapper.java

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,24 @@
1414
*/
1515
public abstract class AudioSampleWrapper implements ResourceWrapper<Sound> {
1616

17-
public static AudioSampleWrapper ACTOR_ORDERED = null;
18-
public static AudioSampleWrapper ACTOR_SELECTED = null;
19-
public static AudioSampleWrapper ALARM = null;
20-
public static AudioSampleWrapper BAD_MINI = null;
21-
public static AudioSampleWrapper BIG_LASER = null;
22-
public static AudioSampleWrapper BIGBOOM_1 = null;
23-
public static AudioSampleWrapper BIGBOOM_2 = null;
24-
public static AudioSampleWrapper CLONE = null;
25-
public static AudioSampleWrapper GOOD_MINI = null;
26-
public static AudioSampleWrapper HEALRAY = null;
27-
public static AudioSampleWrapper HIT_1 = null;
28-
public static AudioSampleWrapper HIT_2 = null;
29-
public static AudioSampleWrapper HIT_3 = null;
30-
public static AudioSampleWrapper MISSILE = null;
31-
public static AudioSampleWrapper SMALL_LASER = null;
32-
public static AudioSampleWrapper UI_BIG_SELECT = null;
33-
public static AudioSampleWrapper UI_ERROR = null;
34-
public static AudioSampleWrapper UI_SMALL_SELECT = null;
17+
public static AudioSampleWrapper ACTOR_ORDERED;
18+
public static AudioSampleWrapper ACTOR_SELECTED;
19+
public static AudioSampleWrapper ALARM;
20+
public static AudioSampleWrapper BAD_MINI;
21+
public static AudioSampleWrapper BIG_LASER;
22+
public static AudioSampleWrapper BIGBOOM_1;
23+
public static AudioSampleWrapper BIGBOOM_2;
24+
public static AudioSampleWrapper CLONE;
25+
public static AudioSampleWrapper GOOD_MINI;
26+
public static AudioSampleWrapper HEALRAY;
27+
public static AudioSampleWrapper HIT_1;
28+
public static AudioSampleWrapper HIT_2;
29+
public static AudioSampleWrapper HIT_3;
30+
public static AudioSampleWrapper MISSILE;
31+
public static AudioSampleWrapper SMALL_LASER;
32+
public static AudioSampleWrapper UI_BIG_SELECT;
33+
public static AudioSampleWrapper UI_ERROR;
34+
public static AudioSampleWrapper UI_SMALL_SELECT;
3535

3636
/**
3737
* The location of the resource within the respective data folder.

0 commit comments

Comments
 (0)