- Add limited (~1.5 degree) aim assist for the player, using the existing lead pip calculations
- Moved the target lead calculations into FixedGuns instead of WorldView
- Refactored Quaternion.h for simplified construction of axis-angle vectors.
Fix target and frame indicators being misaligned in external camera.
Local missions were using 1+urgency instead of 1.5+urgency as a
multiplier. This effectively boosts local mission rewards by ~50%, and
should help pilots be able to pay for fuel while doing in-system
deliveries now.
Also added a minimum bound to the pay of very close local deliveries,
which further buffs the payout of those missions (to offset the time
cost of orbiting a local body and fuel used in intra-atmospheric flight).
Don't generate local missions >20 AU away, to avoid massive systems
(1000 AU between ports) generating missions with hundreds of years to
complete them.
Still not as perfect as I'd like it, but it runs, works correctly, and closes with ESC.
Need to double-press the console binding to close it due to some state tracking being lost when re-adding the input frame.
and the reaper's due must be paid.
As we fly back to base after another successful mission, let us clear
comms in a moment of silence for the wingmates who no longer fly in
this squadron.
- To Robn, who wrote newUI in the first place. Without you, there would
be no newUI or pigui, and I'd still be complaining about oldUI.
- To Johnbartholomew, who spearheaded the move of existing systems to
newUI and implemented plenty of code we still use today.
- To ecraven, who did all of the work of adding ImGui to the code base
and worked tirelessly to port existing screens.
- To vakhoir, who not only worked tirelessly to port the most
recalcitrant of screens, but developed UI frameworks and paradigms
that made working on the UI a pleasure instead of a pain.
This commit totally removes the newUI from the codebase. Everything that
made reference to it (save the LuaConsole) has been ported or struck
from the code. This has simplified some systems significantly, has
allowed us to drop 8,000+ lines of C++ code, cut our build times
significantly, and brings us one step closer to a modern rendering and
tools pipeline.
- Credit: Francesco Corrado for menu_master.ogg and lost_space_explorer.ogg
- Refactor MusicPlayer.lua to expose an API for other modules to consume.
- Remove SoundMusic's dependency on Lua, decouple through a signal
- Removed double padding from window
- Reload the ship cargo list when it changes, not every frame
- Made the cargo gauge display the cargo capacity, not the equipment space
- Temporarily removed Negotiate button because it did nothing
- Table drawing is ugly code but it works well
The crew roster could definitely use a rework, but I'm happy with getting it into pigui to start.
- Support for editing faces is baked into the PiGuiFace widget
- Better reacts to available space
- Significantly simplifies some calculations surrounding face display
- Added support for window padding to tab-view.lua; no more need to manually add padding with child windows.
- Move the demographics information from the SystemInfoView to the sector map
- Add utility function to ui.Format for pretty-printing very large numbers
- Show an error message when trying to economy-view an uninhabited system.