Kae
be676518f4
fix rare text wrapping bug in the chat box
...
also removed unnecessary leftover variables from when text wrapping used to always create a StringList
2024-04-03 12:19:55 +11:00
Kae
1b20362583
remove redundant logMap, now that lighting is 100% asynchronous
2024-03-27 16:33:21 +11:00
Kae
78d5561db3
Fix animated particle discrepancies vs vanilla
2024-03-25 15:01:23 +11:00
Kae
84a2d8f7f8
change fonts to woff2
2024-03-25 12:49:18 +11:00
Kae
a096fa3ffc
Update StarWorldPainter.cpp
2024-03-20 16:38:44 +11:00
Kae
bf73fbc1ad
cursed point lights everywhere (but god it looks good)
2024-03-20 15:29:26 +11:00
Kae
6d76a11e25
experiment: unclamped lighting
2024-03-20 01:53:34 +11:00
Kae
983bb82a96
Async lighting improvements
2024-03-19 18:21:54 +11:00
Kae
8164e5ae6f
Game window respects Windows theme setting
2024-03-14 21:17:05 +11:00
Kae
6c562470f3
Merge launcher branch
2024-03-08 20:09:27 +11:00
Niffe
4b4013e5c8
Dynamic sun image
...
Also adds access to sun scale, ray color, and fixes sun rendering in front of satellites
2024-03-01 18:28:13 +02:00
Kai Blaschke
cd23817bf1
Fixed remaining compiler warnings
...
Some warnings (e.g. in Opus and the tests) can't be fixed, only suppressed.
2024-02-28 18:30:27 +01:00
Kai Blaschke
3073a88cd1
Use "#pragma once" instead of include guards
2024-02-25 15:46:47 +01:00
Kae
aa987a2177
Merge branch 'main' into small-fixes
2024-02-20 09:49:42 +11:00
Kai Blaschke
d0099a6d79
Fixed some uninitialized members
...
May have caused undefined behavior in few cases, as most of the fixed members were used before being initialized.
2024-02-19 23:44:59 +01:00
Kai Blaschke
431a9c00a5
Fixed a huge amount of Clang warnings
...
On Linux and macOS, using Clang to compile OpenStarbound produces about 400 MB worth of warnings during the build, making the compiler output unreadable and slowing the build down considerably.
99% of the warnings were unqualified uses of std::move and std::forward, which are now all properly qualified.
Fixed a few other minor warnings about non-virtual destructors and some uses of std::move preventing copy elision on temporary objects.
Most remaining warnings are now unused parameters.
2024-02-19 16:55:19 +01:00
Kae
38910aeead
Skip generating tile pieces if a color variant is invalid
2023-11-01 12:41:02 +11:00
Kae
991cf9df7e
Add vertical speed support to parallax layers
2023-10-12 04:42:24 +11:00
Kae
6e7c0498ef
Hook tile meshing up to Material Item drop and preview
2023-08-20 18:56:50 +10:00
Kae
9af6bfe60e
Add ItemDrop glow
2023-08-20 11:56:37 +10:00
Kae
7ff3e0fecc
Fix parallax and space dust jitter when lerping zoom level on very old universes
2023-08-19 15:09:00 +10:00
Kae
2a204b384f
Add optional alpha threshold option for fonts
2023-08-04 23:47:52 +10:00
Kae
6afba048ec
More default fonts
...
barcode is Libre Barcode
2023-08-03 01:17:08 +10:00
Kae
cb19eef701
Add character swapping (no GUI yet)
2023-07-22 22:31:04 +10:00
Kae
4b0bc220e4
Support for changing the game's timescale
...
Context-specific (like per-world) timescales can also be added later
2023-07-21 00:58:49 +10:00
Kae
fe99ec6966
Render the world in its own framebuffer
2023-07-06 23:59:18 +10:00
Kae
a45d16b4ed
Cache font directives
2023-07-04 06:01:29 +10:00
Kae
ced1ba32bb
Fix terrain chunk meshes constantly being removed from the cache because the default time smear is the exact same as the timeout
2023-07-04 05:09:48 +10:00
Kae
081dd693ca
Add 1-px padding around font and round to fix jitter
2023-07-03 20:07:16 +10:00
Kae
809744c300
Fix horizontal alignment with font, add new fonts
2023-07-03 19:46:56 +10:00
Kae
deb96742e0
Prevent particle copy, tweak debugging some more
...
probably not too time-saving
2023-07-03 18:31:12 +10:00
Kae
7f65913762
Use more portable encoding for Unicode character in debug strfs
2023-07-03 16:26:42 +10:00
Kae
11e00a8ded
Change debug render time logging to use microseconds
2023-07-03 16:04:17 +10:00
Kae
d018957b09
Fix font glyph generation to work correctly with other fonts
2023-07-03 14:21:51 +10:00
Kae
17af21fd42
use raw wrapWidth ptr instead of Maybe
2023-07-02 00:52:36 +10:00
Kae
210d6326fc
Fix splitting bug and optimize a little
2023-07-02 00:36:32 +10:00
Kae
5a56f8b81a
Re-optimize text splitting while maintaining vanilla behavior
2023-07-01 23:20:25 +10:00
Kae
e29a46d100
Fix text wrapping splitting inside of words with color codes in them
2023-07-01 14:01:27 +10:00
Kae
204d449dda
Change how the game renders the world backdrops
2023-06-30 08:37:27 +10:00
Kae
311929cb1e
fix EnvironmentPainter issues
...
Was caused by fixing space dust zooming from the screen corner instead of center in a wrong way
2023-06-30 07:12:22 +10:00
Kae
2cd0c3a0aa
typo lol
2023-06-30 06:39:30 +10:00
Kae
94cf66a122
Update StarTilePainter.cpp
2023-06-30 06:39:07 +10:00
Kae
fd5247321f
Split world & interface shaders
2023-06-30 05:55:41 +10:00
Kae
d5fbd2001b
RenderPrimitive micro-optimizations
2023-06-30 04:34:10 +10:00
Kae
dc134e168b
Move lightmap wait into WorldPainter to fix single-frame lightmap lag-behind
...
unfortunate
2023-06-29 10:31:59 +10:00
Kae
624c7aaaf1
Move lighting calculation to separate thread
2023-06-29 10:11:19 +10:00
Kae
1e213aac5f
Decimal zoom with lerp
2023-06-29 07:05:01 +10:00
Kae
a78102c2a9
Update StarTextPainter.cpp
2023-06-29 02:42:05 +10:00
Kae
48ec889579
TextPainter now uses StringView
2023-06-28 20:08:11 +10:00
Kae
152af87655
Fix broken regex, make game timestep non-const
2023-06-28 00:20:22 +10:00