oweals/minetest.git
9 years agoPerformance Improvement: Use a cache which caches result for getFacePositions.
Loic Blot [Sun, 15 Feb 2015 16:30:38 +0000 (17:30 +0100)]
Performance Improvement: Use a cache which caches result for getFacePositions.
This greatly reduce the number of std::list generated by caching the result, which is always constant for each radius selected.
In the callgrind map, you will see original:
  * 3.3M calls to std::list for 9700 calls to getFacePositions
In the modified version, you will see:
  * 3.3K calls to std::list for 6900 call to getFacePositions
Callgrind map is here: #2321

it's a huge performance improvement to l_find_node_near

9 years ago[Patch 2/4] Network rework: packet writing, sending and cleanups
Loic Blot [Fri, 16 Jan 2015 10:37:49 +0000 (11:37 +0100)]
[Patch 2/4] Network rework: packet writing, sending and cleanups

NetworkPacket.cpp:
* Remove some deprecated functions, we must use streaming interface
* m_data converted from u8* to std::vector<u8>
* Add an exporter to forge packet to Connection object
* implement operator << std::wstring. n
* implement operator << std::string
* dynamic resize when write packet content.
* fix string writing and performances.
* create ServerCommandFactory, used by client to get useful informations about packet processing (sending).
  * Reliability
  * Transmit channel
* Implement putRawString for some ugly char (_INIT packet), and use it.
* Many packet read and write migrated
* Implement oldForgePacket to interface writing with current connection
* fix U8/char/bool writing
* fix string writing and performances.
* add some missing functions
* Use v3s16 read instead of reading x,y,z separately
* Add irr::video::SColor support into packets
* Add some missing handlers
* Add a template function to increase offset
* Throw a serialization error on packet reading (must be improved)

PacketFactories:
* Create ServerCommandFactory, used by client to get useful informations about packet processing (sending).
* Create ClientCommandFactory, used by server to get useful informations about packet processing (sending).

Client.cpp:
* implement NetworkPacket ::Send interface.
* Move packet handlers to a dedicated file
* Remove Client::Send(SharedBuffer)

Server.cpp:
* implement NetworkPacket ::Send interface.
* Rewrite all packets using NetworkPacket
* Move packet handlers to a dedicated file
* Remove Server::Send(SharedBuffer)

ClientIface.cpp:
* Remove sendToAll(SharedBuffer<u8>)

Connection.hpp rework:
* Remove duplicate include
* Remove duplicate negation
* Remove a useless variable
* Improve code performance by using a m_peers_list instead of scanning m_peers map
* Remove Connection::Send(SharedBuffer)
* Fix useafterfree into NetworkPacket Sending
* Remove unused Connection::sendToAll

Test.cpp:
* Remove dead code
* Update tests to use NetworkPackets

Misc:
* add new wrappers to Send packets in client, using NetworkPacket
* Add NetworkPacket methods for Connection
* coding style fix
* dead code since changes cleanup
* Use v3s16 read instead of reading x,y,z separately in some packets
* Use different files to handle packets received by client and server
* Cleanup: Remove useless includes

ok @Zeno-
Tested by @Zeno- @VanessaE and @nerzhul on running servers

9 years agoFix minetest.item_eat's replace_with_item, fixes #2292
rubenwardy [Thu, 12 Feb 2015 16:57:22 +0000 (16:57 +0000)]
Fix minetest.item_eat's replace_with_item, fixes #2292

9 years agoFix unit test if there isn't a localhost address (for example FreeBSD jails), second...
Loic Blot [Sun, 15 Feb 2015 14:28:41 +0000 (14:28 +0000)]
Fix unit test if there isn't a localhost address (for example FreeBSD jails), second part

9 years agoFix unit test if there isn't a localhost address (for example FreeBSD jails)
Loic Blot [Sun, 15 Feb 2015 12:11:03 +0000 (13:11 +0100)]
Fix unit test if there isn't a localhost address (for example FreeBSD jails)

9 years agoOnly do the IPv6 unit test if IPv6 is enabled
Loic Blot [Sun, 15 Feb 2015 11:20:32 +0000 (12:20 +0100)]
Only do the IPv6 unit test if IPv6 is enabled

