Commit Graph

69 Commits

Author SHA1 Message Date
floyd
fc1b97c4bc
Update StarAssets.cpp 2024-09-07 00:03:07 -04: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
54ac208dd5 lighting: disable the new additive point light behavior when new lighting is off 2024-06-28 17:10:17 +10:00
Kae
c405fda45c Update StarAssets.cpp 2024-06-25 20:03:35 +10:00
Kae
9edbe8cf2d Add .patchlist
#73
2024-06-25 19:56:44 +10:00
Kae
5a99d7b245 fix crash with asset scripts that only manifested after MSVC update 2024-06-03 18:28:51 +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
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
7136c929ce micro-opt NetworkedAnimator drawables
sort before creating drawables
2024-04-23 11:48:51 +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
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
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
8a8a050159 2 features: multi-sample anti-aliasing & Lua patches for images 2024-04-08 14:22:22 +10:00
Kae
55cc6d793d wire interface: fetch render vars on init instead of every wire (wtf?) 2024-03-29 02:54:17 +11:00
Kae
53d4183ac3 Add a default brightness limit 2024-03-29 02:23:36 +11:00
Kae
c484fab32d experiment: auto-conversion of object spread lights to hybrid spread/point lights 2024-03-26 07:31:33 +11: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
ErodeesFleurs
443e6459b9 fix pushGlobalContext error 2024-03-22 15:56:20 +08:00
Kae
57ca6776e4 Lua patches 2024-03-21 00:57:49 +11:00
Kae
6d76a11e25 experiment: unclamped lighting 2024-03-20 01:53:34 +11:00
Kae
983bb82a96 Async lighting improvements 2024-03-19 18:21:54 +11:00
Kae
faae6e715a fix minor interp bug 2024-03-17 18:06:12 +11:00
Kae
53c7c3775f Lua: new Image userdata (& cursor mod fix) 2024-03-17 01:53:46 +11:00
Kae
78a68b6a20 postLoad scripts too 2024-03-16 00:02:51 +11:00
Kae
7eec15098e asset onLoad scripts can add and patch assets now 2024-03-15 22:47:02 +11:00
Kae
6fa0afd758 experimental asset load scripts 2024-03-15 21:28:11 +11:00
Kae
dc77061840 hopefully fix #33
in OpenStarbound, players can place blocks with their own collision type. this can cause objects to override the collision type if the object has material spaces and a previous attempt at accounting for this led to that bug: giving object collision its own field in the server tile should fix this
2024-03-09 12:18:22 +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
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
c5e568e47c fine
goodbye nice syntax highlighting
2024-03-07 18:56:13 -05:00
WasabiRaptor
f5400e5877 improvement to iterating through patch arrays 2024-03-07 18:06:30 -05:00
JamesTheMaker
f1e3f6791d Multiple patch files 2024-03-06 12:40:38 -05: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
Kai Blaschke
3073a88cd1
Use "#pragma once" instead of include guards 2024-02-25 15:46:47 +01:00
Kae
aa987a2177
Merge branch 'main' into small-fixes 2024-02-20 09:49:42 +11:00
Kai Blaschke
d0099a6d79
Fixed some uninitialized members
May have caused undefined behavior in few cases, as most of the fixed members were used before being initialized.
2024-02-19 23:44:59 +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
Bottinator22
91cf2d8251 Add fork changes (move instruments to their own audio group) 2024-01-02 23:08:51 -08:00
Kae
5815a873a7 Add more root.asset* functions 2023-11-03 06:51:17 +11:00
Kae
bea100bde9 Setting a configuration value to nil should actually erase it
also configurationVersion set is already checked in Configuration
2023-11-02 08:23:36 +11:00
Kae
b4b2219aed Log file path in libpng errors & warnings properly 2023-08-01 20:23:48 +10:00
Kae
4b0bc220e4 Support for changing the game's timescale
Context-specific (like per-world) timescales can also be added later
2023-07-21 00:58:49 +10:00