aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 10s timeout when connecting to serverSmallJoker2015-04-17
|
* Fix build since: "Remove referenced schematics from Decorations on clear"est312015-04-17
| | | | | | Fixes build, which has been broken for all platforms (except BSD?) since grandparent 406d9ba87b9f6e57b86c6282bf157e3341aa195c. Thanks to @SmallJoker for pointing out a solution.
* Switch to check_v3s16 in l_mapgen.cpp and l_vmanip.cpp for type safetykwolekr2015-04-17
|
* Schematics: Remove referenced schematics from Decorations on clearkwolekr2015-04-17
|
* Refactor around translatePasswordest312015-04-17
| | | | | | | Change types for passed password from wstring to string, which removes converting back and forth in most cases. Move the narrow_to_wide conversion, where its neccessary, closer to irrlicht. Remove trailing spaces in guiPasswordChange.cpp. Make parameters for translatePassword passed as const reference.
* Biomes: Remove referenced biomes from Decorations on clearkwolekr2015-04-16
|
* Fix path detection with --std= parameterest312015-04-17
| | | | | | Fixes path detection when compilers have been told to follow a standard, e.g. with -DCMAKE_CXX_FLAGS=--std=c++98. To see the passed defines, try this with and without the --std parameter: gcc -E -dM --std=c99 - < /dev/null | grep linux
* Fix build for < C++11 since last commitest312015-04-17
| | | | | Build broke since last commit 479f38973e13680d6a39d9c2a7f29fd330b67d41 for compilers not supporting C++11. Pre C++11, the constructor of std::ifstream only allows C like strings.
* Schematics: Refactor NodeResolver and add NodeResolveMethodkwolekr2015-04-16
| | | | | | | | | NodeResolver name lists now belong to the NodeResolver object instead of the associated NodeDefManager. In addition to minimizing unnecessary abstraction and overhead, this move permits NodeResolvers to look up nodes that they had previously set pending for resolution. So far, this functionality has been used in the case of schematics for serialization/deserialization.
* Use std::vector instead of std::set for Environment::getObjectsInsideRadiusLoic Blot2015-04-16
| | | | | We are only iterating sequentially, we don't need a set here Also use a vector reference instead of a copy
* Mgv5: Fix above/below ground spawn when water level is alteredparamat2015-04-16
|
* Mgv5/v7: Add check for water for deciding biome node stabilityparamat2015-04-16
|
* Defaultsettings: Add dungeons and jungles flags. Update conf.exampleparamat2015-04-14
|
* Schematics: Reorganize (de)serialization and add Lua serialization APIkwolekr2015-04-13
|
* Conf.example: Update, fix and improve mapgen flags docsparamat2015-04-13
| | | | Remove dynamic weather year parameter
* Add Spanish comment translation to minetest.desktopngosang2015-04-12
|
* Mgv6: Fix taiga, allow pine tree spawning on snowblocksparamat2015-04-12
|
* Mgv6: Add optional snow biomesparamat2015-04-12
|
* Fix a rare crash case un SendPlayerHPNer'zhul2015-04-11
| | | If the player is disconnected while Lua API is doing a l_punch call, for example, the playersao is NULL and the server crash. Fix it.
* Document for api functions that rely on current_modname, that it doesn't ↵est312015-04-08
| | | | work when not loading mods
* Link against shlwapi.lib and unify linker input sources for Windowskwolekr2015-04-08
|
* Fix freetype detectionDmitry Marakasov2015-04-08
| | | | Don't reinvent freetype detection, use working one from cmake.
* Schematics: Prepend mod path to relative schematic filepathskwolekr2015-04-08
|
* TOCLIENT_ACTIVE_OBJECT_MESSAGES: channel must be 1 for unreliable messageLoic Blot2015-04-07
|
* Fix missing SQLite3 statement pointer initializationShadowNinja2015-04-07
| | | | | This fixes a segfault when the database is shut down before it finishes connecting and setting up.
* Cavegen: Remove now unnecessary checks for water, lava, iceparamat2015-04-07
| | | | | | | Remove large cave checks for air Mgv5/mgv7:Add is_ground_content checks to 3d noise tunnels More large caves Shorten lines
* Make comments consistent with TOSERVER_INIT -> TOSERVER_INIT_LEGACY renameest312015-04-07
|
* Change screenshot filename to one likely to work on all modern filesystemsCraig Robbins2015-04-06
| | | | Fixes #2603
* TOCLIENT_ACTIVE_OBJECT_REMOVE_ADD can be unreliable, catch PacketError ↵Loic Blot2015-04-05
| | | | | | exception. Also set the packet size at creation not when pushing rawString, no functional change
* craftdef.cpp: Return 0 after assert to make Clang happyLoic Blot2015-04-05
|
* Fix uninitialized variabled in ConnectionEventLoic Blot2015-04-05
|
* Crafting speedupest312015-04-05
| | | | | | | | | | | | | | | This greatly increases crafting performance, especially in worlds with many mods. Approved by @kwolekr. Introduces a hash-type-layered fall-through mechanism, where every layer specifies one hash algorithm, and the "deeper the fall", the more collisions to expect for the algorithm. One Craft definition only resides at one layer, which improves speed for lower layers (and a complete fail), due to most craft definitions residing at high layers. Due to the fall-through design, the undocumented behaviour that later craft recipes override older ones had to be weaked up a bit, but craft recipes with the same hash and layer will still override.
* Add reason to kicked log message and use present tenseest312015-04-05
|
* Remove errorstream logging on password changeest312015-04-03
| | | | This seems to be a debug message which has been forgotten to be removed.
* Fix players spawned at (0,0,0) in some rare cases instead of ↵Loic Blot2015-04-03
| | | | | | static_spawnpoint, if set Approved by: @kwoelkr
* Create PacketError exception and use it with ACTIVEOBJECT_REMOVE_ADD handler ↵Loic Blot2015-04-03
| | | | which can be unreliable
* Fix crash caused by null texture in GUI formspec/HUD.Aaron Suen2015-04-02
|
* Fix MSVC error caused by ed10005SmallJoker2015-04-02
|
* Treegen: Add pine tree. Force place trunksparamat2015-04-01
| | | | | | Speed-optimise leaves blits Use MMVManip for make_jungletree Use correct code style
* Move globals from main.cpp to more sane locationsCraig Robbins2015-04-01
| | | | | | | | | | | | Move debug streams to log.cpp|h Move GUI-related globals to clientlauncher Move g_settings and g_settings_path to settings.cpp|h Move g_menuclouds to clouds.cpp|h Move g_profiler to profiler.cpp|h
* NetworkPacket: reading outside packet is now clearer.Loic Blot2015-04-01
| | | | Use a common function to check the reading offset
* Fix some minor details from 6d61375kwolekr2015-04-01
|
* Clean scaling pre-filter for formspec/HUD.Aaron Suen2015-04-01
|
* Fix usage of destroyed mutexkwolekr2015-03-31
| | | | | | Also fix a memory leak Fix overloaded virtual warning in Player::move() Remove some trailing whitespace
* Fix set_bitskwolekr2015-03-31
|
* ObjDefManager, Mapgen SAPI: Huge refactoringkwolekr2015-03-31
| | | | | | | - General code cleanup - Unified object creation and loading - Specifying objects in APIs is now orthogonal (i.e. anything can take an ID, name string, or the raw table definition (and automatically registers if present
* Fix use of unitialized variable in gettext.cppCraig Robbins2015-03-31
| | | | #2583
* Connection::Receive(): receive Network Packet instead of SharedBuffer<u8>.Loic Blot2015-03-31
| | | | | | | Because we get a Buffer<u8> from ConnectionEvent, don't convert it to SharedBuffer<u8> and return it to Server/Client::Receive which will convert it to NetworkPacket Instead, put the Buffer<u8> directly to NetworkPacket and return it to packet processing This remove a long existing memory copy Also check the packet size directly into Connection::Receive instead of packet processing
* RunCommandQueues: little optimizationLoic Blot2015-03-31
| | | | remove command from queue on success, else do nothing, instead of remove command from queue and push it front on success
* Typo in getOutgoingSequenceNumber => successfull to successfulLoic Blot2015-03-31
|