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
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
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
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
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
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
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
Kae
5815a873a7
Add more root.asset* functions
2023-11-03 06:51:17 +11:00
Kae
fe4cc19618
Change pure string format calls to use fmt::to_string
2023-07-06 19:26:28 +10:00
Kae
e29a46d100
Fix text wrapping splitting inside of words with color codes in them
2023-07-01 14:01:27 +10:00
Kae
332983c97b
The Formatting String Catastrophe
2023-06-27 20:23:44 +10:00
LDA
c9e889723b
resolved most of the compiler warnings/errors under gcc
...
also update xxhash and tinyformat
2023-06-26 11:58:35 -07:00
Kae
4585c9cafa
Lazy-loading of ImageOperation inside Directives
...
also fixed cases of drawables not staying centered after adding directives that scale
2023-06-27 03:38:57 +10:00
Kae
09d26d43b5
Add string view variant of Star::String and use it
...
it's 1:30 AM AGAIN !! !!!!!
This might have broken the inventory icons of custom hats a little, need to look into that
2023-06-26 01:42:18 +10:00
Kae
25b021c0cb
More improvements to directives
...
Error logging is back where it should be
2023-06-25 14:00:20 +10:00
Kae
7eb010d4a1
Pretty much working now
2023-06-24 22:49:47 +10:00
Kae
7bde128a87
DirectivesGroup prototype
2023-06-24 19:41:52 +10:00
Kae
2798d4bf66
what the fuck it's 1:30 AM. god
2023-06-24 01:30:55 +10:00
Kae
bd783d3195
make the chat really pretty!!
...
also slightly optimized text shadow rendering, made sure glyphs with directives stay centered and added two extra Lua arguments to canvas.drawText
2023-06-21 00:59:41 +10:00
Kae
6352e8e319
everything everywhere
...
all at once
2023-06-20 14:33:09 +10:00