Commit Graph

335 Commits

Author SHA1 Message Date
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
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
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
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
Kae
fc50600303 add Projectile::velocity
thanks to Bott for suggesting
2024-06-09 15:25:23 +10:00
Kae
5d1e85b241 player.availableRecipes and root.allRecipes 2024-06-03 15:47:18 +10:00
Kae
add17da988 directive-based color variants for materials 2024-06-02 22:37:52 +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
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
SilverSokolova
4ae9f131f8
Make blueprints stackable
I did not test this
2024-05-21 03:59:03 -05:00
Kae
2996bfe8b4
Update StarHumanoid.cpp 2024-05-13 15:53:01 +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
27e0f6bd71 fix: scale not applying to NPCs properly and applying post-rotation 2024-04-29 06:18:58 +10:00
Kae
1b86da7f36 fix: PaintingBeamTool turning invisible after switching color 2024-04-25 02:09:10 +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
dd67777238 Fix text after an unclosed ^ tag not wrapping 2024-04-23 13:27:57 +10:00
Kae
7136c929ce micro-opt NetworkedAnimator drawables
sort before creating drawables
2024-04-23 11:48:51 +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
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
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
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
4458d2e85e only decline offered quests if the player explicitly pressed the decline button 2024-04-05 23:09:57 +11:00
Kae
6c896c2ef7 Make ping updates more accurate 2024-04-04 14:35:36 +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
f00a790cb5 Fix #51 2024-03-30 14:14:24 +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
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