Commit Graph

584 Commits

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