Commit Graph

675 Commits

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