| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|
|
|
| |
This reverts commit 3be9787e64362b8a5020746220c65abbe31f8097.
|
|
|
|
|
| |
This fixes an issue with erroneous float-to-int rounding that resulted in
truncation toward 0, causing a biased distribution.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
existing one.
On calling clear_redistered_biomes the registered_biomes table is cleared
by creating a new empty table, but the pointer is not updated to point to
the new one. So after calling more register_biome, the registered_biome
table always contains 0 items, which is an error. Instead, the table is
cleared by removing all its items so the pointer (minetest.registered_*)
remains valid.
|
| |
|
|
|
|
|
| |
It isn't needed anymore, sending ICraftDefManager over the network has been obsoleted
by protocol version 7.
|
|
|
|
|
| |
Fix style, refactor assert, use '"' instead of "\"",
replace code duplicating craftGetItemName, rename iterators.
|
|
|
|
|
|
| |
Split unit tests into separate files under src/unittest/
Give better unittest diagnostics
Clean up some code
|
|
|
|
| |
fixed some mistakes and added in some new translations
|
| |
|
| |
|
|
|
|
| |
As the fly mode option is avaiable in-game, this is not used anymore.
|
| |
|
| |
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Also fix std::logic_error when server::DenyAccess() is used with only two arguments.
|
|
|
|
| |
but not rename the container. Approved-By est31
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
std::list. Also rename to m_active_object_messages_queue
|
| |
|
|
|
|
|
| |
Fix buffer size calculation for lacunarity < 1.0
Add guard against absurd noise parameters
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Add support for Solaris and HP-UX
Search additional potential procfs locations for current executable
|
|
|
|
| |
In worlds with many mods we can easily reach timeout, waiting for the server to start.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Fixes build, which has been broken for all platforms (except BSD?) since
grandparent 406d9ba87b9f6e57b86c6282bf157e3341aa195c.
Thanks to @SmallJoker for pointing out a solution.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
We are only iterating sequentially, we don't need a set here
Also use a vector reference instead of a copy
|
| |
|
| |
|
| |
|
| |
|