hecks
1e2b638881
Remove unsupported formats from the media enumerator
2021-07-29 22:42:47 +02:00
hecktest
28c98f9fa5
Remove unsupported extensions from list in tile.cpp
2021-07-29 21:47:08 +02:00
hecks
80d12dbedb
Add a simple PNG image encoder with Lua API ( #11485 )
...
* Add a simple PNG image encoder with Lua API
Add ColorSpec to RGBA converter
Make a safety wrapper for the encoder
Create devtest examples
Co-authored-by: hecktest <>
Co-authored-by: sfan5 <sfan5@live.de>
2021-07-29 05:10:10 +02:00
sfan5
6e8aebf432
Add bold, italic and monospace font styling for HUD text elements ( #11478 )
...
Co-authored-by: Elias Fleckenstein <eliasfleckenstein@web.de>
2021-07-27 19:11:46 +02:00
JosiahWI
cf136914cf
Take advantage of IrrlichtMt CMake target ( #11287 )
...
With the CMake changes to IrrlichtMt, it's now possible to use a target for IrrlichtMt.
Besides greatly improving the ease of setting up IrrlichtMt for users building the client, it removes the need for Minetest's CMake to include transitive dependencies such as image libraries, cleaning it up a tiny bit. The PR works by finding the IrrlichtMt package and linking to the target it provides. If the package isn't found and it isn't building the client, it will still fall back to using just the headers of old Irrlicht or IrrlichtMt.
2021-07-27 19:11:27 +02:00
x2048
bf3acbf388
Distribute shadow map update over multiple frames to reduce stutter ( #11422 )
...
Reduces stutter and freezes when playing.
* Maintains double SM and SM Color textures
* Light frustum update triggers incremental generation of shadow map into secondary 'future' textures.
* Every incremental update renders a portion of the shadow draw list (split equally).
* After defined number of frames (currently, 4), 'future' and 'current' textures are swapped, and DirectionalLight 'commits' the new frustum to use when rendering shadows on screen.
Co-authored-by: sfan5 <sfan5@live.de>
2021-07-25 12:36:23 +02:00
hecks
a049e8267f
Remove unused ITextSceneNode header ( #11476 )
...
Co-authored-by: hecktest <>
2021-07-22 00:55:20 +02:00
hecks
850293bae6
Remove unused header includes
2021-07-21 22:07:13 +02:00
sfan5
6caed7073c
Fix no locales being generated when APPLY_LOCALE_BLACKLIST=0
...
Also enable `ky` which appears to work fine.
2021-07-20 17:58:47 +02:00
SmallJoker
40bee27e56
CSM: Do not index files within hidden directories
...
CSM would previously scan for files within .git or .svn directories, and also special files such as .gitignore
2021-07-17 16:44:06 +02:00
Wuzzy
f4d8cc0f0b
Add wallmounted support for plantlike and plantlike_rooted nodes ( #11379 )
2021-07-15 21:19:59 +02:00
Wuzzy
b7b5aad027
Fix revoke debug privs not reliably turn off stuff ( #11409 )
2021-07-12 20:32:18 +02:00
sfan5
5c89a0e12a
Fix build on Ubuntu 16.04 and macOS
...
Apparently the C++ standard library is supposed to provide
specializations of std::hash for enums (even in C++11)
but those don't always work for whatever reason.
2021-07-12 12:03:39 +02:00
x2048
effb5356ca
Avoid draw list and shadow map update in the same frame to reduce dtime jitter ( #11393 )
...
* Separate draw list and shadows update to reduce jitter
* Avoid draw list update and shadow update in the same frame
* Force-update shadows when camera offset changes
2021-07-11 10:57:29 -07:00
x2048
f5706d444b
Improve shadow rendering with non-default camera FOV ( #11385 )
...
* Adjust minimum filter radius for perspective
* Expand shadow frustum when camera FOV changes, reuse FOV distance adjustment from numeric.cpp
* Read shadow_soft_radius setting as float
* Use adaptive filter radius to accomodate for PSM distortion
* Adjust filter radius for texture resolution
2021-07-11 08:15:19 -07:00
hecks
1d25d1f7ad
Refactor video driver name retrieval ( #11413 )
...
Co-authored-by: hecktest <>
2021-07-11 09:50:34 +02:00
SmallJoker
b93bbfde2c
Script API: Fix segfault in remove_detached_inventory
...
when minetest.remove_detached_inventory is called on script init, the environment is yet not set up,
hence m_env is still nullptr until all scripts are loaded
2021-07-10 14:34:36 +02:00
Warr1024
52128ae11e
Add API for mods to hook liquid transformation events ( #11405 )
...
Add API for mods to hook liquid transformation events
Without this API, there is no reliable way for mods to be
notified when liquid transform modifies nodes and mods are
forced to poll for changes. This allows mods to detect
changes to flowing liquid nodes and liquid renewal using
event-driven logic.
2021-07-09 09:08:40 -04:00
SmallJoker
062fd2190e
Auth API: Error when accessed prior to ServerEnv init ( #11398 )
2021-06-30 20:42:26 +02:00
hecks
827a7852e2
Remove unsupported video drivers ( #11395 )
...
This completely removes any mention of the software and D3D drivers from MT, preventing the user from accidentally attempting to use them. Users who need a software renderer should be asked to install Mesa drivers which offer superior fidelity and performance over the 'burningsvideo' driver.
2021-06-30 20:42:15 +02:00
SmallJoker
f2fd443262
Inventory: Make addList() consistent ( #11382 )
...
Fixes list clearing for inv:set_list() using same size, since 2db6b07.
addList() now clears the list in all cases. Use setSize() to resize without clearing.
2021-06-30 20:39:38 +02:00
Wuzzy
63fc728a84
Require 'basic_debug' priv to view gameplay-relevant debug info, require 'debug' priv to view wireframe ( #9315 )
...
Fixes #7245 .
2021-06-24 21:21:19 +03:00
Wuzzy
51bf4a6e26
Perform some quality assurance for translation strings ( #11375 )
2021-06-23 17:35:50 +01:00
sfan5
c60a146e22
Rework Settings to support arbitrary hierarchies ( #11352 )
2021-06-23 15:22:31 +02:00
SmallJoker
a8b7c8ff38
Server: Ignore whitespace-only chat messages
2021-06-22 19:47:18 +02:00
SmallJoker
2db6b07de1
Inventory: show error on invalid list names ( #11368 )
2021-06-20 17:21:50 +02:00
sfence
b10091be9b
Add min_y and max_y checks for Active Block Modifiers (ABM) ( #11333 )
...
This check can be used by ABM to reduce CPU usage.
2021-06-20 17:21:35 +02:00
pecksin
1805775f3d
Make chat web links clickable ( #11092 )
...
If enabled in minetest.conf, provides colored, clickable (middle-mouse or ctrl-left-mouse) weblinks in chat output, to open the OS' default web browser.
2021-06-20 17:20:24 +02:00
updatepo.sh
cb5dd0dae4
Update minetest.conf.example and dummy translation file
2021-06-16 18:27:45 +02:00
sfan5
edf098db63
Drop --videomodes, fullscreen_bpp and high_precision_fpu settings
...
These have been pointless for a while.
2021-06-16 17:41:34 +02:00
Liso
c47313db65
Shadow mapping render pass ( #11244 )
...
Co-authored-by: x2048 <codeforsmile@gmail.com>
2021-06-06 18:51:21 +02:00
DS
8f085e02a1
Add metatables to lua vectors ( #11039 )
...
Add backwards-compatible metatable functions for vectors.
2021-06-04 21:22:33 +02:00
sfan5
e15cae9fa0
fontengine: Fix crash loading PNG/XML fonts from paths without dot
...
fixes #11096
2021-06-01 19:47:41 +02:00
SmallJoker
c9144ae5e2
Add core.compare_block_status function ( #11247 )
...
Makes it possible to check the status of the mapblock in a future-extensible way.
2021-05-30 20:24:12 +02:00
Lars Müller
89f3991351
Fix base64 validation and add unittests ( #10515 )
...
Implement proper padding character checks
2021-05-30 20:23:12 +02:00
sfan5
f30dcdb504
Fix procession ordering issue in content_cao
2021-05-30 11:40:14 +02:00
sfan5
758e3aa1ca
Fix background color of formspec text fields
2021-05-30 11:40:14 +02:00
sfan5
a0047d6edc
script: Replace calls to depreated luaL_openlib
2021-05-30 11:40:14 +02:00
sfan5
a12017c564
Provide exact error message if postgres connection string missing
2021-05-30 11:40:14 +02:00
SmallJoker
5bf72468f3
UnitSAO: Prevent circular attachments
2021-05-29 11:44:48 +02:00
Wuzzy
ff48619a85
Fix cloud fog being broken for high clouds
2021-05-29 11:44:31 +02:00
savilli
673c29f7ea
Fix client crash on when con::PeerNotFoundException is thrown ( #11286 )
2021-05-24 19:40:35 +02:00
SmallJoker
93f43c890b
GUIEditBox: Allow selecting and copying read-only texts
2021-05-22 14:39:41 +02:00
sfan5
b56a028d6b
Fix curl_timeout being ignored for Lua HTTP fetches
2021-05-17 17:12:30 +02:00
Dmitry Marakasov
53dca4f95f
Use --image-base instead of -Ttext-segment for lld linker on FreeBSD ( #9367 ) ( #11263 )
2021-05-15 10:15:03 +02:00
sfan5
2443f1e235
Fix overlays for 2D-drawn items
...
fixes #11248
2021-05-08 19:44:43 +02:00
lhofhansl
7c2826cbc0
Fix build for newer versions of GCC ( #11246 )
2021-05-06 19:24:30 +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
sfan5
08f1a7fbed
Use Irrlicht functions to query npot texture support
2021-05-05 22:49:44 +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
ccdd886e27
refacto: Hud: make driver, client, player, inventory, tsrc private & drop unused guienv
...
also fix c_content.h, on client it includes the src/client/hud.h instead of src/hud.h, which leads to wrong file dependency on the lua stack
2021-05-03 19:49:19 +02:00
Loic Blot
a47a00228b
refacto: drop unused Hud::smgr
2021-05-03 19:49:19 +02:00
Loic Blot
809e68fdc0
refacto: don't use RenderingEngine singleton on CAO
...
* we don't need on CAO side more than SceneManager, and temporary. Pass only required SceneManager as a parameter to build CAO and add them to the current scene
* Use temporary the RenderingEngine singleton from ClientEnvironment, waitfor for better solution
* Make ClientActiveObject::addToScene virtual function mandatory to be defined by children to ensure we don't forget to properly define it
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
258101a910
refacto: RenderingEngine is now better hidden
...
* No more access to the singleton instance from everywhere (RenderingEngine::get_instance dropped)
* RenderingEngine::get_timer_time is now non static
* RenderingEngine::draw_menu_scene is now non static
* RenderingEngine::draw_scene is now non static
* RenderingEngine::{initialize,finalize} are now non static
* RenderingEngine::run is now non static
* RenderingEngine::getWindowSize now have a static helper. It was mandatory to hide the global get_instance access
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
Vincent Robinson
074e6a67de
Add minetest.colorspec_to_colorstring
( #10425 )
2021-04-23 21:37:24 +02:00
sfan5
3e2145d662
Fix two CMake build issues
...
* PostgreSQL fallback code missed the includes (closes #11219 )
* build failed when Freetype enabled but not found
2021-04-21 20:26:43 +02:00
sfan5
a24899bf2d
Look for PostgreSQL library properly and fix CI
2021-04-20 19:50:34 +02:00
sfan5
1da73418cd
Enable cleanTransparent filter for mipmapping and improve its' algorithm ( #11145 )
2021-04-20 19:50:19 +02:00
Wuzzy
90a7bd6a0a
Put torch/signlike node on floor if no paramtype2 ( #11074 )
2021-04-20 19:50:03 +02:00
Seth Traverse
16e5b39e1d
Add a key to toggle map block bounds ( #11172 )
...
It's often useful to know where the map block boundaries are for doing server admin work and the like.
Adds three modes: single mapblock, range of 5, and disabled.
2021-04-20 19:23:31 +02:00
sfan5
0077982fb7
GLES fixes ( #11205 )
...
* Consistently set float precision for GLES
* Enable DPI scaling on Windows+GLES
2021-04-18 16:07:13 +02:00
sfan5
623f0a8613
Isolate library tables between sandbox and insecure env
2021-04-18 16:06:42 +02:00
sfan5
52c0384bd1
Fix ignored OpenGLES2 include path and cmake warning
2021-04-16 23:39:16 +02:00
SmallJoker
bbe120308f
Attachments: Avoid data loss caused by set_attach() in callbacks ( #11181 )
2021-04-13 20:02:18 +02:00
sfan5
4d0fef8ae8
Buildbot changes to allow out-of-tree builds ( #11180 )
...
* Do proper out-of-tree builds with buildbot
* Don't write to bin/ for cross builds
* This allows safely building multiple builds from the same source dir, e.g. with the buildbot.
* Disable Gettext (by default) and Freetype (entirely) for server builds
2021-04-11 17:10:06 +02:00
Wuzzy
4b8209d9a4
Modifying fall damage via armor group ( #11080 )
...
Adds a new fall_damage_add_percent armor group which influences the fall damage in addition to the existing node group.
2021-04-11 17:09:37 +02:00
sfan5
0abc1e98ed
Fix server favorites not saving when client/serverlist/ doesn't exist already ( #11152 )
2021-04-09 22:36:10 +02:00
Wuzzy
e89e6c8380
Don't reseed stars when changing star count
2021-04-09 22:33:45 +02:00
yw05
85163b531f
Make edit boxes respond to string input (IME) ( #11156 )
...
Make edit boxes respond to string input events (introduced in minetest/irrlicht#23 ) that are usually triggered by entering text with an IME.
2021-04-05 15:56:29 +02:00
sfan5
19c283546c
Don't apply connection timeout limit to locally hosted servers
...
fixes #11085
2021-04-05 15:21:43 +02:00
SmallJoker
c11208c4b5
Game: Scale damage flash to max HP
...
The flash intensity is calculated proportionally to the maximal HP.
2021-04-05 13:38:50 +02:00
sfan5
f0bad0e2ba
Reserve vectors before pushing and other code quality changes ( #11161 )
2021-04-05 13:38:31 +02:00
sfan5
024d47e0d3
CGUITTFont optimizations ( #11136 )
2021-04-02 00:20:16 +02:00
sfan5
34888a914e
Sort out cURL timeouts and increase default
2021-04-02 00:19:39 +02:00
sfan5
1e4913cd76
Irrlicht support code maintenance
2021-03-31 13:15:47 +02:00
sfan5
0d90ed6d92
Draw items as 2D images (instead of meshes) when possible
2021-03-30 21:50:39 +02:00
Lars Müller
88d1fcfe23
Block & report player self-interaction ( #11137 )
2021-03-30 21:49:50 +02:00
SmallJoker
f4118a4fde
Consistent title bar + render information in mainmenu ( #10764 )
2021-03-30 21:49:15 +02:00
Wuzzy
6c9be39db0
Fix wield image of plantlike_rooted ( #11067 )
2021-03-30 00:27:46 +02:00
Vitaliy
3b78a22371
Degrotate support for mesh nodes ( #7840 )
2021-03-30 00:25:11 +02:00
sfan5
8d89f5f0cc
Replace fallback font nonsense with automatic per-glyph fallback ( #11084 )
2021-03-29 19:55:24 +02:00
Loic Blot
298bb3d8f7
Drop irrUString from MT, it's owned by irrlicht now
2021-03-26 20:58:45 +01:00
Desour
437d011968
Fix attached-to-object sounds having a higher reference distance
2021-03-23 15:43:40 +01:00
sfan5
2da1eee394
Fix broken BiomeGen
abstraction ( #11107 )
2021-03-23 15:43:26 +01:00
Jean-Patrick Guerrero
c9eba8440d
Fix segfault for model[] without animation speed
2021-03-21 23:23:30 +01:00
Vitaliy
44ed05ddf0
Restore minimal normal texture support (for minimap shading)
2021-03-21 23:22:22 +01:00
sfan5
531e7ef8eb
Serialize tool capabilities JSON without whitespace
...
fixes #11087
2021-03-20 22:06:17 +01:00
SmallJoker
05719913ac
Schematic: Properly deal with before/after node resolving and document ( #11011 )
...
This fixes an out-of-bounds index access when the node resolver was already applied to the schematic (i.e. biome decoration).
Also improves the handling of the two cases: prior node resolving (m_nodenames), and after node resolving (manual lookup)
2021-03-20 13:02:15 +01:00
Elias Fleckenstein
492110a640
Check for duplicate login in TOSERVER_INIT handler ( #11017 )
...
i.e. checks for duplicate logins before sending all media data to the client.
2021-03-19 21:45:29 +01:00
Elias Åström
59a1b53d67
Scale mouse/joystick sensitivity depending on FOV ( #11007 )
2021-03-19 21:43:01 +01:00
sfan5
96d4df995c
Drop old text input workarounds ( #11089 )
...
* Drop unused intlGUIEditBox
* Drop unnecessary Linux text input workarounds
2021-03-19 18:44:32 +01:00
Jean-Patrick Guerrero
285ba74723
GUIScene: Clear depth buffer + replace deprecated clearZBuffer calls
2021-03-16 23:28:16 +01:00
Jean-Patrick Guerrero
66b5c08664
Fix deprecated calls with Irrlicht 1.9
2021-03-16 23:27:15 +01:00
Wuzzy
62e3593944
Tweak duration_to_string formatting
2021-03-16 18:37:46 +01:00
sfan5
051bc9e662
Enable Irrlicht debug logging with --trace
2021-03-12 20:56:02 +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
sfan5
bb1c4badfb
Clean up cmake DLL installation and other minor things
2021-03-12 20:55:51 +01:00
sfan5
91c9313c87
Switch Irrlicht dependency to our own fork
...
-> https://github.com/minetest/irrlicht
2021-03-09 21:53:17 +01:00
sfan5
3579dd2186
Restore Irrlicht 1.9 support
2021-03-09 21:53:17 +01:00
sfan5
bf8fb2672e
Use place_param2 client-side for item appearance & prediction ( #11024 )
2021-03-09 00:56:53 +01:00
SmallJoker
176f5866cb
Protect dropping from far node inventories
...
Also changes if/if to switch/case
2021-03-07 17:18:02 +01:00
SmallJoker
fc864029b9
Protect per-player detached inventory actions
2021-03-07 17:18:02 +01:00
sfan5
593d5f4465
Clean up ClientEvent hudadd/hudchange internals
2021-03-06 23:02:10 +01:00
sfan5
1c7b69f9cf
Fix function override warnings in mg_ore.h
2021-03-06 14:21:08 +01:00
Vitaliy
abb0c99a6c
Pause animations while game is paused ( #10658 )
...
Pauses all mesh animations while game is paused.
2021-03-05 16:30:01 +01:00
Wuzzy
cafad6ac03
Translate builtin ( #10693 )
...
This PR is the second attempt to translate builtin.
Server-sent translation files can be added to `builtin/locale/`, whereas client-side translations depend on gettext.
2021-03-05 16:29:48 +01:00
sfan5
ac8ac19169
Protect mg_name and mg_flags from being set by Lua ( #11010 )
2021-03-04 20:38:28 +01:00
SmallJoker
3a2f55bc19
Settings: Push groups in to_table as well
2021-03-01 12:14:41 +01:00
hecks
225e69063f
Keep mapblocks in memory if they're in range ( #10714 )
...
Some other minor parts of clientmap.cpp have been cleaned up along the way
2021-02-26 21:23:46 +01:00
savilli
3edb1ddb81
Fix hud_change and hud_remove after hud_add ( #10997 )
2021-02-26 21:21:20 +01:00
Lars Müller
b5eda416ce
Slap u64 on everything time-y ( #10984 )
2021-02-24 12:05:17 +01:00
rubenwardy
9f6167fc3b
Deprecate not providing mod.conf
2021-02-24 11:47:50 +01:00
Wuzzy
827224635b
Use "Aux1" key name consistently everywhere
2021-02-24 11:45:30 +01:00
sfan5
9b59b2f75d
Fix keyWasDown in input handler
...
This was changed 291a6b70d674d9003f522b5875a60f7e2753e32b but should have never been done.
2021-02-23 19:41:38 +01:00
DS
4abe4b87b5
Allow overwriting media files of dependencies ( #10752 )
2021-02-23 19:39:15 +01:00
savilli
29681085b9
Fix wrong number of items in allow_metadata_inventory_put/take callbacks ( #10990 )
2021-02-23 19:36:55 +01:00
updatepo.sh
e86fbf9c06
Update minetest.conf.example and dummy translation file
2021-02-23 19:03:34 +01:00
SmallJoker
bce875fada
Minimap: Fix default label translations
2021-02-22 20:25:16 +01:00
Lars Müller
051e4c2b00
Fix wrong reported item counts for inventory actions using Shift-Move ( #10930 )
2021-02-21 20:02:23 +01:00
Wuzzy
e441ab9675
Fix world-aligned node rendering at bottom ( #10742 )
2021-02-19 19:45:36 +01:00
rubenwardy
f85e9ab925
Add nametag background setting and object property ( #10937 )
2021-02-17 19:51:28 +00:00
rubenwardy
a8f6befd39
Fix short_description fallback order ( #10943 )
2021-02-17 18:53:44 +00:00
SmallJoker
7832b6843e
Server-side authority for attached players ( #10952 )
...
The server must have authority about attachments. This commit ignores any player movement packets as long they're attached.
2021-02-15 20:41:19 +01:00
sfan5
f018737b06
Fix segfault with invalid texture strings and minimap enabled
...
closes #10949
2021-02-14 11:28:02 +01:00
SmallJoker
375bcd65c1
Send attachments instantly before set_pos ( #10235 )
2021-02-12 20:54:06 +01:00
Jean-Patrick Guerrero
1d64e6537c
Pause menu: Fix segfault on u/down key input
2021-02-08 18:56:51 +01:00
Jean-Patrick Guerrero
6591597430
Fix animation_image support in scroll containers
2021-02-08 00:04:38 +00:00
rubenwardy
857dbcd572
Reduce empty translation error to infostream
...
Fixes #10905
2021-02-07 16:03:48 +00:00
rubenwardy
3a8c37181a
Use consistent temp folder path ( #10892 )
2021-02-07 15:27:24 +00:00
Vitaliy
4caf156be5
Rewrite touch event conversion ( #10636 )
2021-02-07 11:48:30 +01:00
Muhammad Rifqi Priyo Susanto
3ac07ad34d
Fall back to default when rendering mode (3d_mode) is set invalid ( #10922 )
2021-02-06 13:47:12 +01:00
rubenwardy
fbb9ef3818
Reduce ore noise_parms error to deprecation warning ( #10921 )
...
Fixes #10914
2021-02-06 13:46:45 +01:00
sfan5
0f74c7a977
Fix double free caused by CGUITTFont code
...
This partially reverts commit 2072afb72b4b3e9c5dcbcec71d824aeae1b35d19.
fixes #10920
2021-02-06 13:34:56 +01:00
SmallJoker
d287da184c
Server: properly delete ServerMap on interrupted startups
...
A static mod error (e.g. typo) would abort the initialization but never free ServerMap
2021-02-05 18:38:34 +01:00
k.h.lai
2072afb72b
Fix memory leak detected by address sanitizer ( #10896 )
2021-02-02 20:56:24 +01:00
Vincent Robinson
f227e40180
Fix list spacing and size (again) ( #10869 )
2021-02-02 20:55:13 +01:00
sfan5
674d67f312
Encode high codepoints as surrogates to safely transport wchar_t over network
...
fixes #7643
2021-02-02 20:46:08 +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
5e392cf34f
Refactor utf8_to_wide/wide_to_utf8 functions
2021-02-02 20:46:08 +01:00
SmallJoker
7ebd5da9cd
Server GotBlocks(): Lock clients to avoid multithreading issues
2021-02-02 19:10:35 +01:00
sfan5
40ad976753
Revise dynamic_add_media API to better accomodate future changes
2021-02-01 23:00:13 +01:00