aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* NodeDefManager: Improve const-correctness of interfaceskwolekr2015-05-053-48/+46
| | | | | | - Add ability to explicitly reset NodeResolve state (useful for unittesting) - Remove non-essential NodeResolve methods modifying state from INodeDefManager - Add const qualifier to NodeDefManager and ContentFeatures serialize
* Add core.find_nodes_with_meta() script APIkwolekr2015-05-056-20/+87
|
* Tests: Add NodeResolver unittestskwolekr2015-05-057-25/+348
| | | | | | Minor misc. NodeResolver cleanups Prefix faux content type constants for testing with t_ to avoid confusion or name collisions
* Make Git version detection use VERSION_STRING instead of tagsShadowNinja2015-05-051-1/+1
| | | | | | | | | | This fixes the problem where 0.4.12-dev versions were erroneously shown as 0.4.11-dev because the tag was added on a separate branch. It also fixes a similar issue when builders didn't fetch new tags when updating. This also removes the number-of-commits-since-tag field, since it's incompatible with this. Said field doesn't seem to be useful anyway if you have the commit hash.
* Fix GCC compiler warningShadowNinja2015-05-041-2/+2
|
* Stop NetworkPacket methods from producing bloated packetsJay Arndt2015-05-052-19/+7
|
* Cache enable_3d_clouds flagest312015-05-042-3/+5
| | | | Small improvement on clouds rendering performance
* Clouds: Make cloud area radius settable in .confparamat2015-05-043-22/+25
|
* Add a check for animation when getting an extruded meshKevin Ott2015-05-042-5/+11
| | | | Fixes issue #2667
* Fix pathfinder to produce more useful pathsobneq2015-05-031-18/+7
| | | | | - Fix unintended negation of condition - Remove line_of_sight 'optimization'
* Tests: Add ObjDef unittestskwolekr2015-05-032-0/+108
|
* ObjDefManager: Set replacement object's handle info after calling set()kwolekr2015-05-032-3/+15
| | | | | Make gamedef optional when constructing an ObjDefManager Add note about object ownership
* RotateAlongYAxis: For facedir case, return if param2 >= 4paramat2015-05-031-0/+3
|
* Fix several MSVC issues numeric.hSmallJoker2015-05-013-2/+16
| | | | | -> Round negative numbers correctly CMakeLists.txt -> Link Json with the static run-time library
* Fix MSVC compatibilitykwolekr2015-04-293-20/+13
| | | | | | 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-293-1/+279
|
* Revert the upper-case PROJECT_NAME nonsense that was part of #2402sfan52015-04-2711-41/+42
|
* Revert "Only lowercase project name at compile time"sfan52015-04-274-11/+11
| | | | This reverts commit 3be9787e64362b8a5020746220c65abbe31f8097.
* Noise: Fix PcgRandom::randNormalDist() when range contains negative numberskwolekr2015-04-271-1/+1
| | | | | 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-273-4/+13
|
* Remove craftdef serialisationest312015-04-262-177/+2
| | | | | It isn't needed anymore, sending ICraftDefManager over the network has been obsoleted by protocol version 7.
* Craftdef refactorest312015-04-261-268/+217
| | | | | Fix style, refactor assert, use '"' instead of "\"", replace code duplicating craftGetItemName, rename iterators.
* Tests: Modularize unit testingkwolekr2015-04-2624-2501/+3386
| | | | | | 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-262-17/+37
|
* Fix player pitch and yaw not being set properlyKevin Ott2015-04-261-1/+1
|
* Remove unused variable Client::m_active_blocksnerzhul2015-04-241-1/+0
|
* DecoSchematic: Fix missing trees in rough terrainparamat2015-04-231-12/+9
| | | | | | 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-224-8/+6
| | | | Also fix std::logic_error when server::DenyAccess() is used with only two arguments.
* Re-apply 972d17baea81ffe6d508b291ef97207a4822e1da...nerzhul2015-04-222-3/+4
| | | | but not rename the container. Approved-By est31
* Fix crash on startup (Windows)SmallJoker2015-04-221-9/+6
|
* Only lowercase project name at compile timeShadowNinja2015-04-214-11/+11
|
* Revert "m_active_object_messages is used like a queue. Use std::queue ↵kwolekr2015-04-212-6/+5
| | | | | | | | 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-212-5/+6
| | | | std::list. Also rename to m_active_object_messages_queue
* Noise: Add noise unittestskwolekr2015-04-212-16/+273
| | | | | Fix buffer size calculation for lacunarity < 1.0 Add guard against absurd noise parameters
* Fix sign-compare compiler warnings in mg_ore.cppShadowNinja2015-04-201-4/+4
|
* Fix mod store ratingShadowNinja2015-04-201-12/+4
|
* Ore: Add biomes parameterkwolekr2015-04-203-23/+65
|
* Fix build on OS X (Thanks neoascetic)kwolekr2015-04-201-1/+2
|
* Add 'persistence' alias for Lua noiseparams and validate more vector parameterskwolekr2015-04-194-14/+74
|
* Noise: Correct noise objects created with invalid dimensionskwolekr2015-04-191-0/+7
|
* Porting: Refactor initalizePaths()kwolekr2015-04-193-184/+294
| | | | | Add support for Solaris and HP-UX Search additional potential procfs locations for current executable
* Disable connection timeout for singleplayer and server tabsest312015-04-191-1/+2
| | | | In worlds with many mods we can easily reach timeout, waiting for the server to start.
* Biome API: Add biome-specific river waterparamat2015-04-193-19/+23
|
* fix infinite spawnersobneq2015-04-181-1/+2
|
* Schematics: Fix core.schematic_create()kwolekr2015-04-171-0/+1
|
* 10s timeout when connecting to serverSmallJoker2015-04-171-2/+13
|
* Fix build since: "Remove referenced schematics from Decorations on clear"est312015-04-171-1/+2
| | | | | | 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-172-18/+18
|
* Schematics: Remove referenced schematics from Decorations on clearkwolekr2015-04-176-38/+67
|
* Refactor around translatePasswordest312015-04-178-22/+24
| | | | | | | 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.