aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-04-22Fix crash on startup (Windows)SmallJoker
2015-04-21Only lowercase project name at compile timeShadowNinja
2015-04-21Revert "m_active_object_messages is used like a queue. Use std::queue ↵kwolekr
instead of std::list. Also rename to m_active_object_messages_queue" This reverts commit 972d17baea81ffe6d508b291ef97207a4822e1da. The commit being reverted was unauthorized. There had been no discussion, review, or sign-off prior to submittal to upstream.
2015-04-21m_active_object_messages is used like a queue. Use std::queue instead of ↵Loic Blot
std::list. Also rename to m_active_object_messages_queue
2015-04-21Noise: Add noise unittestskwolekr
Fix buffer size calculation for lacunarity < 1.0 Add guard against absurd noise parameters
2015-04-20Fix sign-compare compiler warnings in mg_ore.cppShadowNinja
2015-04-20Fix mod store ratingShadowNinja
2015-04-20Ore: Add biomes parameterkwolekr
2015-04-20Fix build on OS X (Thanks neoascetic)kwolekr
2015-04-19Add 'persistence' alias for Lua noiseparams and validate more vector parameterskwolekr
2015-04-19Noise: Correct noise objects created with invalid dimensionskwolekr
2015-04-19Porting: Refactor initalizePaths()kwolekr
Add support for Solaris and HP-UX Search additional potential procfs locations for current executable
2015-04-19Disable connection timeout for singleplayer and server tabsest31
In worlds with many mods we can easily reach timeout, waiting for the server to start.
2015-04-19Biome API: Add biome-specific river waterparamat
2015-04-18fix infinite spawnersobneq
2015-04-17Schematics: Fix core.schematic_create()kwolekr
2015-04-1710s timeout when connecting to serverSmallJoker
2015-04-17Fix build since: "Remove referenced schematics from Decorations on clear"est31
Fixes build, which has been broken for all platforms (except BSD?) since grandparent 406d9ba87b9f6e57b86c6282bf157e3341aa195c. Thanks to @SmallJoker for pointing out a solution.
2015-04-17Switch to check_v3s16 in l_mapgen.cpp and l_vmanip.cpp for type safetykwolekr
2015-04-17Schematics: Remove referenced schematics from Decorations on clearkwolekr
2015-04-17Refactor around translatePasswordest31
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.
2015-04-16Biomes: Remove referenced biomes from Decorations on clearkwolekr
2015-04-17Fix path detection with --std= parameterest31
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
2015-04-17Fix build for < C++11 since last commitest31
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.
2015-04-16Schematics: Refactor NodeResolver and add NodeResolveMethodkwolekr
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.
2015-04-16Use std::vector instead of std::set for Environment::getObjectsInsideRadiusLoic Blot
We are only iterating sequentially, we don't need a set here Also use a vector reference instead of a copy
2015-04-16Mgv5: Fix above/below ground spawn when water level is alteredparamat
2015-04-16Mgv5/v7: Add check for water for deciding biome node stabilityparamat
2015-04-14Defaultsettings: Add dungeons and jungles flags. Update conf.exampleparamat
2015-04-13Schematics: Reorganize (de)serialization and add Lua serialization APIkwolekr
2015-04-12Mgv6: Fix taiga, allow pine tree spawning on snowblocksparamat
2015-04-12Mgv6: Add optional snow biomesparamat
2015-04-11Fix a rare crash case un SendPlayerHPNer'zhul
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.
2015-04-08Document for api functions that rely on current_modname, that it doesn't ↵est31
work when not loading mods
2015-04-08Link against shlwapi.lib and unify linker input sources for Windowskwolekr
2015-04-08Fix freetype detectionDmitry Marakasov
Don't reinvent freetype detection, use working one from cmake.
2015-04-08Schematics: Prepend mod path to relative schematic filepathskwolekr
2015-04-07TOCLIENT_ACTIVE_OBJECT_MESSAGES: channel must be 1 for unreliable messageLoic Blot
2015-04-07Fix missing SQLite3 statement pointer initializationShadowNinja
This fixes a segfault when the database is shut down before it finishes connecting and setting up.
2015-04-07Cavegen: Remove now unnecessary checks for water, lava, iceparamat
Remove large cave checks for air Mgv5/mgv7:Add is_ground_content checks to 3d noise tunnels More large caves Shorten lines
2015-04-07Make comments consistent with TOSERVER_INIT -> TOSERVER_INIT_LEGACY renameest31
2015-04-06Change screenshot filename to one likely to work on all modern filesystemsCraig Robbins
Fixes #2603
2015-04-05TOCLIENT_ACTIVE_OBJECT_REMOVE_ADD can be unreliable, catch PacketError ↵Loic Blot
exception. Also set the packet size at creation not when pushing rawString, no functional change
2015-04-05craftdef.cpp: Return 0 after assert to make Clang happyLoic Blot
2015-04-05Fix uninitialized variabled in ConnectionEventLoic Blot
2015-04-05Crafting speedupest31
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.
2015-04-03Remove errorstream logging on password changeest31
This seems to be a debug message which has been forgotten to be removed.
2015-04-03Fix players spawned at (0,0,0) in some rare cases instead of ↵Loic Blot
static_spawnpoint, if set Approved by: @kwoelkr
2015-04-03Create PacketError exception and use it with ACTIVEOBJECT_REMOVE_ADD handler ↵Loic Blot
which can be unreliable
2015-04-02Fix crash caused by null texture in GUI formspec/HUD.Aaron Suen