kwolekr [Sun, 1 Feb 2015 07:05:39 +0000 (02:05 -0500)]
Randomly generate seed if field blank for any Settings instance
Kahrl [Fri, 23 Jan 2015 00:01:21 +0000 (01:01 +0100)]
Fix NDT_GLASSLIKE normals
Remove inventorycube() workaround for default:glass in minimal game
Craig Robbins [Fri, 30 Jan 2015 14:33:23 +0000 (00:33 +1000)]
Fix local map saving when joining a local server from the server tab
Disables local map saving for all local server types
See: https://github.com/minetest/minetest/issues/2024
Kahrl [Wed, 28 Jan 2015 04:01:07 +0000 (05:01 +0100)]
Fix uninitialized variable m_database_delete in Database_SQLite3
This fixes issue #2219
kwolekr [Wed, 28 Jan 2015 03:36:53 +0000 (22:36 -0500)]
Prevent null concatenation when /deleteblocks is provided an incorrect format
kwolekr [Wed, 28 Jan 2015 03:29:02 +0000 (22:29 -0500)]
Write common mapgen params to map_meta.txt on world initialization
Loic Blot [Mon, 26 Jan 2015 14:52:02 +0000 (15:52 +0100)]
Fix a crash (assert) when client set serial version < 24 in INIT
When SER_FMT_VER_LOWEST is set to zero, then the test is stupid in INIT because all client works. In mapblock we check if client's serialization version is < 24, but if client sent serialization version < 24 (15 for example) the server set it and tried to send nodes, then BOOM
To resolve the problem:
* Create a different CLIENT_MIN_VERSION to handle this problem
* Remove the exception
* Use an assert in case of bad developer code
kwolekr [Tue, 27 Jan 2015 07:07:41 +0000 (02:07 -0500)]
Fix missing map_meta.txt error when creating new worlds
A missing map_meta.txt should be treated simply as if there were a blank file.
Craig Robbins [Mon, 26 Jan 2015 14:39:33 +0000 (00:39 +1000)]
Revert "Fix a crash (assert) when client set serial version < 24 in INIT command SER_FMT_VER_LOWEST is set to zero, then the test is stupid in INIT because all client works. In mapblock we check if client's serialization version is < 24, but if client sent serialization version < 24 (15 for example) the server set it and tried to send nodes, then BOOM"
nerzhul is (may?) be working on a new solution. For the moment this is reverted because old worlds cannot be loaded (see discussion on github for the commit).
This reverts commit
800d19270250bb13cc6b2d330199815bf8e96446.
ShadowNinja [Mon, 26 Jan 2015 01:19:35 +0000 (20:19 -0500)]
Fix imprecise serialization of large numbers
gregorycu [Sun, 25 Jan 2015 06:08:12 +0000 (16:08 +1000)]
Suppress MSVC warning in chat.cpp
gregorycu [Sat, 24 Jan 2015 09:40:27 +0000 (20:40 +1100)]
Settings fixes Make the GameGlobalShaderConstantSetter use the settings callback (8% perf improvement in game loop) Ensure variable is set Ensure settings callback is threadsafe
Craig Robbins [Sat, 24 Jan 2015 15:19:40 +0000 (01:19 +1000)]
Revert "Make the GameGlobalShaderConstantSetter use the settings callback (8% perf improvement in game loop)"
This reverts commit
a555e2d9b0ccee452996381a44677b8bec210036.
(@U-Exp) [Sat, 24 Jan 2015 10:07:04 +0000 (11:07 +0100)]
Fix a crash (assert) when client set serial version < 24 in INIT command SER_FMT_VER_LOWEST is set to zero, then the test is stupid in INIT because all client works. In mapblock we check if client's serialization version is < 24, but if client sent serialization version < 24 (15 for example) the server set it and tried to send nodes, then BOOM
Kahrl [Sat, 24 Jan 2015 05:44:41 +0000 (06:44 +0100)]
Fix uninitialized variable Server::m_next_sound_id
Craig Robbins [Sat, 24 Jan 2015 04:22:50 +0000 (14:22 +1000)]
Fix unitialised variable occassionally being used
gregorycu [Sat, 24 Jan 2015 02:03:57 +0000 (13:03 +1100)]
Make the GameGlobalShaderConstantSetter use the settings callback (8% perf improvement in game loop)
Amend the settings callback to support userdata
paramat [Wed, 21 Jan 2015 11:42:13 +0000 (11:42 +0000)]
Mgv5: Skip calculation of filler, heat and humidity perlinmaps in underground mapchunks
ShadowNinja [Wed, 21 Jan 2015 19:32:12 +0000 (14:32 -0500)]
Send real port to server list
paramat [Mon, 19 Jan 2015 11:03:54 +0000 (11:03 +0000)]
Mgv7 generateRidgeTerrain: Make river generation relative to water level
Remove widthn and make nridge zero underwater
paramat [Sun, 18 Jan 2015 12:35:38 +0000 (12:35 +0000)]
Mgv7: Speed optimise calculateNoise and generateRidgeTerrain
Remove unnecessary range limiting of persistmap
Skip calculation of filler, mountain, ridge, heat and humidity perlinmaps in underground mapchunks
Skip generateRidgeTerrain in underground mapchunks
paramat [Sun, 18 Jan 2015 11:52:59 +0000 (11:52 +0000)]
Mgv7 generateRidgeTerrain: Enable rangelim of widthn to remove abysses, calculate widthn later in function
Reduce width to 0.2
Carve river channels in deeper waters
Craig Robbins [Wed, 21 Jan 2015 10:58:26 +0000 (20:58 +1000)]
Allow filter and mipmap drop down menues to be translated
Markus Koschany [Tue, 20 Jan 2015 09:47:27 +0000 (10:47 +0100)]
Improve desktop file
est31 [Sat, 10 Jan 2015 19:30:44 +0000 (20:30 +0100)]
Update german translation
TriBlade9 [Mon, 19 Jan 2015 06:15:20 +0000 (14:15 +0800)]
Added ratio argument to colorize, removed the weird alpha-based ratio.
Markus Koschany [Tue, 20 Jan 2015 09:50:00 +0000 (10:50 +0100)]
Fix hyphen used as minus sign
ngosang [Sun, 18 Jan 2015 19:32:54 +0000 (20:32 +0100)]
Update Spanish language
I am a native speaker. I have corrected all the mistakes I've found.
Update Spanish language
paramat [Tue, 13 Jan 2015 07:18:00 +0000 (07:18 +0000)]
Mapgen V5: Various improvements
Caves check for biome nodes, only excavate stone under water level
Unease caves noises, use MT0.3 parameters
Blobgen after cavegen
Biomegen: remove 'is replaceable content' bool
kwolekr [Mon, 19 Jan 2015 04:29:19 +0000 (23:29 -0500)]
Fix all warnings and remove -Wno-unused-but-set cflag
kwolekr [Mon, 19 Jan 2015 03:30:11 +0000 (22:30 -0500)]
Add SemiDebug (-O1 with debug symbols) build mode and do not optimize Debug at all
Add -Wall to Debug modes for all compilers and -Wabi for non-MSVC
Use /Ox for MSVC Release mode (potentially higher optimization than /O2)
kwolekr [Sun, 18 Jan 2015 18:14:25 +0000 (13:14 -0500)]
Reorganize supported video driver query mechanisms
kwolekr [Sun, 18 Jan 2015 18:19:40 +0000 (13:19 -0500)]
Revert "Fix style on settings tab"
This reverts commit
7b17b9059e30cef384ecca37feec87cdcdfd39b8.
kwolekr [Sun, 18 Jan 2015 18:19:28 +0000 (13:19 -0500)]
Revert "Fix bug in debug build"
This reverts commit
839c4a99cddcacdc19dee42286b7029c4c1e7800.
Craig Robbins [Sun, 18 Jan 2015 14:26:59 +0000 (00:26 +1000)]
Fix bug in debug build
-O1 results in executables that are completely useless for actuall debugging
jeanpatrick.guerrero@gmail.com [Sun, 18 Jan 2015 13:38:21 +0000 (14:38 +0100)]
Fix style on settings tab
Kahrl [Sat, 17 Jan 2015 19:05:45 +0000 (20:05 +0100)]
Fix use of uninit data in Sky and (potentially) GUIChatConsole constructors
Clean up nearby code a bit
As a small side effect, it is now possible to add a background texture
to the chat console by simply providing background_chat.jpg, it is no
longer necessary to also add "console_color =" to minetest.conf.
Craig Robbins [Sun, 18 Jan 2015 06:08:49 +0000 (16:08 +1000)]
Fix particles causing unitialised data being used due to use of incorrect union member
gregorycu [Tue, 13 Jan 2015 14:19:54 +0000 (01:19 +1100)]
Water fixes
Change must_reflow to a deque
Add overload for MapBlock::raiseModified that takes a const char*. This is a speed improvement.
Comment out unused variable
Optimisations to block offset calculations
Craig Robbins [Sat, 17 Jan 2015 09:19:26 +0000 (19:19 +1000)]
Create empty default constructor for MapNode
paramat [Sun, 11 Jan 2015 13:36:08 +0000 (13:36 +0000)]
Mgv7: Replace small pseudorandom caves with 3D noise tunnels. Fewer large caves
sapier [Sat, 17 Jan 2015 18:14:36 +0000 (19:14 +0100)]
Fix NodeMetadataList loosing memory on deserialize due to invalid clear map call instead of clear
gregorycu [Sat, 17 Jan 2015 18:13:08 +0000 (19:13 +0100)]
Fix entitiy WieldMeshSceneNode not freed due to additional grab
Craig Robbins [Fri, 16 Jan 2015 11:05:44 +0000 (21:05 +1000)]
Make minor style change(unescape_string())
Loic Blot [Fri, 16 Jan 2015 10:59:59 +0000 (20:59 +1000)]
Fix missing return in Database_Dummy::deleteBlock
Loic Blot [Fri, 16 Jan 2015 10:53:14 +0000 (20:53 +1000)]
Optimize bumpmapping mathematics
OpenGL_vertex:
* bufferize a duplicate calcul
* Factorize vertexes
Craig Robbins [Fri, 16 Jan 2015 04:32:27 +0000 (14:32 +1000)]
Fix potential out-of-bounds array index
kwolekr [Thu, 15 Jan 2015 23:03:43 +0000 (18:03 -0500)]
Simplify deleteblocks chat command argument parsing
Add optional core.pos_to_string decimal place rounding
Move core.string_to_pos to builtin/common/misc_helpers.lua for consistency
kwolekr [Thu, 15 Jan 2015 21:20:05 +0000 (16:20 -0500)]
Add ability to delete MapBlocks from map
Also add a Lua API and chatcommand for this
kwolekr [Thu, 15 Jan 2015 17:46:42 +0000 (12:46 -0500)]
Initialize noise ptr on creation (fixes crash if OreVein deleted before use)
ShadowNinja [Thu, 15 Jan 2015 21:14:40 +0000 (16:14 -0500)]
Fix unescape_string removing all backslashes
Diego MartÃnez [Thu, 15 Jan 2015 18:08:06 +0000 (15:08 -0300)]
Fix typo in `serialize.lua`.
sapier [Thu, 15 Jan 2015 20:51:54 +0000 (21:51 +0100)]
Android, build: Update curl to 7.40.00
kilbith [Thu, 15 Jan 2015 19:17:54 +0000 (20:17 +0100)]
Add missing return value for filter/mipmap dropdown in mainmenu
Craig Robbins [Thu, 15 Jan 2015 15:30:03 +0000 (01:30 +1000)]
Revert "Optimize bumpmapping mathematics"
This reverts commit
148fffb0f23fa437c67639ff3cc69177fb71d76a.
kilbith [Thu, 15 Jan 2015 13:18:20 +0000 (14:18 +0100)]
Small tweaking (alignement - client tab)
Loic Blot [Thu, 15 Jan 2015 13:11:56 +0000 (23:11 +1000)]
Optimize bumpmapping mathematics
OpenGL_vertex:
* bufferize a duplicate calcul
* Factorize vertexes
unknown [Tue, 13 Jan 2015 12:28:21 +0000 (23:28 +1100)]
Change UniqueQueue to use a queue and a set.
jeanpatrick.guerrero@gmail.com [Wed, 14 Jan 2015 14:46:18 +0000 (00:46 +1000)]
Reorganizing client and server tabs
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).
Craig Robbins [Wed, 14 Jan 2015 05:43:33 +0000 (15:43 +1000)]
Fix use of uninitialized data
kwolekr [Tue, 13 Jan 2015 17:26:13 +0000 (12:26 -0500)]
builtin: Unify register wrapper functions and wrap clear_registered_* functions too
onkrot [Sat, 10 Jan 2015 11:05:42 +0000 (11:05 +0000)]
Performance fixes.
unknown [Tue, 13 Jan 2015 13:23:31 +0000 (23:23 +1000)]
Add VoxelArea::hasEmptyExtent
Kodexky [Mon, 12 Jan 2015 19:17:07 +0000 (14:47 -0430)]
Fix Android crash on keyboard connection change.
kwolekr [Tue, 13 Jan 2015 03:31:08 +0000 (22:31 -0500)]
Attempt to fix occasional issue of uninitialized MapBlock data
kwolekr [Mon, 12 Jan 2015 20:46:04 +0000 (15:46 -0500)]
Prevent transform of noise3d result in getBlockSeed2
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
paramat [Thu, 1 Jan 2015 06:47:07 +0000 (06:47 +0000)]
Remove builtin_biome.lua from builtin and add simple biome minimal
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
sapier [Sun, 11 Jan 2015 12:58:49 +0000 (13:58 +0100)]
Disable sound and key binding settings in "pause" menu on android
sapier [Sun, 11 Jan 2015 12:57:26 +0000 (13:57 +0100)]
Fix invalid stepheight increase calculation on android
sapier [Sun, 11 Jan 2015 03:32:56 +0000 (04:32 +0100)]
Increase stepheight on android by 0.5 to smoothen movement
Kahrl [Sat, 10 Jan 2015 18:56:14 +0000 (19:56 +0100)]
Fix clipping rectangle of GUITable row highlight
sfan5 [Sat, 10 Jan 2015 17:59:43 +0000 (18:59 +0100)]
Change default font sizes to 14(freetype) and 10(non-freetype)
sfan5 [Sat, 10 Jan 2015 14:28:25 +0000 (15:28 +0100)]
Set default value for ENABLE_REDIS to 0
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.
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)
Craig Robbins [Fri, 9 Jan 2015 16:06:33 +0000 (02:06 +1000)]
Removed superfluous facedir check in mapblock_mesh.cpp
Kahrl [Fri, 9 Jan 2015 15:57:54 +0000 (16:57 +0100)]
Fix logic of checkbox formspec element validity checking
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
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
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
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
ShadowNinja [Sun, 4 Jan 2015 18:48:23 +0000 (13:48 -0500)]
Remove included SQLite3
sfan5 [Thu, 8 Jan 2015 20:30:07 +0000 (21:30 +0100)]
Add SQLite3 libraries to buildbot
paramat [Wed, 7 Jan 2015 12:22:33 +0000 (12:22 +0000)]
Return step smoothing value to 23
kwolekr [Thu, 8 Jan 2015 00:25:27 +0000 (19:25 -0500)]
Mapgen V6: Re-enable liquid flowing
sapier [Thu, 8 Jan 2015 00:02:24 +0000 (01:02 +0100)]
Remove accidentally added non-ft font files
sapier [Wed, 7 Jan 2015 23:11:00 +0000 (00:11 +0100)]
Fix armv7 using arm arch while arm uses armv7
rubenwardy [Wed, 7 Jan 2015 19:08:51 +0000 (19:08 +0000)]
Fix direction property of HUD
sapier [Sun, 4 Jan 2015 00:01:30 +0000 (01:01 +0100)]
Fix emerge thread not cleaning up emerge queue on shutdown
sapier [Wed, 7 Jan 2015 00:01:03 +0000 (01:01 +0100)]
Switch android build to external sqlite3
sapier [Tue, 6 Jan 2015 23:10:21 +0000 (00:10 +0100)]
Fix andorid build error
sapier [Tue, 6 Jan 2015 21:40:34 +0000 (22:40 +0100)]
Implement X11 dpi autodetection
sfan5 [Tue, 6 Jan 2015 18:43:21 +0000 (19:43 +0100)]
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
ShadowNinja [Mon, 5 Jan 2015 02:30:55 +0000 (21:30 -0500)]
Add registered_ores and registered_decorations
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
kwolekr [Mon, 5 Jan 2015 07:42:27 +0000 (02:42 -0500)]
Shorten ManualMapVoxelManipulator to MMVManip