oweals/minetest.git
9 years agoAndroid, build: Update curl to 7.40.00
sapier [Thu, 15 Jan 2015 20:51:54 +0000 (21:51 +0100)]
Android, build: Update curl to 7.40.00

9 years agoAdd missing return value for filter/mipmap dropdown in mainmenu
kilbith [Thu, 15 Jan 2015 19:17:54 +0000 (20:17 +0100)]
Add missing return value for filter/mipmap dropdown in mainmenu

9 years agoRevert "Optimize bumpmapping mathematics"
Craig Robbins [Thu, 15 Jan 2015 15:30:03 +0000 (01:30 +1000)]
Revert "Optimize bumpmapping mathematics"

This reverts commit 148fffb0f23fa437c67639ff3cc69177fb71d76a.

9 years agoSmall tweaking (alignement - client tab)
kilbith [Thu, 15 Jan 2015 13:18:20 +0000 (14:18 +0100)]
Small tweaking (alignement - client tab)

9 years agoOptimize bumpmapping mathematics
Loic Blot [Thu, 15 Jan 2015 13:11:56 +0000 (23:11 +1000)]
Optimize bumpmapping mathematics

OpenGL_vertex:
* bufferize a duplicate calcul
* Factorize vertexes

9 years agoChange UniqueQueue to use a queue and a set.
unknown [Tue, 13 Jan 2015 12:28:21 +0000 (23:28 +1100)]
Change UniqueQueue to use a queue and a set.

9 years agoReorganizing client and server tabs
jeanpatrick.guerrero@gmail.com [Wed, 14 Jan 2015 14:46:18 +0000 (00:46 +1000)]
Reorganizing client and server tabs

