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
Kae
c992d4f72a
Update StarDirectives.cpp
2023-09-05 16:42:44 +10:00
Kae
51d6e63dfe
Only do spatial logging when spatial log is observed
2023-08-31 04:55:36 +10:00
Kae
182d3052c5
operator== for Directives, skips reparse if equal
2023-08-31 03:14:48 +10:00
Kae
7ff3e0fecc
Fix parallax and space dust jitter when lerping zoom level on very old universes
2023-08-19 15:09:00 +10:00
Kae
ab03c224dd
Parse scientific notation Json numbers as double
2023-08-18 19:12:31 +10:00
Kae
2a204b384f
Add optional alpha threshold option for fonts
2023-08-04 23:47:52 +10:00
Kae
dcc15a8103
Add new smooth Hobo font
2023-08-04 00:21:24 +10:00
Kae
6abad768a6
Backups are now placed in their own directory
2023-08-02 22:56:36 +10:00
Kae
b318e981e3
Windows: Use SRW locks for non-recursive mutex (it's faster!)
2023-08-02 13:07:14 +10:00