Commit Graph

614 Commits (e98d421aff046a2d9a9b87516779603dc170b209)

Author SHA1 Message Date
MoNTE48 e98d421aff Merge remote-tracking branch 'upstream/stable-0.4' into sync 2019-04-01 20:18:54 +02:00
MoNTE48 94a003d174 Minor iOS update - v. 1.1.24 2019-01-07 01:17:55 +01:00
stujones11 9d1b881cde Stop looped animations in singleplayer while game is paused 2018-08-07 22:56:44 +02:00
sfan5 0658caec09 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 6f715a3a43 Android+iOS: Disable show Irrlicht errors. Disable flying in survival. Android - optimization GUI dimension. 2018-07-05 01:03:25 +02:00
Loic Blot 6b378a7cc7 Fix crash due to missing pointer validation
Based on commit 014a1a0
2018-06-10 17:18:11 +02:00
Dániel Juhász 940a82ed18 Fix Android node selection distance (#6187) 2018-06-03 17:31:59 +02:00
SmallJoker 9429b15fd8 Trigger on_rightclick regardless on the formspec meta field
Document behaviour for older clients.
2018-06-03 17:31:59 +02:00
Fixer b4b6decb40 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 4836612b9f 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 d7306ba69e Fix segmentation fault with tool capabilities (#5899) 2018-06-03 17:31:59 +02:00
sfan5 ff1f608bed Touch: Fix node selection distance (#116)
(ported from minetest/minetest@01c319d778)
2018-05-27 12:16:46 +02:00
MoNTE48 646a665d0f 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 d3e859a835 Fix crash with disabled CSM and Respawn menu (#111) 2018-04-19 13:00:45 +02:00
MoNTE48 c6c3ef3d1b Revert "New pause menu design (#103)"
This reverts commit 17b459784012701354f7502324347f17aa0f16cd.
2018-04-17 20:18:16 +02:00
sfan5 04b070ff2e 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 58532d8684 New pause menu design (#103) 2018-01-29 16:56:32 +02:00
Maksim Gamarnik 9da7375ab1 iOS: v. 1.0.12-release (and compress textures) 2017-09-04 15:33:57 +03:00
Maksim Gamarnik a7bebd42eb iOS minor fix 2017-08-29 23:05:03 +03:00
sfan5 42e505c964 Implement text input on iOS 2017-08-16 17:54:50 +03:00
Maksim Gamarnik 3aad256438 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 7632cb29a5 Disable CSM at compile-time (#78) 2017-07-09 23:37:40 +03:00
Maksim Gamarnik cbfabfe2d8 Fix iOS port [Part1] 2017-06-16 23:57:19 +03:00
Maksim Gamarnik 35770f4abb Merge Minetest 0.4.16 2017-06-06 23:03:34 +03:00
ShadowNinja 8489322aac Fix segmentation fault with tool capabilities (#5899) 2017-06-03 23:59:17 +02:00
Vincent Glize 7ec83d07c8 Snake case for screen options in minetest.conf (#5792) 2017-06-03 22:02:07 +02:00
red-001 9df53dccf4 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 0ec52bcada 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 a56f11bdc5 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 8fa097e102 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 cad01d06d7 No cursor lock when window inactive (#5754) 2017-05-13 17:42:42 +02:00
Loïc Blot 11e455abbf 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 614a14c624 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 f15e2b985b Android build fix 2017-05-13 09:10:43 +02:00
red-001 72f6e36016 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 a112a7f5fb 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 7e26d0ac8a Add configurable key bindings for hotbar scrolling, and for changing volume. 2017-05-06 21:21:59 +02:00
red-001 67be889162 [CSM] add `on_item_use` (#5544) 2017-05-06 21:12:44 +02:00
TeTpaAka c1a84eb834 Make players respect makes_footstep_sound in the object properties 2017-05-06 20:16:16 +02:00
Loïc Blot 4dbd41d7ac 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 c1cbc9b991 Add function to get server info. 2017-05-04 04:25:45 +01:00
paramat ad2e38e257 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 4236cf8e5e Add clouds API 2017-04-30 00:06:13 +01:00
Loïc Blot e5eaf2179e 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 aa2fb725a0 [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
you 722a015f54 Fix click-digging torches (#5652)
Torches are dug instantly again.
When the digging time is 0, a delay of 0.15 seconds is added between digging nodes. If the left mouse button is released, the delay is set to 0, thus click-digging.
2017-04-28 20:12:28 +02:00
Louis Pearson 64edc29854 Search user path for sounds (#5657) 2017-04-27 21:33:59 +10:00
ShadowNinja b41838b8ef Rename Scripting API files for consistency 2017-04-25 13:41:36 -04:00
Loïc Blot 24467fdfba Fix various points reported by cppcheck (#5656)
* Fix various performance issues reported by cppcheck + code style (CI)

* Make CI happy with code style on master
* guiFileSelectMenu: remove useless includes
* some performance fixes pointed by cppcheck
* remove some useless casts
* TextDest: remove unused setFormSpec function

* Fix various iterator post-increment reported by cppcheck
2017-04-25 10:21:42 +02:00
Loïc Blot 6d77b9ce43 Fix various copy instead of const ref reported by cppcheck (#5615)
* Also remove InventoryList::peekItem unused function
* Fix some post increment to preincrement reported by cppcheck
2017-04-19 23:02:07 +02:00