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
Kae
6c562470f3
Merge launcher branch
2024-03-08 20:09:27 +11:00
WasabiRaptor
f5400e5877
improvement to iterating through patch arrays
2024-03-07 18:06:30 -05:00
JamesTheMaker
15a12c06a6
Added the search
operand to the move
and copy
operations, and added the new merge
operation
2024-03-07 17:28:34 -05:00
JamesTheMaker
9b4ca69e0e
Added the search
operand to the find
, replace
, and remove
operations
2024-03-07 12:31:48 -05:00
JamesTheMaker
c808d207c9
Added search
operator to the remove
operation
2024-03-07 11:01:29 -05:00
JamesTheMaker
14ec64ace7
Added jsonCompare
function
2024-03-07 09:43:36 -05:00
Kae
0b4119ce12
Fix possible Unicode exception in Directives parsing
2024-02-29 19:09:10 +11:00
Kai Blaschke
cd23817bf1
Fixed remaining compiler warnings
...
Some warnings (e.g. in Opus and the tests) can't be fixed, only suppressed.
2024-02-28 18:30:27 +01:00
Kae
a1addf1ec2
Merge pull request #22 from kblaschke/use-pragma-once
...
Use "#pragma once" instead of include guards
2024-02-26 13:57:22 +11:00
Kai Blaschke
3073a88cd1
Use "#pragma once" instead of include guards
2024-02-25 15:46:47 +01:00
Kae
ae3ecabcea
loadstring shouldn't accept bytecode
2024-02-22 17:25:46 +11:00
Kai Blaschke
9029f897da
Support prefixed and non-prefixed JeMalloc functions
...
Note that linking a JeMalloc library without prefixed functions will replace all memory allocations, including any call to "new", not just the ones specifically called via Star::malloc etc.
2024-02-21 18:08:56 +01:00
Kae
e6f96cb2bd
std::allocator::rebind is deprecated
...
Clang should no longer scream
2024-02-20 19:34:58 +11:00
Kae
442347d82e
fix minor Image memleak
2024-02-20 10:00:35 +11:00
Kae
aa987a2177
Merge branch 'main' into small-fixes
2024-02-20 09:49:42 +11:00
Kai Blaschke
42fc1d6714
Fixed a memory leak in Image::readPngMetadata()
...
The memory allocated by png_create_read_struct() was not freed before exiting the function, wasting lots of memory over time.
2024-02-19 20:47:58 +01:00
Kai Blaschke
7c4fbad2ba
Removed some redundant std::move usages in return statements.
2024-02-19 18:39:01 +01:00
Kai Blaschke
431a9c00a5
Fixed a huge amount of Clang warnings
...
On Linux and macOS, using Clang to compile OpenStarbound produces about 400 MB worth of warnings during the build, making the compiler output unreadable and slowing the build down considerably.
99% of the warnings were unqualified uses of std::move and std::forward, which are now all properly qualified.
Fixed a few other minor warnings about non-virtual destructors and some uses of std::move preventing copy elision on temporary objects.
Most remaining warnings are now unused parameters.
2024-02-19 16:55:19 +01:00
Kai Blaschke
86106b06d6
Add StarFormat.h include to fix test compilation on UNIX
...
Linker otherwise can't find a specialized template instance for strf() in a test. Adding the include file will locally generate the missing specialization.
2024-02-19 14:13:33 +01:00
Kae
98b27f5f65
Update StarDirectives.cpp
2024-01-03 19:17:19 +11:00
Kae
f3c7bd1d5e
Directives fixes
2023-11-25 23:03:46 +11:00
Kae
9bef78a737
make Image move assignment zero other variables
2023-11-24 20:39:41 +11:00
Kae
81198f091c
fix Image not resetting properly after being moved from
2023-11-24 20:34:41 +11:00
Kae
b2a5bd00fb
Fix minor escape code check issue
2023-10-27 12:24:22 +11:00
Kae
fd915ce672
Update StarLua.cpp
2023-09-05 17:00:04 +10:00