9 years agoAdded configurable ambient_occlusion_gamma. Default is 2.2 (same as previous hardcode...
TriBlade9 [Wed, 14 Jan 2015 13:34:44 +0000 (23:34 +1000)]
Added configurable ambient_occlusion_gamma. Default is 2.2 (same as previous hardcoded values).

9 years agoFix use of uninitialized data
Craig Robbins [Wed, 14 Jan 2015 05:43:33 +0000 (15:43 +1000)]
Fix use of uninitialized data

9 years agobuiltin: Unify register wrapper functions and wrap clear_registered_* functions too
kwolekr [Tue, 13 Jan 2015 17:26:13 +0000 (12:26 -0500)]
builtin: Unify register wrapper functions and wrap clear_registered_* functions too

9 years agoPerformance fixes.
onkrot [Sat, 10 Jan 2015 11:05:42 +0000 (11:05 +0000)]
Performance fixes.

9 years agoAdd VoxelArea::hasEmptyExtent
unknown [Tue, 13 Jan 2015 13:23:31 +0000 (23:23 +1000)]
Add VoxelArea::hasEmptyExtent

9 years agoFix Android crash on keyboard connection change.
Kodexky [Mon, 12 Jan 2015 19:17:07 +0000 (14:47 -0430)]
Fix Android crash on keyboard connection change.

9 years agoAttempt to fix occasional issue of uninitialized MapBlock data
kwolekr [Tue, 13 Jan 2015 03:31:08 +0000 (22:31 -0500)]
Attempt to fix occasional issue of uninitialized MapBlock data

9 years agoPrevent transform of noise3d result in getBlockSeed2
kwolekr [Mon, 12 Jan 2015 20:46:04 +0000 (15:46 -0500)]
Prevent transform of noise3d result in getBlockSeed2

9 years agoMapgen V5: Move cave generation from base terrain loop to optional function
paramat [Sun, 11 Jan 2015 09:21:55 +0000 (09:21 +0000)]
Mapgen V5: Move cave generation from base terrain loop to optional function

This fixes biome surface in tunnels

9 years agoRemove builtin_biome.lua from builtin and add simple biome minimal
paramat [Thu, 1 Jan 2015 06:47:07 +0000 (06:47 +0000)]
Remove builtin_biome.lua from builtin and add simple biome minimal

9 years agoLua-api.txt: Document that paramtype='light' results in light propagation with attenu...
paramat [Sat, 10 Jan 2015 07:01:54 +0000 (07:01 +0000)]
Lua-api.txt: Document that paramtype='light' results in light propagation with attenuation and is essential for a light source to spread it's light

9 years agoDisable sound and key binding settings in "pause" menu on android
sapier [Sun, 11 Jan 2015 12:58:49 +0000 (13:58 +0100)]
Disable sound and key binding settings in "pause" menu on android

9 years agoFix invalid stepheight increase calculation on android
sapier [Sun, 11 Jan 2015 12:57:26 +0000 (13:57 +0100)]
Fix invalid stepheight increase calculation on android

9 years agoIncrease stepheight on android by 0.5 to smoothen movement
sapier [Sun, 11 Jan 2015 03:32:56 +0000 (04:32 +0100)]
Increase stepheight on android by 0.5 to smoothen movement

9 years agoFix clipping rectangle of GUITable row highlight
Kahrl [Sat, 10 Jan 2015 18:56:14 +0000 (19:56 +0100)]
Fix clipping rectangle of GUITable row highlight

9 years agoChange default font sizes to 14(freetype) and 10(non-freetype)
sfan5 [Sat, 10 Jan 2015 17:59:43 +0000 (18:59 +0100)]
Change default font sizes to 14(freetype) and 10(non-freetype)

9 years agoSet default value for ENABLE_REDIS to 0
sfan5 [Sat, 10 Jan 2015 14:28:25 +0000 (15:28 +0100)]
Set default value for ENABLE_REDIS to 0

9 years agoRevert "Switch default scaling factor to 0.75 as most ppl seem to have 96dpi screens...
sapier [Fri, 9 Jan 2015 18:07:55 +0000 (19:07 +0100)]
Revert "Switch default scaling factor to 0.75 as most ppl seem to have 96dpi screens instead of previous assumed 72"
which ain't required any longer as fonts are no longer autoadjusted
This reverts commit 7ad17a25f4dfc81427df54d5c855b40b4472d517.

9 years agoRemove automatic consistent formspec size <-> font size (now has to be done manually)
sapier [Fri, 9 Jan 2015 17:01:59 +0000 (18:01 +0100)]
Remove automatic consistent formspec size <-> font size (now has to be done manually)
Set builtin formspecs to autoscale in order to get consistent formspec look and feel
Uncouple label positioning from font size (May break some formspecs but is required to allow manual font adjustment)

9 years agoRemoved superfluous facedir check in mapblock_mesh.cpp
Craig Robbins [Fri, 9 Jan 2015 16:06:33 +0000 (02:06 +1000)]
Removed superfluous facedir check in mapblock_mesh.cpp

9 years agoFix logic of checkbox formspec element validity checking
Kahrl [Fri, 9 Jan 2015 15:57:54 +0000 (16:57 +0100)]
Fix logic of checkbox formspec element validity checking

9 years agoFix memory leaks due to messed up memory handling for particles as well as their...
sapier [Mon, 5 Jan 2015 17:34:59 +0000 (18:34 +0100)]
Fix memory leaks due to messed up memory handling for particles as well as their spawners

9 years agoSplit gui_scaling to gui_scaling + hud_scaling as those elements need different handl...
sapier [Tue, 6 Jan 2015 23:10:46 +0000 (00:10 +0100)]
Split gui_scaling to gui_scaling + hud_scaling as those elements need different handling on some devices

9 years agoFix facedir > 23 causes segfault in client
Craig Robbins [Fri, 9 Jan 2015 05:42:03 +0000 (15:42 +1000)]
Fix facedir > 23 causes segfault in client
See issue #2017
Applied kahrl's gist

9 years agoSwitch default scaling factor to 0.75 as most ppl seem to have 96dpi screens instead...
sapier [Thu, 8 Jan 2015 23:37:02 +0000 (00:37 +0100)]
Switch default scaling factor to 0.75 as most ppl seem to have 96dpi screens instead of previous assumed 72

9 years agoRemove included SQLite3 2046/head
ShadowNinja [Sun, 4 Jan 2015 18:48:23 +0000 (13:48 -0500)]
Remove included SQLite3

9 years agoAdd SQLite3 libraries to buildbot
sfan5 [Thu, 8 Jan 2015 20:30:07 +0000 (21:30 +0100)]
Add SQLite3 libraries to buildbot

9 years agoReturn step smoothing value to 23
paramat [Wed, 7 Jan 2015 12:22:33 +0000 (12:22 +0000)]
Return step smoothing value to 23

9 years agoMapgen V6: Re-enable liquid flowing
kwolekr [Thu, 8 Jan 2015 00:25:27 +0000 (19:25 -0500)]
Mapgen V6: Re-enable liquid flowing

9 years agoRemove accidentally added non-ft font files
sapier [Thu, 8 Jan 2015 00:02:24 +0000 (01:02 +0100)]
Remove accidentally added non-ft font files

9 years agoFix armv7 using arm arch while arm uses armv7
sapier [Wed, 7 Jan 2015 23:11:00 +0000 (00:11 +0100)]
Fix armv7 using arm arch while arm uses armv7

9 years agoFix direction property of HUD
rubenwardy [Wed, 7 Jan 2015 19:08:51 +0000 (19:08 +0000)]
Fix direction property of HUD

9 years agoFix emerge thread not cleaning up emerge queue on shutdown
sapier [Sun, 4 Jan 2015 00:01:30 +0000 (01:01 +0100)]
Fix emerge thread not cleaning up emerge queue on shutdown

9 years agoSwitch android build to external sqlite3
sapier [Wed, 7 Jan 2015 00:01:03 +0000 (01:01 +0100)]
Switch android build to external sqlite3

9 years agoFix andorid build error
sapier [Tue, 6 Jan 2015 23:10:21 +0000 (00:10 +0100)]
Fix andorid build error

9 years agoImplement X11 dpi autodetection
sapier [Tue, 6 Jan 2015 21:40:34 +0000 (22:40 +0100)]
Implement X11 dpi autodetection

9 years agoFix buildbot (was broken by 04a1a446cf845a0db80d39fd0e42771aa07e4492)
sfan5 [Tue, 6 Jan 2015 18:43:21 +0000 (19:43 +0100)]
Fix buildbot (was broken by 04a1a446cf845a0db80d39fd0e42771aa07e4492)

9 years agoFixes for android 2057/head
sapier [Tue, 6 Jan 2015 15:01:49 +0000 (16:01 +0100)]
Fixes for android
Copy only minetest_game to apk by default
Don't copy .git and .svn folders to apk
Fix bouncing asset copy scrollbar due to long filepaths
Reenable font scaling to fix broken menu on high dpi screens
Implement minetest loglevel to android loglevel mapping
Disable touch digging while moving around

9 years agoAdd registered_ores and registered_decorations
ShadowNinja [Mon, 5 Jan 2015 02:30:55 +0000 (21:30 -0500)]
Add registered_ores and registered_decorations

9 years agoPrevent client crashing if an NDT_AIRLIKE node is dropped
Craig Robbins [Mon, 5 Jan 2015 12:39:08 +0000 (22:39 +1000)]
Prevent client crashing if an NDT_AIRLIKE node is dropped

The player dropping the node can either be themselves or another player (i.e. without this fix you can crash other people's clients)
Thanks CWz for reporting the issue

9 years agoShorten ManualMapVoxelManipulator to MMVManip
kwolekr [Mon, 5 Jan 2015 07:42:27 +0000 (02:42 -0500)]
Shorten ManualMapVoxelManipulator to MMVManip

9 years agoOptionally specify propagateSunlight area in calcLighting
kwolekr [Mon, 5 Jan 2015 06:18:53 +0000 (01:18 -0500)]
Optionally specify propagateSunlight area in calcLighting

This fixes the Mapgen V5 calcLighting segfault

9 years agoFix off-by-one error in `string:split` implementation.
Diego Martínez [Sun, 4 Jan 2015 23:10:25 +0000 (20:10 -0300)]
Fix off-by-one error in `string:split` implementation.

9 years agoExclude vertical mapblock borders when setting light
kwolekr [Mon, 5 Jan 2015 04:14:16 +0000 (23:14 -0500)]
Exclude vertical mapblock borders when setting light

9 years agoNodeDef: Clear NodeResolver related entries too in clear()
kwolekr [Mon, 5 Jan 2015 03:39:57 +0000 (22:39 -0500)]
NodeDef: Clear NodeResolver related entries too in clear()

9 years agoAdd minetest.generate_ores() and minetest.generate_decorations()
kwolekr [Mon, 5 Jan 2015 03:37:20 +0000 (22:37 -0500)]
Add minetest.generate_ores() and minetest.generate_decorations()

9 years agoFix broken android version due to new openssl not linking correct to curl
sapier [Sun, 4 Jan 2015 23:48:33 +0000 (00:48 +0100)]
Fix broken android version due to new openssl not linking correct to curl

9 years agoNodeResolver: Perform callback immediately if node registration phase finished
kwolekr [Sun, 4 Jan 2015 21:32:31 +0000 (16:32 -0500)]
NodeResolver: Perform callback immediately if node registration phase finished

Also add NodeResolver callbacks on the client

9 years agoFix forgotten favourite list image update of simple menu
sapier [Sun, 4 Jan 2015 16:37:45 +0000 (17:37 +0100)]
Fix forgotten favourite list image update of simple menu

9 years agoRe-add lost way to debug simple menu on PC
sapier [Sun, 4 Jan 2015 16:19:25 +0000 (17:19 +0100)]
Re-add lost way to debug simple menu on PC

9 years agoSwitch to official openssl version and update to 1.0.1j
sapier [Sat, 3 Jan 2015 22:49:46 +0000 (23:49 +0100)]
Switch to official openssl version and update to 1.0.1j

9 years agoRemove freezemelt documentation from lua_api.txt
Craig Robbins [Sun, 4 Jan 2015 11:53:25 +0000 (21:53 +1000)]
Remove freezemelt documentation from lua_api.txt

9 years agoRemove freezemelt (the remainder of proller nonsense)
kwolekr [Sun, 4 Jan 2015 08:30:10 +0000 (03:30 -0500)]
Remove freezemelt (the remainder of proller nonsense)

9 years agoAdd warning about using deprecated fields in Mapgen API and update docs
kwolekr [Sun, 4 Jan 2015 08:21:42 +0000 (03:21 -0500)]
Add warning about using deprecated fields in Mapgen API and update docs

9 years agoLuaVoxelManip: Error when given out-of-bounds area
kwolekr [Sun, 4 Jan 2015 08:07:28 +0000 (03:07 -0500)]
LuaVoxelManip: Error when given out-of-bounds area

9 years agoLighting: Fix nearly all issues
kwolekr [Sun, 4 Jan 2015 07:34:33 +0000 (02:34 -0500)]
Lighting: Fix nearly all issues

The cause of a single light source seemingly being lit without spread
was due to its creation in the +Y mapblock boundary layer during map
generation, which was ignored as the overtop.  This overtop explicitly
needs to be omitted during sunlight propagation, however.  To accomplish
this, Mapgen::calcLighting() was split into separate functions taking
separate parameters.
Additionally, do not diminish light too early during spread.  This fixes the
output inconsistency between Map::updateLighting and Mapgen::calcLighting.

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)