619 Commits

Author SHA1 Message Date
MoNTE48
fd83f569a8 Backport "slippery" feature from MT 5.0, replace builtin deprecated function calls, move eat sound in builtin 2019-06-03 15:46:14 +02:00
MoNTE48
4cd8c2a109 iOS: v. 1.2.0 - beta 2019-05-27 02:12:02 +02:00
stujones11
9f129cd450 Pause menu time-out 2019-05-25 11:33:10 +02:00
MoNTE48
4957add21f iOS: scaling improvements 2019-05-22 21:31:37 +02:00
MoNTE48
6dcc8a9f80 Fix fly on mobile platform, update iOS 2019-05-11 18:36:29 +02:00
MoNTE48
695e833477 Merge remote-tracking branch 'upstream/stable-0.4' into sync 2019-04-01 20:18:54 +02:00
MoNTE48
d7befa1a30 Minor iOS update - v. 1.1.24 2019-01-07 01:17:55 +01:00
stujones11
d283c2a1e0 Stop looped animations in singleplayer while game is paused 2018-08-07 22:56:44 +02:00
sfan5
8a4933f707 Completely disable SQLite so it can be omitted (#120)
* Completely disable SQLite so it can be omitted

* Remove old auto-migration code

* Show error when loading sqlite3 world in Main Menu
2018-07-19 12:13:47 +02:00
MoNTE48
968954a3cc Android+iOS: Disable show Irrlicht errors. Disable flying in survival. Android - optimization GUI dimension. 2018-07-05 01:03:25 +02:00
Loic Blot
119aa5c919 Fix crash due to missing pointer validation
Based on commit 014a1a0
2018-06-10 17:18:11 +02:00
Dániel Juhász
2c450ed93f Fix Android node selection distance (#6187) 2018-06-03 17:31:59 +02:00
SmallJoker
037b01eac7 Trigger on_rightclick regardless on the formspec meta field
Document behaviour for older clients.
2018-06-03 17:31:59 +02:00
Fixer
c789c532bb Full viewing range key message clarified
To make it sound less confusing to players
2018-06-03 17:31:59 +02:00
Dániel Juhász
322e5aaf92 Automatic item and node colorization (#5640)
* Automatic item and node colorization

Now nodes with a palette yield colored item stacks, and colored items
place colored nodes by default. The client predicts the colorization.

* Backwards compatibility

* Use nil

* Style fixes

* Fix code style

* Document changes
2018-06-03 17:31:59 +02:00
ShadowNinja
cba783f7fa Fix segmentation fault with tool capabilities (#5899) 2018-06-03 17:31:59 +02:00
sfan5
8a47a25bbb Touch: Fix node selection distance (#116)
(ported from minetest/minetest@01c319d778)
2018-05-27 12:16:46 +02:00
MoNTE48
f049be5027 Release 1.1.5, iOS: 1.1.15...
Mobile: fix pause and death menu
iOS: touchtarget enabled by default
2018-04-30 00:05:53 +02:00
sfan5
be0532f240 Fix crash with disabled CSM and Respawn menu (#111) 2018-04-19 13:00:45 +02:00
MoNTE48
95f73cebd3 Revert "New pause menu design (#103)"
This reverts commit 17b459784012701354f7502324347f17aa0f16cd.
2018-04-17 20:18:16 +02:00
sfan5
09c5ba652c iOS: Screen locking fix (#109)
* Disconnect from game when screen locks

* Fix socket behaviour on iOS
2018-04-17 18:26:20 +02:00
kilbith
17b4597840 New pause menu design (#103) 2018-01-29 16:56:32 +02:00
Maksim Gamarnik
f6623dd3a4 iOS: v. 1.0.12-release (and compress textures) 2017-09-04 15:33:57 +03:00
Maksim Gamarnik
099ba7bea9 iOS minor fix 2017-08-29 23:05:03 +03:00
sfan5
39bec37923 Implement text input on iOS 2017-08-16 17:54:50 +03:00
Maksim Gamarnik
57cc1e4560 Fix iOS port (by @sfan5)
* Fix iOS port

* Don't use additional fonts

* Try to fix touch issues

* Change font for iOS only
2017-07-21 22:03:45 +03:00
sfan5
1698a96d2a Disable CSM at compile-time (#78) 2017-07-09 23:37:40 +03:00
Maksim Gamarnik
97a8512c76 Fix iOS port [Part1] 2017-06-16 23:57:19 +03:00
Maksim Gamarnik
4cd987b653 Merge Minetest 0.4.16 2017-06-06 23:03:34 +03:00
ShadowNinja
7786521f15 Fix segmentation fault with tool capabilities (#5899) 2017-06-03 23:59:17 +02:00
Vincent Glize
dd0a058e1f Snake case for screen options in minetest.conf (#5792) 2017-06-03 22:02:07 +02:00
red-001
2f291e6685 Close formspec on client shutdown. (#5811)
This ensures the shutting down progress bar is correctly rendered. This fixes #3050.
2017-05-25 12:46:24 +02:00
Paramat
9ff5302c8b Client crashfix: load meta after digging (#5801)
Fixes a crash caused in MTGame by breaking and right-clicking a chest.

If loading meta, digging, node can disappear and we looked at meta, which is wrong because meta became NULL.

Pointer is invalidated and we read wrong memory area
2017-05-23 19:54:37 +02:00
you
358074b296 Fix instant digging (#5785)
Use runData.dig_time_complete instead of params.time to find out whether it's instant digging.
runData.dig_time_complete is set to something very big if the node can't be dug, whereas param.time is 0 when digging is impossible or it's instant digging. So not using param.time fixes #5728.
2017-05-20 20:43:13 +02:00
Loïc Blot
e25a38e3fb When minimap is disabled in configuration, really disable it (#5771)
* When minimap is disabled in configuration, really disable it
2017-05-19 07:25:27 +02:00
SmallJoker
febd07fc0d No cursor lock when window inactive (#5754) 2017-05-13 17:42:42 +02:00
Loïc Blot
6673aff685 Limit properly the sound setting at updateSound runtime step (#5753)
* Limit properly the sound setting at updateSound runtime step

Fix #5026

* Add a comment
2017-05-13 12:03:11 +02:00
Loïc Blot
9b8ca3a746 Move KeyList & InputHandler from game.h to client/inputhandler.h (#5752)
* Move KeyList & InputHandler from game.h to client/inputhandler.h

We have a header for inputs, move inputhandler class & related keylist object to it

Also introduce a cpp file for MyEventReceiver::OnEvent function in inputhandler.h because a so huge function doesn't needs to be inlined

* Pass clang-format on inputhandler.{cpp,h} (compatible)
2017-05-13 11:05:16 +02:00
Loic Blot
5cb7f6a9b7
Android build fix 2017-05-13 09:10:43 +02:00
red-001
98327a59c4 Minor pause/escape menu improvements (#5751)
- Split movement keys into separate entries.
- Increase buffer size due to the above change.
- Change capitalisation.
- Remove code-style violating white spaces.
2017-05-13 08:50:19 +02:00
red-001
0e0c824ea7 Rework escape/pause menu (#5719)
* Rework escape/pause menu

- Remove build information
- Use current controls instead of default controls
- Add information about the current server in place of the build information
- Add text saying the game is paused to if in singleplayer mode.
rework pause/escape menu

* improve consistency + display server_name
2017-05-11 10:39:37 +02:00
Wuzzy
07c17db114 Add configurable key bindings for hotbar scrolling, and for changing volume. 2017-05-06 21:21:59 +02:00
red-001
5ebf8f9450 [CSM] add on_item_use (#5544) 2017-05-06 21:12:44 +02:00
TeTpaAka
6658ad3d94 Make players respect makes_footstep_sound in the object properties 2017-05-06 20:16:16 +02:00
Loïc Blot
21e0a049f8 Save minetest screen width/height options when modified (#5683)
* Save minetest screen width/height options when modified

* Add autosave_screensize setting (default true)

* Fix @SmallJoker comments
2017-05-05 13:47:11 +02:00
red-001
ae0d8f74d7 Add function to get server info. 2017-05-04 04:25:45 +01:00
paramat
ad9fcf859e Set sky API: Add bool for clouds in front of custom skybox
Default true.
Add 'm_clouds_enabled' bool to sky.h, set from new bool in 'set sky' API.
Make 'getCloudsVisible()' depend on 'm_clouds_enabled' instead of
'm_visible' (whether normal sky is visible).
2017-05-02 20:42:35 -07:00
Ben Deutsch
f1d7a26b7c Add clouds API 2017-04-30 00:06:13 +01:00
Loïc Blot
3db66b4531 Client & ClientEnvirnment: don't create fake events (#5676)
Instead of create fake events on the stack on each loop call (Game::run), verify is queue is empty or not and handle event directly if there is.

This prevents fake ClientEvent creation & memory allocations

Same fix is also applied on ClientEnvironment, & rename getClientEvent to getClientEnvEvent to match ClientEnvEvent object
2017-04-29 17:25:25 +02:00
Vincent Glize
dc5bc6cac7 [CSM] Add event on_place_node API lua (#5548)
* [CSM] Add event on_place_node API lua
2017-04-29 12:08:16 +02:00