aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* ObjDefManager: Set replacement object's handle info after calling set()kwolekr2015-05-03
| | | | | Make gamedef optional when constructing an ObjDefManager Add note about object ownership
* RotateAlongYAxis: For facedir case, return if param2 >= 4paramat2015-05-03
|
* Fix several MSVC issues numeric.hSmallJoker2015-05-01
| | | | | -> Round negative numbers correctly CMakeLists.txt -> Link Json with the static run-time library
* Fix MSVC compatibilitykwolekr2015-04-29
| | | | | | Make sure to include random unittests in android builds, too Use SWAP() macro Ensure that negative ranges are tested as well in random unittests
* Tests: Add random unittestskwolekr2015-04-29
|
* Revert the upper-case PROJECT_NAME nonsense that was part of #2402sfan52015-04-27
|
* Revert "Only lowercase project name at compile time"sfan52015-04-27
| | | | This reverts commit 3be9787e64362b8a5020746220c65abbe31f8097.
* Noise: Fix PcgRandom::randNormalDist() when range contains negative numberskwolekr2015-04-27
| | | | | This fixes an issue with erroneous float-to-int rounding that resulted in truncation toward 0, causing a biased distribution.
* Replace PRNG assertions with PrngExceptionkwolekr2015-04-27
|
* Remove craftdef serialisationest312015-04-26
| | | | | It isn't needed anymore, sending ICraftDefManager over the network has been obsoleted by protocol version 7.
* Craftdef refactorest312015-04-26
| | | | | Fix style, refactor assert, use '"' instead of "\"", replace code duplicating craftGetItemName, rename iterators.
* Tests: Modularize unit testingkwolekr2015-04-26
| | | | | | Split unit tests into separate files under src/unittest/ Give better unittest diagnostics Clean up some code
* Fix fast leaves with texture_clean_transparent enabled.Aaron Suen2015-04-26
|
* Fix player pitch and yaw not being set properlyKevin Ott2015-04-26
|
* Remove unused variable Client::m_active_blocksnerzhul2015-04-24
|
* DecoSchematic: Fix missing trees in rough terrainparamat2015-04-23
| | | | | | 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
* Protocol 25: wstring -> string for custom access denial reasonsest312015-04-22
| | | | Also fix std::logic_error when server::DenyAccess() is used with only two arguments.
* Re-apply 972d17baea81ffe6d508b291ef97207a4822e1da...nerzhul2015-04-22
| | | | but not rename the container. Approved-By est31
* Fix crash on startup (Windows)SmallJoker2015-04-22
|
* Only lowercase project name at compile timeShadowNinja2015-04-21
|
* Revert "m_active_object_messages is used like a queue. Use std::queue ↵kwolekr2015-04-21
| | | | | | | | 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.
* m_active_object_messages is used like a queue. Use std::queue instead of ↵Loic Blot2015-04-21
| | | | std::list. Also rename to m_active_object_messages_queue
* Noise: Add noise unittestskwolekr2015-04-21
| | | | | Fix buffer size calculation for lacunarity < 1.0 Add guard against absurd noise parameters
* Fix sign-compare compiler warnings in mg_ore.cppShadowNinja2015-04-20
|
* Fix mod store ratingShadowNinja2015-04-20
|
* Ore: Add biomes parameterkwolekr2015-04-20
|
* Fix build on OS X (Thanks neoascetic)kwolekr2015-04-20
|
* Add 'persistence' alias for Lua noiseparams and validate more vector parameterskwolekr2015-04-19
|
* Noise: Correct noise objects created with invalid dimensionskwolekr2015-04-19
|
* Porting: Refactor initalizePaths()kwolekr2015-04-19
| | | | | Add support for Solaris and HP-UX Search additional potential procfs locations for current executable
* Disable connection timeout for singleplayer and server tabsest312015-04-19
| | | | In worlds with many mods we can easily reach timeout, waiting for the server to start.
* Biome API: Add biome-specific river waterparamat2015-04-19
|
* fix infinite spawnersobneq2015-04-18
|
* Schematics: Fix core.schematic_create()kwolekr2015-04-17
|
* 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
|
* Mgv6: Fix taiga, allow pine tree spawning on snowblocksparamat2015-04-12
|
* Mgv6: Add optional snow biomesparamat2015-04-12
|