Commit Graph

20 Commits

Author SHA1 Message Date
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
ca21b29f92 Small cleanup 2023-08-21 21:22:25 +10:00
Kae
ce6cadd2a0 Store material item settings in player secret properties instead of parameters 2023-08-21 21:18:27 +10:00
Kae
bd4b1ed45c Update StarMaterialItem.cpp 2023-08-21 21:10:43 +10:00
Kae
33b7f17bb2 Material Item: Allow entity overlap on non-solid collision kinds 2023-08-20 20:52:56 +10:00
Kae
6e7c0498ef Hook tile meshing up to Material Item drop and preview 2023-08-20 18:56:50 +10:00
Kae
e5c6d005d7 Add binds to modify material radius 2023-08-20 13:57:27 +10:00
Kae
572b492b93 Fix collision not refreshing on expired predictions and slight placement issue 2023-08-19 22:49:05 +10:00
Kae
3805db7722 oops: Fix sub-step material placement 2023-08-19 21:35:56 +10:00
Kae
d65bc3cc8d Add collision cycling to Material items 2023-08-19 20:47:58 +10:00
Kae
1af5e5cc89 Material Item equip sound 2023-08-19 12:34:35 +10:00
Kae
156c243360 improve applyTileModifications to be more aggressive 2023-08-19 00:18:51 +10:00
Kae
7860262a3b Fix MaterialItem steps being in reverse
Also multiplied steps for reliability with diagonals
2023-08-18 23:28:31 +10:00
Kae
f6f91b18e8 Various improvements
You can now right click empty slots to insert one from swap.
Added unique sounds for the swap slot count incrementing/decrementing.
Material placement now plays sounds.
2023-08-18 23:14:53 +10:00
Kae
72e33fdef5 fix last aim being held when unequipping MaterialItem while holding fire 2023-07-31 16:41:12 +10:00
Kae
830d4deb7b Tile placement improvements
Placing materials is now done in a line to fix gaps at low framerates
2023-07-31 16:00:19 +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
332983c97b The Formatting String Catastrophe 2023-06-27 20:23:44 +10:00
Kae
7eb010d4a1 Pretty much working now 2023-06-24 22:49:47 +10:00
Kae
6352e8e319 everything everywhere
all at once
2023-06-20 14:33:09 +10:00