aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-04-27Revert the upper-case PROJECT_NAME nonsense that was part of #2402sfan5
2015-04-27Revert "Only lowercase project name at compile time"sfan5
This reverts commit 3be9787e64362b8a5020746220c65abbe31f8097.
2015-04-27Noise: Fix PcgRandom::randNormalDist() when range contains negative numberskwolekr
This fixes an issue with erroneous float-to-int rounding that resulted in truncation toward 0, causing a biased distribution.
2015-04-27Replace PRNG assertions with PrngExceptionkwolekr
2015-04-26Remove craftdef serialisationest31
It isn't needed anymore, sending ICraftDefManager over the network has been obsoleted by protocol version 7.
2015-04-26Craftdef refactorest31
Fix style, refactor assert, use '"' instead of "\"", replace code duplicating craftGetItemName, rename iterators.
2015-04-26Tests: Modularize unit testingkwolekr
Split unit tests into separate files under src/unittest/ Give better unittest diagnostics Clean up some code
2015-04-26Fix fast leaves with texture_clean_transparent enabled.Aaron Suen
2015-04-26Fix player pitch and yaw not being set properlyKevin Ott
2015-04-24Remove unused variable Client::m_active_blocksnerzhul
2015-04-23DecoSchematic: Fix missing trees in rough terrainparamat
Move place_on check to before place_center_x/y/z displacement of p Reduce displacement of p by place_center_x/y/z flags to correctly position schematics
2015-04-22Protocol 25: wstring -> string for custom access denial reasonsest31
Also fix std::logic_error when server::DenyAccess() is used with only two arguments.
2015-04-22Re-apply 972d17baea81ffe6d508b291ef97207a4822e1da...nerzhul
but not rename the container. Approved-By est31
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