aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-08-03Add style[] tag with button supportrubenwardy
2019-08-03Add custom colorable GUIButton implementationrubenwardy
2019-08-03Fix negative offsets not being supported by container[]rubenwardy
2019-08-01Correct ServerActiveObject's virtual getArmorGroups() to be const.Beha
Due to commit ec3142a , UnitSAO's getArmorGroups() did not match ServerActiveObject's, notably resulting in the lua get_armor_groups() call returning nothing.
2019-08-01Mainmenu: Use textarea in error formspecsSmallJoker
2019-08-01Group "immortal" also protects players from damageWuzzy
Document new meaning of immortal=1 for players Disable breathing if player is immortal Hide builtin statbars if player immortal (delayed) Co-authored-by: ClobberXD <ClobberXD@gmail.com>
2019-07-31Allow toolcaps to override the built-in times for dig_immediatesfan5
2019-07-30Sky: Refactor of moon and sun drawing (#8683)Methacrylon
Split sun and moon render parts from the main render function.
2019-07-30Move the clamping of hp/breath when their maximums change to ↵Beha
read_object_properties(). (#8689) This prevents set_properties() calls that have nothing to do with hp_max or breath_max overriding the saved hp before another mod has the chance to set a player's intended hp_max (such as in on_joinplayer).
2019-07-29Rename guiScrollBar to GUIScrollBarDS-Minetest
2019-07-29ContentCAO: Fix broken attachments on join (#8701)SmallJoker
What happened: 1) Object data is received. Client begins to read the data 2) Client initializes all its children (gob_cmd_update_infant) 3) Children try to attach to parent (yet not added) 4) Parent initializes, is added to the environment And somewhere in between, Irrlicht wrecks up the attachments due to the missing matrix node. The solution here is to: 1) Use the same structure as ServerActiveObject 2) Attach all children after the parent is really initialized
2019-07-28guiScrollBar: move directly to clicked pos if clicked into trayDS-Minetest
2019-07-27Check for 'action' field in ABMs & LBMsSmallJoker
2019-07-27Prefix RecipePriority elements with PRIORITY_Paul Ouellette
2019-07-27Initialize priority in CraftDefinition constructorsPaul Ouellette
The priority is used by getCraftResult, which may be used before initHash is called.
2019-07-26Fix missing item images clipping in formspecs (#8652)Pierre-Yves Rollo
* Fix clipping of itemimage * Code style * More code styling
2019-07-26Initialise 'seabed_height' to avoid compilation warning (#8715)Paramat
2019-07-25Re-order mapgens in mainmenu and 'all settings' mapgen selection (#8705)Paramat
v6 always last to discourage selection. Special mapgens flat, fractal, singlenode, next to last. Of these, singlenode last to discourage selection. Of the remaining, v5 last due to age, v7 first due to being the default.
2019-07-25Mgfractal: Make non-fractal terrain optional (#8702)Paramat
Enabled by default. Only allow spawn on fractal, not on seabed terrain. Various codestyle and comment improvements.
2019-07-24Removed debug.upvaluejoin to prevent leak of insecure environmenty
2019-07-20Document the deprecation of hardcoded cave liquids (#8692)Paramat
2019-07-16Optimize getting active objects a bit. #8674Lars Hofhansl
2019-07-16Dungeons: Make multiple large rooms possible (#8678)Paramat
Re-add the random size range for large rooms. Remove 'first_room_large' bool. Add 'large_room_chance' parameter that can disable large rooms, specify 1 large room, or specify a chance for large rooms. If 1 or a chance is specified, the first generated room is large, to take advantage of the intersection checks that are done for the 1st room only.
2019-07-09Move more dungeon parameter selection to mapgens (#8653)Paramat
Move 'num_dungeons' to 'DungeonParams'. Add new parameter 'num_rooms' to replace 'rooms_min' and 'rooms_max', so that the mapgen has complete control over the number of rooms. Add new bool 'first_room_large' so that the mapgen chooses this instead of a hardcoded 1 in 4 chance. Add new parameter 'room_size_large' to replace 'room_size_large_min' and 'room_size_large_max', so that the mapgen has complete control over this.
2019-07-08Do predict when sneak-place to node with on_rightclickDS-Minetest
2019-07-07Improve ABM time budget handling. #8645Lars Hofhansl
2019-06-30Dungeongen: Remove most hardcoded dungeon nodes (#8594)Paramat
Biome-defined dungeon nodes was added as a feature to MT 5.0.0. So now remove most of the hardcoded dungeon node code that assumes a game has stone, sandstone, desert stone, and no other stone types. If biome-defined dungeon nodes are not found, dungeon nodes fall back to the 'cobble' mapgen alias if present, if not present they fall back to biome-defined 'stone'. Remove now-unnecessary mapgen aliases from MapgenBasic. Non-mgv6 games now only need to define 3 to 5 mapgen aliases. Document dungeon parameters. Make c_lava_source fallback to c_water_source as both are used as cave liquids.
2019-06-28Optimize and unify mesh processing (#7851)Vitaliy
2019-06-27Add compatible, consistent coordinate system to FormSpecs. (#8524)v-rob
2019-06-27Increase upper limit of display_gamma to 10 (#8618)ANAND
2019-06-22Add support for 9-sliced backgrounds (#8600)rubenwardy
9-slice textures are commonly used in GUIs to allow scaling them to match any resolution without distortion. https://en.wikipedia.org/wiki/9-slice_scaling
2019-06-21Fix segfault on quitting with open node formspec (#8608)SmallJoker
2019-06-21Fix handling of --color and --worldlist command line argumentsMarkus Mattes
They verify the provided value and error if a wrong value got provided command line description for color was differnt on win32 but code did not handle any differenc extended the command line description for world and worldname that it is clear that they only start a local game if used with --go Fixes #7875
2019-06-19Mapgen Carpathian: Add optional rivers (#7977)Paramat
Rivers are disabled by default and will not be added to existing worlds. Rewrite getSpawnLevelAtPoint() to be simpler and more consistent with generateTerrain().
2019-06-15Android: Use system provided path for default TMPFolder setting (#8505)stujones11
2019-06-10Settings: Disallow space characters entirelySmallJoker
Lua API: > Setting names can't contain whitespace or any of ="{}#
2019-06-10Formspecs: Close on metadata removal (#8348)SmallJoker
Formspecs will now close as soon the formspec string in the node metadata turns invalid.
2019-06-10Add disable_jump to liquids and ladders (#7688)SmallJoker
Remove second nodedef check by improving the colliding node detection Also remove the 2nd check in old_move, correct standing node a bit
2019-06-10Add compatibility to vcpkg buildsystem (#8317)adrido
2019-06-09Damage: Play no damage sound when immortal (#8350)SmallJoker
Add isImmortal server-side for proper enable_damage handling Rework log messages
2019-06-06HTTP API: Allow binary downloads and headers (#8573)SmallJoker
Add minetest.features.httpfetch_binary_data
2019-06-01Dungeons: Settable density noise, move number calculation to mapgens (#8473)Paramat
Add user-settable noise parameters for dungeon density to each mapgen, except V6 which hardcodes this noise parameter. Move the calculation of number of dungeons generated in a mapchunk out of dungeongen.cpp and into mapgen code, to allow mapgens to generate any desired number of dungeons in a mapchunk, instead of being forced to have number of dungeons determined by a density noise. This is more flexible and allows mapgens to use dungeon generation to create custom structures, such as occasional mega-dungeons.
2019-05-26Fix persistent ^[brighten after damage again (#5739)SmallJoker
The old texture modifier is restored by passing `m_previous_texture_modifier`. Either copy it manually or let the function parameter do that. Victims so far: 8e0b80a Apr 2018 eb2bda7 May 2019
2019-05-25override.txt: Fix crash due to CRLF endings (#8439)David G
2019-05-25Do not drag-place stack into 'craftpreview' slot (#8514)SmallJoker
2019-05-24Add IGUIScrollbar implementation with variable bar sizes (#8507)stujones11
2019-05-21Fix forgotten PlayerSAO cast in a90f2efSmallJoker
2019-05-21Make autoforward simulate the 'up' key (#8249)DS
2019-05-21Check for out-of-bounds breath when setting breath_max (#8493)ANAND ツ
2019-05-21l_mapgen.cpp: Fix LINT broken since b1b40feSmallJoker