Commit Graph

11969 Commits

Author SHA1 Message Date
Desour
2b2f2dee20 Use make_irr instead of new + drop() in Game::handleCallbacks 2024-09-18 12:19:40 +02:00
Desour
b93ae33f85 Use irr_ptr for Game::sky 2024-09-18 12:19:40 +02:00
Desour
17c041a65c Use irr_ptr for Game::gui_chat_console 2024-09-18 12:19:40 +02:00
Desour
37b374cb92 Use irr_ptr for Game::clouds 2024-09-18 12:19:40 +02:00
Desour
ecf8c7696a Use irr_ptr for ClientEnvironment::m_map 2024-09-18 12:19:40 +02:00
Desour
e3efaa1733 Move irr_ptr.h too irr/include/ 2024-09-18 12:19:40 +02:00
Desour
6d01ed5d74 irr_ptr: Allow to use with forward-declared types
Also add [[nodiscard]] to ::grab() (because similar named irr_ptr::grab() returns void).
And use new std::is_convertible_v.
2024-09-18 12:19:40 +02:00
grorp
70e169f165
Drop fixed pipeline lighting stuff (#15165) 2024-09-18 12:18:28 +02:00
wrrrzr
6dfd61cba0
Fix TODO in joystick code (#15179) 2024-09-18 12:17:55 +02:00
sfan5
58ea11c2b3 Add some debug helpers around this area 2024-09-16 23:12:52 +02:00
sfan5
6f275e2ba0 Remove dead code in COpenGL3MaterialBaseCB 2024-09-16 23:12:52 +02:00
sfan5
cc26b5384c Mark buffer as dirty in mesh helpers
unclear if this fixes any actual bug
2024-09-16 23:12:52 +02:00
sfan5
0fdcba197f Fix VBO hint in content_cao 2024-09-16 23:12:52 +02:00
sfan5
65af606729 Fix CAO mesh lighting with shaders disabled
the 'Lighting' material flag does not have portable behavior
2024-09-16 23:12:52 +02:00
grorp
740dc0162e
Don't use fixed pipeline lighting for stars (#15164) 2024-09-16 10:16:55 +02:00
grorp
47f199e6cb
Avoid cloud jump when switching between mainmenu and loading screen (#15163)
... by using the same Clouds object for both.
The mainmenu clouds already used shaders before. I had to choose between
both or neither, so now both the mainmenu clouds and the loading screen
clouds use shaders if available.
2024-09-16 10:16:27 +02:00
DS
4aec4fbe6f
Add support for Tracy profiler (#15113) 2024-09-15 13:47:45 +02:00
sfan5
6f23de41fb Refresh windows toolchain and libs 2024-09-14 12:13:19 +02:00
Gregor Parzefall
7bab390413 Add time_to_day_night_ratio to the Lua API 2024-09-14 12:13:11 +02:00
Gregor Parzefall
f9c0354af1 Add colorspec_to_table to the Lua API 2024-09-14 12:13:11 +02:00
DS
c54f5a2137
Move std::tie out of headers 2024-09-14 12:10:11 +02:00
j-r
a6219ab955
Fix alignment in implicit client hotbar definition
Used when an older server doesn't send it.
2024-09-14 12:09:56 +02:00
1F616EMO~nya
38b4505ad7
Allow requesting reconnect when mods kick player (#14971) 2024-09-12 23:42:46 +02:00
nauta-turbidus
b12e67699a
Document negative saturation (#15062) 2024-09-12 23:42:33 +02:00
sfan5
72c306d920 Improve some protocol code log messages
also get rid of the very noisy socket debug message that are
useless in a world where Wireshark exists.
2024-09-12 23:41:56 +02:00
sfan5
f54f2c1601 Fix RTT set before value is available 2024-09-12 23:41:56 +02:00
sfan5
42af7cc1c5 Nerf protocol window sizes
Probably due to a unit misunderstanding a long time ago the window sizes
were quite insane (especially the default).
In practice this was sometimes hidden by other bugs, games trying their
best to be lightweight or didn't matter on high-quality internet connections.
2024-09-12 23:41:56 +02:00
sfan5
9c2b2c002c Count duplicate packets as congestion indicator 2024-09-12 23:41:56 +02:00
grorp
af67353f7a
Only apply "touch_punch_gesture" when wielded item has no on_use callback (#15098) 2024-09-12 23:41:47 +02:00
sfence
8617993386
Add SDL2 options to compiling README (#15136) 2024-09-12 23:40:03 +02:00
sfence
733a019bf5
macOS: make mute sound actually work (#15128) 2024-09-08 13:53:43 +02:00
Gregor Parzefall
2208fc0632 Move Minetest GUISkin -> Irrlicht CGUISkin 2024-09-08 13:53:33 +02:00
Gregor Parzefall
c8ebc2e5d0 Delete Irrlicht CGUISkin 2024-09-08 13:53:33 +02:00
sfan5
3feec87d52 Count global number of drawcalls too 2024-09-08 13:53:23 +02:00
sfan5
275bef0633 Remove unused leftovers from normal mapping 2024-09-07 14:23:37 +02:00
sfan5
e90ef85e7d Fix texture matrix handling in our shaders 2024-09-07 14:23:37 +02:00
Lars Müller
9e5d6bc162
Fix upright sprite entities not animating 2024-09-06 12:11:16 +02:00
grorp
041d67ceca
Improve formspec scaling (#14840) 2024-09-06 12:11:03 +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
3af226cb06
Refactor "Cavegen y biome check" 2024-09-06 11:30:10 +02:00
red-001
486dc3288d
VoxelManipulator code cleanup (#15114)
* Cache node in voxel area index when possible

The index function according to the MSVC profiler actually takes up a significant time slice (around ~5% of total time for the process) during normal game-play.
Might not be accurate but still good to not recalculate it twice.

* Remove `setNodeNoRef` from VM

* VM: remove old commented out print statement
2024-09-04 15:20:39 +02:00
Lars Müller
074700b35e
Remove no* prefixes from settingtypes possible flags (#15111) 2024-09-04 15:19:00 +02:00
grorp
8349846333
TouchControls: Fix setUseCrosshair not being called (#15100) 2024-09-04 15:18:45 +02:00
Gregor Parzefall
08de047033 TouchScreenGUI: Show status text above grid menu 2024-09-04 15:18:34 +02:00
Gregor Parzefall
88397c2908 TouchScreenGUI: Don't release pointers when toggling grid menu 2024-09-04 15:18:34 +02:00
Gregor Parzefall
2e567b7d40 Replace removed rare_controls.png in Devtest /test_formspec
removed by 013c6ee1663f2bdd93a6d30690a96a5914dc27dc / #14918
2024-09-04 15:18:34 +02:00
red-001
d5d8fb629b
Simplify TOSERVER_INIT and TOCLIENT_HELLO
- Network compression support was never added.
- Client hasn't used the returned playername since at least 0.4-stable.
2024-09-02 21:50:43 +02:00
Zughy
2bc9dc54ff
Windows/vcpkg instructions: enable i18n by default 2024-09-02 21:50:28 +02:00