| Commit message (Collapse) | Author | Age |
|
|
|
| |
Small improvement on clouds rendering performance
|
| |
|
|
|
|
| |
Fixes issue #2667
|
|
|
|
|
| |
- Fix unintended negation of condition
- Remove line_of_sight 'optimization'
|
| |
|
|
|
|
|
| |
Make gamedef optional when constructing an ObjDefManager
Add note about object ownership
|
| |
|
|
|
|
|
| |
-> Round negative numbers correctly CMakeLists.txt
-> Link Json with the static run-time library
|
|
|
|
|
|
| |
Make sure to include random unittests in android builds, too
Use SWAP() macro
Ensure that negative ranges are tested as well in random unittests
|
| |
|
| |
|
|
|
|
| |
This reverts commit 3be9787e64362b8a5020746220c65abbe31f8097.
|
|
|
|
|
| |
This fixes an issue with erroneous float-to-int rounding that resulted in
truncation toward 0, causing a biased distribution.
|
| |
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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
|
| |
|