1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00
Commit graph

12804 commits

Author SHA1 Message Date
Lars
2144d9c20b start blocks out a expanded block (not monoblocks) 2025-06-21 14:27:23 -07:00
Lars
1ad31ef10b review comments 2025-06-21 09:25:06 -07:00
Lars
9ef06f7d47 alignment 2025-06-17 20:51:31 -07:00
Lars
a74823f4ad test fix/improvement 2025-06-17 13:55:21 -07:00
Lars
1f82226a76 minor cleanups 2025-06-16 18:58:54 -07:00
Lars
46044e6d77 Start every block as monoblock, and set m_is_mono_block in reallocate 2025-06-16 18:57:13 -07:00
Lars
5967457be0 hoist is_mono_block out of serialization loop 2025-06-16 18:57:13 -07:00
Lars
0e7eeabe73 allow copy to vmanip directly from a mono-block 2025-06-16 18:57:13 -07:00
Lars
23c985ee60 Use unique_ptr and std::copy 2025-06-16 18:57:13 -07:00
Lars
0da467c374 address review 2025-06-16 18:57:13 -07:00
Lars
b9deee2147 slight improvement 2025-06-16 18:57:13 -07:00
Lars
01df186d0e loose ends and a unit test 2025-06-16 18:57:13 -07:00
Lars
13eca383c4 style 2025-06-16 18:57:13 -07:00
Lars
90da985ea0 track memory correctly 2025-06-16 18:57:13 -07:00
Lars
43a86a0efe getBlockNodeIdMapping signature 2025-06-16 18:57:13 -07:00
Lars
46bec0a7ee speed up getNode memory access 2025-06-16 18:57:13 -07:00
Lars
0c9d6220a2 Review comments 2025-06-16 18:57:13 -07:00
Lars
de90495eda Make sure monoblocks account for all node params 2025-06-16 18:57:13 -07:00
Lars
9c8a9783e6 Check for mono-block after copyTo 2025-06-16 18:57:13 -07:00
Lars
fcb5741dcb Monoblocks: optimize blocks that contain a single type of node 2025-06-16 18:57:13 -07:00
Jürgen Rühle
81d62d01d1
Detect mouse moving out of inventory slot (#16101) 2025-06-13 23:36:44 +02:00
Xeno333
225d2cf916
Make minimap respect drawtype = "airlike" (#16251) 2025-06-13 23:33:10 +02:00
DS
f75d16c1e6
Fix some misinformation in world_format.md (#16256) 2025-06-13 23:32:55 +02:00
Xeno333
aba2b6638e
Add documentation for ValueNoise during load time (#16235) 2025-06-07 14:44:35 +02:00
grorp
e452c2900f Don't force-enable tileable_horizontal/vertical for solid nodes 2025-06-07 14:44:09 +02:00
Lars Mueller
f431c12b85 Fix model[] not supporting float frames 2025-06-07 14:43:53 +02:00
sfan5
38255cb6bb Clean up makeScreenshot() and make message translateable 2025-06-07 14:43:26 +02:00
Gwyndolyn Shafer
b9af44b194
Remove redundant descriptions from key bindings (#16220) 2025-06-07 14:43:03 +02:00
jordan4ibanez
29a9056731
Fix 'core.mod_channel_join' return value documentation (#16218) 2025-06-07 14:42:14 +02:00
siliconsniffer
4454d71d7d
Formspec: change tabs with ctrl(+shift)+tab (#16167)
This change makes it easier to go to the next/previous tab using keyboard controls.
2025-06-07 14:41:29 +02:00
Lars Müller
fde6384a09
Fix and clean up skeletal animation (#15722)
* Fix attachments lagging behind their parents (#14818)
* Fix animation blending (#14817)
* Bring back cool guy as another .x smoke test
* Add .x mesh loader unittest
* Do bounding box & matrix calculation at proper point in time
* Remove obsolete `SAnimatedMesh`
2025-06-01 23:21:35 +02:00
JosiahWI
0bb87eb1ff
Avoid signal-unsafe operations in POSIX signal handler (#16160) 2025-06-01 15:24:32 +02:00
grorp
56a7f0b7cf
Don't break when multiple dialogs are shown on startup (#16204) 2025-06-01 15:24:14 +02:00
sfan5
a2460df316 Print Luanti version after ascii art 2025-06-01 15:23:55 +02:00
SmallJoker
535d757563 Formspec: Move GUI event handling to switch/case 2025-05-30 13:05:13 +02:00
SmallJoker
660b1cf9bf Formspec: remove gotText(wstr) remains
These functions are now unused (no caller).
2025-05-30 13:05:13 +02:00
SmallJoker
fcddac6c07 Formspec: Fix malfunctioning 'Proceed' button on sizeless formspecs 2025-05-30 13:05:13 +02:00
sfan5
9f7501d20a Handle writing to unloaded blocks in MMVManip::blitBackAll()
This could happen before and would just silently discard the data,
but now that Lua can create VManips without loading from map beforehand
we definitely need to handle this case.
2025-05-30 13:03:21 +02:00
sfan5
aa1bab2156 Implement API to create empty VoxelManip 2025-05-30 13:03:21 +02:00
sfan5
6274a8dec4 Refactor MMVManip to get rid of m_loaded_blocks 2025-05-30 13:03:21 +02:00
sfan5
41651c7317 Add C++-side unit tests for MMVManip 2025-05-30 13:03:21 +02:00
sfan5
e03957ec0c Add VoxelManip:close() for explicit free 2025-05-30 13:03:21 +02:00
sfan5
79e0d834fd Rework user limit and checks around join process 2025-05-30 13:02:24 +02:00
sfan5
b580c66b61 Restrict minimum state for ClientInterface::sendToAll 2025-05-30 13:02:24 +02:00
sfan5
9ce9d7f433 Extend check for lingering clinets 2025-05-30 13:02:24 +02:00
Wuzzy
957ebf7368
settingtypes: Add no-c-format flag for xgettext 2025-05-30 13:02:15 +02:00
sfan5
5c2599315c Change nil-component error to deprecation warning 2025-05-28 13:29:30 +02:00
sfan5
6ca9d75f0b Reject NaN and Inf in check_v3d() too
check_v2f() was already doing this
2025-05-28 13:29:30 +02:00
sfan5
ec16fb33d0 Add unit tests for Lua vector reading 2025-05-28 13:29:30 +02:00
sfan5
a5263dc7ed Do not allow vector components to be nil 2025-05-28 13:29:30 +02:00