oweals/minetest.git
9 years agoUpdate bundled SQLite to 3.8.7.4
Kahrl [Sun, 4 Jan 2015 04:10:07 +0000 (05:10 +0100)]
Update bundled SQLite to 3.8.7.4

9 years agoDeduplicate code and use stdlib in string functions
ShadowNinja [Thu, 11 Dec 2014 22:58:50 +0000 (17:58 -0500)]
Deduplicate code and use stdlib in string functions

9 years agoFix crash if NodeResolver destroyed before pending any node resolutions
kwolekr [Sat, 3 Jan 2015 16:05:31 +0000 (11:05 -0500)]
Fix crash if NodeResolver destroyed before pending any node resolutions

9 years agoRewrite lua_api.txt into Markdown format
Wuzzy [Mon, 15 Dec 2014 19:59:20 +0000 (20:59 +0100)]
Rewrite lua_api.txt into Markdown format

Just Markdown, no variant of it. File name intentionally
not changed to “lua_api.md” because of fear to break references
to that file. The file can still be renamed later.

9 years agoMore consistent progress bar from 0-100 on startup
sapier [Sat, 23 Aug 2014 10:16:46 +0000 (12:16 +0200)]
More consistent progress bar from 0-100 on startup

9 years agoSpeedup initial android startup on some devices by factor 10 or more 1985/head
sapier [Wed, 17 Dec 2014 23:23:36 +0000 (00:23 +0100)]
Speedup initial android startup on some devices by factor 10 or more

9 years agoFix rounding error in font size making main menu and in game font sizes inconsistent
sapier [Fri, 2 Jan 2015 15:52:02 +0000 (16:52 +0100)]
Fix rounding error in font size making main menu and in game font sizes inconsistent

9 years agoMgV5/6/7: Generate dungeons above water level
paramat [Wed, 31 Dec 2014 00:19:05 +0000 (00:19 +0000)]
MgV5/6/7: Generate dungeons above water level

Use/add stone_surface_max_y to speed-optimise/guide dungeon generation
MgV7: Don't let mountain terrain chop dungeons at mapchunk borders
Make mountain terrain update stone_surface_max_y for caves in mountains

9 years agoMgv7: Remove range limits on mountain height to enable modification through .conf
paramat [Tue, 30 Dec 2014 22:43:15 +0000 (22:43 +0000)]
Mgv7: Remove range limits on mountain height to enable modification through .conf

9 years agoFix map parameter load order
kwolekr [Tue, 30 Dec 2014 17:30:14 +0000 (12:30 -0500)]
Fix map parameter load order

9 years agoAdd display_gamma option for client
Craig Robbins [Sun, 14 Dec 2014 11:28:08 +0000 (21:28 +1000)]
Add display_gamma option for client

9 years agoFix endian.h include for FreeBSD
Dmitry Marakasov [Tue, 30 Dec 2014 00:03:01 +0000 (03:03 +0300)]
Fix endian.h include for FreeBSD

9 years agoCleanup updateCameraDirection and fix random input not working
Craig Robbins [Sat, 20 Dec 2014 08:23:45 +0000 (18:23 +1000)]
Cleanup updateCameraDirection and fix random input not working

9 years agoReplace instances of height_min/height_max with y_min/y_max to remove ambiguity
kwolekr [Tue, 30 Dec 2014 06:48:20 +0000 (01:48 -0500)]
Replace instances of height_min/height_max with y_min/y_max to remove ambiguity

9 years agoDecoration: Fix default parameter values
kwolekr [Tue, 30 Dec 2014 05:52:17 +0000 (00:52 -0500)]
Decoration: Fix default parameter values

9 years agoFix documentation for string functions
Diego Martínez [Mon, 29 Dec 2014 23:46:24 +0000 (20:46 -0300)]
Fix documentation for string functions

9 years agoAdd support back for resolving group names in NodeResolver
kwolekr [Tue, 30 Dec 2014 04:15:53 +0000 (23:15 -0500)]
Add support back for resolving group names in NodeResolver

