aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-08-03Cavegen V6: Make all caves consistent with 0.4.12 stableparamat
When tunnels entirely above ground were avoided, the missing pseudorandom calls changed the allowed caves. Now, above ground tunnels are not placed while still running all previous pseudorandom calls.
2015-08-03Biome API: Make fallback biome stone and water, disable fillerparamat
2015-08-02src/util/numeric.{cpp,h}: Fix FacePositionCache data raceBřetislav Štec
2015-08-02Fix "bouncy" blocksMiner59
Before players "bounced" too high. Now, while still allowing to bounce, higher speed bounces are throttled.
2015-08-02src/client/tile.cpp: Fix reference countingBřetislav Štec
2015-08-02Add map limit config optionrubenwardy
2015-08-02Prepend "Lua: " before lua exceptionsBřetislav Štec
src/server.cpp src/emerge.cpp
2015-08-02src/wieldmesh.cpp: Fix mesh extrusion memory leakBřetislav Štec
2015-08-02src/client.cpp: Fix mapper memory leakBřetislav Štec
2015-08-01Improve accuracy and safety of float serializationkwolekr
Multiplying by a factor of 1/1000.f (rather than dividing by 1000.f) directly introduces an error of 1 ULP. With this patch, an exact comparison of a floating point literal with the deserialized F1000 form representing it is now guaranteed to be successful. In addition, the maxmium and minimum safely representible floating point numbers are now well-defined as constants.
2015-08-01Clean up util/serialization.{cpp,h} and add unit testskwolekr
2015-08-01src/environment.cpp: Fix NULL pointer dereferenceBřetislav Štec
2015-08-01src/network/connection.h: Fix race conditionBřetislav Štec
2015-08-01Android: Add githash header to spare rebuilds after new commitsest31
Before, android_version.h got changed at every new commit. Now, we only change it with new minetest releases. Analogous to how cmake does it, we add an android_version_githash.h file that communicates the git hash to C++ code. Also, unify VERS_MAJOR, VERS_MINOR and VERS_PATCH variable calculation inside the whole makefile.
2015-07-31tests: Log exceptions thrown inside of unit testskwolekr
2015-08-01Dungeon generation: Fix code style issues in dungeongen.cppparamat
2015-07-31Small SendableMediaAnnouncement cleanupLoic Blot
-> Remove the SendableMediaAnnouncement struct -> Forge the packet directly in the m_media loop, spare one loop and the construction of a vector -> Use preincrement to spare iterator copies
2015-07-29Android: fix horrible libiconv buildest31
Before, our libiconv build was a joke. We first called configure for our own build host system, then called make, before we executed a Android.mk script we provided as patch. The first "native make" always failed, and the LIBICONV_LIB file setting in our Makefile didn't match the built one, resulting in an always-rebuild of iconv. This commit cleans up this total mess, removes the double-build, and the Android.mk, and properly calls ./configure with the according target platform, and uses a built toolchain. As we have to deal with the android bug "NDK: Support for prebuild libs with full sonames" https://code.google.com/p/android/issues/detail?id=55868 as the 2013 patch https://lists.gnu.org/archive/html/libtool-patches/2013-06/msg00002.html by Google's David Turner wasn't inside the 2011 libtool, we pass -avoid-version to libtool. Thanks to the proper build, wide_to_utf8 works for android now, removing us of the need to disable it.
2015-07-29Precalculate mapblock relative size. This permit to remove many s16 calculs ↵nerzhul
on runtime
2015-07-27Fixed minimap memory leakBřetislav Štec
2015-07-27Fix srp.cpp:815 leakest31
Thanks @Zeno-
2015-07-27Add AreaStore data structureest31
2015-07-25Fix MSVC number conversion warningSmallJoker
2015-07-25Fix minetest.get_(all)_craft_recipe(s) regressionest31
Since 03e0dd33a847a83d975282c6caf6b926306e7b57 the calls didn't return an output count for the recipes.
2015-07-25Cleanup server addparticle(spawner) by merge two identical functions.Loic Blot
2015-07-24Fix documentation of dedicated_server_loopest31
2015-07-24Check output of mpz_set_str and fix leak on error conditionest31
Also add static identifier as upstream did
2015-07-24Remove some old dead code. Fix some Clang warnings in SRP (ng->N... willLoic Blot
always evaluate to true.
2015-07-24Bump protocol to 26est31
This was needed due to the TileDef serialisation changes. Originally it has been planned to also add utf-8 based chat to 26, but chat changes aren't final yet, so they are done in one change, after the release, and not two small ones, causing us having to be compliant to three versions of the packet.
2015-07-23Optional reconnect functionalityest31
Enable the server to request the client to reconnect. This can be done with the now extended minetest.request_shutdown([reason], [reconnect]) setting.
2015-07-23Fix issues with light of attached CAOsRealBadAngel
2015-07-21Mgv7: Use density noise + density gradient for mountain terrainparamat
Tune and optimise noise parameters
2015-07-21Add wielded (and CAOs) shaderRealBadAngel
2015-07-21Clarify docs for auth.cpp methodest31
2015-07-21Ask auth handler to create auth when a default password is setest31
-> Fix server crash with protocol >=25 if a default password is set. -> Remove some useless and possibly confusion causing code for the TOCLIENT_FIRST_SRP packet handler
2015-07-21Remove profiler.h include where it's not needed. Remove some unreachable and ↵Loic Blot
very old code
2015-07-20Added get_player_velocity() method. Fixes #1176Elia Argentieri
2015-07-19MoveItemSomewhere double bugfixest31
-> Fix bug where MoveSomewhere from an infinite source would fill the destination inventory with copies of itself. -> Fix bug where MoveSomewhere would needlessly call callbacks. -> Remove trailing whitespaces
2015-07-19Cavegen: Mgv6: No small caves entirely above groundparamat
Mgv5/mgv7: Remove 'should make cave hole' feature Remove ravine code
2015-07-18Refactor particle code to remove the while loopsTeTpaAka
Replaces while loops with proper getfield calls
2015-07-18Make acc and vel deprecated in add_particle and search for acceleration and ↵TeTpaAka
velocity instead The doc and the actual behaviour differed.
2015-07-18Fix invisible player when the attached entity is removedTeTpaAka
2015-07-17Display an access denied message when client detects a server timeoutKahrl
2015-07-17Server kicks: make messages configurable, cache wstringest31
2015-07-16Kick players when shutting down server and there is a crash due to a Lua ↵nerzhul
stack exception
2015-07-16Fix relief mapping issuesRealBadAngel
2015-07-14Make serialization error message translatableKahrl
Also don't show "probably running a different version" message in simple singleplayer mode
2015-07-14connection.cpp: remove unused constructorLoic Blot
2015-07-14Increase limit of serialized long stringskwolekr
2015-07-13Remove raw message output on AOM deserialization failurekwolekr
Improve TOCLIENT_ACTIVE_OBJECT_MESSAGES robustness for handling invalid data