oweals/minetest.git
7 years agoFix MSVC build Build broken by 98e36d7
SmallJoker [Wed, 18 Jan 2017 20:03:15 +0000 (21:03 +0100)]
Fix MSVC build Build broken by 98e36d7

7 years agoAdd particle animation, glow
sfan5 [Sat, 14 Jan 2017 15:48:49 +0000 (16:48 +0100)]
Add particle animation, glow

This is implemented by reusing and extending the
TileAnimation code for the methods used by particles.

7 years agoAdd minetest.player_exists() (#5064)
rubenwardy [Wed, 18 Jan 2017 10:19:57 +0000 (10:19 +0000)]
Add minetest.player_exists() (#5064)

7 years agoAdd search to advanced settings (#4806)
rubenwardy [Wed, 18 Jan 2017 06:48:25 +0000 (06:48 +0000)]
Add search to advanced settings (#4806)

* Add search to advanced settings

* Press enter again to go to next result

* Use keyword based search, auto select best option

7 years agoFix typo in alias for deprecated settexturemod
sapier [Tue, 17 Jan 2017 18:41:52 +0000 (19:41 +0100)]
Fix typo in alias for deprecated settexturemod

7 years agoImprove priv descriptions (#5047)
Ezhh [Tue, 17 Jan 2017 14:41:25 +0000 (14:41 +0000)]
Improve priv descriptions (#5047)

7 years agoRemove client-side chat prediction. (#5055)
red-001 [Mon, 16 Jan 2017 23:09:47 +0000 (23:09 +0000)]
Remove client-side chat prediction. (#5055)

Network lag isn't really a big issue with chat and chat prediction makes writing mods harder.

7 years agoAdjust formspec spacing on the Client tab of the mainmenu 5053/head
rubenwardy [Mon, 16 Jan 2017 15:15:43 +0000 (15:15 +0000)]
Adjust formspec spacing on the Client tab of the mainmenu

7 years agoRename ObjectRef methods to be consistent and predictable 5052/head
rubenwardy [Mon, 16 Jan 2017 13:08:59 +0000 (13:08 +0000)]
Rename ObjectRef methods to be consistent and predictable

7 years agoAdd keyword based search to serverlist
red-001 [Fri, 6 Jan 2017 20:29:29 +0000 (20:29 +0000)]
Add keyword based search to serverlist

7 years agoAdded lua tracebacks to some errors where you have been blind to what… (#5043)
sapier [Sun, 15 Jan 2017 12:36:53 +0000 (13:36 +0100)]
Added lua tracebacks to some errors where you have been blind to what… (#5043)

* Added lua tracebacks to some errors where you have been blind to what actually went wrong

7 years agoDocumentation: Correct biome heat / humidity noise parameters
paramat [Sun, 15 Jan 2017 01:21:36 +0000 (01:21 +0000)]
Documentation: Correct biome heat / humidity noise parameters

When the new set of biomes was added in MTGame the 'spread' for heat
and humidity noise parameters was increased to 1000, i forgot to update
settingtypes.txt and minetest.conf.

7 years agoAdd color names from web page referenced in luaapi doc
sapier [Sat, 14 Jan 2017 21:30:03 +0000 (22:30 +0100)]
Add color names from web page referenced in luaapi doc

7 years agoOnly set material flag on rendered meshes (#5023)
lhofhansl [Sat, 14 Jan 2017 21:30:14 +0000 (13:30 -0800)]
Only set material flag on rendered meshes (#5023)

7 years agoFix build with freetype support disabled
sfan5 [Sat, 14 Jan 2017 11:28:43 +0000 (12:28 +0100)]
Fix build with freetype support disabled

7 years agoFix another missing const reported by clang & @sfan5
Loic Blot [Sat, 14 Jan 2017 11:20:59 +0000 (12:20 +0100)]
Fix another missing const reported by clang & @sfan5

Signed-off-by: Loic Blot <loic.blot@unix-experience.fr>
7 years agoFix missing const in ServerActiveObject::getStaticData
Loic Blot [Sat, 14 Jan 2017 11:03:50 +0000 (12:03 +0100)]
Fix missing const in ServerActiveObject::getStaticData

This fixes #5033

Signed-off-by: Loic Blot <loic.blot@unix-experience.fr>
7 years agoOrganize defaultsettings.cpp 5030/head
ShadowNinja [Thu, 15 Oct 2015 17:16:26 +0000 (13:16 -0400)]
Organize defaultsettings.cpp

7 years agoMain menu tweaks
ShadowNinja [Thu, 15 Oct 2015 17:05:33 +0000 (13:05 -0400)]
Main menu tweaks

7 years agoOptimize SAO getStaticData by using std::string pointer instead of return copy
Loic Blot [Wed, 11 Jan 2017 21:48:14 +0000 (22:48 +0100)]
Optimize SAO getStaticData by using std::string pointer instead of return copy

Signed-off-by: Loic Blot <loic.blot@unix-experience.fr>
7 years agoCleanup content_sao by factorizing similar code parts
Rogier [Wed, 11 Jan 2017 19:25:25 +0000 (04:25 +0900)]
Cleanup content_sao by factorizing similar code parts

Signed-off-by: Loic Blot <loic.blot@unix-experience.fr>
7 years agoEnable mod security by default
ShadowNinja [Sun, 9 Oct 2016 18:36:22 +0000 (14:36 -0400)]
Enable mod security by default

7 years agoMeshes: Make object mesh face shading consistent
paramat [Sat, 24 Dec 2016 06:40:57 +0000 (06:40 +0000)]
Meshes: Make object mesh face shading consistent

Previously, object meshes had their North and South faces darker than
East and West faces, the opposite of nodes and meshnodes. This commit
corrects this.
State constants as float-literals not double-literals.
Simplify code.
Add comment.

7 years agoMake nametag removable with set_nametag_attributes (#5021)
Rui [Wed, 11 Jan 2017 19:25:25 +0000 (04:25 +0900)]
Make nametag removable with set_nametag_attributes (#5021)

7 years agoCleanup some header inclusions to improve compilation times
Loic Blot [Wed, 11 Jan 2017 08:03:07 +0000 (09:03 +0100)]
Cleanup some header inclusions to improve compilation times

7 years agoPerformance fix + SAO factorization
Rogier [Mon, 9 Jan 2017 19:39:45 +0000 (04:39 +0900)]
Performance fix + SAO factorization

Original credits goes to @Rogier-5

* Merge common attributes between LuaEntitySAO & PlayerSAO to UnitSAO
* Make some functions const
* Improve some lists performance by returning const ref

Signed-off-by: Loic Blot <loic.blot@unix-experience.fr>
7 years agoAdd staticdata parameter to add_entity (#5009)
Rui [Mon, 9 Jan 2017 19:39:45 +0000 (04:39 +0900)]
Add staticdata parameter to add_entity (#5009)

* Add staticdata parameter to add_entity
* Add add_entity_with_staticdata to core.features

7 years agoEnvironment & IGameDef code refactoring (#4985)
Ner'zhul [Mon, 9 Jan 2017 19:39:22 +0000 (20:39 +0100)]
Environment & IGameDef code refactoring (#4985)

* Environment code refactoring
* Cleanup includes & class declarations in client & server environment to improve build speed
* ServerEnvironment::m_gamedef is now a pointer to Server instead of IGameDef, permitting to cleanup many casts.
* Cleanup IGameDef
  * Move ITextureSource* IGameDef::getTextureSource() to Client only.
  * Also move ITextureSource *IGameDef::tsrc() helper
  * drop getShaderSource, getSceneManager, getSoundManager & getCamera abstract call
  * drop unused emerge() call
  * cleanup server unused functions (mentionned before)
* Drop one unused parameter from ContentFeatures::updateTextures
* move checkLocalPrivilege to Client
* Remove some unnecessary casts
* create_formspec_menu: remove IWritableTextureSource pointer, as client already knows it
* Fix some comments
* Change required IGameDef to Server/Client pointers
* Previous change that game.cpp sometimes calls functions with Client + InventoryManager + IGameDef in same functions but it's the same objects
* Remove duplicate Client pointer in GUIFormSpecMenu::GUIFormSpecMenu
* drop ClientMap::sectorWasDrawn which is unused

7 years agosupport older PostGreSQL versions (#4999)
zeuner [Mon, 9 Jan 2017 16:03:13 +0000 (17:03 +0100)]
support older PostGreSQL versions (#4999)

* support older PostGreSQL versions
* documentation accuracy

* improve performance by affecting less rows in UPDATE queries

7 years agobuiltin/.../falling.lua: Avoid crash when hitting unknown nodes
sfan5 [Mon, 9 Jan 2017 15:39:40 +0000 (16:39 +0100)]
builtin/.../falling.lua: Avoid crash when hitting unknown nodes

7 years agoMap generation limit: Cache as 'const' not 'const static'
paramat [Sat, 7 Jan 2017 21:24:31 +0000 (21:24 +0000)]
Map generation limit: Cache as 'const' not 'const static'

7 years agoMap generation limit: Fix checks for block/sector over-limit
paramat [Tue, 27 Dec 2016 17:00:47 +0000 (17:00 +0000)]
Map generation limit: Fix checks for block/sector over-limit

Fix the maths that check if any part of a mapblock or sector is over the
set map_generation_limit.
Therefore avoid the loading of any over-limit blocks that were previously
generated when map_generation_limit was larger. The set limit can vary
for a world because it is not yet a per-world mapgen parameter, even when
it is sometimes it will be changed deliberately.
Therefore avoid a player being returned to world centre if they re-enter
a world while being over-limit.

Fix the createSector() crash caused by a mob spawning over-limit in an
over-limit mapblock

7 years agoMinor: Fix indentation in serverenvironment.cpp
Lars Hofhansl [Sun, 8 Jan 2017 17:32:16 +0000 (09:32 -0800)]
Minor: Fix indentation in serverenvironment.cpp

7 years agoMove ServerEnvironment to dedicated cpp/header files
Loic Blot [Sun, 8 Jan 2017 10:01:35 +0000 (11:01 +0100)]
Move ServerEnvironment to dedicated cpp/header files

* also cleanup some unneeded inclusions

7 years agoMove ClientEnvironment to dedicated cpp/header files
Loic Blot [Sun, 8 Jan 2017 09:49:47 +0000 (10:49 +0100)]
Move ClientEnvironment to dedicated cpp/header files

7 years agoGet neighbor from same map block if possible in ABMHandler (#4998)
lhofhansl [Sun, 8 Jan 2017 07:42:25 +0000 (23:42 -0800)]
Get neighbor from same map block if possible in ABMHandler (#4998)

7 years agoMake column alignment consistent in advanced settings (#5004)
Ezhh [Sat, 7 Jan 2017 11:33:38 +0000 (11:33 +0000)]
Make column alignment consistent in advanced settings (#5004)

7 years agoRevert "Extend minetest.is_yes()"
sfan5 [Sat, 7 Jan 2017 10:05:05 +0000 (11:05 +0100)]
Revert "Extend minetest.is_yes()"

This reverts commit c435eabf3ffb77eab955d5faeb5450da1befc149.

7 years agoExtend minetest.is_yes()
red-001 [Sat, 3 Dec 2016 11:38:07 +0000 (11:38 +0000)]
Extend minetest.is_yes()

7 years agoREADME.txt: Update the License to 2010-2017
LNJ [Thu, 5 Jan 2017 20:28:58 +0000 (21:28 +0100)]
README.txt: Update the License to 2010-2017

7 years agolua_api.txt: Add registered_chatcommands to global tables
LNJ [Thu, 5 Jan 2017 21:38:43 +0000 (22:38 +0100)]
lua_api.txt: Add registered_chatcommands to global tables

7 years agoAdd raycast.cpp and tileanimation.cpp to Android.mk
Wayward1 [Thu, 5 Jan 2017 00:44:11 +0000 (19:44 -0500)]
Add raycast.cpp and tileanimation.cpp to Android.mk

7 years agoExpose and document chatcommands as minetest.registered_chatcommands 4987/head
rubenwardy [Wed, 28 Dec 2016 13:01:32 +0000 (13:01 +0000)]
Expose and document chatcommands as minetest.registered_chatcommands

7 years agoFixes for using std:vector in ABMHander and further perf improvements
Lars Hofhansl [Wed, 4 Jan 2017 19:11:55 +0000 (11:11 -0800)]
Fixes for using std:vector in ABMHander and further perf improvements

7 years agoUse std::vector instead of std::map in class ABMHandler
Rogier-5 [Wed, 4 Jan 2017 05:23:22 +0000 (21:23 -0800)]
Use std::vector instead of std::map in class ABMHandler

7 years agoImprove getPointedThing() (#4346)
Dániel Juhász [Wed, 4 Jan 2017 18:18:40 +0000 (19:18 +0100)]
Improve getPointedThing() (#4346)

* Improved getPointedThing()

The new algorithm checks every node exactly once.
Now the point and normal vector of the collision is also returned in the
PointedThing (currently they are not used outside of the function).
Now the CNodeDefManager keeps the union of all possible nodeboxes, so
the raycast won't miss any nodes. Also if there are only small
nodeboxes, getPointedThing() is exceptionally fast.
Also adds unit test for VoxelLineIterator.

* Cleanup, code move

This commit moves getPointedThing() and
Client::getSelectedActiveObject() to ClientEnvironment.
The map nodes now can decide which neighbors they are connecting to
(MapNode::getNeighbors()).

7 years agoTravis: Build server too for UNIX
Loïc Blot [Wed, 4 Jan 2017 13:36:51 +0000 (14:36 +0100)]
Travis: Build server too for UNIX

7 years agoPull occlusion check out of loop, and minor code cleanups.
Lars Hofhansl [Sat, 31 Dec 2016 20:40:31 +0000 (12:40 -0800)]
Pull occlusion check out of loop, and minor code cleanups.

7 years agoFix display gamma documentation
Thomas--S [Mon, 2 Jan 2017 21:42:50 +0000 (22:42 +0100)]
Fix display gamma documentation

Overlooked in #4873

7 years agoAdd 2D sheet animation for nodes
sfan5 [Fri, 23 Dec 2016 13:43:56 +0000 (14:43 +0100)]
Add 2D sheet animation for nodes

7 years agoAdded "[sheet" to the texture special commands.
Luke Puchner-Hardman [Tue, 23 Sep 2014 12:39:34 +0000 (14:39 +0200)]
Added "[sheet" to the texture special commands.

"[sheet:WxH:X,Y" assumes the base image is a tilesheet with W*H tiles
on it and crops to the tile at position X,Y.  Basically it works
like "[verticalframe" but in 2D.

For testing, I combined the four default_chest images into one.

7 years agoMove TileAnimation code to seperate file
sfan5 [Fri, 23 Dec 2016 12:48:32 +0000 (13:48 +0100)]
Move TileAnimation code to seperate file

7 years agoFix non reverted change on TOSERVER_BREATH compat
Loic Blot [Sun, 1 Jan 2017 22:57:37 +0000 (23:57 +0100)]
Fix non reverted change on TOSERVER_BREATH compat

7 years agoBreath cheat fix: server side 4978/head
Loic Blot [Sun, 1 Jan 2017 15:13:01 +0000 (16:13 +0100)]
Breath cheat fix: server side

Breath is now handled server side. Changing this behaviour required some modifications to core:

* Ignore TOSERVER_BREATH package, marking it as obsolete
* Clients doesn't send the breath to server anymore
* Use PlayerSAO pointer instead of peer_id in Server::SendPlayerBreath to prevent a useless lookup (little perf gain)
* drop a useless static_cast in emergePlayer

7 years agoFix /grant & /revoke not working with custom auth handler (#4974)
Dorian Wouters [Sat, 31 Dec 2016 17:12:26 +0000 (18:12 +0100)]
Fix /grant & /revoke not working with custom auth handler (#4974)

core.auth_table is not supposed to be accessed directly.

7 years agoFix interact range check (thanks to @lhofhansl)
sfan5 [Thu, 29 Dec 2016 18:35:22 +0000 (19:35 +0100)]
Fix interact range check (thanks to @lhofhansl)

7 years agoUse the outgoing split sequence number for every outgoing packet (#4864)
Rogier-5 [Thu, 29 Dec 2016 12:44:47 +0000 (13:44 +0100)]
Use the outgoing split sequence number for every outgoing packet (#4864)

(instead of the last incoming sequence number...)

Fixes #4848

7 years agoBuildbot: Update Gettext version (#4971)
sfan5 [Thu, 29 Dec 2016 12:17:24 +0000 (13:17 +0100)]
Buildbot: Update Gettext version (#4971)

7 years agoRedo light.cpp.
Auke Kok [Fri, 9 Dec 2016 01:37:13 +0000 (17:37 -0800)]
Redo light.cpp.

Remake the light_decode_table.

The table starts out without pre-filled in values since those
are always discarded by the code apparently. We calculate a
pseudo curve with gamma power function, and then apply a new
adjustment table.

The adjustment table is setup to make the default gamma of 2.2
look decent: not too dark at light level 3 or so, but too dark
at 1 and below to be playable. The curve is much smoother than
before and looks reasonable at the whole range, offering a
pleasant decay of light levels away from lights.

The `display_gamma` setting now actually does something logical:
the game is darker at values below 2.2, and brighter at values
above 2.2. At 3.0, the game is very bright, but still has a good
light scale. At 1.1 or so, the bottom 5 light levels are virtually
black, but you can still see enough detail at light levels 7-8,
so the range and spread is adequate.

I must add that my monitor is somewhat dark to begin with, since
I have a `hc` screen that doesn't dynamic range colors or try to
pull up `black` pixels for me (it is tuned for accurate color and
light levels), so this should look even better on more dynamic
display tunings.

7 years agoDont compare short with bool (#4963)
adrido [Wed, 28 Dec 2016 20:22:01 +0000 (21:22 +0100)]
Dont compare short with bool (#4963)

Fixes a compiler warning on MSVC

7 years agoIrrlicht 1.9 support
sfan5 [Sat, 24 Dec 2016 13:26:03 +0000 (14:26 +0100)]
Irrlicht 1.9 support

7 years agoVarious anticheat improvements
sfan5 [Thu, 22 Dec 2016 18:29:15 +0000 (19:29 +0100)]
Various anticheat improvements

* Calculate maximum interact distance from wielded tool
* New "interacted_while_dead" cheat_type for the Lua API
* Disallow dropping items while dead
* Move player to spawn before resurrecting them

7 years agoAdd gradle wrapper (#4954)
Ner'zhul [Sat, 24 Dec 2016 11:30:18 +0000 (12:30 +0100)]
Add gradle wrapper (#4954)

Gradle wrapper permit to use multiple gradle versions across OS versions

7 years agoUpdate Android build tools to latest version (#4872)
rubenwardy [Sat, 24 Dec 2016 07:34:19 +0000 (07:34 +0000)]
Update Android build tools to latest version (#4872)

7 years agoMinimal game: Use field 'tiles' instead of 'tile_images'
Rogier [Wed, 14 Dec 2016 15:23:25 +0000 (16:23 +0100)]
Minimal game: Use field 'tiles' instead of 'tile_images'

7 years agoMove PP() and PP2() macros to basic_macros.h
Rogier [Tue, 13 Dec 2016 22:16:26 +0000 (23:16 +0100)]
Move PP() and PP2() macros to basic_macros.h

Instead of redefining them everywhere.

7 years agoProcess ABMs in a spherical volume instead of cubic
Lars Hofhansl [Sat, 10 Dec 2016 18:31:17 +0000 (10:31 -0800)]
Process ABMs in a spherical volume instead of cubic

Increase active_block_range default to a 3 mapblock radius.

7 years agoShaders: Remove unnecessary 'if' statements
Lars Hofhansl [Thu, 8 Dec 2016 05:14:18 +0000 (21:14 -0800)]
Shaders: Remove unnecessary 'if' statements

Pull if GENERATE_NORMALMAPS == 1 into the template to avoid evaluating
it for each fragment.
Remove if (fogDistance != 0.0).

7 years agoMake minetest abort on lua panic
Rogier [Mon, 25 Jul 2016 16:43:15 +0000 (18:43 +0200)]
Make minetest abort on lua panic

Currently, lua does a regular exit() after a lua panic, which can make
a problem hard to debug. Invoking FATAL_ERROR() instead will print
some useful information, and abort() minetest, so that a debugger can
be used to analyze the situation.

7 years agoContinue with 0.4.15-dev
sfan5 [Thu, 22 Dec 2016 21:52:15 +0000 (22:52 +0100)]
Continue with 0.4.15-dev

7 years agoBump version to 0.4.15 0.4.15
sfan5 [Thu, 22 Dec 2016 21:52:15 +0000 (22:52 +0100)]
Bump version to 0.4.15

7 years agoFinal update to credits before release
Craig Robbins [Thu, 22 Dec 2016 21:23:12 +0000 (07:23 +1000)]
Final update to credits before release

7 years agoTranslated using Weblate (Russian)
Nikolay [Mon, 19 Dec 2016 10:06:43 +0000 (10:06 +0000)]
Translated using Weblate (Russian)

Currently translated at 59.2% (544 of 918 strings)

7 years agoTranslated using Weblate (Portuguese (Brazil))
Cold Meson 06 [Tue, 20 Dec 2016 06:07:18 +0000 (06:07 +0000)]
Translated using Weblate (Portuguese (Brazil))

Currently translated at 99.5% (914 of 918 strings)

7 years agoTranslated using Weblate (Portuguese (Brazil))
Bruno Borges [Tue, 20 Dec 2016 04:19:29 +0000 (04:19 +0000)]
Translated using Weblate (Portuguese (Brazil))

Currently translated at 94.8% (871 of 918 strings)

7 years agoTranslated using Weblate (Portuguese (Brazil))
Cold Meson 06 [Tue, 20 Dec 2016 02:18:51 +0000 (02:18 +0000)]
Translated using Weblate (Portuguese (Brazil))

Currently translated at 84.5% (776 of 918 strings)

7 years agoTranslated using Weblate (Dutch)
Rogier [Fri, 16 Dec 2016 10:28:03 +0000 (10:28 +0000)]
Translated using Weblate (Dutch)

Currently translated at 85.2% (783 of 918 strings)

7 years agoTranslated using Weblate (German)
Wuzzy [Wed, 14 Dec 2016 02:06:54 +0000 (02:06 +0000)]
Translated using Weblate (German)

Currently translated at 100.0% (918 of 918 strings)

7 years agoAndroid: Workarounds for Googles completely broken NDK
sfan5 [Thu, 22 Dec 2016 13:45:53 +0000 (14:45 +0100)]
Android: Workarounds for Googles completely broken NDK

7 years agoAndroid: update curl and libgmp
est31 [Wed, 21 Dec 2016 13:31:59 +0000 (14:31 +0100)]
Android: update curl and libgmp

7 years agoBuiltin/../falling.lua: Avoid crash when object pos over limit
paramat [Wed, 21 Dec 2016 07:10:32 +0000 (07:10 +0000)]
Builtin/../falling.lua: Avoid crash when object pos over limit

If the object pos is over limit, 'add entity' will not add an entity,
causing 'obj' to be nil.

7 years agoDon't ship with broken languages (#4940)
est31 [Wed, 21 Dec 2016 13:15:48 +0000 (14:15 +0100)]
Don't ship with broken languages (#4940)

7 years agoDisable mod security by default (closes #4944)
sfan5 [Wed, 21 Dec 2016 13:04:46 +0000 (14:04 +0100)]
Disable mod security by default (closes #4944)

7 years agoFix warning reported by clang (possible bug in Settings lua api)
sfan5 [Wed, 21 Dec 2016 09:20:06 +0000 (10:20 +0100)]
Fix warning reported by clang (possible bug in Settings lua api)

7 years agoCorrect Swahili translations (#4939)
sfan5 [Wed, 21 Dec 2016 05:37:25 +0000 (06:37 +0100)]
Correct Swahili translations (#4939)

7 years agoLimit drawing rect of selected item to viewport size (fixes #4341)
sfan5 [Tue, 20 Dec 2016 13:27:14 +0000 (14:27 +0100)]
Limit drawing rect of selected item to viewport size (fixes #4341)

7 years agoSecurity: Fix resolving of some relative paths
ShadowNinja [Fri, 16 Dec 2016 22:43:39 +0000 (17:43 -0500)]
Security: Fix resolving of some relative paths

Trying to resolve a path with RemoveRelativePathComponents that can't
be resolved without leaving leading parent components (e.g. "../worlds/foo"
or "bar/../../worlds/foo") will fail.  To work around this, we leave
the relative components and simply remove the trailing components one
at a time, and bail out when we find a parent component.  This will
still fail for paths like "worlds/foo/noexist/../auth.txt" (the path
before the last parent component must not exist), but this is fine
since you won't be able to open a file with a path like that anyways
(the O.S. will determine that the path doesn't exist.
Try `cat /a/../etc/passwd`).

7 years agoFix RemoveRelatvePathComponents
ShadowNinja [Fri, 16 Dec 2016 22:35:58 +0000 (17:35 -0500)]
Fix RemoveRelatvePathComponents

This used to return "/foo" for "../foo" when it should return the enpty
string (i.e., error removing all relative components).

7 years agoMod security: Allow read-only access to all mod paths
ShadowNinja [Mon, 5 Dec 2016 19:59:15 +0000 (19:59 +0000)]
Mod security: Allow read-only access to all mod paths

7 years agoFix occlusion culling, again (#4930)
lhofhansl [Mon, 19 Dec 2016 05:43:04 +0000 (21:43 -0800)]
Fix occlusion culling, again (#4930)

7 years agoFix occlusing counting (#4922)
lhofhansl [Sun, 18 Dec 2016 12:25:42 +0000 (04:25 -0800)]
Fix occlusing counting (#4922)

7 years agoFix unnecessary block loading (#4847)
Dániel Juhász [Sun, 18 Dec 2016 09:20:23 +0000 (10:20 +0100)]
Fix unnecessary block loading (#4847)

This commit makes the game load blocks only if they are not in the
memory.

7 years agoMapgen: Make mgv7 the default in UI
Auke Kok [Fri, 16 Dec 2016 04:55:41 +0000 (20:55 -0800)]
Mapgen: Make mgv7 the default in UI

The actual menu default comes from defaultsettings.cpp.

7 years agoFix build with gettext enabled
est31 [Wed, 14 Dec 2016 04:41:48 +0000 (05:41 +0100)]
Fix build with gettext enabled

7 years agoCavegen: Wider tunnels in mgflat, mgfractal, mgvalleys
paramat [Tue, 13 Dec 2016 04:08:23 +0000 (04:08 +0000)]
Cavegen: Wider tunnels in mgflat, mgfractal, mgvalleys

As mgv7 is now the default mapgen i re-checked its tunnel width on request,
discovered they needed to be wider, and have made this change.
This commit widens the identical 3D noise tunnels in the other mapgens in
exactly the same way.

7 years agoRun updatepo.sh
est31 [Tue, 13 Dec 2016 23:31:12 +0000 (00:31 +0100)]
Run updatepo.sh

7 years agoUpdate minetest.conf.example and settings_translation_file.cpp
est31 [Tue, 13 Dec 2016 23:15:11 +0000 (00:15 +0100)]
Update minetest.conf.example and settings_translation_file.cpp

7 years agoTranslated using Weblate (Ukrainian)
Fixer [Tue, 13 Dec 2016 22:32:51 +0000 (22:32 +0000)]
Translated using Weblate (Ukrainian)

Currently translated at 38.1% (350 of 918 strings)

7 years agoTranslated using Weblate (German)
Wuzzy [Sun, 11 Dec 2016 09:22:15 +0000 (09:22 +0000)]
Translated using Weblate (German)

Currently translated at 98.9% (908 of 918 strings)

7 years agoTranslated using Weblate (German)
Jan Sbrz [Sat, 3 Dec 2016 12:57:21 +0000 (12:57 +0000)]
Translated using Weblate (German)

Currently translated at 94.7% (870 of 918 strings)