summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Remove new_style_waterRealBadAngel2016-02-26
|
* Cache some settingsrubenwardy2016-02-26
|
* Sheet Ore: Eliminate crash caused by PcgRandom range max < minparamat2016-02-23
| | | | | | | | | | | | In the calculation of y_start, when 'column height max' was large it caused nmin.Y + max_height > nmax.Y - max_height Now, in this situation y_start is set to the midpoint between nmin.Y and nmax.Y Limit y0 and y1 to between nmin.Y and nmax.Y, otherwise index calculation, which has no checks for limits, places them at unwanted locations in the voxelmanip
* GOTBLOCKS & DELETEBLOCKS: test packet size only oncenerzhul2016-02-23
|
* Reset block send timer when invoking setBlock(s)NotSent()orwell962016-02-22
| | | | | | | | | | | | | As stated in this forum thread [1], I noticed that there is a 2 second interval in which inventory changes are shown on the client. @yyt16384 found the source of these 2 seconds: m_nothing_to_send_pause_timer is set to 2.0 every time there are no changes to make, but this timer is not reset when SetBlockNotSent or setBlocksNotSent are invoked. So in worst case, the changed block will be sent over 2 seconds too late. With this change, changed inventories are updated almost immediately, but it causes additional connection load.
* Fix getting pointed nodeRealBadAngel2016-02-22
| | | | | Fixes #3719 Closes #3753
* Add Lua interface to HTTPFetchRequestJeija2016-02-22
| | | | | | | | | | This allows mods to perform both asynchronous and synchronous HTTP requests. Mods are only granted access to HTTP APIs if either mod security is disabled or if they are whitelisted in any of the the secure.http_mods and secure.trusted_mods settings. Adds httpfetch_caller_alloc_secure to generate random, non-predictable caller IDs so that lua mods cannot spy on each others HTTP queries.
* Fix HTTPFetchRequest performing a GET request if post_data is suppliedJeija2016-02-22
| | | | Instead, perform a POST request with post_data.
* Camera: remove auto tune FPS, single view range settingRealBadAngel2016-02-21
|
* Remove preload_item_visuals codeRealBadAngel2016-02-21
| | | | Closes #3748
* Dont make fastface if tile is not seamlessRealBadAngel2016-02-21
| | | | | Fixes #3378 Closes #3751
* Little collision.cpp cleanupsLoic Blot2016-02-20
|
* Fix jumping at node edgegregorycu2016-02-19
|
* Don't print locale directory error message when GetText is disabledShadowNinja2016-02-19
| | | | Also, downgrade the error to a warning.
* Ignore spaces in secure.trusted_mods settingJeija2016-02-19
|
* Minimap: show player markersRealBadAngel2016-02-19
|
* Camera: Don't count camera offset twice for Nametagged CAOsRealBadAngel2016-02-19
|
* Require request_insecure_environment to be called from the mod's main scopeShadowNinja2016-02-19
| | | | | | | | | | | | | Previously you could steal a secure environment from a trusted mod by wrapping request_insecure_environment with some code like this: local rie_cp = minetest.request_insecure_environment local stolen_ie function minetest.request_insecure_environment() local ie = rie_cp() stolen_ie = stolen_ie or ie return ie end
* Clientmap: Define p_nodes_min/max as v3s32 instead of v3s16paramat2016-02-19
| | | | | | | | | '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()
* HOTFIX: fix too agressive block cullingRealBadAngel2016-02-18
|
* Move object nametags to cameraRealBadAngel2016-02-18
|
* Clientiface: remove "value is dummy" from docsest312016-02-16
| | | | | | | | | | Commit 6a1670dbc31cc0e44178bbd9ad34ff0d5981a060 "Migrate to STL containers/algorithms." has replaced core::map<T, bool> with std::set<T>, but didn't update the accompanying comment saying "value is dummy". This happened at two places.
* Mapblock mesh: Eliminate meshgen lagsRealBadAngel2016-02-16
|
* Use vertices with tangents only when its needed.RealBadAngel2016-02-15
|
* Player::accelerateHorizontal/Vertical should be member of LocalPlayerLoic Blot2016-02-14
|
* Use proper variable types for uniform sampler layersRealBadAngel2016-02-14
|
* Formspec: fix broken irrlicht 1.7 buildRealBadAngel2016-02-13
| | | | Fixes #3701.
* Formspec: recreate item_image_button pressed state for its image and labelRealBadAngel2016-02-13
|
* Remove unused 'm_selection_active' fieldest312016-02-13
| | | | Thanks @ExcaliburZero for noticing. Fixes #3698.
* v2d & aabbox3d<f32> & sky cleanupsnerzhul2016-02-11
| | | | | * Sky: rename Box => m_box and inline getBoundingBox * Uniformize aabbox3d<f32> to aabb3f
* Drop luaentity_common.h which is not included anywhereLoic Blot2016-02-11
|
* Use single box for halo meshRealBadAngel2016-02-11
|
* Set proper GLSL pixel shader versionRealBadAngel2016-02-11
|
* Dump shader programs on compile errorsRealBadAngel2016-02-11
|
* Add '/clearobjects quick'Kahrl2016-02-11
|
* Fix backface culling when connecting to new servers.Auke Kok2016-02-10
| | | | | | | | | | | | | | | 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.
* Fix inverted conditions in shader.cppLoic Blot2016-02-09
|
* shader.cpp: don't test twice if shader programs are presentLoic Blot2016-02-09
| | | | Also use string::empty method, it is better than comparing with empty strings.
* FormSpec: Add StaticTextSpec and superimpose over item image buttonsRealBadAngel2016-02-09
|
* Filmic HDR tone mappingRealBadAngel2016-02-09
|
* Remove ClientMap::m_camera_mutexKahrl2016-02-09
| | | | | All places that lock this mutex are only called by the main thread: ClientMap::updateCamera(), ClientMap::updateDrawList(), ClientMap::renderMap(), ClientMap::renderPostFx().
* FindSpawnPos: Let mapgens decide what spawn altitude is suitableparamat2016-02-09
| | | | | | | | | | | | 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
* Use inventory_image in the first place for inventory item meshRealBadAngel2016-02-08
|
* Cleanup selection mesh code, add shaders for halo and selection boxesRealBadAngel2016-02-08
|
* small drawItemStack cleanupest312016-02-08
| | | | | | -> Replace the three bool params with an enum -> Add struct for the static content, leads to less repetition -> cache enable_animations setting
* Use meshes to display inventory itemsRealBadAngel2016-02-07
|
* Use tangent space meshes only when shaders are enabledRealBadAngel2016-02-07
|
* Mgvalleys: fix riverbeds below sea levelDuane Robertson2016-02-02
| | | | | Stop riverbeds from forming plateaus under sea. Minor corrections to random lava/water placement.
* Mgv5/v7/flat/fractal: Move tunnel noise calculation into generateCavesparamat2016-02-02
| | | | | | | | | | 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
* Mgvalleys: use standard cavesDuane Robertson2016-01-31
| | | | | | | | | | 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.