Skip to content

Commit

Permalink
Merge pull request #41 from Monsoonjr99/v0-4
Browse files Browse the repository at this point in the history
Version 0.4.11
  • Loading branch information
Monsoonjr99 committed Jul 9, 2023
2 parents ace619b + bcb2295 commit 8e6b1d4
Show file tree
Hide file tree
Showing 6 changed files with 219 additions and 147 deletions.
4 changes: 2 additions & 2 deletions basin.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ class Basin{
if(MAP_TYPES[this.mapType].form === 'earth'){
this.mainSubBasin = MAP_TYPES[this.mapType].mainSubBasin;
this.defineEarthSubBasins();
this.subBasins[this.mainSubBasin].scale = Scale.presetScales[opts.scale || 0].clone().flavor(opts.scaleFlavor || 0).colorScheme(opts.scaleColorScheme || 0);
this.subBasins[this.mainSubBasin].scale = Scale.presetScales[opts.scale || 0].clone().flavor(opts.scaleFlavor || 0);
this.subBasins[this.mainSubBasin].setDesignationSystem(DesignationSystem.presetDesignationSystems[opts.designations || 0].clone().setSecondary(false));
}else{
this.mainSubBasin = DEFAULT_MAIN_SUBBASIN;
this.addSubBasin(this.mainSubBasin,undefined,undefined,undefined,
Scale.presetScales[opts.scale || 0].clone().flavor(opts.scaleFlavor || 0).colorScheme(opts.scaleColorScheme || 0),
Scale.presetScales[opts.scale || 0].clone().flavor(opts.scaleFlavor || 0),
DesignationSystem.presetDesignationSystems[opts.designations || 0].clone().setSecondary(false)
);
}
Expand Down
7 changes: 7 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
About: A p5.js tropical cyclone simulation game

v0.4.11 (2023-07-09):
* Scale color schemes changed to use a global setting rather than individually per sub-basin scale for more consistent color experience
> Hotkey: "c"
> Note: does not apply to basins saved before this update due to how scale saving works, thus their colors are locked
* "Wiki" scale color scheme again updated to new Wikipedia colors
> Old colors preserved as "Wiki (Pre-2023/HHW)" (includes some colors for hypothetical extended Saffir-Simpson categories)
* Happy fifth birthday to Cyclone Simulator!
v0.4.10 (2023-07-07):
+ Added more historic name lists for the Atlantic going back to 1950
+ Added historic name lists for the Eastern Pacific going back to 1960
Expand Down
2 changes: 1 addition & 1 deletion constants.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const TITLE = "Cyclone Simulator";
const VERSION_NUMBER = "0.4.10";
const VERSION_NUMBER = "0.4.11";

const SAVE_FORMAT = 7; // Format #7 in use starting in v0.4
const EARLIEST_COMPATIBLE_FORMAT = 0;
Expand Down

0 comments on commit 8e6b1d4

Please sign in to comment.