aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen_v5.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-08-01src/network/connection.h: Fix race conditionBřetislav Štec1-1/+5
2015-08-01Android: Add githash header to spare rebuilds after new commitsest313-24/+38
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 testskwolekr1-12/+16
2015-08-01Dungeon generation: Fix code style issues in dungeongen.cppparamat1-103/+95
2015-07-31Android: speed up rebuild, and prevent race condition failest311-5/+14
Speeding up rebuild: Before, we've written the android_version.h file at every rebuild. As it thought the file's content has changed, make has rebuilt files in the source tree that depended on that header file during rebuild, causing lots of files being rebuilt without there being a reason. The reasoning of make can be observed by passing -d and V=1 params to the ndk-build command. You then got logging entries like: Prerequisite `jni/src/android_version.h' is newer than target `obj/local/armeabi-v7a-hard/objs-debug/minetest/jni/src/areastore.o'. Preventing race condition build fail: Before, there was a race condition, where, if the prep_srcdir target was executed in parallel with the $(ROOT)/jni/src/android_version.h one, it could happen that the jni/src directory was nonexistent, and we were trying to write into a file inside. This resulted in a build failue: /bin/sh: 1: cannot create [...]/jni/src/android_version.h: Directory nonexistent Additionally, we now don't remove the link to src/ needlessly anymore. Keeping this wouldn't have affected the rebuild, but this way its more proper.
2015-07-31Fix 0.4.11 githash for androidest311-20/+18
Also make only one >-redirection, sparing repetition. Also, use cut instead of awk, which is shorter and should be a bit faster.
2015-07-31Small SendableMediaAnnouncement cleanupLoic Blot1-28/+6
-> 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 buildest315-104/+47
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-29Android: Fix minor makefile bugsest311-3/+3
Fix commenting happening thanks to missing quotes and dereference variable the right way, to get rid of a compile error.
2015-07-29Precalculate mapblock relative size. This permit to remove many s16 calculs ↵nerzhul2-1/+10
on runtime
2015-07-27Fixed minimap memory leakBřetislav Štec4-8/+16
2015-07-27Extend CMake variable descriptionsSmallJoker1-11/+11
2015-07-27Fix srp.cpp:815 leakest312-4/+1
Thanks @Zeno-
2015-07-27Add AreaStore data structureest3115-0/+1263
2015-07-25Fix MSVC number conversion warningSmallJoker1-1/+1
2015-07-25Fix FSAA dropdown option reset after changing another dropdown optionjeanpatrick.guerrero@gmail.com1-13/+15
2015-07-25Fix minetest.get_(all)_craft_recipe(s) regressionest311-3/+3
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 Blot3-118/+51
2015-07-25Remove drivers dropdown in the settings tabkilbith1-40/+0
2015-07-24Fix documentation of dedicated_server_loopest311-2/+2
2015-07-24Check output of mpz_set_str and fix leak on error conditionest312-14/+21
Also add static identifier as upstream did
2015-07-24Remove some old dead code. Fix some Clang warnings in SRP (ng->N... willLoic Blot4-241/+2
always evaluate to true.
2015-07-24Bump protocol to 26est311-1/+1
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-24Update my nameNovatux1-1/+1
2015-07-23Optional reconnect functionalityest3125-110/+233
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 CAOsRealBadAngel3-6/+27
2015-07-22Add note that chat messages can be marked as handled.Robert Zenz1-0/+1
2015-07-22Conf.example: Update mgv7 noise parametersparamat1-5/+5
2015-07-21Mgv7: Use density noise + density gradient for mountain terrainparamat1-13/+17
Tune and optimise noise parameters
2015-07-21Add wielded (and CAOs) shaderRealBadAngel11-40/+224
2015-07-21Fix crash in mainmenu when loaded subgame does not have a "menu" directorysfan51-2/+3
2015-07-21Clarify docs for auth.cpp methodest311-3/+3
2015-07-21Ask auth handler to create auth when a default password is setest312-7/+19
-> 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-21Document game main menu image systemest311-1/+10
2015-07-21Allow random menu images for subgamessfan52-7/+39
2015-07-21Remove profiler.h include where it's not needed. Remove some unreachable and ↵Loic Blot10-149/+14
very old code
2015-07-20Added get_player_velocity() method. Fixes #1176Elia Argentieri3-72/+92
2015-07-19MoveItemSomewhere double bugfixest312-33/+47
-> 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 groundparamat2-72/+36
Mgv5/mgv7: Remove 'should make cave hole' feature Remove ravine code
2015-07-18Refactor particle code to remove the while loopsTeTpaAka1-87/+78
Replaces while loops with proper getfield calls
2015-07-18Update toolchain_mingw64.cmakeRui1-4/+4
2015-07-18Add antialiasing UI settingMark Schreiber1-2/+41
The Irrlicht engine supports antialiasing, and Minetest already supports saving an antialiasing setting in its configuration file. However, Minetest lacked UI elements to set this setting, and previously the only way to enable the feature was by hand-editing the configuration file. Add a drop-down menu that can enable antialiasing.
2015-07-18Add ability to specify coordinates for /spawnentityMarcin1-6/+13
2015-07-18Make acc and vel deprecated in add_particle and search for acceleration and ↵TeTpaAka1-23/+34
velocity instead The doc and the actual behaviour differed.
2015-07-18Fix a typo in comment of CMakeLists.txtD Laboratory1-1/+1
2015-07-18Change texture pack description file nameExcaliburZero1-3/+11
Change the name for texture pack description files from "info.txt" to "description.txt" in order to keep the naming consistent between description files for both mods and texture packs. Also add backwards compatibility for texture packs that use "info.txt", and note in the log that "info.txt" is depreciated.
2015-07-18Fix invisible player when the attached entity is removedTeTpaAka4-10/+96
2015-07-17Display an access denied message when client detects a server timeoutKahrl1-4/+9
2015-07-17Run updatepo.shest3125-8415/+11341
2015-07-17Translated using Weblate (Turkish)Michal Čihař1-5/+6
Currently translated at 100.0% (269 of 269 strings)