9 years agoUpdated Spanish translations
ngosang [Sat, 14 Feb 2015 17:51:31 +0000 (18:51 +0100)]
Updated Spanish translations

9 years agoFix issue #2278, Connection sent before address data loading
Loic Blot [Sat, 14 Feb 2015 22:23:54 +0000 (23:23 +0100)]
Fix issue #2278, Connection sent before address data loading

9 years agoRe-apply 4a6582c13c36cab457b78f32338c6bb4ab9ea58b broken since 146f77fdb750833c649de7...
Loic Blot [Sat, 14 Feb 2015 08:21:04 +0000 (09:21 +0100)]
Re-apply 4a6582c13c36cab457b78f32338c6bb4ab9ea58b broken since 146f77fdb750833c649de7159a0833c398e14a4d

9 years agoFix crash on passing false as value in table to table.copy(t)
est31 [Thu, 12 Feb 2015 21:03:24 +0000 (22:03 +0100)]
Fix crash on passing false as value in table to table.copy(t)

Fixes #2293.

9 years agoSuppress CGUITTFONT build warnings
Craig Robbins [Fri, 13 Feb 2015 10:45:48 +0000 (20:45 +1000)]
Suppress CGUITTFONT build warnings

9 years agoAdd german and french translation for minetest.desktop
Loic Blot [Thu, 12 Feb 2015 18:36:02 +0000 (19:36 +0100)]
Add german and french translation for minetest.desktop
This fixes #1573

9 years agoUpdate czech translation
Jakub Vaněk [Thu, 12 Feb 2015 15:21:43 +0000 (16:21 +0100)]
Update czech translation

9 years agoMinor fixes in translations
ngosang [Wed, 21 Jan 2015 01:50:33 +0000 (02:50 +0100)]
Minor fixes in translations

9 years agoFix gettext on MSVC 2295/head
BlockMen [Thu, 12 Feb 2015 01:55:50 +0000 (02:55 +0100)]
Fix gettext on MSVC

9 years agoFix .zip extraction (mod store)
ngosang [Thu, 22 Jan 2015 16:09:29 +0000 (17:09 +0100)]
Fix .zip extraction (mod store)

9 years agomain.cpp rework * Move ClientLauncher class to a dedicated file * ClientLauncher...
Loic Blot [Tue, 10 Feb 2015 20:14:24 +0000 (21:14 +0100)]
main.cpp rework * Move ClientLauncher class to a dedicated file * ClientLauncher now owns print_video_modes and speed_tests functions (they are only called by him) * Move GameParams to shared/gameparams.h because it's shared between server and client and launcher need to know it * Move InputHandlers class to client/inputhandler.h * Cleanup includes

9 years agoFix store.lua bug: default screenshot
Rui [Thu, 12 Feb 2015 10:26:26 +0000 (19:26 +0900)]
Fix store.lua bug: default screenshot

9 years agoFix tab_mods.lua: default screenshot patch
Rui [Wed, 11 Feb 2015 04:42:58 +0000 (13:42 +0900)]
Fix tab_mods.lua: default screenshot patch

https://forum.minetest.net/viewtopic.php?f=6&t=11201
Fixed this bug.

9 years agoRemove unused variables to make clang happy
Loic Blot [Thu, 12 Feb 2015 09:39:39 +0000 (10:39 +0100)]
Remove unused variables to make clang happy

9 years agoSmall changes in the style of controls
ngosang [Wed, 28 Jan 2015 14:58:22 +0000 (15:58 +0100)]
Small changes in the style of controls

9 years agoMake Clang happy with lua lauxlib.c.
Loic Blot [Thu, 12 Feb 2015 07:00:22 +0000 (08:00 +0100)]
Make Clang happy with lua lauxlib.c.
No functionnal change

9 years agoEnable LUA_USE_POSIX if possible in bundled Lua
est31 [Thu, 12 Feb 2015 06:13:14 +0000 (16:13 +1000)]
Enable LUA_USE_POSIX if possible in bundled Lua

Fixes warning:
src/lua/src/loslib.c:60: Warning: the use of `tmpnam' is dangerous, better use `mkstemp'

