1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-20 19:52:12 +00:00
Commit graph

406 commits

Author SHA1 Message Date
sfan5
079169612d Fix Irrlicht snprintf problems and UB in my_string_to_double 2025-08-24 19:01:18 +02:00
sfan5
e835673c5e Extract bitmap class 2025-08-19 17:34:22 +02:00
sfan5
55cca34ee9 Cache getTextureDirs() 2025-08-10 15:26:39 +02:00
Lucas OH
93dd22b901
Clean up unused Forward Declarations (#16324) 2025-08-02 10:07:45 +02:00
sfan5
d679261488 Rewrite broken logic in blit_with_alpha2 2025-07-28 11:16:07 +02:00
Lars Müller
23bf50a07c
Document & extend testing for rotation conventions (#16200)
* Document Luanti rotation conventions
* Add test for setPitchYawRollRad (entity) rotation conventions
* Test and document that `vector.rotate` uses (extrinsic) Z-X-Y rotation order
2025-07-13 17:11:12 +02:00
Lucas OH
ce2380b58e
Include header files in CMake sources (#16297) 2025-07-12 13:23:35 +02:00
sfence
4f42b4308c
Add persistent unique identifiers for objects (#14135) 2025-07-09 10:40:26 +02:00
Lars Müller
61551cfc3a
Remove irr namespace (#16309) 2025-07-09 10:35:52 +02:00
Daniel Cristian
4700939949
Fix uninitialized variable warning in generate_srp_verifier_and_salt 2025-05-18 21:59:57 +02:00
Lars Müller
f4285a59ac
Purge some dead code (mostly Irrlicht) (#16111)
* Remove obsolete Irrlicht attributes system

* Remove dead GUI element types

* Remove some obsolete Irrlicht headers

* Fix some oopsies from d96f5e1
2025-05-04 16:31:44 +02:00
Lars Müller
d96f5e1c76
MetaDataRef: Make set_float preserve numbers exactly (#16090) 2025-05-02 21:27:00 +02:00
sfan5
7c619bdc9a
Improve usability of Prometheus metrics backend (#16060) 2025-04-23 09:30:04 +02:00
Lars Müller
a3648b0b16
Add spatial index for objects (#14631) 2025-04-08 08:44:53 +02:00
sfan5
1281173e50 Use secure randomness to seed internal RNG 2025-03-30 18:17:19 +02:00
sfan5
ae0f955a0e Add nodiscard attribute to helper functions where it makes sense 2025-03-30 18:17:19 +02:00
sfan5
dea95c7339 Reduce transitive includes by moving a class 2025-03-30 18:17:19 +02:00
sfan5
b146673c3d Remove old mystrtok_r for MinGW 2025-03-30 18:17:19 +02:00
sfan5
e73eed247e Apply some refactoring/cleanup to mainly util functions 2025-03-30 18:17:19 +02:00
sfan5
7b746d21f9 Make sure generated blocks have their timestamp set
behavior change: newly generated blocks are no longer momentarily activated.
this shouldn't matter for anyone and did not consistently apply to all blocks anyway

addresses issue from #15902 for new maps(!)
2025-03-26 20:49:43 +01:00
sfan5
afb15978d9
Clean up and compress some pre-join packets (#15881) 2025-03-11 20:00:07 +01:00
sfan5
7892541383 Various random code cleanups 2025-03-04 19:53:01 +01:00
sfan5
ee9258cefd Clean up some packet-related code 2025-02-26 12:21:57 +01:00
sfan5
ba62808fe8
Basic camera control API (#15796) 2025-02-19 18:45:45 +01:00
cx384
e9826f7819
Move EnumString to separate file and add enum_to_string (#15714) 2025-01-26 19:17:14 +01:00
SFENCE
af3f696423 Code style fixes. 2025-01-21 16:29:12 +01:00
cosin15
7053348e31
Fix buggy memcpy call in a template (#15672) 2025-01-14 20:26:29 +01:00
sfan5
612d4f9656 Improve quicktune feature a bit 2024-12-24 15:27:08 +01:00
DS
bcbee873e8
Use openssl's sha1 and sha256, optionally (#15472) 2024-12-10 22:00:43 +01:00
AFCMS
e545e96d2b
Make string to v3f parsing consistent, replace core.setting_get_pos() by core.settings:get_pos() (#15438)
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com>
2024-12-04 18:19:46 +01:00
sfence
d849d51c2d
Replace licensing text in headers (LGPLv2.1) (#15321) 2024-10-28 15:57:39 +01:00
sfan5
b61c83a19d Move some more sources to shared target 2024-10-16 19:39:59 +02:00
sfan5
37095f3e49 Change the preprocessor macro that differs server/client builds 2024-10-16 19:39:59 +02:00
y5nw
e3aa79cffb
Gettext and plural support for client-side translations (#14726)
---------

Co-authored-by: Ekdohibs <nathanael.courant@laposte.net>
Co-authored-by: y5nw <y5nw@protonmail.com>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2024-10-13 11:29:08 +02:00
sfan5
99b6315c1a Make logging respect stream flushes
also add override keyword and fix overflow() behavior
2024-10-12 22:37:17 +02:00
paradust7
3a7c8279bf
Split log.h to speed up compilation (#15258) 2024-10-09 16:24:44 +02:00
sfan5
c1ea49940b Add questionable workaround for env lock contention 2024-09-26 17:31:49 +02:00
sfan5
7ae51382c8 Refactor ABM/LBM related code 2024-09-20 15:05:26 +02:00
DS
4aec4fbe6f
Add support for Tracy profiler (#15113) 2024-09-15 13:47:45 +02:00
red-001
1527cdf6a4 SRP remove custom memory allocator 2024-09-06 11:30:35 +02:00
red-001
197d09cc53 SRP switch to porting randomness source 2024-09-06 11:30:35 +02:00
sfence
4fd744cdf6
Generate Minetest.app on macOS 12, so at least macOS 12 will be supported 2024-09-06 11:30:27 +02:00
sfan5
3fb4049612 Prevent accidentally copy/move of refcounted objects 2024-09-02 21:50:13 +02:00
sfan5
b8b99d5cf1 Use std::string_view in logging code 2024-09-02 16:09:14 +02:00
sfan5
19a58745c9 Avoid copies when working with EnrichedString 2024-08-28 15:38:02 +02:00
Desour
04f0a4a1c6 Fix MeshGrid::isMeshPos()
`(1 + 1 + 0) % 2 = 0`, for example, so it had false positives.
Only minimap generation uses this function. It did useless work.
2024-08-28 15:37:54 +02:00
sfan5
c6ef5ab259
Sanitize formspec fields server-side (#14878) 2024-08-21 21:34:46 +02:00
sfan5
85e717fcd1
Rework object attachment handling to fix bugs (#14825) 2024-08-12 15:32:18 +02:00
sfan5
b7e886a740 Rename sha256 header
fixes #14710
2024-06-10 18:49:43 +02:00
Desour
cdbbac5b6d Move sha256.c to lib/
Precompiled headers don't work if we're not a pure C++ project.
2024-05-27 17:12:39 +02:00