Commit Graph

685 Commits

Author SHA1 Message Date
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
Kae
90f3835dae widget.getText didn't work for labels and buttons?? 2024-04-15 17:14:03 +10:00
Kae
37d7262375 Fix text wrapping bug that only happened under a specific scenario
was causing a broken string view if there was a line that had any space in it followed by a forced newline and then a line that had no spaces but was long enough to wrap. example:
A B\nThisLastLineHasNoSpacesButIsLongEnoughToWrapAnyways!!!!!!!!!!!!
2024-04-15 11:10:33 +10:00
Kae
227e60ca4c new object lighting toggle, log non-master entity render/update exceptions 2024-04-15 08:03:26 +10:00
Kae
ed8b22c472 feat: nicer Humanoid ?scalenearest rendering 2024-04-14 10:32:11 +10:00
Kae
772b0585c2 deduplicate const CollisionBlock sets
when i dumped the symbols, these two and their initializers had over 150 duplicates
2024-04-13 16:15:17 +10:00
Kae
dab179e355 add player.mode, player.setMode
removed two unnecessary (not from vanilla) functions, use root.(get/get)ConfigurationPath instead.
2024-04-13 15:49:37 +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
b89b8d585e oops - restore assets modification to load scripts 2024-04-08 18:10:09 +10:00
Kae
4a3ffadecb Expose assets lua callbacks to patch contexts 2024-04-08 16:12:48 +10:00
Kae
ef3dc1c60e fix: slightly jittery zoom level transitions 2024-04-08 14:34:45 +10:00
Kae
8a8a050159 2 features: multi-sample anti-aliasing & Lua patches for images 2024-04-08 14:22:22 +10:00
Kae
4458d2e85e only decline offered quests if the player explicitly pressed the decline button 2024-04-05 23:09:57 +11:00
Kae
da8e6d1aa8 Update StarTeamBar.cpp 2024-04-05 15:14:08 +11:00
Kae
12a28d5345 fix: last minor text wrapping bug 2024-04-04 15:09:40 +11:00
Kae
6c896c2ef7 Make ping updates more accurate 2024-04-04 14:35:36 +11:00
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
662f12da96 improvements to universe.sendPacket and world.sendPacket
adds necessary clientsMutex lock, and returns false if sending failed
2024-04-02 13:39:34 +11:00
ErodeesFleurs
cf93c2e9d4 oops 2024-04-02 09:42:22 +08:00
ErodeesFleurs
be571b5cd0 add world.sendPacket and fixed deadlock 2024-04-02 09:34:06 +08:00
Kae
02632b248c Fix more cases of tile collision not taking object material spaces into account
Fixes #53
2024-04-01 10:30:03 +11:00
Kae
b556f71473 vcpkg: temporary liblzma workaround during the xz fiasco 2024-04-01 08:07:17 +11:00
Kae
f00a790cb5 Fix #51 2024-03-30 14:14:24 +11:00
Kae
55cc6d793d wire interface: fetch render vars on init instead of every wire (wtf?) 2024-03-29 02:54:17 +11:00
Kae
8fee64013e don't deselect the wire after making one connection 2024-03-29 02:48:38 +11:00
Kae
53d4183ac3 Add a default brightness limit 2024-03-29 02:23:36 +11:00
Kae
0f9a200e6b fix: crafting interfaces not working with new middle-click opening 2024-03-28 04:46:07 +11:00
Kae
d76d217901 Update StarUniverseServer.cpp 2024-03-27 17:09:20 +11:00
Kae
d53c3ae0e7 Store the ship's species as a world property
prevents smorgasbord when upgrading the ship after the player changes the species of the character that owns the ship
2024-03-27 17:06:51 +11:00
Kae
1b20362583 remove redundant logMap, now that lighting is 100% asynchronous 2024-03-27 16:33:21 +11:00
Kae
f08ffe2162 Merge branch 'light-test' 2024-03-27 16:07:17 +11:00
Kae
888cde79ef feat: middle click objects in the inventory to open their interface
makes carrying around shop objects easier

