- Feb 19, 2016
-
-
paramat authored
'cam_pos_nodes -/+ box_nodes_d' can exceed the range of v3s16 when a player is near the world edge using a large view range This previously caused world to disappear Create new function getBlocksInViewRange() called from updateDrawList() and renderMap() Correct code style throughout updateDrawList() and renderMap()
-
- Feb 18, 2016
-
-
RealBadAngel authored
-
RealBadAngel authored
-
- Feb 16, 2016
-
-
RealBadAngel authored
- Feb 15, 2016
-
-
RealBadAngel authored
-
- Feb 14, 2016
-
-
Loïc Blot authored
-
RealBadAngel authored
-
- Feb 13, 2016
-
-
RealBadAngel authored
Fixes #3701.
-
RealBadAngel authored
-
est31 authored
Thanks @ExcaliburZero for noticing. Fixes #3698.
-
- Feb 11, 2016
-
-
Loïc Blot authored
* Sky: rename Box => m_box and inline getBoundingBox * Uniformize aabbox3d<f32> to aabb3f
-
Loïc Blot authored
-
RealBadAngel authored
-
RealBadAngel authored
-
RealBadAngel authored
-
Kahrl authored
-
- Feb 10, 2016
-
-
Auke Kok authored
Introduce a new contentfeatures version (8). When clients connect using v27 protocol version, they can assume that the tiledef.backface_culling is trustable, but if clients connect to servers providing contentfeatures version 7, then the v27 clients know that backface culling settings provided by the server in tiledefs are bogus for mesh, plantlike, firelike or liquid drawtype nodes. thanks to hmmmm, est31, nerzhul. Tested on new client - new server, new client - old server old client - new server.
-
- Feb 09, 2016
-
-
Loïc Blot authored
-
Loïc Blot authored
Also use string::empty method, it is better than comparing with empty strings.
-
RealBadAngel authored
-
RealBadAngel authored
-
Kahrl authored
All places that lock this mutex are only called by the main thread: ClientMap::updateCamera(), ClientMap::updateDrawList(), ClientMap::renderMap(), ClientMap::renderPostFx().
-
paramat authored
To avoid spawn search failing in new specialised mapgens Increase spawn search range to 4000 nodes Add getSpawnLevelAtPoint() functions to EmergeManager, class Mapgen and all mapgens Remove getGroundLevelAtPoint() functions from all mapgens except mgv6 (possibly to be re-added later in the correct form to return actual ground level) Make mgvalleys flag names consistent with other mapgens Remove now unused 'vertical spawn range' setting
-
- Feb 08, 2016
-
-
RealBadAngel authored
-
RealBadAngel authored
-
est31 authored
-> Replace the three bool params with an enum -> Add struct for the static content, leads to less repetition -> cache enable_animations setting
-
- Feb 07, 2016
-
-
RealBadAngel authored
-
RealBadAngel authored
-
- Feb 02, 2016
-
-
Duane Robertson authored
Stop riverbeds from forming plateaus under sea. Minor corrections to random lava/water placement.
-
paramat authored
Tunnel 3D noises are only calculated when solid terrain is present in mapchunk, avoiding large amounts of unnecessary calculations Change 'int' to 's16' in calculateNoise Change 'i' to 'vi' for voxelmanip indexes for consistency Keep 'u32 index3d' local to a smaller part of tunnel code Mgv7: Don't call CaveV7 if no solid terrain in mapchunk Give 'open' bool a more descriptive name
-
- Jan 31, 2016
-
-
Duane Robertson authored
Replace simple caves with V5 caves, adding unpredictable water and lava settings and massive caves based on subterrain. Remove fast terrain mode and accompanying settings. Remove superfluous temperature/humidity settings. Remove lava/water height setting. Fix errors in humidity handling and remove humidity_break_point setting. Move cave noises to generateCaves. Fix minor formatting/naming issues and use MYMAX/MYMIN/myround.
-
- Jan 29, 2016
-
-
Pavel Puchkin authored
-
est31 authored
Non const references cause a lot of confusion with behaviour of code, and are disallowed by minetest style guide.
-
Auke Kok authored
clock_gettime() is a far better clock than gettimeofday(). Even better than clock_gettime() is that you can select either CLOCK_MONOTONIC, or even CLOCK_MONOTONIC_RAW. These clocks offer high precision time. And the _RAW variant will never roll back due to NTP drift or daylight savings, or otherwise. I've adjusted this code to select the right clock method auto- matically based on what's available in the OS. This means that if you're running a very old linux version, MacOS or other, you will automatically get the best clocksource available. I've tested all Linux clocksources by selectively compiling and running a 10k+ timer test suite. In all cases I confirmed that the 3 POSIX Linux clocksources worked properly, and were selected properly. I've modified the OS X compile path to use the high-res clock source for all time functions, but I can't confirm it works or that it compiles. As for WIN32, I confirmed that the used clocksource is indeed a Monotonic clocksource, so good news: that code section appears to be exactly what it should be.
-
- Jan 28, 2016
-
-
est31 authored
`errorstream` must not be overly verbose as clientside it is directly printed onto the ingame chat window. These days, the serverlist can contain > 200k bytes, so better print it to warningstream if the data buffer is too long.
-
- Jan 23, 2016
-
-
Auke Kok authored
Outdated servers are always sending tiledefs with culling enabled no matter what, as the value was previously entirely ignored. To compensate, we must (1) detect that we're running against an old server with a new client, and (2) disable culling for mesh, plantlike, firelike and liquid draw types no matter what the server is telling us. In order to achieve this, we need to bump the protocol version since we cannot rely on the tiledef version, and test for it being older. I've bumped the protocol version, although that should have likely happened in the actual change that introduced the new backface_culling PR #3578. Fortunately that's only 2 commits back at this point. We also explicitly test for the drawtype to assure we are not changing the culling value for other nodes, where it should remain enabled. This was tested against various pub servers, including 0.4.13 and 0.4.12. Fixes #3598
-
RealBadAngel authored
-
est31 authored
Previous commits broke it... :(
-
- Jan 20, 2016
-
-
paramat authored
-