Commit Graph

912 Commits (master)

Author SHA1 Message Date
MoNTE48 cb3f7c67a5 remove damage_noise 2019-05-23 01:51:39 +02:00
Maksim 941b980850 Fix platform, item name text, cleaner, other minor fixes 2019-05-22 14:07:25 +02:00
Maksim 0c7eee305b Small mainmenu update 2019-05-21 00:16:33 +02:00
Maksim 9c09a7f1a2 Show item description over hudbar (by @kilbith) 2019-05-20 23:30:00 +02:00
Maksim 4dfc3bac29 Minor fixes 2019-05-20 23:22:47 +02:00
MoNTE48 b89936fef9 item_eat particles, don't put lava on the server, Hunger small fixes 2019-05-20 22:35:00 +02:00
Maksim 59f8ef3376 DAMAGE!!! Autoreconnect for ANY(!) server issue 2019-05-20 22:35:00 +02:00
stujones11 294b28d530 Auto-reconnect to multicraft servers 2019-05-20 22:33:08 +02:00
stujones11 05f58b3a04 Move item drop to builtin 2019-05-20 22:33:08 +02:00
MoNTE48 b0346ad88a New workbench 2019-05-17 23:04:12 +02:00
stujones11 b40cd3c590 Fixes 2019-05-17 20:48:46 +01:00
MoNTE48 cf9bf58919 Restart game only if singleplayer 2019-05-16 15:22:55 +02:00
stujones11 13dbe65356 Add server id icons 2019-05-16 00:33:12 +02:00
Maksim d14587b282 Update creative and mainmenu formspec 2019-05-16 00:33:06 +02:00
stujones11 fb348ef435 Singleplayer error restart 2019-05-14 21:50:02 +01:00
Maksim 24b684ca39 Update default (part 2 of ?) and fix deprecated 2019-05-11 22:20:34 +02:00
Maksim 2cee766ff6 fix 2019-05-10 22:11:18 +02:00
Maksim 1693f1792f Update Trees and small fix 2019-05-10 00:11:53 +02:00
stujones11 416bfee23d Inventory fixes and Armor updates 2019-05-10 00:11:29 +02:00
MoNTE48 695e833477 Merge remote-tracking branch 'upstream/stable-0.4' into sync 2019-04-01 20:18:54 +02:00
Maksim Gamarnik b75c72f95e Move killme to builtin, TNT fix and new chicken model by @stujones11 2018-08-31 23:21:40 +02:00
MoNTE48 4602e0cac8 Small fix 2018-08-23 00:39:24 +02:00
MoNTE48 2542d798f5 stack_max = 64, fix loadingworld background 2018-08-22 00:39:35 +02:00
stujones11 a573ff7435 Restrict mapgens available to Android & iOS by default 2018-08-19 23:41:36 +02:00
MoNTE48 64ae5c54cc Update mainmenu and iOS defaultsettings, iOS: v.1.1.20 2018-08-11 14:57:14 +02:00
MoNTE48 4b7b744bf7 Minor upd menu, tmp fix sign_wall 2018-07-20 14:32:08 +02:00
MoNTE48 88135921a6 iOS: 1.1.18 - fix text on ja, ko, he; compress logo 2018-06-13 23:41:09 +02:00
SmallJoker 14d20f5827 Builtin auth handler: Speed up file writing (#7252) 2018-06-03 17:32:00 +02:00
SmallJoker fe41725e50 core.rotate_node: Do not trigger after_place_node (#6900) 2018-06-03 17:32:00 +02:00
Muhammad Rifqi Priyo Susanto c2e39b9363 Delete world dialog: Move buttons to avoid double click deletion
Move confirmation delete button to never overlap initial delete button,
to avoid world deletion by accidental double click.
2018-06-03 17:32:00 +02:00
dopik f8cc92c190 /shutdown can't do countdown when using reconnect and/or shutdown message (#7055)
Delay was converted from the param string and not the delay value, thus never using the actual given delay value when used in combination with other string values in the param, in this case reconnect and the shutdown messsage.
2018-06-03 17:32:00 +02:00
you 2a4fbbbff8 Fix "Ignoring CONTENT_IGNORE redefinition" warning (#4393)
minetest.override_item still passes to core
2018-06-03 17:32:00 +02:00
paramat 6d346a817b Item entity: Delete in 'ignore' nodes 2018-06-03 17:32:00 +02:00
paramat 529f00a240 Falling.lua: Delete falling node entities on contact with 'ignore'
Prevents falling node entities entering the ignore at a world edge and
resting on unloaded nodes 16 nodes below, unreachable, undiggable and
still being processed by 'on step' because they don't revert to nodes.
2018-06-03 17:32:00 +02:00
you 7725030067 Allow dumping userdata (#7012) 2018-06-03 17:32:00 +02:00
red-001 bb28afcfc3 Move `setlocale` from Lua to C++. 2018-06-03 17:32:00 +02:00
you 880a25c921 Add minetest.is_player (#7013)
* Add minetest.is_player

* First use for is_player
2018-06-03 17:32:00 +02:00
SmallJoker 8a849e893a Builtin: Fix handle_node_drops crash with nil digger 2018-06-03 17:32:00 +02:00
SmallJoker 8fba3c93d5 core.rotate_node: Run callbacks like with any regular placed node (#6648) 2018-06-03 17:32:00 +02:00
ezhh 222fab3d20 Improve Settings tab button alignments 2018-06-03 17:32:00 +02:00
Ezhh 6f803b9c89 Remove incorrect entry from settingtypes 2018-06-03 17:32:00 +02:00
sfan5 0fe3e7574d Make use of safe file writing in auth handler (fixes #6576) 2018-06-03 17:32:00 +02:00
Ezhh a65a46b889 Fix Settings tab formspec alignment (#6585) 2018-06-03 17:32:00 +02:00
raymoo 7b8288d605 Fix default item callbacks to work with nil users (#5819)
* Fix default item callbacks to work with nil users

* item.lua: Handle node drops for invalid players

The if-condition for the dropping loop is the same as `inv`, which means that the 2nd possible definition of `give_item` is never used.
Remove redundant `local _, dropped_item`
2018-06-03 17:32:00 +02:00
rubenwardy cc48c95ca7 Profiler: Fix var args not being passed to callback register function
Fixes #6517
2018-06-03 17:31:59 +02:00
Rob Blanckaert c56c3d8d6f Add setting for near plane distance. (#6395)
* Allow setting the near plane

* - Add near_plane limit of 0.5 to prevent x-ray.
- Add more details to near_plane setting.
2018-06-03 17:31:59 +02:00
DTA7 e8286e8894 Set placer to nil instead of a non-functional one in item_OnPlace (#6449)
* Set placer to nil instead of a non-functional one

This requires nil checks in core.rotate_node and core.rotate_and_place.
2018-06-03 17:31:59 +02:00
tenplus1 b1fae4c7be Fix Rotate Node Placement (#6424)
This properly checks for creative mode or privilege when using fixed rotate_node() function.
2018-06-03 17:31:59 +02:00
sfan5 5b2461c713 Fix core.wrap_text and make its behaviour consistent with the docs
Code based on initial implementation by @dsohler.
2018-06-03 17:31:59 +02:00
Dániel Juhász 9d40d89d27 Make dropped items colorable 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
red-001 0664b5f772 Add a server-sided way to remove color codes from incoming chat messages (#5948)
These code be generated by CSM, a modded client or just copy and pasted by the player.

Changes
- Update configuration example and setting translation file.
- Remove colour codes before logging chat.
- Add setting to remove colour codes before processing the chat.
2018-06-03 17:31:59 +02:00
red-001 c399f5a541 Fix sending color codes to clients that don't support them. (#5950)
Also remove `disable_escape_sequences` since it's not needed anymore.
2018-06-03 17:31:59 +02:00
DS f736226c1a make ret variable in /builtin/mainmenu/tab_credits.lua local (#5942) 2018-06-03 17:31:59 +02:00
Maksim Gamarnik ec3b665a7f iOS: 1.0.13 release 2018-03-19 21:56:18 +02:00
kilbith c67e8048d0 New Main Menu design (#101) 2017-09-04 15:51:09 +03:00
Maksim Gamarnik 099ba7bea9 iOS minor fix 2017-08-29 23:05:03 +03:00
sfan5 4e05929a8b Add libcurl to iOS and enable multiplayer 2017-08-16 17:54:50 +03:00
Paramat 04aa74f68a Mono font path setting: Fix path to missing font (#96)
Previous path was to 'liberationmono.ttf' which does not exist, this caused
a crash when trying to test mgv7p.
Change to 'Cousine-Regular.ttf' as in latest Minetest.
2017-08-02 01:44:28 +03:00
Paramat 48f77eb4a9 Credits menu: Make undeclared global variable 'ret' local (#86) 2017-07-21 08:02:33 +03:00
Maksim Gamarnik 4d948c4b9c Fix builtin 2017-07-20 00:36:10 +03:00
Maksim Gamarnik 97a8512c76 Fix iOS port [Part1] 2017-06-16 23:57:19 +03:00
Maksim Gamarnik 567db6b2b0 Fix builtin and textures 2017-06-12 03:05:57 +03:00
Maksim Gamarnik 4cd987b653 Merge Minetest 0.4.16 2017-06-06 23:03:34 +03:00
rubenwardy fe046fab8a Update credits
The following algorithm was used when selecting contributors:

* Every non-trivial contributor from the current release,
  Non-trivial meaning more than X non-trivial commits, not counting documentation/translation changes
* The top Y contributors from the last 4 years.
* Previous contributor means no contributions since a few months before the last release.

In the future this should be automated
2017-06-03 14:28:36 -04:00
red-001 994802a774 Remove unimplemented setting `movement_speed_descend` (#5892) 2017-06-03 14:44:04 +02:00
Wuzzy 80fe516e4e Remove “inf” argument from shutdown command help (#5880) 2017-06-02 17:16:30 +02:00
Nathan Salapat c09e16ff5b Added missing levels to logging menu (#5836)
* Added missing levels to logging menu

Added none and error options to the debug_log_level in the advance settings.
2017-05-28 09:23:06 +02:00
berkut d08b2be960 Update tab_credits.lua (#76) 2017-05-24 12:35:53 +03:00
rubenwardy e8fb1f79bc Add formspec escaping to subgame list in create world dialog (#5808) 2017-05-24 07:45:23 +02:00
Pierre-Adrien Langrognet 39f4a2f607 [CSM] Add send_chat_message and run_server_chatcommand API functions (#5747)
* [CSM] Add send_chat_message and run_server_chatcommand API functions

* Add client-side chat message rate limiting

* Limit out chat queue size

* [CSM] Add minetest.clear_out_chat_queue API function and .clear_chat_queue chatcommand

* Last fixes/cleanups before merge
2017-05-21 23:06:51 +02:00
Elijah Duffy 4dc97eb99f Menu: Merge singleplayer and server tabs (#5627)
Rename "Singleplayer" tab to "Play" and remove "Server" tab placing server functionality under a "Host Game" checkbox in "Play."
2017-05-21 10:07:05 +02:00
Elijah Duffy dada983ff4 Add /clearinv chat command (#4994)
Allow players to clear their own inventory or that of another player with /clearinv command. server privilege is required to clear another player's inventory, no privileges are required to clear your own inventory.'
2017-05-20 12:56:17 +02:00
SmallJoker 674400523e Mainmenu: Fix issues while trying to enable all mods (#5770) 2017-05-19 07:45:47 +02:00
SmallJoker 9b5effffbb Builtin: Fix subgame mod selection (#5367) 2017-05-17 19:31:57 +02:00
SmallJoker 0120fe16a7 CSM: Document forgotten functions 2017-05-16 21:57:26 +01:00
ezhh 018217f6b2 Add option to use neither node highlighting nor outlining 2017-05-15 19:51:40 +10:00
red-001 441740e021 Menu: Fix starting a server if the server address is an empty string. (#5742)
Minetest uses an empty string internal to signal that a server should be started.
2017-05-10 23:25:45 +02:00
SmallJoker 6945f807ab minetest.deserialize: Throw error when argument not string (#5738) 2017-05-09 23:11:20 +02:00
red-001 34c52d0ad7 Android: Fix crash while loading main menu (#5736)
Broken by 43d1f37
2017-05-09 18:30:34 +02:00
Auke Kok a32a06e088 Move Pilzadam to previous developers. (#5735) 2017-05-09 08:56:57 +02:00
ShadowNinja 43d1f375d1 Use a settings object for the main settings
This unifies the settings APIs.

This also unifies the sync and async registration APIs, since the async
registration API did not support adding non-functions to the API table.
2017-05-06 15:33:19 -04: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
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
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
Louis Pearson db17225a97 Footsteps without view bobbing (#5645)
* Remove redundant view_bobbing setting

Also fixes bug where disabling view_bobbing disables footstep sounds.

* Removes redundant view_bobbing setting

Setting view_bobbing amount to 0 is now the only way to
turn view_bobbing on and off. Also fixed a bug where footstep
sounds would not play when view_bobbing was disabled.
2017-04-25 21:11:51 +10:00
Loïc Blot 29ab20c272 Player data to Database (#5475)
* Player data to Database

Add player data into databases (SQLite3 & PG only)

PostgreSQL & SQLite: better POO Design for databases

Add --migrate-players argument to server + deprecation warning

* Remove players directory if empty
2017-04-23 14:35:08 +02:00
Dániel Juhász f6d1b682d3 Add /fixlight chat command 2017-04-22 01:24:41 +01:00
paramat cfe0291b13 Conf.example: Move some lines to minetest.conf.example.extra
Some information in conf.example cannot be generated from
settingtypes.txt, moving it to a new file makes generating
conf.example while preserving that information easier.

Regenerate conf.example from settingtypes.txt.
2017-04-19 02:02:11 +01:00
MarkuBu efd509f796 Pointed thing to face pos: Fix crash if opening door with slab or stair
Avoids crash caused when 'pointed thing -under' and '-above' are not
face-neighbours, for example in the case of pointing to the top half
of a door.
2017-04-19 02:01:42 +01:00
Perttu Ahola 04cc9de8f2 MeshUpdateQueue: Add a MapBlock cache that minimizes the amount of MapBlock copying done in the main thread
Cache size is configurable by the meshgen_block_cache_size (default 20 MB).

New profiler stats:
- MeshUpdateQueue MapBlock cache hit %
- MeshUpdateQueue MapBlock cache size kB

Removes one type of stutter that was seen on the client when received MapBlocks
were being handled. (the "MeshMakeData::fill" stutter)

Kind of related to at least #5239

Originally preceded by these commits, now includes them:
- Move the mesh generator thread into src/mesh_generator_thread.{cpp,h}
- mesh_generator_thread.cpp: Update code style
- MeshUpdateThread: Modify interface to house a different implementation: Actual functionality will be changed by next commits.
- MeshMakeData: Add fillBlockData() interface (so that caller can fill in stuff from eg. a MapBlock cache)
2017-04-17 14:58:29 +03:00
Loïc Blot 34d32ce55a Implement delayed server shutdown with cancelation (#4664) 2017-04-15 23:19:18 +02:00
red-001 4e2479e46a [CSM] Allow escaping chatcommands and add missing calls to gettext. (#5565) 2017-04-11 23:35:25 +02:00
red-001 eb587996e4 [CSM] Use more gettext (#5553) 2017-04-10 21:14:00 +02:00
red-001 e8d8723320 [CSM] Move `.list_players` and `.disconnect` to builtin. (#5550) 2017-04-10 21:13:20 +02:00
number Zero 0a8834608d Hard-coded undersampling.
Adds uniform undersampling for the 3D rendered scene. GUI elements
are not undersampled, resulting in better playability for users
with low-performance platforms with readable fonts and formspecs.

The undersampling setting can be set to 0 (disabled), 2, 3, 4 pixels
which translates into a resolution reduction of x4, x9 or x16, and
is significant.
2017-04-09 17:30:19 -07:00
Dániel Juhász 58d83a7bb2 Hardware coloring for itemstacks
Adds the possibility to colorize item stacks based on their metadata.

In the item/node definition you can specify palette (an image file)
and color (fallback color if the item has no palette or metadata).
Then you can add palette_index to the metadata.

Dropped itemstacks with different colors do not merge.
2017-04-08 18:39:15 -07:00
red-001 d4e9dd4643 Move chat command handling code from C++ to Lua (#5528) 2017-04-08 20:03:57 +02:00
Vincent Glize f73534640a [CSM] Add event on_connect player API lua (#5540)
* Add event on_connect player API lua
2017-04-08 08:20:30 +02:00