Skip to content

Commit

Permalink
Release 0.95.259
Browse files Browse the repository at this point in the history
Resolves #1181
  • Loading branch information
akarnokd committed Oct 13, 2024
1 parent d26ca29 commit fa8eb1c
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 3 deletions.
Binary file added install/open-ig-0.95.259.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion src/hu/openig/model/Configuration.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
*/
public class Configuration {
/** The version string. */
public static final String VERSION = "0.95.258";
public static final String VERSION = "0.95.259";
/** Annotation for indicating load/save a field. */
@Retention(RetentionPolicy.RUNTIME)
@interface LoadSave { }
Expand Down
8 changes: 8 additions & 0 deletions src/hu/openig/model/World.java
Original file line number Diff line number Diff line change
Expand Up @@ -3398,6 +3398,8 @@ void prepareLayout() {

List<SurfaceFeature> features = ps.features;
Map<Location, SurfaceEntity> map = ps.basemap;
Set<Location> xclude = ps.deploymentExclusions;
ps.deploymentExclusions = new HashSet<>();
ps.basemap = new HashMap<>(map.size() * pscale * pscale);
ps.features = new ArrayList<>(features.size() * pscale * pscale);

Expand Down Expand Up @@ -3466,7 +3468,13 @@ void prepareLayout() {
ps.surfaceCells.initEmptySurface(loc3.x, loc3.y);
}
}
}
for (Location locx : xclude) {
int x2 = locx.x + i * w0 - j * h0;
int y2 = locx.y - i * w0 - j * h0;

Location loc2x = Location.of(x2, y2);
ps.deploymentExclusions.add(loc2x);
}
}
}
Expand Down
1 change: 1 addition & 0 deletions src/hu/openig/screen/items/GameOverScreen.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ public void invoke() {
hideSecondary();
commons.control().displayStatusbar();
commons.nongame = false;
commons.playMusic();
}
};
loadButton = new UIGenericButton(get("win.load"), fontMetrics(16), commons.common().mediumButton, commons.common().mediumButtonPressed);
Expand Down
8 changes: 6 additions & 2 deletions update.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<desc lang='en'>The launcher&#39;s main file</desc>
</file>
</module>
<module id='Game' version='0.95.258'>
<module id='Game' version='0.95.259'>
<general url='https://github.com/akarnokd/open-ig'>
<desc lang='hu'>
Az Open Imperium Galactica játék.
Expand All @@ -42,6 +42,10 @@
<desc lang='es'>Bugfixes</desc>
</notes>
<release-details>
<entry version='0.95.259' date='2024-10-13'>
<item category='Campaign' issue='1181'>Play music again after finishing the main campaign and selecting continue.</item>
<item category='Skirmish,Groundwar'>Fix deployment exclusion locations not scaling with the planet in skirmish.</item>
</entry>
<entry version='0.95.258' date='2024-10-12'>
<item category='Skirmish' issue='1180'>Fix a crash when using planet scaling settings.</item>
</entry>
Expand Down Expand Up @@ -340,7 +344,7 @@
<item category='AI'>Fixed AI unable to build a power plant if the missing energy was above the capacity of available power plant types.</item>
</entry>
</release-details>
<file url='https://github.com/akarnokd/open-ig/raw/master/install/open-ig-0.95.258.jar' sha1='CA1DA798B354FE54D5F5C1EC620961011B7FA22A'/>
<file url='https://github.com/akarnokd/open-ig/raw/master/install/open-ig-0.95.259.jar' sha1='1CA475E91FFD68A9D0DBC2CBFC5CC04C96419E20'/>
<file url='https://github.com/akarnokd/open-ig/raw/master/install/open-ig-upgrade-20240930a2.zip' sha1='BCB4BE3242EF22AD050903FEDC9A48F515C95416'/>
<file url='https://github.com/akarnokd/open-ig/raw/master/install/open-ig-images-20240930a.zip' sha1='09EA802D35E9A124B1A1761CBBB8D8F8C8D06E77'/>
<file url='https://github.com/akarnokd/open-ig/raw/master/open-ig-splash.png' sha1='52b83dbe118575c7dd3dd6c8c41d0446c32dee45'/>
Expand Down

0 comments on commit fa8eb1c

Please sign in to comment.