Elias Fleckenstein
f3e741dad1
Merge branch 'master' of https://github.com/minetest/minetest
2021-05-13 18:06:47 +02:00
Elias Fleckenstein
96a37aed31
Add minetest.get_send_speed
2021-05-13 17:21:13 +02:00
Loic Blot
225d4541ff
fix: extractZipFile is not part of Client but more generic.
...
This solve a crash from mainmenu while extracting the zip
2021-05-06 16:01:52 +02:00
Loic Blot
de85bc9227
fix: some code tidy about includes & irr namespaces
2021-05-03 19:49:19 +02:00
Loic Blot
48d5abd5be
refacto: remove get_gui_env & draw_load_screen from RenderingEngine singleton
2021-05-03 19:49:19 +02:00
Loic Blot
a93712458b
fix: don't use RenderingEngine singleton when it's possible
2021-05-03 19:49:19 +02:00
Loic Blot
5a02c376ea
refacto: RenderingEngine::get_scene_manager() is now not callable from singleton
...
This permits to make evidence that we have some bad object passing on various code parts. I fixed majority of them to reduce the scope of passed objects
Unfortunately, for some edge cases i should have to expose ISceneManager from client, this should be fixed in the future when our POO will be cleaner client side (we have a mix of rendering and processing in majority of the client objects, it works but it's not clean)
2021-05-03 19:49:19 +02:00
Loic Blot
1bc855646e
refacto: protect some RenderingEngine::get_scene_manager
...
* protect it from Camera, Sky, ClientMap object calls
* rename Game::sky to Game::m_sky
2021-05-03 19:49:19 +02:00
Loic Blot
74125a74d3
refacto: hide mesh_cache inside the rendering engine
...
This permit cleaner access to meshCache and ensure we don't access to it from all the code
2021-05-03 19:49:19 +02:00
Loic Blot
e0716384d6
refacto: add RenderingEngine::cleanupMeshCache
...
This permits to prevent client to own the mesh cache cleanup logic. It's better in RenderingEngine
2021-05-03 19:49:19 +02:00
Loic Blot
e34d28af9f
refacto: rendering engine singleton removal step 1 (filesystem)
...
Make the RenderingEngine filesystem member non accessible from everywhere
This permits also to determine that some lua code has directly a logic to extract zip file. Move this logic inside client, it's not the lua stack role to perform a such complex operation
Found also another irrlicht <1.8 compat code to remove
2021-05-03 19:49:19 +02:00
Loic Blot
bc1888ff21
fix: drop old irrlicht <1.8 compat on Client::loadMedia
2021-05-03 19:49:19 +02:00
Elias Fleckenstein
880c9768a9
Merge branch 'master' of https://github.com/minetest/minetest
2021-03-26 14:00:57 +01:00
sfan5
1bc85a47cb
Avoid unnecessary copies during media/mesh loading
2021-03-12 20:56:02 +01:00
sfan5
cff35cf0b3
Handle mesh load failure without crashing
2021-03-12 20:56:02 +01:00
Elias Fleckenstein
1fbbb76825
Merge branch 'master' of https://github.com/minetest/minetest
2021-02-10 19:50:36 +01:00
sfan5
c834d2ab25
Drop wide/narrow conversion functions
...
The only valid usecase for these is interfacing with OS APIs
that want a locale/OS-specific multibyte encoding.
But they weren't used for that anywhere, instead UTF-8 is pretty
much assumed when it comes to that.
Since these are only a potential source of bugs and do not fulfil
their purpose at all, drop them entirely.
2021-02-02 20:46:08 +01:00
sfan5
fd1c1a755e
Readd Client::sendPlayerPos optimization (was part of 81c7f0a
)
...
This reverts commit b49dfa92ce
.
2021-01-31 20:38:12 +01:00
rubenwardy
4c76239818
Remove dead code ( #10845 )
2021-01-22 15:09:26 +00:00
Elias Fleckenstein
eb6aca8b4a
Merged Minetest
2020-11-28 13:48:33 +01:00
Elias Fleckenstein
6ccb5835ff
Revert "Make Lint Happy"
...
This reverts commit ad148587dc
.
2020-11-04 16:57:41 +01:00
Elias Fleckenstein
ad148587dc
Make Lint Happy
2020-11-04 16:19:54 +01:00
sfan5
660115c1ab
Decouple entity minimap markers from nametags replacing with show_on_minimap property ( #10443 )
2020-10-19 20:38:15 +02:00
Elias Fleckenstein
43ee069dbf
Improved X-Ray, added AutoEject
2020-10-05 22:25:36 +02:00
SmallJoker
f46509d5e2
Remove unused functions reported by cppcheck ( #10463 )
...
Run unused functions reported by cppcheck
This change removes a few (but not all) unused functions.
Some unused helper functions were not removed due to their complexity and potential of future use.
2020-10-05 09:07:33 +02:00
Elias Fleckenstein
ee88f4b94f
Improved Tracers
2020-10-04 22:59:43 +02:00
Elias Fleckenstein
c36ff3edb1
Added AutoSneak and improved X-Ray MapBlock updating
2020-10-04 22:22:55 +02:00
Elias Fleckenstein
044a12666e
Added Tracers, NoSlow and NoForceRotate; GUI Colors changed
2020-10-04 17:43:37 +02:00
Pierre-Yves Rollo
81c66d6efb
Minimap as HUD element with API control
...
Features:
* Define Minimap available modes (surface/radar, scale) from Lua, using player:set_minimap_modes()
* New HUD elements for displaying minimap with custom size and placing
* New minimap mode for displaying a texture instead of the map
2020-10-04 15:24:34 +02:00
Elias Fleckenstein
b9f8f0a232
The Robot Update
2020-10-04 10:50:07 +02:00
rubenwardy
9ec75d7765
Clean up server-side translations, remove global variable ( #10075 )
2020-09-16 14:51:11 +01:00
ANAND
291a6b70d6
Allow binding dig, place actions to keys; remove LMB/RMB hardcoding
...
Co-authored-by: Sam Caulfield <sam@samcaulfield.com>
2020-08-15 12:19:20 +03:00
Elias Fleckenstein
9019e18b94
Some Updates
2020-08-14 19:12:14 +02:00
Elias Fleckenstein
f1760622ec
Added BrightNight
2020-08-01 11:55:48 +02:00
Elias Fleckenstein
3d980cf575
Improved Xray and Fullbright
2020-07-30 12:19:03 +02:00
Elias Fleckenstein
f7a042223f
Added cheat Menu
2020-07-28 13:51:32 +02:00
Elias Fleckenstein
064c25caa1
Added EntitySpeed
2020-07-20 16:43:11 +02:00
Elias Fleckenstein
83f59484d3
Fixed 5.4.0-dev build
2020-07-18 14:16:47 +02:00
Elias Fleckenstein
ffe3c2ae0d
Update to minetest 5.4.0-dev
2020-07-18 13:53:15 +02:00
TheTermos
ebb721a476
Fix player controls only being applied for the first move
2020-07-07 19:09:23 +02:00
Elias Fleckenstein
a87805a944
test
2020-06-23 17:43:47 +02:00
sfan5
2424dfe007
Server pushing media at runtime ( #9961 )
2020-06-13 19:03:26 +02:00
sfan5
be38a44ffe
Client: Add sum and average to packetcounter
2020-05-17 21:37:01 +02:00
Elias Fleckenstein
68f9263a24
Hacked Client
2020-05-13 19:41:30 +02:00
EvidenceB Kidscode
cee3c5e73d
Add server side translations capability ( #9733 )
...
* Add server side translations capability
2020-04-25 07:20:00 +02:00
Hugues Ross
5cf6318117
Refactor texture overrides and add new features ( #9600 )
...
* Refactor texture overrides, and add new features:
- Texture overrides can support multiple targets in one line
- Texture override files can have comment lines
- Item images/wield images can be overridden
* Formatting changes
* Address soime feedback
- Pass vectors by const reference
- Log syntax errors as warnings
- Remove 'C' prefix from TextureOverrideSource
* Simplify override target checks with an inline helper function
* make linter happy
* Apply feedback suggestions
Co-Authored-By: rubenwardy <rw@rubenwardy.com>
* Remove remaining != 0 checks
* Update copyright notice
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2020-04-14 20:41:29 +02:00
sfan5
f105bc8dc2
A few initialization cleanups
2020-04-11 13:12:51 +02:00
sfan5
de73f989eb
Overall improvements to log messages ( #9598 )
...
Hide some unnecessarily verbose ones behind --trace or disable them entirely.
Remove duplicate ones. Improve their contents in some places.
2020-04-08 20:13:23 +02:00
Hugo Locurcio
f45ba78a72
Allow relative directories for `screenshot_path`, tweak default path ( #9122 )
...
This will likely be more intuitive for users and should play better
with sandboxed distributions such as Flatpak.
In addition, the screenshot directory will now be created if it doesn't
exist already.
2020-04-06 16:54:12 +02:00
Danila Shutov
6958071f49
Basic model shading ( #9374 )
2020-02-16 20:37:28 +01:00