-
-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve and integrate the design and controls in the System Map and the Sector Map #4852
Improve and integrate the design and controls in the System Map and the Sector Map #4852
Conversation
And I have a few questions:
|
|
Regarding System / SectorView bindings, I have a few recommendations:
Zoom is completely different from FOV except maybe in an orthographic projection. If you keep the camera at the same distance but zoom by changing FOV, background objects will distort weirdly and it won't look good. Instead, "dolly" the camera physically closer or farther from the reference object. |
c935a63
to
6caa0c7
Compare
a5b0872
to
c95d843
Compare
c5ee0ba
to
5b96438
Compare
5b96438
to
4354dd5
Compare
4e7dbc5
to
7e477ed
Compare
d0142b9
to
5dfa633
Compare
- add string OBJECT_INFO to core/en.json - add the ability to change the background color and icon for buttons depending on conditions - decouple buttons window, orbit planner window, time control window - add the actual measurement of the size of the windows, or rather their simplified counterparts (dummies) to precisely align the windows relative to each other
- Used the previously defined lines in /core/*.json, so I added an additional line search for this directory - Add some strings to input-core/en.json - Convert key pairs in axis - Remove unused bindings in KeyBindings.h - Completely remove several bindings that became irrelevant - Use some input bindings for the sector map in the system map
- indent data/pigui/modules/map-sector-view.lua - indent data/pigui/modules/system-view-ui.lua - indent src/SectorView.cpp
26ba445
to
9a37b54
Compare
- Change view movement mode to XY-constrained planar movement - Rename map movement axes, invert key bindings for consistency - Fix axis colorations in Drawables::Axes3D
Pushed some improvements to the PR - I've changed the way movement in the SectorMap works, now it's constrained to the horizontal plane in the view direction, similar to how Elite: Dangerous' map mode works. I've also fixed a small inconsistency with the default key bindings for the sector map. |
@The-EG Thanks for the feedback! The 'Automatic System Selection' behaviour did not change in this PR.
"Always make the next waypoint the hyperjump target" is one of the bold decisions this PR, what is the motivation:
Therefore I decided to always make the next waypoint the hyperjump target, it satisfies all of the above. Disadvantages include that a scenario like “created a route, but flew to another place” is impossible, but it seems this is a rare scenario, most likely the player wants to jump to where he planned. P.S. Use the hyperjump planner for a single jump - one click, I do not think this is too bad. |
@Gliese852 I don't really like that, but if others are good with it then I'll live with it. |
@The-EG In fact, we still don’t know exactly how successful or unsuccessful the changes are, in any case, this is not the final version, just an attempt. |
I'd (ideally) like to see an Elite-like context menu pop up when selecting a star on the sector map, with quick access to the "set hyperspace target" and "plot route" buttons (as well as Open System Map and possibly a few other context-specific actions). This seems to me it would solve the issue at hand, where one might want to inspect a system but not jump to it, or jump to a specific system instead of the next system in the planned route (e.g. to take a detour or go for a more-efficient star). For now, I'd compromise by defining a double-click on a star in the map to set that star as the next hyperspace target (and if this action was previously bound to Open System Map, moving that to a button on the selected system info). This seems like a good balance of speed and utility, and doesn't require mousing back to the hyperspace planner to set a single jump. |
@Web-eWorks it turns out that we will have to additionally show the target of a hyperjump somewhere? |
@Web-eWorks, @The-EG what if I add a context menu with the items "add after current" "add after selected"? and on a double click, the system will automatically be added into the hjplanner, if it is empty? |
92be9cd
to
1edea47
Compare
- move detailed route calculation to a separate function, now it does not execute every frame, only when changing the route or when changing the equipment - attach lambda functions to the OnPressed callbacks of these input actions instead of the generic OnKeyPressed callback - add some comments
1edea47
to
5330100
Compare
The ultimate task is to make a single control and some design elements for the SystemView and SectorView, and place this in the settings window and in the theme file.
Commits
Indent files for use in next commits
1f8081c
Add new icons and rename several old ones
7a67a90
New icons (created by Nozmajner):
Move the sector map functions to a separate file
6fda132
Redesign the sector map buttons and windows
1e2e471
Bold decisions to simplify the interface:
Fixes/improvements to the system map
9d8be40
src/SystemView.cpp:
Redesign the system map buttons and windows
8972f85
Add input bindings for the maps to the settings
17e850e
Move color settings to the theme file
b596d70
Final indentation of modified files
9a37b54