Skip to content

Commit 1ed0034

Browse files
committed
Release 1.3.0 - Final Commit
Fixed a memory leak with the project upgrader. Fixed an issue with Save All and Untitled assets. Other minor pre-release changes.
1 parent 234e4f9 commit 1ed0034

File tree

20 files changed

+136
-67
lines changed

20 files changed

+136
-67
lines changed

core/src/main/java/org/rpgwizard/common/assets/AssetManager.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,10 @@ public AssetHandle getHandle(Asset asset) {
8181
* @param asset
8282
*/
8383
public void removeAsset(Asset asset) {
84-
assets.remove(asset.getDescriptor());
84+
if (asset != null && asset.getDescriptor() != null) {
85+
LOGGER.info("Removing asset in cache with URI=[{}]", asset.getDescriptor().uri);
86+
assets.remove(asset.getDescriptor());
87+
}
8588
}
8689

8790
/**

demo/The Wizard's Tower/Programs/Startup.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,5 +152,8 @@ function finish() {
152152
rpgcode.runProgram("MenuSystem.js");
153153
}, true);
154154

155+
// Increase character walk speed.
156+
rpgcode.setCharacterSpeed("Hero", 1.5);
157+
155158
rpgcode.endProgram();
156159
}

distribution/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
<opts>
6868
<opt>-Dorg.rpgwizard.execution.path=&quot;%EXEDIR%&quot;</opt>
6969
</opts>
70+
<maxHeapSize>500</maxHeapSize>
7071
</jre>
7172
<versionInfo>
7273
<fileVersion>${file.version}</fileVersion>

distribution/resources/editor.ico

-17.1 KB
Binary file not shown.
-17.1 KB
Binary file not shown.
-49.6 KB
Binary file not shown.
-308 Bytes
Loading
-633 KB
Binary file not shown.
-78.9 KB
Binary file not shown.

distribution/resources/launch4j-config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<launch4jConfig>
33
<dontWrapJar>false</dontWrapJar>
4-
<headerType>console</headerType>
4+
<headerType>gui</headerType>
55
<jar>.\builds\output\html5-engine-jar-with-dependencies.jar</jar>
66
<outfile>.\builds\output\engine.exe</outfile>
77
<errTitle></errTitle>

0 commit comments

Comments
 (0)