9 years agoFix some lingering code style issues
kwolekr [Tue, 30 Dec 2014 03:04:47 +0000 (22:04 -0500)]
Fix some lingering code style issues

9 years agoMapgen: Use getBlockSeed2() for blockseeds (much better uniformity)
kwolekr [Tue, 30 Dec 2014 02:44:52 +0000 (21:44 -0500)]
Mapgen: Use getBlockSeed2() for blockseeds (much better uniformity)

9 years agoAdd core.get_mapgen_names() to Main Menu API (and use it)
kwolekr [Tue, 30 Dec 2014 02:23:51 +0000 (21:23 -0500)]
Add core.get_mapgen_names() to Main Menu API (and use it)

Also rewrite mapgen registration for static initialization

9 years agoExpose mapgen parameters on scripting init
kwolekr [Mon, 29 Dec 2014 17:58:55 +0000 (12:58 -0500)]
Expose mapgen parameters on scripting init

Add minetest.get_mapgen_params()
Deprecate minetest.register_on_mapgen_init()

9 years agoIgnore downloaded public serverlist if public_serverlist is false
Kahrl [Thu, 11 Dec 2014 05:52:20 +0000 (06:52 +0100)]
Ignore downloaded public serverlist if public_serverlist is false

Fixes #1807: When the server list finishes downloading, the local server
list resets in certain conditions

9 years agoCenter status text for better visibility.
Kodexky [Fri, 12 Dec 2014 04:23:19 +0000 (23:53 -0430)]
Center status text for better visibility.

9 years agoAdd extra buttons to Android GUI. All icons are licensed by freepik.com under CC...
Kodexky [Wed, 10 Dec 2014 03:57:25 +0000 (23:27 -0430)]
Add extra buttons to Android GUI. All icons are licensed by freepik.com under CC BY 3.0

9 years agoUpdate Japanese Translation
Rui [Sun, 28 Dec 2014 06:51:45 +0000 (15:51 +0900)]
Update Japanese Translation

9 years agoAdd util/bump_version.sh
Kahrl [Thu, 25 Dec 2014 05:11:53 +0000 (06:11 +0100)]
Add util/bump_version.sh

9 years agoFix -Wtype-limits warnings and remove disabling of -Wtype-limits
Craig Robbins [Mon, 29 Dec 2014 13:53:08 +0000 (23:53 +1000)]
Fix -Wtype-limits warnings and remove disabling of -Wtype-limits

9 years agoPrint unit test failures to dstream
kwolekr [Mon, 29 Dec 2014 07:30:03 +0000 (02:30 -0500)]
Print unit test failures to dstream

9 years agoFontEngine: Don't use file extension to check font file compatibility
kwolekr [Mon, 29 Dec 2014 06:46:13 +0000 (01:46 -0500)]
FontEngine: Don't use file extension to check font file compatibility

9 years agoLuaVoxelManip: Remove blank allocator
kwolekr [Mon, 29 Dec 2014 06:31:37 +0000 (01:31 -0500)]
LuaVoxelManip: Remove blank allocator

9 years agoLuaItemStack: Fix and document behavior of set_name, set_count, set_wear, set_metadata
kwolekr [Mon, 29 Dec 2014 04:58:06 +0000 (23:58 -0500)]
LuaItemStack: Fix and document behavior of set_name, set_count, set_wear, set_metadata

9 years agoFix MSVC compiler warning about passing this pointer in initializer list
sapier [Fri, 22 Aug 2014 17:25:21 +0000 (19:25 +0200)]
Fix MSVC compiler warning about passing this pointer in initializer list

9 years agoFaster string.split implementation.
Diego Martinez [Fri, 19 Dec 2014 02:50:31 +0000 (23:50 -0300)]
Faster string.split implementation.

