ShadowNinja [Wed, 11 Feb 2015 07:27:43 +0000 (02:27 -0500)]
Fix Android build of narrow_to_wide
Craig Robbins [Wed, 11 Feb 2015 07:01:19 +0000 (17:01 +1000)]
Revert "Remove workaround in itemdef.cpp to enable/disable/enable "enable_shaders" setting"
This reverts commit
d25ff8fd2592f457b91e8a61240694af3902d23f.
Craig Robbins [Wed, 11 Feb 2015 06:02:16 +0000 (16:02 +1000)]
Remove workaround in itemdef.cpp to enable/disable/enable "enable_shaders" setting
* Increase performance (client)
* Avoid changing a global value to solve a local problem
Markus Koschany [Tue, 20 Jan 2015 09:41:51 +0000 (10:41 +0100)]
Fix FTBFS on GNU/Hurd platform
Minetest fails to build on GNU/Hurd due to a name clash with OSX/Apple,
both are defining the __MACH__ keyword. This commit fixes the issue.
Craig Robbins [Sat, 7 Feb 2015 07:52:56 +0000 (17:52 +1000)]
Increase MapBlock::actuallyUpdateDayNightDiff() performance by 2-8x. ok @celeron55
Before patch, function consumes up to ~8% of the main server loop. After, ~0% (below level of 2 places of significance)
Loic Blot [Mon, 26 Jan 2015 11:21:18 +0000 (12:21 +0100)]
Replace getPlayer(playername) by getPlayer(peer_id) in some possible cases. ok @Zeno-
est31 [Tue, 6 Jan 2015 20:46:00 +0000 (21:46 +0100)]
README.txt: Simplify initial build steps by using git to fetch sources
Also simplify wget steps and apt-get install zlib1g-dev libjsoncpp-dev
Loic Blot [Mon, 26 Jan 2015 15:47:03 +0000 (16:47 +0100)]
Craftdef.cpp: Improve loop and mathematics for CraftDefinitionShaped::check
ngosang [Tue, 27 Jan 2015 00:17:04 +0000 (01:17 +0100)]
Fix Exit to OS button focus in Pause Menu
Loic Blot [Mon, 12 Jan 2015 16:01:41 +0000 (17:01 +0100)]
Network Layer 7 rework (Packet handling)
* Move networkcode to a dedicated directory
* Rename clientserver.h to network/networkprotocol.h (Better name) and sanitize some includes
* Create object NetworkPacket
* It stores command (opcode) and data separated
* It also stores peer_id
* Data reading can be done by using a streaming interface
* Change packet routing analysis
* Remove old conditional analysis
* Now uses function pointed analysis and add connection state ({Client,Server}::handlers)
* Connection state permit to categorize condition to handle before analyze packets
* Create a handler for depreciated messages, instead of duplicating code
kwolekr [Sun, 8 Feb 2015 17:45:19 +0000 (12:45 -0500)]
Hud: Modify Y-positioning of health/breath starbars to prevent overlapping with Hotbar
gregorycu [Mon, 2 Feb 2015 12:54:32 +0000 (23:54 +1100)]
Fix rebase bug, make render loop use cache setting
Craig Robbins [Fri, 6 Feb 2015 12:58:11 +0000 (22:58 +1000)]
Fix warnings in CGUITTFont.cpp
ShadowNinja [Thu, 5 Feb 2015 16:49:14 +0000 (11:49 -0500)]
Fix gettext
ShadowNinja [Sun, 1 Feb 2015 22:59:23 +0000 (17:59 -0500)]
Reduce gettext wide/narrow and string/char* conversions
ShadowNinja [Wed, 21 Jan 2015 20:11:34 +0000 (15:11 -0500)]
Fix translation memory leak
ShadowNinja [Wed, 21 Jan 2015 20:10:56 +0000 (15:10 -0500)]
Fix translation finding of overlay messages
ShadowNinja [Wed, 21 Jan 2015 19:12:14 +0000 (14:12 -0500)]
Add wstrgettext to list of translation update keywords
paramat [Tue, 27 Jan 2015 22:11:24 +0000 (22:11 +0000)]
Mgv7 mountains: Remove divide by zero code that creates vast walls
Conf.example: Add mgv7 cave1, cave2 noiseparams
Mgv7: Make skipping of mountain code relative to y=0 not water level
Mountain noise offset now -0.6 to compensate
Tune chance of large caves
Craig Robbins [Thu, 5 Feb 2015 07:22:10 +0000 (17:22 +1000)]
Fix performance regression
SmallJoker [Wed, 4 Feb 2015 08:00:34 +0000 (09:00 +0100)]
Give full breath after death
gregorycu [Mon, 2 Feb 2015 14:26:03 +0000 (01:26 +1100)]
Fix dying of lava causes repeated death This is a bugfix for issue #81
rubenwardy [Wed, 4 Feb 2015 10:18:16 +0000 (10:18 +0000)]
Change assignment to global in a function to warning
ngosang [Tue, 27 Jan 2015 12:20:57 +0000 (13:20 +0100)]
Suppress 4 gcc 4.9.2 warnings in CGUITTFont.cpp
Steven Smith [Wed, 4 Feb 2015 01:16:20 +0000 (09:16 +0800)]
Fix download URL
sapier [Mon, 2 Feb 2015 20:31:20 +0000 (21:31 +0100)]
Fix getCraftRecipe returing wrong reciep due to way to unspecific output matching
kwolekr [Mon, 2 Feb 2015 07:01:13 +0000 (02:01 -0500)]
Fix some MSVC-specific warnings and add debug path as an MSVC directory
kwolekr [Sun, 1 Feb 2015 08:08:04 +0000 (03:08 -0500)]
Create minidump on fatal Win32 exceptions
Remove software exception translator function, simplifying exception handler
macros. FatalSystemExceptions are left unhandled.
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