Bektur
cbb0bc2f53
Simplifying the drawing of the progress bar ( #96 )
...
Co-authored-by: Maksym H <Maksym48@pm.me>
2022-09-08 21:28:25 +03:00
luk3yx
4918f6a50f
Improve change keys, change volume and change password menus ( #94 )
...
Co-authored-by: Maksym H <Maksym48@pm.me>
2022-09-08 12:52:31 +03:00
luk3yx
087a56cf06
Don't crash with a negative length in particle definitions
2022-09-07 20:51:07 +12:00
Deve
fe5495288e
macOS: use SDL2 ( #90 )
2022-09-02 00:26:24 +03:00
Maksim
7624c29d96
Improve HUD text scaling
2022-08-20 22:12:54 +03:00
Maksim
ee2ebbfb91
Improve Pause menu
2022-08-20 22:03:42 +03:00
luk3yx
a6299e1cb5
Remove C++ wielded item status text
...
This clashes with the status text in some games that implement the same
thing in Lua
2022-08-14 10:11:50 +12:00
Maksim
bd4b420ccd
Minor changes and fixes
2022-08-08 00:31:01 +02:00
luk3yx
c658140b4b
Add string.buffer
to Lua environment (if it exists)
2022-08-06 23:00:45 +02:00
luk3yx
17f710bfd5
Send SSCSMs in singleplayer and add more APIs to SSCSM sandbox ( #72 )
2022-08-05 20:53:08 +02:00
AFCMS
fdd2efbbbe
Add minetest.settings
to CSM API and allow CSMs to provide settingtypes.txt
( #12131 )
...
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2022-08-04 11:39:06 +12:00
sfan5
735b01bd5f
Protect a few more settings from being set from mods
...
Of those settings main_menu_script has concrete security impact, the rest are added out of abundance of caution.
2022-08-03 19:34:20 +12:00
sfan5
36883505da
Protect mg_name and mg_flags from being set by Lua ( #11010 )
2022-08-03 19:34:15 +12:00
luk3yx
fb78a8a0cd
Add update reminder ( #49 )
...
Co-authored-by: Maksym <Maksym48@pm.me>
Co-authored-by: ubulem <berkut87@gmail.com>
2022-08-02 09:48:01 +02:00
x2048
0fed6077fe
Use legacy image implementation (no NNAA filter) when not using 9-slice image ( #12608 )
2022-08-01 17:33:59 +12:00
luk3yx
65dc4b42d3
Mobile: add change language dropdown and reset settings button ( #75 )
2022-07-29 13:12:22 +02:00
Maksym H
1c19f6069f
Drop the mobile_friendly
server feature ( #79 )
2022-07-28 17:53:11 +02:00
luk3yx
e22b748ce9
Only log large invalid JSON strings when built in debug mode
2022-07-22 19:04:49 +12:00
Maksim
17ebe562a3
Android: minor update
2022-07-13 14:07:19 +03:00
Wuzzy
f9d97b5d05
Tweak duration_to_string formatting
2022-07-12 00:07:19 +03:00
luk3yx
357d3aaf8e
Make /setspawn world specific ( #67 )
2022-07-06 22:15:27 +03:00
Maksim
7b0794d243
Temporary fix for the transparent particles glitch
2022-07-03 23:35:56 +03:00
Vincent Robinson
0bfc98fe26
Backport (II): "FormSpec: 9-slice images, animated_images, and fgimg_middle ( #12453 )"
...
* FormSpec: 9-slice images and animated_images
* Add fgimg_middle; clean up code
* Address issues, add tests
* Fix stupid error; bump formspec version
* Re-add image[] elements without a size
2022-07-03 21:31:56 +03:00
luk3yx
f09359eb58
Fix drowning in minetest_game doors ( #66 )
...
Fixes #65
2022-07-02 22:32:53 +03:00
luk3yx
3cf9c06ae4
Mobile: don't stretch formspec to entire screen if it has a tabheader ( #62 )
2022-06-22 09:00:28 +03:00
Maksym
3991e90bbc
Update MainMenu and replace tabs on buttons ( #61 )
...
Co-authored-by: luk3yx <luk3yx@users.noreply.github.com>
2022-06-17 20:39:48 +03:00
Maksim
fbd1c6b88d
Backport: "FormSpec: 9-slice images, animated_images, and fgimg_middle ( #10265 )"
...
Co-Authored-By: Vincent Robinson <robinsonvincent89@gmail.com>
2022-06-15 10:45:38 +03:00
luk3yx
d6c82c3f7c
Improve main menu ( #60 )
...
Co-authored-by: Maksim <Maksym48@pm.me>
2022-06-14 12:02:40 +03:00
paradust7
e621d5b02c
Inline triLinearInterpolationNoEase and triLinearInterpolation ( #12421 )
...
Performance profiling on Linux AMD64 showed this to be a significant bottleneck. The non-inlined functions are expensive due to XMM registers spilling onto the stack.
2022-06-13 17:16:45 +12:00
Maksim
e66d7fd516
Android: fix few crashes
2022-06-12 19:13:47 +03:00
Maksim
afea7abc41
TouchScreenGUI: minor fixes
2022-06-08 19:59:05 +02:00
Maksim
9cc76e96af
Minor fixes
2022-06-07 23:57:24 +02:00
Maksim
c71df1d735
Update MultiCraft Font
2022-06-04 17:47:21 +02:00
luk3yx
4765019103
Stop main menu and CSM formspec input errors from crashing the game entirely on Android
2022-05-30 19:50:22 +12:00
Maksim
2d0b2e7ea7
Minor changes and fixes
2022-05-28 15:39:25 +03:00
Lars Müller
00063a721b
Slap u64 on everything time-y ( #10984 )
2022-05-25 19:03:55 +12:00
Maksim
4047be93db
Use built-in methods for deletion in RecursiveDelete
2022-05-19 09:14:54 +03:00
Maksim
941fcdd97e
TouchScreenGUI: fix rare crash
2022-05-13 02:24:46 +03:00
luk3yx
b23c5b02ba
Fix noclip check on servers
2022-05-13 10:58:54 +12:00
luk3yx
a7d881cb10
Fix visual = "wielditem" compatibility with MT 0.4.15
...
MT 0.4.15 is only able to interpret the item name, if an item count or
metadata is sent in textures then MT 0.4.15 and older would show the
item as an unknown item.
2022-05-12 10:40:01 +12:00
DS
635e2893ad
Fix client-side performance of chat UI ( #11612 )
2022-05-11 00:24:52 +03:00
sfan5
0effd2e7a8
Clean up some auth packet handling related code
2022-05-08 17:57:02 +12:00
sfan5
33e2be6bd2
Fix password changing getting stuck if wrong password is entered once
2022-05-08 17:56:57 +12:00
sfan5
686a119e0f
Apply disallow_empty_password to password changes too
2022-05-08 17:56:52 +12:00
sfan5
d4b2acdecf
Fix race condition in registration leading to duplicate create_auth calls
2022-05-08 17:56:47 +12:00
x2048
b2cf6c7f9c
Avoid rendering invisible faces of simple nodeboxes ( #12262 )
...
* Skip rendering faces adjacent to opaque nodes
* Cancel out opposite faces of adjacent nodebox nodes of the same type
Fixes #6409
2022-05-05 19:06:36 +12:00
sfan5
cd702ab664
Fix find_nodes_in_area misbehaving with out-of-map coordinates ( #11770 )
...
This ensures that no overflows (side-effects) happen within the find_nodes_in_area function by limiting coordinates like done in the map generation code.
2022-05-03 09:51:49 +12:00
SmallJoker
d9bd1bac7b
OpenAL: Free buffers on quit
2022-05-02 09:58:41 +03:00
Jude Melton-Houghton
ad2e053f17
Optimize swapping nodes with equivalent lighting
2022-04-30 08:44:25 +12:00
numzero
745b858bae
Reset environment metadata if it is unreadable
2022-04-29 23:33:23 +03:00
luk3yx
f91eca1e5e
Add platform information to get_player_information ( #50 )
2022-04-27 09:24:40 +03:00
luk3yx
e739e47273
Better formspec prepend hack for 0.4 clients
2022-04-18 10:54:21 +12:00
Maksim
98f2fc92df
Minor fixes and changes
2022-04-10 13:20:59 +02:00
Maksim
aee23e4940
Minor GUI scaling fixes
2022-04-10 13:20:59 +02:00
Maksim
bbd89e8332
Update Github Actions
2022-04-10 13:20:59 +02:00
Maksim
aea47b3afe
TouchScreenGUI: minor fixes
2022-04-09 12:45:35 +02:00
luk3yx
f8f32cc628
Make protocol version <37 compatibility a setting
2022-04-08 18:58:07 +12:00
luk3yx
feb71c65e3
Improve change password UI ( #46 )
2022-04-01 10:20:19 +02:00
Maksim
f19a76ff3e
Few improvements to GUI scaling
...
Co-Authored-By: Vitaliy <numzer0@yandex.ru>
2022-03-31 17:32:03 +02:00
numzero
82236ebc1d
Render pressed as also hovered on touchscreen
2022-03-31 13:53:50 +02:00
Maksim
f8734ade48
Mobile: minor hud scaling improvements
2022-03-17 00:37:13 +02:00
Maksim
f83601b937
TouchScreenGUI: minor improvements
2022-03-17 00:37:13 +02:00
luk3yx
5722b9ad23
Switch to MultiCraft server list ( #43 )
...
Co-authored-by: Maksim <MoNTE48@mail.ua>
2022-03-11 08:49:13 +01:00
Maksim
3b200d6e48
Update MainMenu look
2022-03-08 10:23:00 +01:00
Maksim
6950a3b9a1
Fix few GLES issues
2022-03-06 18:42:33 +01:00
Maksim
d08c6f4af7
Remove GLES Normal matrix code
...
Co-Authored-By: Vitaliy <numzer0@yandex.ru>
2022-03-06 12:04:03 +01:00
numzero
79f889496c
Check block mesh existence each frame
...
Apparently it may be dropped in the meanwhile
2022-03-04 08:12:54 +01:00
Maksim
abd1063cdf
Localplayer: fix fall bobbing, disable old move code, fix sneak eye offset
2022-02-27 21:22:50 +01:00
Maksim
46bd318b38
Mobile: remove aux1 holding hack
2022-02-27 16:50:32 +01:00
Bektur
d974b14e2c
Android: handle errors in debug.cpp ( #42 )
2022-02-27 10:55:50 +01:00
Vitaliy
e0b0513465
Transparency sorting for DrawList and Materials ( #41 )
2022-02-25 17:23:03 +01:00
Bektur
db273c4645
Android: latest bugfixes and features ( #39 )
...
Co-authored-by: Maksim <MoNTE48@mail.ua>
2022-02-20 23:59:43 +01:00
Vitaliy
e03170fb77
Mobile: fix spurious double-taps ( #38 )
2022-02-17 22:59:57 +02:00
Vitaliy
225c5ea912
Fix wieldmesh transparency ( #36 )
...
* Drop bumpmapping support
* Internalize postProcessNodeMesh and drop unused parameters
* Fix wieldmesh transparency
2022-02-16 18:18:23 +02:00
Vitaliy
5eab298e51
Fix fog disable ( #24 )
2022-02-11 14:29:32 +02:00
TheBrokenRail
5cf79ce632
Touch UI support for desktop builds ( #10729 )
2022-02-06 22:42:54 +02:00
sfan5
d08faa6e5d
Validate staticdata and object property length limits
...
Some games provide users with enough freedom to create items
with metadata longer than 64KB, preventing this from causing
issues is on them but we'll still do the minimum not to abort
the server if this happens.
2022-02-07 09:25:35 +13:00
Vitaliy
eda0178885
Fix memory leak when CSM blocks inventory opening ( #34 )
2022-02-04 15:27:13 +02:00
Maksim
2d406b8318
Disable SmokePuff spawn when a entity dies
2022-02-02 20:41:44 +02:00
luk3yx
dae831a223
Generate MT 0.4 character.b3d files at load time
...
These generated files are kept in RAM and not on disk.
2022-01-28 00:22:13 +01:00
MoNTE48
26a5aed0c4
Mobile: minor fixes
2022-01-27 00:35:15 +01:00
MoNTE48
c4d691600d
Re-enable core.get_server_status()
2022-01-27 00:08:42 +01:00
MoNTE48
2c0b370748
Update font
2022-01-27 00:08:42 +01:00
Vitaliy
77d590c58a
Optimize clouds ( #25 )
2022-01-24 01:08:32 +01:00
MoNTE48
73392bc567
Scale images in the table on the desktop
2022-01-24 01:04:35 +01:00
DS
f8fb722740
Use utf-8 for the Irrlicht clipboard ( #11538 )
2022-01-24 01:04:35 +01:00
luk3yx
eb535064ba
Add bit library to environment (with LuaJIT)
2022-01-11 10:33:52 +13:00
luk3yx
952471c8f8
Add ChaCha library
2022-01-09 13:52:31 +13:00
MoNTE48
9d4bda1cdf
HUD: property scale crosshair image
2021-12-31 00:35:04 +01:00
MoNTE48
bf9a01085e
Clear the item selection when receive an Inventory event
2021-12-31 00:35:04 +01:00
MoNTE48
2352512795
Mobile: fix KeyChangeMenu scaling
2021-12-30 00:44:30 +01:00
luk3yx
e7c44f2796
Allow changing inventory_items_animations from the main menu
...
If you try and change the setting from in-game you'll have to log out
and back in for it to update.
2021-12-30 12:30:49 +13:00
MoNTE48
8053b775e4
Remove broken TMPFolder
setting
2021-12-28 19:35:32 +01:00
MoNTE48
4cfc5a506f
OSX: minor fixes
2021-12-26 02:24:23 +01:00
MoNTE48
168acbd050
Hide driver name from window title
2021-12-26 02:23:01 +01:00
MoNTE48
d3ef0c30bc
Mobile: fix checkbox scaling
2021-12-18 00:33:21 +01:00
MoNTE48
d07f0a660d
Fix the time format in duration_to_string
2021-12-18 00:31:56 +01:00
MoNTE48
b90fe6bbc6
Fix position of the infotext
2021-12-04 23:47:06 +01:00
MoNTE48
cca13417fe
iOS: forced saving settings when connecting to the game
2021-12-04 23:47:06 +01:00
sfan5
75d755a331
Reserve vectors before pushing and other code quality changes ( #11161 )
2021-12-04 23:47:06 +01:00
sfan5
991cceaf16
Remove broken timeout behaviour
...
Code that relies on `resend_count` was added in 7ea4a03 and 247a1eb, but never worked.
This was fixed in #11607 which caused the problem to surface.
Hence undo the first commit entirely and change the logic of the second.
2021-12-04 23:47:06 +01:00
sfan5
b7f2ba0da2
Shave off buffer copies in networking code ( #11607 )
2021-12-04 23:47:06 +01:00
luk3yx
1a13324379
Add new functions
2021-12-04 23:47:06 +01:00
MoNTE48
9454597e32
Mobile: improve formspec scaling on large tablets
2021-12-02 10:12:03 +01:00
sfan5
667f1f2a2e
Fix "Could not create ITexture, texture needs to have a non-empty name" warning
2021-11-17 02:49:18 +02:00
MoNTE48
d6b01ab8ef
Revert "Prevent interacting with items out of the hotbar ( #10359 )"
2021-11-16 01:09:50 +02:00
MoNTE48
bd17b2f6d7
Fix compatibility with Irrlicht 1.9-dev
2021-11-04 00:30:52 +01:00
sfence
d40a598fe4
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-11-03 23:49:48 +01:00
luk3yx
a3e3f12900
Log approximate RAM usage of mods during startup (with --info)
2021-09-13 12:58:34 +02:00
Vitaliy
40bdb9c609
Pause animations while game is paused ( #10658 )
...
Pauses all mesh animations while game is paused.
2021-09-03 21:36:02 +12:00
MoNTE48
95e1e263c6
macOS: minor fixes
2021-08-30 22:53:49 +02:00
luk3yx
22cf4452c6
Make clang-format happy
2021-08-26 12:03:41 +12:00
lhofhansl
1c5ec55215
Fix build for newer versions of GCC ( #11246 )
2021-08-26 11:12:43 +12:00
luk3yx
8c2db140ce
Wipe metadata when placing schematics
...
This probably isn't very optimised but it works and doesn't seem to hold
things up a lot (but schematic placing is already quite fast so maybe it
would with larger schematics).
2021-08-11 10:15:18 +02:00
luk3yx
8398d7be17
Add node name to deprecation warnings
2021-08-02 08:33:44 +12:00
MoNTE48
0534d696f7
Merge MultiCraft Legacy changes
2021-07-25 12:06:24 +02:00
luk3yx
b1fa8f8e2b
Fix nametags being shown in first person
2021-07-25 12:06:24 +02:00
luk3yx
8f0dd004f1
Add minetest.load_translation to the main menu API
2021-07-25 12:06:24 +02:00
luk3yx
c0f4228096
Add core.sleep_ms to async main menu API
2021-07-25 12:06:24 +02:00
luk3yx
9bd686216a
Make it compile
2021-07-25 12:06:24 +02:00
luk3yx
1aabc2ca14
Merge tag '5.4.1' into main
...
5.4.1
2021-06-08 10:37:38 +12:00
HybridDog
4fbfe9443b
Add minetest.get_artificial_light and minetest.get_natural_light ( #5680 )
...
Add more detailed light detection functions, a function to get the artificial light (torches) and a function to get the sunlight as seen by the player (you can specify timeofday).
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2021-05-10 13:40:25 +02:00
luk3yx
d90bcc66d8
Fix drowning
2021-04-25 08:18:31 +12:00
Jean-Patrick Guerrero
42d1394ea4
Add GUIScene files
2021-04-17 23:52:58 +02:00
Jean-Patrick Guerrero
37278ff7f9
Bunch of optimizations
2021-04-17 21:04:47 +02:00
savilli
ae1d82c325
Fix hud_change and hud_remove after hud_add ( #10997 )
2021-04-09 22:05:22 +02:00
Vitaliy
1c89a07226
Restore minimal normal texture support (for minimap shading)
2021-04-09 22:04:51 +02:00
sfan5
43e262f13e
Don't apply connection timeout limit to locally hosted servers
...
fixes #11085
2021-04-05 16:02:47 +02:00
sfan5
e5f802ab5c
Fix server favorites not saving when client/serverlist/ doesn't exist already ( #11152 )
2021-04-05 16:02:32 +02:00
Lars Müller
847860fc5c
Block & report player self-interaction ( #11137 )
2021-04-05 16:01:27 +02:00
SmallJoker
77e936445f
Protect dropping from far node inventories
...
Also changes if/if to switch/case
2021-04-05 16:01:21 +02:00
SmallJoker
41beb74ef7
Protect per-player detached inventory actions
2021-04-05 16:01:15 +02:00
Jean-Patrick Guerrero
27c0663894
Faster scroll_container
2021-03-15 10:45:24 +01:00
Jean-Patrick Guerrero
b5672f20f6
Customizable scrollbar
2021-03-15 10:45:24 +01:00
sfan5
a1e9311253
Fix integer-string conversion for shaders
...
closes #10605
2021-02-28 14:57:34 +01:00
Vitaliy
c123af8fc6
Shader support for OpenGL ES 2 devices
...
Co-authored-by: sfan5 <sfan5@live.de>
2021-02-28 14:57:34 +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
Lars
9f8c34c357
Remove all bump mapping and parallax occlusion related code.
2021-02-14 09:58:29 +01:00
hecks
924f7353cb
Remove "generate normal maps" feature ( #10313 )
...
Erase all traces of normal "generation" from fragment shaders
Remove the "feature" from the engine and default config
Remove any leftover documentation of it
2021-02-14 09:58:29 +01:00
mntmn
9b300d4978
shaders: Fix transparency on GC7000L ( #10036 )
...
Workaround for the missing GL_ALPHA_TEST implementation in Mesa (etnaviv driver).
2021-02-14 09:58:28 +01:00