Commit Graph

606 Commits

Author SHA1 Message Date
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