1
0

6421 Commits

Author SHA1 Message Date
luk3yx
d12f19fabf Add no_change_anim group 2023-06-19 19:18:24 +12: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
1558a2df54 Add list[] bgimg 2023-05-11 21:16:20 +12: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
luk3yx
a35f56d080 Use separate top/bottom textures for chat scrollbar 2023-04-24 07:54:40 +12: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
Deve
a3f08fe31f
Chat console improvements (#124) 2023-03-24 11:05:35 +02: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
luk3yx
4f93cf68cc Make guiVolumeChange use custom scrollbar 2023-03-08 13:12:05 +13:00
Maksym H
314968723d Make the console message height configurable 2023-03-05 18:41:31 +01:00
Maksym H
896b90f600 Hide mapgen v6 from selection 2023-03-01 01:26:17 +01:00
Deve
245220985b
Use SDL threads (#122) 2023-02-26 15:22:42 +01:00
Maksym H
b97d9bf018 Minor engine changes and fixes 2023-01-26 10:32:51 +02:00
luk3yx
f2ca6a6ca5
Drop support for connecting to MT 0.4 servers 2023-01-25 06:34:27 +02:00
Deve
0df81d3e20
Add a possibility to copy text from non-writable edit box (#118) 2023-01-24 07:42:01 +02:00
Maksym H
23844d8836 Mobile: minor legacy minimap tune 2023-01-17 12:55:16 +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
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
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
13c4b3bd20
A new batch of MainMenu improvements (#110)
Co-authored-by: luk3yx <luk3yx@users.noreply.github.com>
2022-12-07 16:05:14 +02:00
luk3yx
c7bb8e5baf Translate error message before clearing translations 2022-11-27 11:09:20 +13:00
Maksym H
da679d619e Android: simplify input dialog 2022-11-24 20:57:03 +02:00
Maksym H
3f4adfd6bb Minor changes and fixes 2022-11-14 12:59:33 +01:00
Maksym H
75a5c0876e Disable progress bar texture overrides 2022-11-14 12:49:28 +01:00
Deve
b7a313a574 TouchScreenGUI: Better handle punch/interact 2022-11-14 00:54:03 +01:00
Maksym H
4b4946ca1e Improve debug logging 2022-11-14 00:46:46 +01:00
Maksym H
3d33abf1cd Yet another MainMenu improvements PR (#101)
* Yet another improvements instead of a complete redo

Co-authored-by: luk3yx <luk3yx@users.noreply.github.com>
2022-11-14 00:46:46 +01:00
Maksym H
a254814f11 TouchScreenGUI: use mouse_sensitivity setting instead of mouse_sensity 2022-11-11 22:24:06 +01:00
luk3yx
df9e57bf05 Add setting to disable texture packs 2022-11-12 10:20:32 +13:00
Deve
8535658791
Use raw pointer for sound manager (#107)
Use raw pointer for sound manager to avoid a crash in destructor after exit(0)
2022-11-07 10:57:20 +01:00
Bektur
3ecb0895aa
Extend API and add get_secret_key for secure operations (#84)
Co-authored-by: luk3yx <luk3yx@users.noreply.github.com>
2022-10-29 13:31:21 +03:00
Maksym H
e9157515b9
Android: add mouse support (#102)
Co-authored-by: Deve <deveee@gmail.com>
2022-10-24 13:31:08 +03:00
Maksym H
8f74118a43 Simplify double jump for fly function 2022-10-21 20:39:38 +03:00
luk3yx
dd5407e0cb
Allow extracting password-protected zips (#104) 2022-10-18 12:25:08 +02:00