might need to restrict the allowed interaction types more, as some may break due to the source entity being the player
2024-03-27 16:00:13 +11:00
ErodeesFleurs
646c444a41 Maybe fix IME support 2024-03-27 11:22:09 +08:00
ErodeesFleurs
2a116c945e add lua invoke when the client enters and leaves the planet. 2024-03-27 10:21:13 +08:00
Kae
c484fab32d experiment: auto-conversion of object spread lights to hybrid spread/point lights 2024-03-26 07:31:33 +11:00
Kae
77d7f8eb81 give logs their own directory 2024-03-25 15:23:37 +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
9aaaf874e9 fix some server-side collision calls not including object collision 2024-03-25 11:20:11 +11:00
Kae
5981880a99 title changes (moved quit button away) + better compressed all the pngs 2024-03-25 08:40:02 +11:00
Kae
8899a1d270 make tech parentOffset interpolated 2024-03-25 06:29:13 +11:00
Kae
560ae08424 Add support for directly setting image assets and processing Image userdata 2024-03-25 03:46:21 +11:00
Kae
6b8c472978 nicer volume sliders 2024-03-25 01:57:55 +11: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
4d84152609 Merge branch 'main' of https://github.com/OpenStarbound/OpenStarbound 2024-03-22 20:59:12 +11:00
Kae
c1592b079d Add readJson and writeJson for some packets 2024-03-22 20:59:02 +11:00
Kae
a08fe284d3
Merge pull request #47 from ErodeesFleurs/useful
Fix compilation error and add the 'world.id' function
2024-03-22 20:58:19 +11:00
Kae
e318098f0b Add equality operator for Directives (fixes networking bug) 2024-03-22 19:12:45 +11:00
ErodeesFleurs
443e6459b9 fix pushGlobalContext error 2024-03-22 15:56:20 +08:00
ErodeesFleurs
ec4787d78e world.id() for server 2024-03-22 15:46:30 +08:00
Kae
9b10964a3e Merge branch 'lighting' 2024-03-21 16:19:39 +11:00
ErodeesFleurs
868216a992 Add parseJson and clientWorld functions to LuaBindings 2024-03-21 10:10:22 +08:00
Kae
57ca6776e4 Lua patches 2024-03-21 00:57:49 +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
ErodeesFleurs
a633070b3b oops 2024-03-19 16:50:05 +08:00
ErodeesFleurs
876cf6343d modify universe.sendPacket 2024-03-19 16:42:06 +08:00
Kae
e068172a09
Merge pull request #43 from ErodeesFleurs/sendPacket
Add the Lua function for sending packet.
2024-03-19 18:24:23 +11:00
Kae
983bb82a96 Async lighting improvements 2024-03-19 18:21:54 +11:00
ErodeesFleurs
b856377833 add sendPacket lua context 2024-03-19 12:46:50 +08:00
Kae
17ea975970 Update StarCommandProcessor.cpp 2024-03-19 14:44:21 +11:00
Kae
5ca42599ef make timescale a server command and add a tickrate command 2024-03-19 13:35:55 +11:00
Kae
5f01d2d4d7 Update StarWorldServer.cpp 2024-03-18 23:25:44 +11:00
Kae
5a48b0383a fix StepUpdate typos (oops) 2024-03-18 22:09:48 +11:00
Kae
647cd45dd5 Update StarPlayerUniverseMap.cpp 2024-03-18 17:37:43 +11:00
Kae
5d1e118a19 better UniverseMap checks 2024-03-18 17:34:02 +11:00
Kae
7d717489a9 Update StarUniverseClient.cpp 2024-03-18 17:12:42 +11:00
Kae
f15d50ec07 oops!! 2024-03-17 23:09:42 +11:00
Kae
faae6e715a fix minor interp bug 2024-03-17 18:06:12 +11:00
Kae
758a900e51 Update StarWorldServer.cpp 2024-03-17 17:37:32 +11:00
Kae
9dc1eb7312 InterpolationTracker operates on time in seconds instead of steps now 2024-03-17 17:33:31 +11:00
Kae
4e0d7598e1 omg 2024-03-17 15:56:29 +11:00
Kae
3650add73a Update CMakeLists.txt 2024-03-17 15:38:35 +11:00
Kae
68b1632b92 Update CMakeLists.txt 2024-03-17 15:36:50 +11:00
Kae
8d1d278e7b Update CMakeLists.txt 2024-03-17 15:32:05 +11:00
Kae
b98b0334a9 Update CMakeLists.txt 2024-03-17 15:29:38 +11:00
Kae
b2b6c05968 Update StarWorldServer.cpp 2024-03-17 15:12:08 +11:00
Kae
8559a46df2 fix RPATH and object material spaces from old worlds getting stuck 2024-03-17 15:11:29 +11:00
Kae
252ce113a5 add missing vars to linux and macOS CMakePresets 2024-03-17 13:45:30 +11:00
Kae
e867822a70 whoops, setMetatable call was accidentally removed 2024-03-17 13:36:30 +11:00
Kae
53c7c3775f Lua: new Image userdata (& cursor mod fix) 2024-03-17 01:53:46 +11:00
Kae
463205c09c remove unnecessary SDL2 include
[skip ci]
2024-03-17 01:52:34 +11:00
Kae
d577a98980 Lua: allow jarray and jobject to convert existing tables
[skip ci]
2024-03-17 01:52:02 +11:00
ErodeesFleurs
c6a2f4fa7d add clipboard lua binds 2024-03-16 20:00:53 +08:00
Kae
a63707cc59 Update word_count.cpp 2024-03-16 11:07:41 +11:00
Kae
78a68b6a20 postLoad scripts too 2024-03-16 00:02:51 +11:00
Kae
7eec15098e asset onLoad scripts can add and patch assets now 2024-03-15 22:47:02 +11:00
Kae
13f91aa195 Songbook search improvements 2024-03-15 21:29:14 +11:00
Kae
6fa0afd758 experimental asset load scripts 2024-03-15 21:28:11 +11:00
Kae
696abcca71 fix late aimPosition 2024-03-15 16:26:12 +11:00
Kae
658fab846e change net debug logging to kB/s 2024-03-15 16:00:56 +11:00
Kae
6208636d69 Fixes 2024-03-15 15:26:38 +11:00
Kae
662b83ff92 Initial commit of experimental zstd network compression
currently a bit buggy
2024-03-14 21:41:53 +11:00
Kae
8164e5ae6f Game window respects Windows theme setting 2024-03-14 21:17:05 +11:00
Kae
3534067801 Tile Prediction: make refunds silent 2024-03-11 17:03:09 +11:00
Kae
caf7abebfe change tickNetInterpolation calls to use dt value 2024-03-11 16:31:20 +11:00
Kae
e6d2f5975b Merge branch 'main' of https://github.com/OpenStarbound/OpenStarbound 2024-03-11 11:30:49 +11:00
Kae
ce002fa0ef Update CMakePresets.json
[skip ci]
2024-03-11 11:30:45 +11:00
WasabiRaptor
e89a9af075 whoops 2024-03-09 18:58:25 -05:00
WasabiRaptor
21f9ab763e remove missing persistent effects 2024-03-09 16:26:13 -05:00
Kae
dc77061840 hopefully fix #33
in OpenStarbound, players can place blocks with their own collision type. this can cause objects to override the collision type if the object has material spaces and a previous attempt at accounting for this led to that bug: giving object collision its own field in the server tile should fix this
2024-03-09 12:18:22 +11:00
Kae
165bcbefee minor code polish 2024-03-09 11:09:04 +11:00
Kae
52a6f200ed
Merge pull request #27 from WasabiRaptor/main
Inventory and Hotbar size mismatch fixes
2024-03-09 10:24:10 +11:00
Kae
74072959c5
Merge pull request #32 from WasabiRaptor/Perfectly-Generic-Item-fixes
Perfectly Generic Item Improvements
2024-03-09 10:23:15 +11:00
WasabiRaptor
84fe2dfd4c Perfectly Generic Item improvements
spawnitem won't create generic items unless you intend to

