Commit Graph

66 Commits

Author SHA1 Message Date
Kae
8332536399 fix compilation 2024-08-22 12:52:59 +10:00
Bottinator22
8937f0d816
Update StarRenderer_opengl.hpp 2024-08-21 19:21:50 -07:00
Bottinator22
50c987b1c4
Update StarRenderer_opengl.cpp 2024-08-21 19:21:02 -07:00
Kae
20de634a06 Improve Discord activity info
requested by Omeruin!
2024-08-03 18:51:19 +10:00
Kae
bef86811c9 revert libsamplerate addition
sadge
2024-08-03 13:36:16 +10:00
Kae
908fa1ee60 Add libsamplerate, make Voice bitrate configurable 2024-08-03 11:54:08 +10:00
Kae
a75703085e Ignore GLEW wayland error (https://github.com/nigels-com/glew/issues/172) 2024-07-30 12:41:24 +10:00
Kae
0990379db8 Update StarRenderer_opengl.cpp 2024-07-30 12:25:01 +10:00
Kae
db836d0ca4 Update StarRenderer_opengl.cpp 2024-07-30 12:19:18 +10:00
Kae
d4fad6402f add F16-F24 keys 2024-07-12 08:09:06 +10:00
Kae
bc2e805d01 Bump shader versions
#78
2024-07-07 07:32:06 +10:00
Kae
d313a3ceb3 OpenGL: use 4.1 core
necessary for modern Mac support
2024-07-07 04:44:01 +10:00
LDA
e1abce7091 allow compiling with old versions of sdl2 2024-06-25 22:13:51 -07:00
Kae
563d95b9e6 remove redundant vertexRounding uniform from interface shader
interface is always drawn without super-sampling anyway
2024-06-26 13:03:30 +10:00
Kae
d5f5fb5ddf Add hardware cursor game setting 2024-04-19 08:52:35 +10:00
Kae
63c9e3ec8b only round vertices if AA is on
[skip ci]
2024-04-15 17:46:44 +10:00
Kae
d3382e2b91 vcpkg: restore original liblzma port 2024-04-12 13:50:40 +10:00
Kae
d255328476 Humanoid: apply globalOffset *before* rotation
the globalOffset is meant to realign the sprite with the collision poly - applying it after rotating the drawables is bad! (I actually ACCIDENTALLY fixed this in StarExtensions and only noticed the difference today. quite incredible)
2024-04-11 16:27:46 +10:00
Kae
4a3ffadecb Expose assets lua callbacks to patch contexts 2024-04-08 16:12:48 +10:00
Kae
8a8a050159 2 features: multi-sample anti-aliasing & Lua patches for images 2024-04-08 14:22:22 +10:00
ErodeesFleurs
646c444a41 Maybe fix IME support 2024-03-27 11:22:09 +08:00
Kae
5da4b1a4e3 Make it clearer when the base Starbound assets are missing
until the installer can locate the user's original Starbound assets
2024-03-22 22:22:19 +11:00
Kae
6d76a11e25 experiment: unclamped lighting 2024-03-20 01:53:34 +11:00
Kae
463205c09c remove unnecessary SDL2 include
[skip ci]
2024-03-17 01:52:34 +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
Kae
33d696d505 pointless commit to run checks
I shouldn't have skipped CI on the prev commit :V
2024-02-29 14:47:10 +11:00
Kae
4534172c2f Fix build error compiling with Discord support
[skip ci]
2024-02-29 14:33:39 +11: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
8d0dcd11d7 Update StarMainApplication_sdl.cpp 2023-11-29 13:45:53 +11:00
Kae
65cf738832 Update StarMainApplication_sdl.cpp 2023-11-29 13:45:13 +11:00
Kae
0497048b44 Add input.mousePosition 2023-11-02 08:12:21 +11:00
Kae
643e8b15a1 Fixes for other compilers 2023-07-21 12:22:26 +10:00
Kae
848b11399f Get SE-compatible voice transmission working 2023-07-16 23:04:09 +10:00
Kae
3b38825b34 more voice stuff 2023-07-14 13:13:19 +10:00
Kae
f14f77724d more voice work!!! 2023-07-13 20:47:53 +10:00
Kae
28f4204b09 more Voice work 2023-07-13 19:12:55 +10:00
Kae
fe99ec6966 Render the world in its own framebuffer 2023-07-06 23:59:18 +10:00
Kae
fe4cc19618 Change pure string format calls to use fmt::to_string 2023-07-06 19:26:28 +10:00
Kae
15b0e99460 Initial setup of input stuff 2023-07-02 06:34:43 +10:00
Kae
bda140ab73 Renderer: Cache uniform and attribute locations 2023-07-01 07:31:40 +10:00
Kae
1a861fb045 Fix GL error 2023-07-01 03:58:02 +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
422871450d Halve SDL audio buffer size to halve audio latency 2023-06-29 01:29:29 +10:00
Kae
bc2080e2c6 Improve windowing logic 2023-06-29 01:12:52 +10:00