- 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
-
paramat authored
-
Diego Martínez authored
This makes the functions a bit faster since they don't have to recreate the tables every invocation, and makes the code more readable. Also, document `wallmounted_to_dir`. The function was implemented but not documented in `lua_api.txt`.
-
Kahrl 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
-
Diego Martínez authored
The engine implementation of `print` packs the varargs into a table and passes the table directly to `table.concat`. If you pass any value not supported by `table.concat` (particularly `nil`), the server crashes. This is unexpected behavior, as `print` is supposed to be able to work with anything. This patch changes the implementation so it first converts all arguments using `tostring`, which fixes the issue and makes the custom `print` function compatible with the stock Lua behavior.
-
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 04, 2016
-
-
Splizard authored
-
Pavel Puchkin 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
I could honestly not make much sense of the timer implementation that was here. Instead I've implemented the type of timer algorithm that I've used before, and tested it instead. The concept is extremely simple: all timers are put in an ordered list. We check every server tick if any of the timers have elapsed, and execute the function associated with this timer. We know that many timers by themselves cause new timers to be added to this list, so we iterate *backwards* over the timer list. This means that new timers being added while timers are being executed, can never be executed in the same function pass, as they are always appended to the table *after* the end of the table, which we will never reach in the current pass over all the table elements. We switch time keeping to minetest.get_us_time(). dtime is likely unreliable and we have our own high-res timer that we can fix if it is indeed broken. This removes the need to do any sort of time keeping.
-