Commit Graph

156 Commits

Author SHA1 Message Date
Kae
497c6efc55 Fix RNG bugs from upgrade to C++17
staticRandomShuffle now uses its own tiny impl of the deprecated std::random_shuffle, producing identical results in testing
2024-08-02 11:53:59 +10:00
Kae
42acfb3f2d fix F16-F24 keys offsetting keycodes, add key name to canvas key callback args 2024-07-31 08:40:56 +10:00
Kae
e9e87a1c3c Avoid crashing when a OGG file is broken (thanks to @kblaschke !)
Also added a name tag to Audio for logging so that it's easier to find the audio asset that's causing it
2024-07-29 09:23:27 +10:00
Kae
8b1a2d6f0c add 2 new allocators, currently using rpmalloc on Windows (mimalloc unused for now) 2024-07-28 10:54:26 +10:00
Kae
951fe787c4 Networking changes (needs P2P testing, requires clients to update unfortunately) 2024-07-27 14:09:12 +10:00
Kae
d4fad6402f add F16-F24 keys 2024-07-12 08:09:06 +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
a88b1e4ce0 sequence parsing and parseArguments fixes 2024-05-29 12:42:14 +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
95f6babd5e scaling functions now warn instead of crashing with negative scales 2024-05-03 08:53:44 +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
f7b7a2d4d5
oops: fix lexical & oob exceptions in StarImageProcessing.cpp 2024-04-29 04:14:52 +10:00
Kae
a25b699966 Update StarFont.cpp 2024-04-27 06:46:20 +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
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
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
c24fc5aeaf micro-opt Color construction
toLower call not necessary, NamedColors is case-insensitive
2024-04-23 11:49:25 +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
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
63c9e3ec8b only round vertices if AA is on
[skip ci]
2024-04-15 17:46:44 +10:00
Kae
227e60ca4c new object lighting toggle, log non-master entity render/update exceptions 2024-04-15 08:03:26 +10:00
Kae
84a2d8f7f8 change fonts to woff2 2024-03-25 12:49:18 +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
e318098f0b Add equality operator for Directives (fixes networking bug) 2024-03-22 19:12:45 +11: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
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
Kae
5ca42599ef make timescale a server command and add a tickrate command 2024-03-19 13:35:55 +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
d577a98980 Lua: allow jarray and jobject to convert existing tables
[skip ci]
2024-03-17 01:52:02 +11:00
Kae
6fa0afd758 experimental asset load scripts 2024-03-15 21:28:11 +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
caf7abebfe change tickNetInterpolation calls to use dt value 2024-03-11 16:31:20 +11:00
Kae
165bcbefee minor code polish 2024-03-09 11:09:04 +11: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
7b556b33f8 More compact search patch parsing 2024-03-09 09:48:21 +11:00
Kae
35dc974a8f
Merge pull request #28 from JamesTheMaker/main
Added many new patch features
2024-03-09 06:25:55 +11:00