aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* tests: Log exceptions thrown inside of unit testskwolekr2015-07-31
|
* Dungeon generation: Fix code style issues in dungeongen.cppparamat2015-08-01
|
* Small SendableMediaAnnouncement cleanupLoic Blot2015-07-31
| | | | | | -> 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
* Android: fix horrible libiconv buildest312015-07-29
| | | | | | | | | | | | | | | | | | | 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.
* Precalculate mapblock relative size. This permit to remove many s16 calculs ↵nerzhul2015-07-29
| | | | on runtime
* Fixed minimap memory leakBřetislav Štec2015-07-27
|
* Fix srp.cpp:815 leakest312015-07-27
| | | | Thanks @Zeno-
* Add AreaStore data structureest312015-07-27
|
* Fix MSVC number conversion warningSmallJoker2015-07-25
|
* Fix minetest.get_(all)_craft_recipe(s) regressionest312015-07-25
| | | | | Since 03e0dd33a847a83d975282c6caf6b926306e7b57 the calls didn't return an output count for the recipes.
* Cleanup server addparticle(spawner) by merge two identical functions.Loic Blot2015-07-25
|
* Fix documentation of dedicated_server_loopest312015-07-24
|
* Check output of mpz_set_str and fix leak on error conditionest312015-07-24
| | | | Also add static identifier as upstream did
* Remove some old dead code. Fix some Clang warnings in SRP (ng->N... willLoic Blot2015-07-24
| | | | always evaluate to true.
* Bump protocol to 26est312015-07-24
| | | | | | | 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.
* Optional reconnect functionalityest312015-07-23
| | | | | | Enable the server to request the client to reconnect. This can be done with the now extended minetest.request_shutdown([reason], [reconnect]) setting.
* Fix issues with light of attached CAOsRealBadAngel2015-07-23
|
* Mgv7: Use density noise + density gradient for mountain terrainparamat2015-07-21
| | | | Tune and optimise noise parameters
* Add wielded (and CAOs) shaderRealBadAngel2015-07-21
|
* Clarify docs for auth.cpp methodest312015-07-21
|
* Ask auth handler to create auth when a default password is setest312015-07-21
| | | | | -> 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
* Remove profiler.h include where it's not needed. Remove some unreachable and ↵Loic Blot2015-07-21
| | | | very old code
* Added get_player_velocity() method. Fixes #1176Elia Argentieri2015-07-20
|
* MoveItemSomewhere double bugfixest312015-07-19
| | | | | | -> 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
* Cavegen: Mgv6: No small caves entirely above groundparamat2015-07-19
| | | | | Mgv5/mgv7: Remove 'should make cave hole' feature Remove ravine code
* Refactor particle code to remove the while loopsTeTpaAka2015-07-18
| | | | Replaces while loops with proper getfield calls
* Make acc and vel deprecated in add_particle and search for acceleration and ↵TeTpaAka2015-07-18
| | | | | | velocity instead The doc and the actual behaviour differed.
* Fix invisible player when the attached entity is removedTeTpaAka2015-07-18
|
* Display an access denied message when client detects a server timeoutKahrl2015-07-17
|
* Server kicks: make messages configurable, cache wstringest312015-07-17
|
* Kick players when shutting down server and there is a crash due to a Lua ↵nerzhul2015-07-16
| | | | stack exception
* Fix relief mapping issuesRealBadAngel2015-07-16
|
* Make serialization error message translatableKahrl2015-07-14
| | | | Also don't show "probably running a different version" message in simple singleplayer mode
* connection.cpp: remove unused constructorLoic Blot2015-07-14
|
* Increase limit of serialized long stringskwolekr2015-07-14
|
* Remove raw message output on AOM deserialization failurekwolekr2015-07-13
| | | | Improve TOCLIENT_ACTIVE_OBJECT_MESSAGES robustness for handling invalid data
* Add more robust error checking to deSerialize*String routineskwolekr2015-07-13
| | | | | Add serializeHexString() Clean up util/serialize.cpp
* Mgv6/treegen: (Re)Add fallback nodes for compatibility with subgamesparamat2015-07-13
|
* Fix damage flash when damage disabledkwolekr2015-07-10
|
* Misc. minor fixeskwolekr2015-07-10
|
* Little coding style fix on porting.hLoic Blot2015-07-10
|
* Settings: pass name to callbacks by referenceest312015-07-09
| | | | Spare some copies.
* Update clouds enable_3d_clouds when setting changedest312015-07-09
|
* Windows: Fix some warnings.Diego Martinez2015-07-09
|
* Biome API decorations: 'spawnby' searches a 3D neighbourhoodparamat2015-07-08
| | | | | The neighbours checked are the 8 nodes horizontally surrounding the decoration base and the 8 nodes horizontally surrounding the ground node below the decoration
* Add new leaves style - simple (glasslike drawtype)RealBadAngel2015-07-08
|
* Use UTF-8 instead of narrowest312015-07-08
| | | | | Use wide_to_utf8 and utf8_to_wide instead of wide_to_narrow and narrow_to_wide at almost all places. Only exceptions: test functions for narrow conversion, and chat, which is done in a separate commit.
* Clean-up Minimap codekwolekr2015-07-08
| | | | | | | | | | | - Fixed race conditions - Fixed null dereference - Fixed out-of-bounds array access - MinimapMapblock is now allocated and added to update queue only when enabled - Removed dependency on LocalPlayer - Fixed code style - Simplified expressions and program logic - Cleaned minimap object interfaces
* Mgv7: Auto-set lowest mountain generation levelparamat2015-07-08
| | | | | Lowest level of base terrain determines mountain generation in mapchunk Change some positional function arguments from int to s16
* Client: better m_proto_ver initialisationest312015-07-07
| | | | | | | | Previously, m_proto_ver was set to the serialisation version inside the legacy init packet. Now, if the server doesn't send a protocol version (protocols < 25), we set m_proto_ver to some value < 25 and > 0.