Commit Graph

382 Commits

Author SHA1 Message Date
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
6f7f3800d3 Don't forget to dirty collision on tile modification failure 2023-08-31 01:12:17 +10:00
Kae
ca21b29f92 Small cleanup 2023-08-21 21:22:25 +10:00
Kae
ce6cadd2a0 Store material item settings in player secret properties instead of parameters 2023-08-21 21:18:27 +10:00
Kae
bd4b1ed45c Update StarMaterialItem.cpp 2023-08-21 21:10:43 +10:00
Kae
a7ae034278 Objects can now be placed under tiles that have non-block collision 2023-08-21 00:59:02 +10:00
Kae
edbee201ee Command to adjust global timescale 2023-08-20 23:51:43 +10:00
Kae
33b7f17bb2 Material Item: Allow entity overlap on non-solid collision kinds 2023-08-20 20:52:56 +10:00
Kae
ecadfa7e44 Bump up prediction expiry time
Also added a new font
2023-08-20 20:48:18 +10:00
Kae
2fe62a178e Fix object color suffix not applying if it's the only directive 2023-08-20 19:25:52 +10:00
Kae
78945304b7 Update StarItemDrop.cpp 2023-08-20 19:07:30 +10:00
Kae
d0aa7c1279 Update StarItemDrop.cpp 2023-08-20 19:05:24 +10:00
Kae
6e7c0498ef Hook tile meshing up to Material Item drop and preview 2023-08-20 18:56:50 +10:00
Kae
0bb0bd30b0 Slight fix to PGI creation 2023-08-20 17:43:09 +10:00
Kae
e5c6d005d7 Add binds to modify material radius 2023-08-20 13:57:27 +10:00
Kae
7a220cae45 player.aimPosition 2023-08-20 12:09:03 +10:00
Kae
bda94556bb Improve item drop beam 2023-08-20 12:08:58 +10:00
Kae
9af6bfe60e Add ItemDrop glow 2023-08-20 11:56:37 +10:00
Kae
3990b196a2 Fix LiquidItem preview (again!) 2023-08-20 10:42:17 +10:00
Kae
572b492b93 Fix collision not refreshing on expired predictions and slight placement issue 2023-08-19 22:49:05 +10:00
Kae
3805db7722 oops: Fix sub-step material placement 2023-08-19 21:35:56 +10:00
Kae
2fb2616384 More accurate liquid collection prediction 2023-08-19 21:08:44 +10:00
Kae
d2ec7f37c1 Predict MiningTool liquid collection 2023-08-19 20:57:55 +10:00
Kae
d65bc3cc8d Add collision cycling to Material items 2023-08-19 20:47:58 +10:00
Kae
ec4f70340e Allow overriding placed collision kind ("""overground""") from world.placeMaterial 2023-08-19 18:26:52 +10:00
Kae
f22eed8304 Add player table to tech scripts 2023-08-19 15:54:52 +10:00
Kae
b7cddf4f0e Item inventoryIcon supports other drawable kinds now 2023-08-19 15:44:16 +10:00
Kae
9665048a9e fix drop prediction only working on drops from blocks 2023-08-19 15:30:27 +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
0c74c70475 Predict placed tile collision 2023-08-19 12:55:32 +10:00
Kae
1af5e5cc89 Material Item equip sound 2023-08-19 12:34:35 +10:00
Kae
d53379f6c2 blah 2023-08-19 12:15:22 +10:00
Kae
156c243360 improve applyTileModifications to be more aggressive 2023-08-19 00:18:51 +10:00
Kae
7860262a3b Fix MaterialItem steps being in reverse
Also multiplied steps for reliability with diagonals
2023-08-18 23:28:31 +10:00
Kae
f6f91b18e8 Various improvements
You can now right click empty slots to insert one from swap.
Added unique sounds for the swap slot count incrementing/decrementing.
Material placement now plays sounds.
2023-08-18 23:14:53 +10:00
Kae
cd36a269fd Account for latency predicting item drop pickup 2023-08-18 21:48:09 +10:00
Kae
b51e174bdc Item drops inherit player velocity, other stuff 2023-08-18 20:03:06 +10:00
Kae
ab03c224dd Parse scientific notation Json numbers as double 2023-08-18 19:12:31 +10:00
Kae
572291047f Fix LabelWidgets randomly being shadowed 2023-08-18 18:32:29 +10:00
Kae
49147c8be5 Fix ItemDrop drawable rendering after added caching
also added poly logging for drops
2023-08-18 18:28:04 +10:00
Kae
0c2015118b Armor Item improvements (& other misc)
TODO: Make option to return to previewing with dummy
2023-08-18 18:06:00 +10:00
Kae
aa0ef06ac6 Predict item drop animation client-side 2023-08-18 16:54:47 +10:00
Kae
50ec1a0406 Animate taken ItemDrops client-side 2023-08-18 16:45:59 +10:00
Kae
c11d20894b Item Drop Improvements 2023-08-18 13:06:07 +10:00
Kae
90267c6105 message.setHandler now accepts a Json config in place of the name 2023-08-15 14:20:56 +10:00
Kae
6a9bc191fd Use runtime CPU intrinsic checks for Opus 2023-08-15 13:39:48 +10:00
Kae
af74a2f491 Rename global WorldTimestep var to more appropriate name 2023-08-15 13:38:40 +10:00
Kae
2a204b384f Add optional alpha threshold option for fonts 2023-08-04 23:47:52 +10:00
Kae
65bacddc67 Log missing scripts 2023-08-04 23:47:39 +10:00
Kae
1e9690b433 the unbridled whimsy within me: 2023-08-04 14:28:43 +10:00
Kae
dcc15a8103 Add new smooth Hobo font 2023-08-04 00:21:24 +10:00
Kae
722488a9ab Fix racial liquid descriptions not being used 2023-08-03 16:25:04 +10:00
Kae
6afba048ec More default fonts
barcode is Libre Barcode
2023-08-03 01:17:08 +10:00
Kae
37d4abd60f Update StarPlayerStorage.cpp 2023-08-02 23:05:30 +10:00
Kae
6abad768a6 Backups are now placed in their own directory 2023-08-02 22:56:36 +10:00
Kae
b2cabc7567 Game can now load players with non-uuid filenames 2023-08-02 22:25:20 +10:00
Kae
98949574a8 SwimIdle tech parent state 2023-08-02 22:02:21 +10:00
Kae
32e6eab069 Player: Make interaction radius scriptable 2023-08-02 21:59:07 +10:00
Kae
c80b2d2dbc Add loading icon when swapping character 2023-08-02 21:28:37 +10:00
Kae
994c533a0f Improve planet name title
They began showing during the warp cinematic and their fade-out timing was wrong.
2023-08-02 19:29:21 +10:00
Kae
856e93be3f Skip packet compression on Voice packets
cause 99% of the data is already compressed by Opus
2023-08-02 14:43:49 +10:00
Kae
b318e981e3 Windows: Use SRW locks for non-recursive mutex (it's faster!) 2023-08-02 13:07:14 +10:00
Kae
c46b8f43d8 Update StarLogging.cpp 2023-08-02 12:32:57 +10:00
Kae
b4b2219aed Log file path in libpng errors & warnings properly 2023-08-01 20:23:48 +10:00
Kae
678a461904 Logger: Do string formatting before lock and only if LogLevel is loggable 2023-08-01 20:23:05 +10:00
Kae
9ba734ea14 Ensure debug symbols on Clang and GCC 2023-08-01 18:14:27 +10:00
Kae
4af22dd1fa Update StarNpc.cpp 2023-08-01 17:51:58 +10:00
Kae
b7aa185070 Update StarNpc.cpp 2023-08-01 17:05:43 +10:00
Kae
0ef8807539 Changes to support modifying networking while maintaining legacy support 2023-07-31 20:22:09 +10:00
Kae
2dc10fa5ad Tile Prediction improvements
each tile modification is now validated and then added to prediction one-by-one
2023-07-31 17:31:02 +10:00
Kae
72e33fdef5 fix last aim being held when unequipping MaterialItem while holding fire 2023-07-31 16:41:12 +10:00
Kae
830d4deb7b Tile placement improvements
Placing materials is now done in a line to fix gaps at low framerates
2023-07-31 16:00:19 +10:00
Kae
df83b02f1d move interface item messages when bottomActionBar is enabled 2023-07-31 15:43:04 +10:00
Kae
f575bad5e1 fix broken LiquidItem preview (LOL) 2023-07-31 15:00:17 +10:00
Kae
f4ff9dcc49 better debug logMapping for predicted tiles 2023-07-31 14:59:38 +10:00
Kae
610dc72c6d Tile Prediction 2023-07-31 02:40:06 +10:00
Kae
31f5816e8a Update StarBaseScriptPane.cpp 2023-07-30 01:28:43 +10:00
Kae
ffd1507f72 ScriptPanes can specify paneLayer and interactive 2023-07-30 00:41:38 +10:00
Kae
057f3727de Bottom Action Bar 2023-07-30 00:11:16 +10:00
Kae
40a2fe57e0 Update StarNpc.cpp 2023-07-29 12:14:11 +10:00
Kae
224ad2c2c0 Reset script panes on character swap 2023-07-29 02:12:03 +10:00
Kae
35fc2679de Allow desired entity ID to be specified in addEntity 2023-07-29 00:52:56 +10:00
Kae
b17b935c10 Fix net identity not updating after swapping character 2023-07-29 00:51:44 +10:00
Kae
5c650d7809 Make client-side NPC collisionPoly override opt-in 2023-07-29 00:49:38 +10:00
Kae
f2afd91d0f Fix Teams not functioning as swapped character 2023-07-26 19:02:33 +10:00
Kae
ddab1db73f Server: Log TCP error and carry on
Fixes the Singleplayer server thread locking up forever and leaving us in an eternal loading screen if the TCP socket fails to bind. Something on my PC is hogging the default server port, which is what made me encounter this.
2023-07-26 18:47:23 +10:00
Kae
c090b935ac Update StarNpc.cpp 2023-07-26 16:48:14 +10:00
Kae
aa220e7947 client-side NPCs 2023-07-26 16:45:01 +10:00
Kae
76f78c4b20 Update StarLua.hpp 2023-07-25 17:37:32 +10:00
Kae
d07baefaaa Update StarLuaConverters.hpp 2023-07-25 00:57:35 +10:00
Kae
ea084165bf Optimize entityPortrait: Drawable > LuaTable instead of Drawable > Json > LuaTable 2023-07-25 00:49:20 +10:00
Kae
8547c56ba4 Proper LuaString <-> String handling
Null-terminator usage is opt-in
2023-07-24 23:37:55 +10:00
Kae
4c636e911c Add default crafting config values 2023-07-24 22:11:45 +10:00
Kae
c127b50303 Fix discrepancy in voice saving 2023-07-24 20:58:32 +10:00
Kae
7b4ae73647 add sb.jsonParse
also rolled up some rand functions into ternary statements
2023-07-24 19:17:17 +10:00
Kae
5a6c27dd9a whoops 2023-07-24 18:43:50 +10:00
Kae
af31bde032 Handle world creation error when sending world messages, add active world callbacks 2023-07-24 18:42:55 +10:00
Kae
a2d901bd66 Fix ToolUser exception when swapping player
Also made /swap by name exclude the current player when searching
2023-07-24 17:54:31 +10:00