aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Increase MapBlock::actuallyUpdateDayNightDiff() performance by 2-8x. ok ↵Craig Robbins2015-02-10
| | | | | | @celeron55 Before patch, function consumes up to ~8% of the main server loop. After, ~0% (below level of 2 places of significance)
* Replace getPlayer(playername) by getPlayer(peer_id) in some possible cases. ↵Loic Blot2015-02-10
| | | | ok @Zeno-
* Craftdef.cpp: Improve loop and mathematics for CraftDefinitionShaped::checkLoic Blot2015-02-10
|
* Fix Exit to OS button focus in Pause Menungosang2015-02-10
|
* Network Layer 7 rework (Packet handling)Loic Blot2015-02-10
| | | | | | | | | | | | | | * 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
* Hud: Modify Y-positioning of health/breath starbars to prevent overlapping ↵kwolekr2015-02-08
| | | | with Hotbar
* Fix rebase bug, make render loop use cache settinggregorycu2015-02-07
|
* Fix warnings in CGUITTFont.cppCraig Robbins2015-02-06
|
* Fix gettextShadowNinja2015-02-05
|
* Reduce gettext wide/narrow and string/char* conversionsShadowNinja2015-02-05
|
* Fix translation memory leakShadowNinja2015-02-05
|
* Fix translation finding of overlay messagesShadowNinja2015-02-05
|
* Mgv7 mountains: Remove divide by zero code that creates vast wallsparamat2015-02-05
| | | | | | | 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
* Fix performance regressionCraig Robbins2015-02-05
|
* Give full breath after deathSmallJoker2015-02-05
|
* Fix dying of lava causes repeated death This is a bugfix for issue #81gregorycu2015-02-05
|
* Suppress 4 gcc 4.9.2 warnings in CGUITTFont.cppngosang2015-02-05
|
* Fix getCraftRecipe returing wrong reciep due to way to unspecific output ↵sapier2015-02-02
| | | | matching
* Fix some MSVC-specific warnings and add debug path as an MSVC directorykwolekr2015-02-02
|
* Create minidump on fatal Win32 exceptionskwolekr2015-02-02
| | | | | Remove software exception translator function, simplifying exception handler macros. FatalSystemExceptions are left unhandled.
* Randomly generate seed if field blank for any Settings instancekwolekr2015-02-01
|
* Fix NDT_GLASSLIKE normalsKahrl2015-01-31
| | | | Remove inventorycube() workaround for default:glass in minimal game
* Fix local map saving when joining a local server from the server tabCraig Robbins2015-01-31
| | | | | | Disables local map saving for all local server types See: https://github.com/minetest/minetest/issues/2024
* Fix uninitialized variable m_database_delete in Database_SQLite3Kahrl2015-01-28
| | | | This fixes issue #2219
* Write common mapgen params to map_meta.txt on world initializationkwolekr2015-01-27
|
* Fix a crash (assert) when client set serial version < 24 in INITLoic Blot2015-01-27
| | | | | | | | | 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
* Fix missing map_meta.txt error when creating new worldskwolekr2015-01-27
| | | | A missing map_meta.txt should be treated simply as if there were a blank file.
* Revert "Fix a crash (assert) when client set serial version < 24 in INIT ↵Craig Robbins2015-01-27
| | | | | | | | 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.
* Suppress MSVC warning in chat.cppgregorycu2015-01-25
|
* Settings fixes Make the GameGlobalShaderConstantSetter use the settings ↵gregorycu2015-01-25
| | | | callback (8% perf improvement in game loop) Ensure variable is set Ensure settings callback is threadsafe
* Revert "Make the GameGlobalShaderConstantSetter use the settings callback ↵Craig Robbins2015-01-25
| | | | | | (8% perf improvement in game loop)" This reverts commit a555e2d9b0ccee452996381a44677b8bec210036.
* Fix a crash (assert) when client set serial version < 24 in INIT command ↵(@U-Exp)2015-01-24
| | | | 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
* Fix uninitialized variable Server::m_next_sound_idKahrl2015-01-24
|
* Fix unitialised variable occassionally being usedCraig Robbins2015-01-24
|
* Make the GameGlobalShaderConstantSetter use the settings callback (8% perf ↵gregorycu2015-01-23
| | | | | | improvement in game loop) Amend the settings callback to support userdata
* Mgv5: Skip calculation of filler, heat and humidity perlinmaps in ↵paramat2015-01-23
| | | | underground mapchunks
* Send real port to server listShadowNinja2015-01-23
|
* Mgv7 generateRidgeTerrain: Make river generation relative to water levelparamat2015-01-22
| | | | Remove widthn and make nridge zero underwater
* Mgv7: Speed optimise calculateNoise and generateRidgeTerrainparamat2015-01-22
| | | | | | Remove unnecessary range limiting of persistmap Skip calculation of filler, mountain, ridge, heat and humidity perlinmaps in underground mapchunks Skip generateRidgeTerrain in underground mapchunks
* Mgv7 generateRidgeTerrain: Enable rangelim of widthn to remove abysses, ↵paramat2015-01-22
| | | | | | | calculate widthn later in function Reduce width to 0.2 Carve river channels in deeper waters
* Added ratio argument to colorize, removed the weird alpha-based ratio.TriBlade92015-01-20
|
* Mapgen V5: Various improvementsparamat2015-01-18
| | | | | | | 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
* Fix all warnings and remove -Wno-unused-but-set cflagkwolekr2015-01-18
|
* Add SemiDebug (-O1 with debug symbols) build mode and do not optimize Debug ↵kwolekr2015-01-18
| | | | | | | 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)
* Reorganize supported video driver query mechanismskwolekr2015-01-18
|
* Revert "Fix bug in debug build"kwolekr2015-01-18
| | | | This reverts commit 839c4a99cddcacdc19dee42286b7029c4c1e7800.
* Fix bug in debug buildCraig Robbins2015-01-19
| | | | -O1 results in executables that are completely useless for actuall debugging
* Fix use of uninit data in Sky and (potentially) GUIChatConsole constructorsKahrl2015-01-18
| | | | | | | | 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.
* Fix particles causing unitialised data being used due to use of incorrect ↵Craig Robbins2015-01-18
| | | | union member
* Water fixesgregorycu2015-01-18
| | | | | | | 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