Commit Graph

710 Commits

Author SHA1 Message Date
Kae
e1be2ab429 finalize network improvements
can now disable zstd stream compression via config, peer-to-peer uses stream compression now, also made the server commands script a bit nicer
2024-07-27 20:04:34 +10:00
Kae
372921abde Update StarNetPacketSocket.cpp
oops
2024-07-27 19:42:24 +10:00
Kae
0ec199b3af Update StarNetPacketSocket.cpp 2024-07-27 18:56:16 +10:00
Kae
a5788e7585 Update StarNetPackets.cpp 2024-07-27 14:52:36 +10:00
Kae
951fe787c4 Networking changes (needs P2P testing, requires clients to update unfortunately) 2024-07-27 14:09:12 +10:00
Kae
9e7a2e9bb9 only print Lua command result if it's not null 2024-07-27 13:58:14 +10:00
Kae
b1315d1784 Update StarPlayerInventory.cpp 2024-07-27 10:43:58 +10:00
Kae
c3de15c18d Fix compressed buffer not being emptied instantly in TcpPacketSocket::writeData
would only cause an issue when using sendAll, resulted in rarely not connecting
2024-07-27 08:43:32 +10:00
Kae
2d278e71c1 fix possible segfault in PlayerInventory::retrieve 2024-07-26 14:54:34 +10:00
Kae
a6ac154b94 accept 🎮 in mod bindings 2024-07-25 08:56:00 +10:00
Kae
323364f0af well that doesn't compile outside MSVC apparently 2024-07-25 07:25:27 +10:00
Kae
0638127721 Update StarObject.cpp 2024-07-25 07:21:17 +10:00
Kae
0634ae78fc Object::init - avoid throwing if 'scripts' parameter isn't an array for some reason 2024-07-25 07:04:21 +10:00
Kae
6dd49fb69a
make missing packed.pak instructions slightly more verbose
ffs. TODO: prompt automatic copy if it detects an existing install
2024-07-24 18:18:52 +10:00
Kae
f46d796253 Propagate client admin status to WorldServers 2024-07-20 05:35:06 +10:00
Kae
369dcb63d1
disable left-stick movement for now
#87
2024-07-18 06:55:38 +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
Kae
49f84c7a3b add missing return statement 2024-07-02 21:26:30 +10:00
Kilkenni
0acce4b871 return values for bookmark Lua callbacks 2024-07-01 19:18:40 +03:00
Kae
54ac208dd5 lighting: disable the new additive point light behavior when new lighting is off 2024-06-28 17:10:17 +10:00
Kae
bb5387fbdb fix seemingly extremely rare race condition leading to exception when joining a singleplayer internal server
happened when the client thread called universeServer->setPause (which locks m_clientsLock) between the client id being added to m_clients and the connection being added to m_connectionServer
2024-06-28 17:09:13 +10:00
Kae
4120a289db update fmtlib 2024-06-27 23:39:48 +10:00
Kae
f60a19e065 optional sbinit option to disable UGC (workshop mods) 2024-06-27 15:49:41 +10:00
Kae
64adc28658 fix the very last material color variant not displaying 2024-06-27 14:29:43 +10:00
LDA
e1abce7091 allow compiling with old versions of sdl2 2024-06-25 22:13:51 -07:00
Kae
624d41f94a Fix MaterialItem not entirely uninitializing
was causing an exception when a MaterialItem had a script on it
2024-06-26 13:04:19 +10: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
c405fda45c Update StarAssets.cpp 2024-06-25 20:03:35 +10:00
Kae
9edbe8cf2d Add .patchlist
#73
2024-06-25 19:56:44 +10:00
Kae
67c7257c3b Update StarCharSelection.cpp 2024-06-25 19:56:19 +10:00
Kae
e1b1b2fd59 Ensure the chunk & system that the player's ship is always in their local chunk cache
#74
2024-06-24 14:08:04 +10:00
Kae
4c90472977 Read object script paths from params again taking relative paths into account
also made build artifact names a bit more consistent
2024-06-22 14:02:02 +10:00
Kae
83686a816c
revert Object script change for now
didn't consider relative paths
2024-06-20 09:16:37 +10:00
Kae
39a6e900a4 Inspecting now logs to the chat
TODO: make configurable!
2024-06-17 20:31:40 +10:00
Kae
f7d2303fe0 add Object::clientEntityMode, & read scripts from params
Suggested by Bott
2024-06-17 20:22:26 +10:00
LDA
6ded71d9eb tests can link again AND THEY PASS!!! 2024-06-16 09:28:28 -07:00
Kae
fc50600303 add Projectile::velocity
thanks to Bott for suggesting
2024-06-09 15:25:23 +10:00
c999e2f4f5
Merge branch 'main' of https://github.com/OpenStarbound/OpenStarbound 2024-06-03 13:09:25 +03:00
Kae
5a99d7b245 fix crash with asset scripts that only manifested after MSVC update 2024-06-03 18:28:51 +10:00
Kae
5d1e85b241 player.availableRecipes and root.allRecipes 2024-06-03 15:47:18 +10:00
5f2990e6dc
Merge branch 'main' of https://github.com/OpenStarbound/OpenStarbound 2024-06-02 17:52:43 +03:00
Kae
add17da988 directive-based color variants for materials 2024-06-02 22:37:52 +10:00
Kae
68bd850fe7 scale planetNameOffset by interface scale
that parameter was definitely not tested for other interface scales
2024-06-02 14:31:25 +10:00
Kae
986db9cfc5 further MaterialDatabase checks 2024-06-02 14:02:16 +10:00
Kae
41bad6c97c fix MaterialDatabase::radiantLight null deref when material/matmod ID does not exist 2024-06-01 21:32:27 +10:00
135c7dd999
Merge branch 'main' of https://github.com/OpenStarbound/OpenStarbound 2024-05-30 21:08:22 +03:00
Kae
a88b1e4ce0 sequence parsing and parseArguments fixes 2024-05-29 12:42:14 +10:00
Kae
465f07a9b7 fix unknown tech logging 2024-05-29 11:31:54 +10:00
WasabiRaptor
20882990e0 error handling for missing techs 2024-05-28 10:44:34 -04:00
343fe13e68
Remove jemalloc prebuild, add it to vcpkg deps instead 2024-05-26 21:47:54 +03:00
7390996c8f
Fork changes 2024-05-26 21:04:49 +03:00
Kae
74dabf2244 fix two tiny issues with changing interface scale 2024-05-25 13:12:50 +10:00
Kae
f3adb0b9d0 Add an interface scale slider 2024-05-25 12:52:07 +10:00
Kae
e31a374212 Fix anchored panes flying into the abyss within miliseconds when you try to drag them 2024-05-25 12:51:27 +10:00
Kae
db42ccae71 fix Assets filesByExtension storing duplicate asset paths
slipped in with the asset load scripts - this caused rare duplication errors when the Databases parse assets by extension and an asset path is indexed with more than one capitalization
#66
2024-05-25 11:12:31 +10:00
Kae
19986b30a1 lmao oops 2024-05-24 12:10:48 +10:00
Kae
ae26440bac fix Songbook interface no longer excluding /songs/ & .abc 2024-05-24 12:00:53 +10:00
Kae
0abe47ab6c slightly smarter inventory close behavior with panes that open with the inventory 2024-05-23 12:12:07 +10:00
Kae
f42031dc9e make text anchors in LargeCharPlate configurable
also gave the char previews some animation!
2024-05-23 11:43:15 +10:00
SilverSokolova
4ae9f131f8
Make blueprints stackable
I did not test this
2024-05-21 03:59:03 -05:00
Kae
625f0d8fc5 don't crash when drawing wires connected to a non-existent node 2024-05-15 11:53:46 +10:00
Kae
2f2c08a8dc
update vcpkg version 2024-05-14 13:07:51 +10:00
Kae
2996bfe8b4
Update StarHumanoid.cpp 2024-05-13 15:53:01 +10:00
Kae
95f6babd5e scaling functions now warn instead of crashing with negative scales 2024-05-03 08:53:44 +10:00
Kae
de3d099d51 catch image processing errors in font rendering
think this was done before and accidentally undone
2024-05-03 08:53:18 +10:00
Kae
6fc52e2fe7 codex items: mark unread if already known so that it reopens 2024-05-02 13:12:39 +10:00
Kae
80109a8181 Update StarHumanoid.cpp
i am rather sleepy today
2024-05-02 13:12:18 +10:00
Kae
8cbb262c24 fix directives stitching bug when parsing scale 2024-05-02 11:56:59 +10:00
Kae
789597dde4 fix inventory hotbar links breaking when moving an item 2024-05-01 05:04:38 +10:00
Kae
9e3048ea16 world.entityAimPosition 2024-05-01 05:04:15 +10:00
Kae
840d64dbed
Update StarImageProcessing.cpp 2024-05-01 03:35:22 +10:00
Kae
6bcc7224e8
temporary fix 2024-05-01 03:29:05 +10:00
Kae
27e0f6bd71 fix: scale not applying to NPCs properly and applying post-rotation 2024-04-29 06:18:58 +10:00
Kae
f7b7a2d4d5
oops: fix lexical & oob exceptions in StarImageProcessing.cpp 2024-04-29 04:14:52 +10:00
Kae
2a751e2e37 Make zoom key-binds holdable
also fixed some random UI shine cause it was the wrong freaking size
2024-04-27 16:31:10 +10:00
Kae
a25b699966 Update StarFont.cpp 2024-04-27 06:46:20 +10:00
Kae
929c75c364 fix macOS compilation
dang
2024-04-25 10:05:19 +10:00
Kae
a81490c35c reduce some Directives exceptions down to error strings for perf
additionally, image operations that don't exist simply pass through now
2024-04-25 09:39:23 +10:00
Kae
1b86da7f36 fix: PaintingBeamTool turning invisible after switching color 2024-04-25 02:09:10 +10:00
Kae
8cac985fd0 oops: fix one-line mistake that caused some glyphs to randomly scramble 2024-04-25 01:37:15 +10:00
Kae
6f7e2bbb83 slight font directives changes
invalid font directives stopped checkerboarding the glyph texture at some point, fixed that too
2024-04-24 16:29:51 +10:00
Kae
f58702683f log EntityMessageResponse error instead of throwing 2024-04-24 16:28:09 +10:00
Kae
d0f8aec244 feat: unicode emoji support + other stuff 2024-04-24 07:44:53 +10:00
Kae
6ac139321b oops - fix broken damage bar after text styling change 2024-04-23 14:11:26 +10:00
Kae
dd67777238 Fix text after an unclosed ^ tag not wrapping 2024-04-23 13:27:57 +10:00
Kae
c24fc5aeaf micro-opt Color construction
toLower call not necessary, NamedColors is case-insensitive
2024-04-23 11:49:25 +10:00
Kae
7136c929ce micro-opt NetworkedAnimator drawables
sort before creating drawables
2024-04-23 11:48:51 +10:00
Kae
ed3793ab00 reduce armor stat to 1 decimal place since it was spilling a little 2024-04-23 11:46:21 +10:00
Kae
85a23231d4 Tweak item stat formatting to prevent way too many decimals 2024-04-22 15:26:31 +10:00
Kae
ad72057c38 Add server icon and fix Installer shortcuts 2024-04-22 13:23:57 +10:00
Kae
52dae03aae Add UnifontEx fallback for glyphs that are missing from the current font 2024-04-22 08:17:10 +10:00
Kae
ca1426eabc Lua chat callbacks + better font styling
golly gee whiz!! i hope i didn't fuck something up
2024-04-22 06:07:59 +10:00
Kae
d5f5fb5ddf Add hardware cursor game setting 2024-04-19 08:52:35 +10:00
Kae
9533c8d0a5 Fix ?border behaving slightly different to vanilla (due to alterations for font directives) 2024-04-18 11:54:31 +10:00
Kae
5bf3b20542 oops - state must be popped before writing indent
otherwise the closing } on non-empty objects is incorrectly indented
2024-04-18 08:46:48 +10:00
Kae
1587bb2409 Empty JSON objects should be printed as {}, not { \n} + fix the new Json hasher not sorting keys
[skip ci]
2024-04-18 08:42:58 +10:00
Kae
83ca73b299 Add volume and pitch to projectile sound actions
did it to some chat bubble thing too lol, why not.
2024-04-15 17:47:40 +10:00
Kae
63c9e3ec8b only round vertices if AA is on
[skip ci]
2024-04-15 17:46:44 +10:00