Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaiR committed Jun 5, 2022
1 parent 9d8022b commit 5904f8e
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 7 deletions.
45 changes: 42 additions & 3 deletions src/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,44 @@
# v2.6.0.alpha

### New open flow!
Since ancient times DreamMaker was teaching us that to open a map we need to open an environment first.<br>
But things have changed...<br>
Now there is no separate button to open either environment or a map. The "Open" button does all of that.<br>
If there is no environment loaded, StrongDMM will try to find and open one. The search is recursive, bottom-up through the directories.<br>

Referencing to the new open flow, now you can pass any .dme/.dmm files to StrongDMM as startup arguments.<br>
If you have passed only .dmm files, it will do the same as it is said above: automatically find and open .dme file for it.

### Improved access to recent environments and maps
The whole startup workspace was redesigned to provide more useful information.<br>
Now, by default, it contains recent environments and maps. But when you have opened environment it will show you all available maps for it.

### Available maps
StrongDMM v1 had a one called feature. And now it is fully back-ported to the v2.<br>
The new version also is more robust than the previous one. It supports hotkeys to select a range of maps to open.<br>
There were a bunch of requests to add an ability to open multiple maps at once, so now it is available.

### Search with replace/delete
Search functionality was missing a replace/delete feature.<br>
Back-ported functionality is able to replace not only with prefabs by passing their pass, but with any selected instance.

### Search filter
Also, search filter was totally revamped. Now it is more intuitive to use and easier to understand.<br>
Toggle a specific "Filter" button or use a hotkey when the search panel is focused: "F" key.

### Other Improvements and Fixes
* "Options" menu renamed to "View";
* Renamed "New Map" button to "Create Map" and moved to the "Edit" menu;
* Removed "Recent Environments" menu button;
* Added "Close Environment" menu button;
* Environment tree will respect prefab "color" variable;
* Slightly improved "Grab" tool performance;
* Improved map parsing algorithm (now shows lines with an error); @d0sboots
* Added a preference option to enable/disable auto-updates (enabled by default);
* Added status indicators for the "Grab" tool: size and area bounds coordinates;
* Added information dialog when loading environment;
* Fixed invalid shortcuts handling with custom layout.

# v2.5.4.alpha

Fixed crashes when modifying maps with specific sizes. The issue was connected with internal chunks generation.<br>
Expand Down Expand Up @@ -78,8 +119,6 @@ Feel free to make any sort of donation. Your support will motivate further Stron
This version is not a simple update, but a full rewrite from scratch. So, the "alpha" suffix means what it means.<br>
Some features may be absent, some bugs may exist. Feel free to post founded issues on GitHub.

## Major Improvements

### New GUI!
A new user interface became more "classic". Panels are now docked and by default there are three parts of the screen.
* Left: contains an environment tree;
Expand All @@ -105,7 +144,7 @@ There are separate tools to pick and to delete instances. They are a replacement
For example, instead of doing "Shift+LMB" (select hovered instance) you just hold "S" key. Same for instance deletion: hold "D" key.<br>
The new approach is simple and straightforward! Hover tools icons to see their tooltips.

## Other Improvements
### Other Improvements
* Multi-Z rendering is a thing. If one map file contains multiple z-levels, you can see on the upper level what happens on the lower.
* Auto-update is a part of the editor. This means, that sdmmlauncher is unneeded and deprecated.
* Types filter has been integrated in the environment tree. To enable it uses the "eye" button or "F" hotkey, when the tree is focused.
Expand Down
7 changes: 4 additions & 3 deletions src/app/ui/cpwsarea/wsprefs/wsprefs.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"sdmm/imguiext"
"sdmm/imguiext/icon"
"sdmm/imguiext/markdown"
"sdmm/imguiext/style"

"github.com/SpaiR/imgui-go"
)
Expand Down Expand Up @@ -63,7 +64,7 @@ func (ws *WsPrefs) showContent() {
}

func showIntPref(pref IntPref) {
markdown.ShowHeader(pref.Name, window.FontH3)
markdown.ShowHeaderV(pref.Name, window.FontH3, style.ColorWhite)

imgui.PushTextWrapPos()
imgui.TextDisabled(pref.Desc)
Expand All @@ -83,7 +84,7 @@ func showBoolPref(pref BoolPref) {
pref.FSet(!pref.FGet())
}

markdown.ShowHeader(pref.Name, window.FontH3)
markdown.ShowHeaderV(pref.Name, window.FontH3, style.ColorWhite)

imgui.PushStyleVarVec2(imgui.StyleVarFramePadding, imgui.Vec2{X: window.PointSize(), Y: window.PointSize()})
v := pref.FGet()
Expand All @@ -109,7 +110,7 @@ func showBoolPref(pref BoolPref) {
}

func showOptionPref(pref OptionPref) {
markdown.ShowHeader(pref.Name, window.FontH3)
markdown.ShowHeaderV(pref.Name, window.FontH3, style.ColorWhite)

imgui.PushTextWrapPos()
imgui.TextDisabled(pref.Desc)
Expand Down
7 changes: 6 additions & 1 deletion src/imguiext/markdown/markdown.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"strings"

"sdmm/app/window"
"sdmm/imguiext/style"

"github.com/SpaiR/imgui-go"
)
Expand Down Expand Up @@ -125,8 +126,12 @@ func ShowText(text string) {
}

func ShowHeader(text string, font imgui.Font) {
ShowHeaderV(text, font, style.ColorGold)
}

func ShowHeaderV(text string, font imgui.Font, col imgui.Vec4) {
imgui.PushFont(font)
imgui.TextWrapped(text)
imgui.TextColored(col, text)
imgui.PopFont()
}

Expand Down
1 change: 1 addition & 0 deletions src/imguiext/style/colors.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
)

var (
ColorWhite = imgui.Vec4{X: 1, Y: 1, Z: 1, W: 1}
ColorZero = imgui.Vec4{}
ColorBlack = imgui.Vec4{X: 0, Y: 0, Z: 0, W: 1}

Expand Down

0 comments on commit 5904f8e

Please sign in to comment.