1
0

9812 Commits

Author SHA1 Message Date
luk3yx
035e35c962 Scale statbar background texture correctly when its resoltuion differs
(cherry picked from commit 88c52130f81db79756087ffd95cd38d0ad2756a0)
2023-08-10 22:45:28 -04:00
Maksym H
70df6b60c2 Apple: switch to MultiCraft Font
(cherry picked from commit 58f63ae4a77ff691555f3397263b9d908b6d4456)
2023-08-10 22:45:04 -04:00
Deve
3219db4e89 Add build scripts for Windows using MSYS2 (#130) 2023-08-10 22:44:08 -04:00
Maksym H
732281da4a Remove formspec opacity in the ConfirmRegistration dialog 2023-08-10 22:30:31 -04:00
Deve
8c5e0cb61f Add SDL game controller support (#105) 2023-08-10 21:18:19 -04:00
luk3yx
371c3d3115 Don't crash on mod directories without init.lua 2023-08-10 21:17:52 -04:00
Maksym H
46c24e6c47 Improve the size of the loading progress bar (on GLES) 2023-08-10 21:17:05 -04:00
Deve
fe35c3a31c 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-08-10 21:11:51 -04:00
luk3yx
1f26bfa168 New world list (#135) 2023-08-10 21:11:10 -04:00
luk3yx
c3f00dedc2 Add list[] bgimg 2023-08-10 21:10:54 -04:00
Maksym H
1150926130 Android: minor update 2023-08-10 20:50:33 -04:00
Maksym H
f69818097b Version 2.0.4-release 2023-08-10 17:52:48 -04:00
Deve
8cd48bd34f 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-08-10 17:52:35 -04:00
Maksym H
f58cf228ae Switch to `ephemeral' sounds of eating and picking up items 2023-08-10 17:52:23 -04:00
Maksym H
6156f4b0a8 Builtin: localize a few functions 2023-08-10 17:52:05 -04:00
Maksym H
4237754178 Update minimap textures 2023-08-10 17:47:21 -04:00
Maksym H
e3b85d1207 Change main menu scrollbar style 2023-08-10 17:47:10 -04:00
luk3yx
a1a38c20af Use separate top/bottom textures for chat scrollbar 2023-08-10 17:46:59 -04:00
Maksym H
25a36b9291 Fix MinGW Action 2023-08-10 17:46:30 -04:00
luk3yx
eded502651 Allow table and textarea scrollbars to be customised (#129) 2023-08-10 17:45:45 -04:00
SmallJoker
28f62eccab 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-08-10 17:45:31 -04:00
luk3yx
6da47b485c Enable strip_color_codes by default 2023-08-10 17:45:12 -04:00
luk3yx
c99e7bd5f0 Improve main menu (#121)
Co-authored-by: Maksym H <Maksym48@pm.me>
2023-08-10 17:44:35 -04:00
Deve
0db262d8be Chat console improvements (#124) 2023-08-10 17:44:11 -04:00
luk3yx
0db84b59d0 New SSCSM minifier 2023-08-10 17:39:35 -04:00
Deve
5e88542be6 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-08-10 17:39:13 -04:00
luk3yx
192f52f7c9 Catch InvalidPositionException in get_natural_light 2023-08-10 17:38:52 -04:00
Vincent Robinson
b92aa05c33 Add math.round and fix vector.round (#10803) 2023-08-10 17:38:23 -04:00
luk3yx
2f9c3e791e Make guiVolumeChange use custom scrollbar 2023-08-10 17:38:06 -04:00
Maksym H
cf99ce6b30 Make the console message height configurable 2023-08-10 17:17:14 -04:00
Maksym H
8d38855874 macOS: minor update 2023-08-10 17:10:57 -04:00
93785b726a Use SDL threads (#122) but seems only in androit
* backported from 245220985b
  for minenux
2023-08-10 17:10:36 -04:00
Maksym H
311c059bf8 Android: update dependencies 2023-08-10 17:06:05 -04:00
luk3yx
16a9de2fe2 Add .fast, .fly, .noclip and .pitch chatcommands (#120) 2023-08-10 17:05:56 -04:00
Maksym H
eb122a4e80 Minor engine changes and fixes 2023-08-10 17:05:42 -04:00
Maksym H
e4cb11e84b Temporary fix for MSVC Action 2023-01-24 23:33:04 +02:00
Deve
0df81d3e20
Add a possibility to copy text from non-writable edit box (#118) 2023-01-24 07:42:01 +02:00
luk3yx
22443daf2c SSCSM: Compress long messages 2023-01-18 12:12:50 +13:00
Maksym H
23844d8836 Mobile: minor legacy minimap tune 2023-01-17 12:55:16 +02:00
luk3yx
b5b0917f26
Main menu improvements (#117)
Co-authored-by: Maksym H <Maksym48@pm.me>
2023-01-12 00:37:26 +02:00
Maksym H
af36361f42 Android: rename initializePathsAndroid() to initializePaths() 2023-01-05 02:28:43 +02:00
Maksym H
141559689e Minor TouchScreenGUI fixes 2023-01-03 13:24:04 +02:00
Maksym H
93232becc0 Minor Hunger tune 2023-01-03 13:14:00 +02:00
sfan5
8c205f5bed Make fs::extractZipFile thread-safe 2022-12-21 12:52:26 +13:00
Loic Blot
1f4ff9cea6 fix: extractZipFile is not part of Client but more generic.
This solve a crash from mainmenu while extracting the zip
2022-12-21 12:52:20 +13:00
luk3yx
2a38a33ff8
Disable node_drop by default (#116)
* Drop `item_lava_destroy` builtin function
2022-12-20 09:58:52 +02:00
Maksym H
e8dc878d1f Fix and improve guiConfirmRegistration dialog 2022-12-16 14:32:50 +02:00
luk3yx
c820cb204a
Make MetaDataRef:get return nil instead of nothing (#114)
Co-authored-by: Jude Melton-Houghton <jwmhjwmh@gmail.com>
2022-12-13 08:00:12 +13:00
luk3yx
9985ffb2fc Fix metadata wiping when placing schematics 2022-12-11 13:21:48 +13:00
Maksym H
ccf20998f4
Android: move project files from build folder (#112) 2022-12-07 16:29:25 +02:00