9 years agoFix Android compile warning
Craig Robbins [Thu, 12 Feb 2015 03:16:38 +0000 (13:16 +1000)]
Fix Android compile warning

9 years agoFix 'Download complete' dialog in the mods store
ngosang [Wed, 11 Feb 2015 16:00:20 +0000 (17:00 +0100)]
Fix 'Download complete' dialog in the mods store

9 years agoDon't permit to open inventory is playerCAO isn't present. This prevent to open an... 2183/head
Loic Blot [Wed, 11 Feb 2015 10:27:52 +0000 (11:27 +0100)]
Don't permit to open inventory is playerCAO isn't present. This prevent to open an empty inventory at player load. ok @zeno-

9 years agoFix issue #2279. ok @zeno-
Loic Blot [Wed, 11 Feb 2015 08:57:35 +0000 (09:57 +0100)]
Fix issue #2279. ok @zeno-

9 years agoFix Android build since a704c04f00bfea4b77550169fa08105c2ee0dfd0Oxh. ok @zeno-
Loic Blot [Wed, 11 Feb 2015 08:05:24 +0000 (09:05 +0100)]
Fix Android build since a704c04f00bfea4b77550169fa08105c2ee0dfd0Oxh. ok @zeno-

9 years agoRemove workaround in itemdef.cpp to enable/disable/enable "enable_shaders" setting
Craig Robbins [Wed, 11 Feb 2015 07:45:49 +0000 (17:45 +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

9 years agoFix Android build of narrow_to_wide
ShadowNinja [Wed, 11 Feb 2015 07:27:43 +0000 (02:27 -0500)]
Fix Android build of narrow_to_wide

9 years agoRevert "Remove workaround in itemdef.cpp to enable/disable/enable "enable_shaders...
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.

9 years agoRemove workaround in itemdef.cpp to enable/disable/enable "enable_shaders" setting
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

9 years agoFix FTBFS on GNU/Hurd platform
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.

9 years agoIncrease MapBlock::actuallyUpdateDayNightDiff() performance by 2-8x. ok @celeron55
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)

9 years agoReplace getPlayer(playername) by getPlayer(peer_id) in some possible cases. ok @Zeno-
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-

9 years agoREADME.txt: Simplify initial build steps by using git to fetch sources
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

9 years agoCraftdef.cpp: Improve loop and mathematics for CraftDefinitionShaped::check
Loic Blot [Mon, 26 Jan 2015 15:47:03 +0000 (16:47 +0100)]
Craftdef.cpp: Improve loop and mathematics for CraftDefinitionShaped::check

9 years agoFix Exit to OS button focus in Pause Menu
ngosang [Tue, 27 Jan 2015 00:17:04 +0000 (01:17 +0100)]
Fix Exit to OS button focus in Pause Menu

9 years agoNetwork Layer 7 rework (Packet handling)
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

9 years agoHud: Modify Y-positioning of health/breath starbars to prevent overlapping with Hotbar
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

9 years agoFix rebase bug, make render loop use cache setting
gregorycu [Mon, 2 Feb 2015 12:54:32 +0000 (23:54 +1100)]
Fix rebase bug, make render loop use cache setting

9 years agoFix warnings in CGUITTFont.cpp
Craig Robbins [Fri, 6 Feb 2015 12:58:11 +0000 (22:58 +1000)]
Fix warnings in CGUITTFont.cpp

9 years agoFix gettext
ShadowNinja [Thu, 5 Feb 2015 16:49:14 +0000 (11:49 -0500)]
Fix gettext

9 years agoReduce gettext wide/narrow and string/char* conversions
ShadowNinja [Sun, 1 Feb 2015 22:59:23 +0000 (17:59 -0500)]
Reduce gettext wide/narrow and string/char* conversions

9 years agoFix translation memory leak
ShadowNinja [Wed, 21 Jan 2015 20:11:34 +0000 (15:11 -0500)]
Fix translation memory leak

9 years agoFix translation finding of overlay messages
ShadowNinja [Wed, 21 Jan 2015 20:10:56 +0000 (15:10 -0500)]
Fix translation finding of overlay messages

9 years agoAdd wstrgettext to list of translation update keywords
ShadowNinja [Wed, 21 Jan 2015 19:12:14 +0000 (14:12 -0500)]
Add wstrgettext to list of translation update keywords

9 years agoMgv7 mountains: Remove divide by zero code that creates vast walls
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

9 years agoFix performance regression
Craig Robbins [Thu, 5 Feb 2015 07:22:10 +0000 (17:22 +1000)]
Fix performance regression

9 years agoGive full breath after death
SmallJoker [Wed, 4 Feb 2015 08:00:34 +0000 (09:00 +0100)]
Give full breath after death

9 years agoFix dying of lava causes repeated death This is a bugfix for issue #81
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

9 years agoChange assignment to global in a function to warning
rubenwardy [Wed, 4 Feb 2015 10:18:16 +0000 (10:18 +0000)]
Change assignment to global in a function to warning

9 years agoSuppress 4 gcc 4.9.2 warnings in CGUITTFont.cpp
ngosang [Tue, 27 Jan 2015 12:20:57 +0000 (13:20 +0100)]
Suppress 4 gcc 4.9.2 warnings in CGUITTFont.cpp

9 years agoFix download URL
Steven Smith [Wed, 4 Feb 2015 01:16:20 +0000 (09:16 +0800)]
Fix download URL

9 years agoFix getCraftRecipe returing wrong reciep due to way to unspecific output matching
sapier [Mon, 2 Feb 2015 20:31:20 +0000 (21:31 +0100)]
Fix getCraftRecipe returing wrong reciep due to way to unspecific output matching

9 years agoFix some MSVC-specific warnings and add debug path as an MSVC directory
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

9 years agoCreate minidump on fatal Win32 exceptions
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.

9 years agoRandomly generate seed if field blank for any Settings instance
kwolekr [Sun, 1 Feb 2015 07:05:39 +0000 (02:05 -0500)]
Randomly generate seed if field blank for any Settings instance

9 years agoFix NDT_GLASSLIKE normals
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

9 years agoFix local map saving when joining a local server from the server tab
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

9 years agoFix uninitialized variable m_database_delete in Database_SQLite3
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

9 years agoPrevent null concatenation when /deleteblocks is provided an incorrect format
kwolekr [Wed, 28 Jan 2015 03:36:53 +0000 (22:36 -0500)]
Prevent null concatenation when /deleteblocks is provided an incorrect format

9 years agoWrite common mapgen params to map_meta.txt on world initialization
kwolekr [Wed, 28 Jan 2015 03:29:02 +0000 (22:29 -0500)]
Write common mapgen params to map_meta.txt on world initialization

9 years agoFix a crash (assert) when client set serial version < 24 in INIT
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

9 years agoFix missing map_meta.txt error when creating new worlds
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.

9 years agoRevert "Fix a crash (assert) when client set serial version < 24 in INIT command...
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.

9 years agoFix imprecise serialization of large numbers
ShadowNinja [Mon, 26 Jan 2015 01:19:35 +0000 (20:19 -0500)]
Fix imprecise serialization of large numbers

9 years agoSuppress MSVC warning in chat.cpp
gregorycu [Sun, 25 Jan 2015 06:08:12 +0000 (16:08 +1000)]
Suppress MSVC warning in chat.cpp

9 years agoSettings fixes Make the GameGlobalShaderConstantSetter use the settings callback...
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

9 years agoRevert "Make the GameGlobalShaderConstantSetter use the settings callback (8% perf...
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.

9 years agoFix a crash (assert) when client set serial version < 24 in INIT command SER_FMT_VER_...
(@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

9 years agoFix uninitialized variable Server::m_next_sound_id 2190/head
Kahrl [Sat, 24 Jan 2015 05:44:41 +0000 (06:44 +0100)]
Fix uninitialized variable Server::m_next_sound_id

9 years agoFix unitialised variable occassionally being used
Craig Robbins [Sat, 24 Jan 2015 04:22:50 +0000 (14:22 +1000)]
Fix unitialised variable occassionally being used

9 years agoMake the GameGlobalShaderConstantSetter use the settings callback (8% perf improvemen...
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

9 years agoMgv5: Skip calculation of filler, heat and humidity perlinmaps in underground mapchunks
paramat [Wed, 21 Jan 2015 11:42:13 +0000 (11:42 +0000)]
Mgv5: Skip calculation of filler, heat and humidity perlinmaps in underground mapchunks

9 years agoSend real port to server list
ShadowNinja [Wed, 21 Jan 2015 19:32:12 +0000 (14:32 -0500)]
Send real port to server list

9 years agoMgv7 generateRidgeTerrain: Make river generation relative to water level
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

9 years agoMgv7: Speed optimise calculateNoise and generateRidgeTerrain
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

9 years agoMgv7 generateRidgeTerrain: Enable rangelim of widthn to remove abysses, calculate...
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

9 years agoAllow filter and mipmap drop down menues to be translated
Craig Robbins [Wed, 21 Jan 2015 10:58:26 +0000 (20:58 +1000)]
Allow filter and mipmap drop down menues to be translated

9 years agoImprove desktop file
Markus Koschany [Tue, 20 Jan 2015 09:47:27 +0000 (10:47 +0100)]
Improve desktop file

9 years agoUpdate german translation
est31 [Sat, 10 Jan 2015 19:30:44 +0000 (20:30 +0100)]
Update german translation

9 years agoAdded ratio argument to colorize, removed the weird alpha-based ratio.
TriBlade9 [Mon, 19 Jan 2015 06:15:20 +0000 (14:15 +0800)]
Added ratio argument to colorize, removed the weird alpha-based ratio.

9 years agoFix hyphen used as minus sign
Markus Koschany [Tue, 20 Jan 2015 09:50:00 +0000 (10:50 +0100)]
Fix hyphen used as minus sign

9 years agoUpdate Spanish language
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

9 years agoMapgen V5: Various improvements
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

9 years agoFix all warnings and remove -Wno-unused-but-set cflag
kwolekr [Mon, 19 Jan 2015 04:29:19 +0000 (23:29 -0500)]
Fix all warnings and remove -Wno-unused-but-set cflag

9 years agoAdd SemiDebug (-O1 with debug symbols) build mode and do not optimize Debug at all
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)

9 years agoReorganize supported video driver query mechanisms
kwolekr [Sun, 18 Jan 2015 18:14:25 +0000 (13:14 -0500)]
Reorganize supported video driver query mechanisms

9 years agoRevert "Fix style on settings tab"
kwolekr [Sun, 18 Jan 2015 18:19:40 +0000 (13:19 -0500)]
Revert "Fix style on settings tab"

This reverts commit 7b17b9059e30cef384ecca37feec87cdcdfd39b8.

9 years agoRevert "Fix bug in debug build"
kwolekr [Sun, 18 Jan 2015 18:19:28 +0000 (13:19 -0500)]
Revert "Fix bug in debug build"

This reverts commit 839c4a99cddcacdc19dee42286b7029c4c1e7800.

9 years agoFix bug in debug build
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

9 years agoFix style on settings tab
jeanpatrick.guerrero@gmail.com [Sun, 18 Jan 2015 13:38:21 +0000 (14:38 +0100)]
Fix style on settings tab

9 years agoFix use of uninit data in Sky and (potentially) GUIChatConsole constructors
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.

9 years agoFix particles causing unitialised data being used due to use of incorrect union member
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

9 years agoWater fixes
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

9 years agoCreate empty default constructor for MapNode
Craig Robbins [Sat, 17 Jan 2015 09:19:26 +0000 (19:19 +1000)]
Create empty default constructor for MapNode

9 years agoMgv7: Replace small pseudorandom caves with 3D noise tunnels. Fewer large caves
paramat [Sun, 11 Jan 2015 13:36:08 +0000 (13:36 +0000)]
Mgv7: Replace small pseudorandom caves with 3D noise tunnels. Fewer large caves

9 years agoFix NodeMetadataList loosing memory on deserialize due to invalid clear map call...
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

9 years agoFix entitiy WieldMeshSceneNode not freed due to additional grab
gregorycu [Sat, 17 Jan 2015 18:13:08 +0000 (19:13 +0100)]
Fix entitiy WieldMeshSceneNode not freed due to additional grab