1
0

9735 Commits

Author SHA1 Message Date
Maksym H
1c1acc3cfb Mobile: use SDL_IsTablet() to determine the device type 2023-08-22 02:08:13 +03:00
Maksym H
8daac0ba49 TouchScreenGUI: minor fixes 2023-08-16 14:05:41 +03:00
Maksym H
27548f8b13 Update MultiCraft Font 2023-08-16 14:04:26 +03:00
Maksym H
9022560e8c Apple: update 2023-08-11 13:36:02 +03:00
Maksym H
d72f9f86fc MainMenu: remove legacy tab 2023-08-11 01:18:04 +03:00
Daroc Alden
8e918bb322 Fix undefined behavior in TileLayer (#12125)
Initialize the values properly
2023-08-08 16:11:27 +03:00
Maksym H
75452a9e9a
MainMenu improvements and cleanup (#141)
Co-authored-by: luk3yx <luk3yx@users.noreply.github.com>
2023-08-04 14:33:33 +03:00
Maksym H
803428eaff Decrease sneak margin to fix phasing through thin walls 2023-08-03 01:16:43 +03:00
Maksym H
0b4dda3c4a Simplify hasNPotSupport() check 2023-08-03 01:13:32 +03:00
Maksym H
8d4be71810 Windows: update 2023-08-01 02:02:59 +03:00
luk3yx
73680423f5
Prevent suffocation in plantlike nodes 2023-07-30 19:57:03 +03:00
Deve
9c5c0dcd3c
TouchScreenGUI: handle screen resizing and fix memory leaks 2023-07-30 19:56:10 +03:00
Maksym H
4e2d7463cd Android: minor update 2023-07-08 18:19:24 +03:00
Maksym H
63fa8c286f Add hasNPotSupport() check in getTexture() function 2023-07-05 00:54:42 +02:00
Maksym H
01610cb845 macOS: minor update 2023-06-27 01:48:52 +03:00
luk3yx
2422c202d3 Log the name of entities that can't be added 2023-06-23 20:29:12 +12:00
luk3yx
476d65034f dlg_create_world.lua: Fix scrollbar slider 2023-06-20 14:02:13 +12:00
luk3yx
d12f19fabf Add no_change_anim group 2023-06-19 19:18:24 +12:00
Maksym H
d2408a9324 Android: minor update 2023-06-12 21:14:29 +03:00
Maksym H
9b1209a68a Disable joysticks without SDL2 2023-06-08 10:54:45 +03:00
luk3yx
f22951ab2b
Add pressed inventory slot background image 2023-06-07 01:28:41 +03:00
luk3yx
88c52130f8
Scale statbar background texture correctly when its resoltuion differs 2023-06-06 10:37:16 +03:00
Maksym H
58f63ae4a7 Apple: switch to MultiCraft Font 2023-06-05 15:26:53 +03:00
Deve
a38f163db9
Add build scripts for Windows using MSYS2 (#130) 2023-05-23 23:36:06 +02:00
Maksym H
a1b7c739db Remove formspec opacity in the ConfirmRegistration dialog 2023-05-21 14:25:23 +02:00
Deve
8ebb6c2cb3
Add SDL game controller support (#105) 2023-05-21 14:16:14 +02:00
luk3yx
ad9233b32b Don't crash on mod directories without init.lua 2023-05-21 21:19:39 +12:00
Maksym H
271254aef2 Improve the size of the loading progress bar (on GLES) 2023-05-17 14:39:25 +02:00
Deve
9c6495b695
Add a fix for inventory that can't be open in some cases
The forceUpdateHoveredElement() forces GUI Environment to drop previously
grabbed elements that are not hovered anymore.
2023-05-17 00:26:18 +02:00
luk3yx
cd784ebf81 New world list (#135) 2023-05-16 11:00:55 +02:00
luk3yx
1558a2df54 Add list[] bgimg 2023-05-11 21:16:20 +12:00
Maksym H
9e77da9f8c Android: minor update 2023-05-06 02:18:49 +03:00
Maksym H
7321f08e59 Version 2.0.4-release 2.0.4 2023-05-05 22:15:35 +03:00
Deve
7e7420c5e7
Chat console fixes (#133)
* Some fixes for text selection in chat.

- Reset selection on chat open
- Reset selection on new message
- Reset selection when window size changed

* Don't move to bottom when user is scrolling chat

* Some work on prompt selection

* Make it working when text length is larger than max visible length

* Handle touch events for prompt

* Avoid moving chat history on new messages during scrolling.

Also simplify selection marks comparing.

* Move scroll to bottom on sending new message when console is opened without close on enter

* Fixed copy to clipboard when chat buffer is full and also keep text selected when new message arrives

* Some improvements for prompt selection

* Delete selected text on new input or backspace key press

* Fixed text selection and cursor pos for regular font

* Fixed drawing prompt with newlines

* Fixed empty prompt selection with ctrl+a

* Enable chat console on android tablets
2023-05-05 22:13:08 +03:00
Maksym H
0de69ddffb Switch to `ephemeral' sounds of eating and picking up items 2023-04-29 14:53:50 +03:00
Maksym H
e3bb04d341 Builtin: localize a few functions 2023-04-29 01:13:10 +03:00
Maksym H
aed73dc4ba Update minimap textures 2023-04-27 14:21:55 +03:00
Maksym H
16f8808d92 Change main menu scrollbar style 2023-04-25 21:05:45 +03:00
luk3yx
a35f56d080 Use separate top/bottom textures for chat scrollbar 2023-04-24 07:54:40 +12:00
Maksym H
4bcf35116f Fix MinGW Action 2023-04-19 12:34:00 +03:00
luk3yx
ccd62bace8
Allow table and textarea scrollbars to be customised (#129) 2023-04-19 09:21:25 +12:00
SmallJoker
283ef62ab0 Limit formspec fields to 640K (#13380)
Fixes an issue where long inputs could cause issues when dealing with formspecs.
The expected data is usually below 1 KiB, however that's not a technical limit.
2023-04-09 19:15:04 +12:00
luk3yx
ec591224a9 Enable strip_color_codes by default 2023-03-27 21:26:31 +13:00
luk3yx
b8a9eec8e2
Improve main menu (#121)
Co-authored-by: Maksym H <Maksym48@pm.me>
2023-03-26 15:34:50 +03:00
Deve
a3f08fe31f
Chat console improvements (#124) 2023-03-24 11:05:35 +02:00
luk3yx
0019930f27 New SSCSM minifier 2023-03-23 09:35:36 +13:00
Deve
2249e49f1b
Fix left shift key in the change menu (#128)
* Set shift_down false when it's not pressed anymore

* Prefer character only if Char is not 0 which does not happen in SDL anyway
2023-03-17 15:15:26 +02:00
luk3yx
aae3837222 Catch InvalidPositionException in get_natural_light 2023-03-14 18:53:36 +13:00
Vincent Robinson
685a78c18b Add math.round and fix vector.round (#10803) 2023-03-14 00:21:26 +01:00
luk3yx
4f93cf68cc Make guiVolumeChange use custom scrollbar 2023-03-08 13:12:05 +13:00