9 years agoMainMenu: Save 'hide gamemods' and 'hide modpack contents' checkbox state (fixes...
fz72 [Sat, 27 Dec 2014 15:13:07 +0000 (16:13 +0100)]
MainMenu: Save 'hide gamemods' and 'hide modpack contents' checkbox state (fixes #1960)

9 years agoSkip further loading of client if there was an exit signal
Christophe Piveteau [Sun, 28 Dec 2014 15:52:51 +0000 (16:52 +0100)]
Skip further loading of client if there was an exit signal

9 years agoDecoration: Add height_min and height_max parameters
kwolekr [Mon, 29 Dec 2014 03:37:27 +0000 (22:37 -0500)]
Decoration: Add height_min and height_max parameters

Also set default height_min/height_max to -31000 and 31000,
respectively, for ore and biomes

9 years agoCavegen: Fix copy & paste error (solves #2020)
kwolekr [Mon, 29 Dec 2014 03:35:14 +0000 (22:35 -0500)]
Cavegen: Fix copy & paste error (solves #2020)

9 years agoBiome API: Add shore top and shore filler nodes, underwater node, water top node...
paramat [Sun, 28 Dec 2014 05:20:42 +0000 (05:20 +0000)]
Biome API: Add shore top and shore filler nodes, underwater node, water top node. Add water top depth and shore height parameters. Remove water dust node

9 years agoOre: Add Vein ore type
kwolekr [Mon, 29 Dec 2014 02:17:12 +0000 (21:17 -0500)]
Ore: Add Vein ore type

9 years agoOre: Add Blob ore type
kwolekr [Sun, 28 Dec 2014 08:11:00 +0000 (03:11 -0500)]
Ore: Add Blob ore type

9 years agoPseudoRandom: Expose constant PSEUDORANDOM_MAX
kwolekr [Sun, 28 Dec 2014 08:09:24 +0000 (03:09 -0500)]
PseudoRandom: Expose constant PSEUDORANDOM_MAX

9 years agoLuaVoxelManip: Add option to allocate blank data
kwolekr [Sun, 28 Dec 2014 04:09:36 +0000 (23:09 -0500)]
LuaVoxelManip: Add option to allocate blank data

9 years agoVoxelManipulator: Remove unnecessary deallocation steps
kwolekr [Sun, 28 Dec 2014 03:35:05 +0000 (22:35 -0500)]
VoxelManipulator: Remove unnecessary deallocation steps

9 years agoSet fallback content if resolving content vector requires everything
kwolekr [Sun, 28 Dec 2014 03:20:04 +0000 (22:20 -0500)]
Set fallback content if resolving content vector requires everything

9 years agoRedefine NodeResolver interface and replace with callback mechanism
kwolekr [Wed, 17 Dec 2014 08:20:17 +0000 (03:20 -0500)]
Redefine NodeResolver interface and replace with callback mechanism

9 years agoUncomment version patch field
kwolekr [Fri, 26 Dec 2014 16:02:26 +0000 (11:02 -0500)]
Uncomment version patch field

9 years agoBump version to 0.4.11 0.4.11
kwolekr [Thu, 25 Dec 2014 03:24:04 +0000 (22:24 -0500)]
Bump version to 0.4.11

9 years agoConf.example: Correct grammar and spelling. Shorten some lines. Move a few lines...
paramat [Thu, 25 Dec 2014 02:37:07 +0000 (02:37 +0000)]
Conf.example: Correct grammar and spelling. Shorten some lines. Move a few lines into correct sections. Remove finite liquid reference. Make indentation consistent

9 years agoFix fs::GetRecursiveSubPaths trying to get directory lists for files
ShadowNinja [Tue, 23 Dec 2014 20:23:21 +0000 (15:23 -0500)]
Fix fs::GetRecursiveSubPaths trying to get directory lists for files

9 years agoLarge increase in performance
Craig Robbins [Sun, 21 Dec 2014 15:37:45 +0000 (01:37 +1000)]
Large increase in performance

9 years agoIncrease indentation throughout file for clarity. Correct mistakes. Shorten lines...
paramat [Wed, 24 Dec 2014 00:07:54 +0000 (00:07 +0000)]
Increase indentation throughout file for clarity. Correct mistakes. Shorten lines. Make more consistent

Signed-off-by: Craig Robbins <kde.psych@gmail.com>
9 years agoState biome API heat and humidity noise parameters in positional format
paramat [Tue, 23 Dec 2014 23:36:16 +0000 (23:36 +0000)]
State biome API heat and humidity noise parameters in positional format

Signed-off-by: Craig Robbins <kde.psych@gmail.com>
9 years agoConf.example: Fix typo
paramat [Tue, 23 Dec 2014 20:13:32 +0000 (20:13 +0000)]
Conf.example: Fix typo

9 years agoUpdate MinGW toolchain downloads used by travis
sfan5 [Tue, 23 Dec 2014 16:20:26 +0000 (17:20 +0100)]
Update MinGW toolchain downloads used by travis

9 years agoSilence misc. warnings
kwolekr [Tue, 23 Dec 2014 06:02:33 +0000 (01:02 -0500)]
Silence misc. warnings

9 years agoMake limiting of the reflow liquids queue size optional
Craig Robbins [Mon, 22 Dec 2014 23:25:18 +0000 (09:25 +1000)]
Make limiting of the reflow liquids queue size optional

If liquid_queue_purge_time == 0 then disable the queue size limiting and make this the default setting
Additionally, liquid_loop_max now defaults to 100000

9 years agoUpdate mapgen stuff in minetest.conf
paramat [Sun, 21 Dec 2014 21:16:28 +0000 (21:16 +0000)]
Update mapgen stuff in minetest.conf

9 years agoTemporarily fix always bright wieldhand with shaders enabled
kwolekr [Tue, 23 Dec 2014 03:36:11 +0000 (22:36 -0500)]
Temporarily fix always bright wieldhand with shaders enabled

9 years agoRegenerate server_flags_creative.png from XCF
Kahrl [Sun, 21 Dec 2014 12:29:02 +0000 (13:29 +0100)]
Regenerate server_flags_creative.png from XCF

9 years agoFix weird (and wrong) comment in test.cpp
Kahrl [Sun, 21 Dec 2014 12:20:42 +0000 (13:20 +0100)]
Fix weird (and wrong) comment in test.cpp

9 years agolua_api.txt: improve noise documentation. Remove previous eased 3D noise format example
paramat [Wed, 17 Dec 2014 00:53:57 +0000 (00:53 +0000)]
lua_api.txt: improve noise documentation. Remove previous eased 3D noise format example

9 years agoRe-add hacky fix for underwater grass, to fix mgv7 user's biomes
paramat [Sat, 20 Dec 2014 05:25:13 +0000 (05:25 +0000)]
Re-add hacky fix for underwater grass, to fix mgv7 user's biomes

9 years agoChange TileSpec::frames to be std::vector not std::map
unknown [Thu, 18 Dec 2014 12:25:36 +0000 (23:25 +1100)]
Change TileSpec::frames to be std::vector not std::map

Signed-off-by: Craig Robbins <kde.psych@gmail.com>
9 years agoFix visual_scale for plantlike nodes (again)
Vanessa Ezekowitz [Fri, 19 Dec 2014 02:24:31 +0000 (12:24 +1000)]
Fix visual_scale for plantlike nodes (again)

fixes #1989

move the plant to the bottom of its node properly, without affecting its scale.  See isue #1989

9 years agoTemporarily set default biome in builtin
kwolekr [Thu, 18 Dec 2014 14:55:38 +0000 (09:55 -0500)]
Temporarily set default biome in builtin

This should probably be removed when minetest_game has proper biomes.
If I hear "the whole map is just stone!" again after this, I am going to detonate.

9 years agoFix visual_scale for NDT_PLANTLIKE being set too small
Craig Robbins [Thu, 18 Dec 2014 05:39:02 +0000 (15:39 +1000)]
Fix visual_scale for NDT_PLANTLIKE being set too small

9 years agoSuppress compiler warning
Craig Robbins [Thu, 18 Dec 2014 09:29:04 +0000 (19:29 +1000)]
Suppress compiler warning

9 years agoRemove manual biome noise translation
kwolekr [Wed, 17 Dec 2014 21:26:01 +0000 (16:26 -0500)]
Remove manual biome noise translation

9 years agoDo not allow the m_transforming_liquid queue to increase until all RAM is consumed
Craig Robbins [Wed, 17 Dec 2014 16:54:43 +0000 (02:54 +1000)]
Do not allow the m_transforming_liquid queue to increase until all RAM is consumed

9 years agoFix OSX packaging finally
Pavel Puchkin [Mon, 15 Dec 2014 15:32:08 +0000 (17:32 +0200)]
Fix OSX packaging finally

Signed-off-by: Craig Robbins <kde.psych@gmail.com>
9 years agoSet WM_CLASS window hint for Xorg
kwolekr [Mon, 15 Dec 2014 18:47:31 +0000 (13:47 -0500)]
Set WM_CLASS window hint for Xorg

9 years agoExpose mapgen chunksize in on_mapgen_init callbacks
kwolekr [Sun, 14 Dec 2014 23:46:19 +0000 (18:46 -0500)]
Expose mapgen chunksize in on_mapgen_init callbacks

9 years agoUpdate French translation
Calinou [Sun, 14 Dec 2014 16:35:24 +0000 (17:35 +0100)]
Update French translation

Signed-off-by: Craig Robbins <kde.psych@gmail.com>
9 years agoUpdate Spanish language.
Diego Martinez [Sat, 13 Dec 2014 17:25:17 +0000 (14:25 -0300)]
Update Spanish language.

Signed-off-by: Craig Robbins <kde.psych@gmail.com>
9 years agoFixes #1687 by extra semaphore retval handle code for OSX
Pavel Puchkin [Mon, 8 Dec 2014 09:41:29 +0000 (11:41 +0200)]
Fixes #1687 by extra semaphore retval handle code for OSX

See https://github.com/minetest/minetest/issues/1687#issuecomment-56830173

Signed-off-by: Craig Robbins <kde.psych@gmail.com>
9 years agoFix typo in lua_api.txt
Craig Robbins [Sun, 14 Dec 2014 15:09:17 +0000 (01:09 +1000)]
Fix typo in lua_api.txt

9 years agoNoise: Don't assume Noise is used for 2D unless gradientMap2D is actually called
kwolekr [Sun, 14 Dec 2014 05:18:31 +0000 (00:18 -0500)]
Noise: Don't assume Noise is used for 2D unless gradientMap2D is actually called

9 years agoFix background of creative icon (was black, now transparent)
Kahrl [Sun, 14 Dec 2014 04:09:43 +0000 (05:09 +0100)]
Fix background of creative icon (was black, now transparent)

9 years agoRevert "Update Russian translation"
Kahrl [Sat, 13 Dec 2014 14:23:32 +0000 (15:23 +0100)]
Revert "Update Russian translation"

This reverts commit e4e4324a30d6bcac5cc06c74e955e4941b14bd38.

Conflicts:
po/minetest.pot
po/*/minetest.po

9 years agoFix misleading error when exiting the client from the main menu
Craig Robbins [Sat, 13 Dec 2014 14:00:52 +0000 (00:00 +1000)]
Fix misleading error when exiting the client from the main menu

9 years agoProvide more info if a subgame is not valid/found
Craig Robbins [Sat, 13 Dec 2014 13:01:16 +0000 (23:01 +1000)]
Provide more info if a subgame is not valid/found

9 years agoUpdate german translation 1950/head
PilzAdam [Fri, 12 Dec 2014 23:40:15 +0000 (00:40 +0100)]
Update german translation

9 years agoLuaPerlinNoiseMap: Fix 3d noise safety check
kwolekr [Sat, 13 Dec 2014 03:58:19 +0000 (22:58 -0500)]
LuaPerlinNoiseMap: Fix 3d noise safety check

9 years agoFix segfault when dragging mouse out of mainmenu window (#1910)
Kahrl [Fri, 12 Dec 2014 23:39:07 +0000 (00:39 +0100)]
Fix segfault when dragging mouse out of mainmenu window (#1910)

9 years agoRemove vertlabels from main menu and relayout a bit
Kahrl [Sun, 7 Dec 2014 21:09:21 +0000 (22:09 +0100)]
Remove vertlabels from main menu and relayout a bit

9 years agoDisplay serverlist flags as icons
Kahrl [Sun, 30 Nov 2014 23:58:00 +0000 (00:58 +0100)]
Display serverlist flags as icons

9 years agoUpdate po files
ShadowNinja [Fri, 12 Dec 2014 22:20:53 +0000 (17:20 -0500)]
Update po files

9 years agoUpdate Russian translation
AntonBoch1244 [Tue, 5 Aug 2014 09:17:45 +0000 (13:17 +0400)]
Update Russian translation

9 years agoUpdate Italian translation
Enki [Wed, 14 May 2014 14:42:15 +0000 (16:42 +0200)]
Update Italian translation

9 years agoFix missing call to std::ostringstream::str
ShadowNinja [Fri, 12 Dec 2014 21:31:29 +0000 (16:31 -0500)]
Fix missing call to std::ostringstream::str

9 years agoFix MSVC compiling warnings and remove an unused texture
SmallJoker [Thu, 11 Dec 2014 19:12:28 +0000 (20:12 +0100)]
Fix MSVC compiling warnings and remove an unused texture

9 years agoLog: Silence errorstream during unittests
kwolekr [Fri, 12 Dec 2014 20:12:31 +0000 (15:12 -0500)]
Log: Silence errorstream during unittests

9 years agoUse std::string::empty() instead of size() where applicable
Anton [Fri, 12 Dec 2014 14:55:40 +0000 (19:55 +0500)]
Use std::string::empty() instead of size() where applicable

9 years agoAdd basic support for generating API documentation using Doxygen
Jürgen Doser [Wed, 30 Jan 2013 17:21:32 +0000 (18:21 +0100)]
Add basic support for generating API documentation using Doxygen

If CMake is run and Doxygen is found, add a make target called "doc",
which builds API documention in doc/html. This target is not included
in the default "all" target, you have to explicitly run "make doc" to
generate the documentation.

If graphviz is installed, in particular, if the "dot" binary is found,
doxygen is configured to generate various kinds of diagrams. Note that
due to this, the first run of doxygen can take a while.

9 years agoSettings: Fix invalid memory access when setting not found in working mem
kwolekr [Fri, 12 Dec 2014 19:39:36 +0000 (14:39 -0500)]
Settings: Fix invalid memory access when setting not found in working mem

9 years agoNodeResolver: Fix some comments and use const references for params
kwolekr [Fri, 12 Dec 2014 19:21:41 +0000 (14:21 -0500)]
NodeResolver: Fix some comments and use const references for params

9 years agoAdd minetest.clear_registered_decorations() and clear_registered_ores()
kwolekr [Fri, 12 Dec 2014 19:07:49 +0000 (14:07 -0500)]
Add minetest.clear_registered_decorations() and clear_registered_ores()

9 years agoAllow footstep sounds to play for liquid and ladder nodes, making swimming and climbi...
MirceaKitsune [Sun, 7 Dec 2014 21:47:52 +0000 (23:47 +0200)]
Allow footstep sounds to play for liquid and ladder nodes, making swimming and climbing sounds possible

9 years agoResponsive tooltip offset for Android.
Kodexky [Tue, 2 Dec 2014 03:32:41 +0000 (23:02 -0430)]
Responsive tooltip offset for Android.

Signed-off-by: Craig Robbins <kde.psych@gmail.com>
9 years agoFix typo in mapblock.h
Craig Robbins [Fri, 12 Dec 2014 08:06:36 +0000 (18:06 +1000)]
Fix typo in mapblock.h