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
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
5815a873a7
Add more root.asset* functions
2023-11-03 06:51:17 +11:00
Kae
fe4cc19618
Change pure string format calls to use fmt::to_string
2023-07-06 19:26:28 +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
332983c97b
The Formatting String Catastrophe
2023-06-27 20:23:44 +10:00
LDA
c9e889723b
resolved most of the compiler warnings/errors under gcc
...
also update xxhash and tinyformat
2023-06-26 11:58:35 -07:00
Kae
4585c9cafa
Lazy-loading of ImageOperation inside Directives
...
also fixed cases of drawables not staying centered after adding directives that scale
2023-06-27 03:38:57 +10:00
Kae
09d26d43b5
Add string view variant of Star::String and use it
...
it's 1:30 AM AGAIN !! !!!!!
This might have broken the inventory icons of custom hats a little, need to look into that
2023-06-26 01:42:18 +10:00
Kae
25b021c0cb
More improvements to directives
...
Error logging is back where it should be
2023-06-25 14:00:20 +10:00
Kae
7eb010d4a1
Pretty much working now
2023-06-24 22:49:47 +10:00
Kae
7bde128a87
DirectivesGroup prototype
2023-06-24 19:41:52 +10:00
Kae
2798d4bf66
what the fuck it's 1:30 AM. god
2023-06-24 01:30:55 +10:00
Kae
bd783d3195
make the chat really pretty!!
...
also slightly optimized text shadow rendering, made sure glyphs with directives stay centered and added two extra Lua arguments to canvas.drawText
2023-06-21 00:59:41 +10:00
Kae
6352e8e319
everything everywhere
...
all at once
2023-06-20 14:33:09 +10:00