generic items will retain the data for what item they were if a mod is uninstalled, and will attempt to restore themselves if re-installed
2024-03-08 18:14:40 -05:00
Kae
a6a1cc7f42
Merge pull request #29 from WasabiRaptor/json-patching
improvement to iterating through patch arrays
2024-03-09 09:54:23 +11:00
Kae
4c2e75b585 sccache is autodetected now - optional in presets 2024-03-09 09:49:00 +11:00
Kae
7b556b33f8 More compact search patch parsing 2024-03-09 09:48:21 +11:00
JamesTheMaker
d26a7dbd18
Merge branch 'OpenStarbound:main' into Songbook 2024-03-08 15:18:23 -05:00
Kae
35dc974a8f
Merge pull request #28 from JamesTheMaker/main
Added many new patch features
2024-03-09 06:25:55 +11:00
Kae
1cf7baa317 Update CMakeLists.txt 2024-03-09 04:42:26 +11:00
JamesTheMaker
53c102b0c7 Added searchbar to songbook 2024-03-08 11:39:39 -05:00
Kae
6c562470f3 Merge launcher branch 2024-03-08 20:09:27 +11:00
WasabiRaptor
f8a6a3e57d inventory and hotbar size mismatch fixes
I realized why that was there

checking patch arrays in a more clean manner

also support for checking values in other files using a string in the patch arrays

Revert "checking patch arrays in a more clean manner"

sorry that wasn't supposed to be in this one
2024-03-07 19:18:28 -05:00
WasabiRaptor
c5e568e47c fine
goodbye nice syntax highlighting
2024-03-07 18:56:13 -05:00
WasabiRaptor
f5400e5877 improvement to iterating through patch arrays 2024-03-07 18:06:30 -05:00
JamesTheMaker
15a12c06a6 Added the search operand to the move and copy operations, and added the new merge operation 2024-03-07 17:28:34 -05:00
JamesTheMaker
9b4ca69e0e Added the search operand to the find, replace, and remove operations 2024-03-07 12:31:48 -05:00
JamesTheMaker
c808d207c9 Added search operator to the remove operation 2024-03-07 11:01:29 -05:00
JamesTheMaker
3c8a8619d5
Merge branch 'OpenStarbound:main' into main 2024-03-07 09:44:18 -05:00
JamesTheMaker
14ec64ace7 Added jsonCompare function 2024-03-07 09:43:36 -05:00
Kae
89fe1bf15b oops. 2024-03-07 14:43:23 +11:00
Kae
170b913caa fix fucked up line splits from cmake-format 2024-03-07 14:31:25 +11:00
Kae
edcefdc58b ran cmake-format on CMakeLists.txt
it all being uppercase was insane
2024-03-07 14:16:30 +11:00