aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Fix a -Wcatch-value warning reported by GCC 8.1Loïc Blot2018-05-28
| | | | | | | ``` src/translation.cpp:43:16: warning: interception du type polymorphique « class std::out_of_range » par valeur [-Wcatch-value=] } catch (std::out_of_range) { ```·
* Remove a useless struct keyword for ObjectPropertiesLoic Blot2018-05-28
|
* Formspec verification: Fix show_formspec inside callbacks (#7374)SmallJoker2018-05-26
|
* Vein ore: Fix bug caused by changing perlinmap Y size (#7371)Paramat2018-05-24
| | | | | | | | | | Because vein ore uses 3D noise (all the other ores use 2D noise) the perlinmap Y size can be different in different mapchunks when close to the ore Y limits. Previously this caused bugs in the vein structure because changes in perlinmap Y size did not recreate the noise objects. Delete and recreate the noise objects with the new Y size if Y size has changed.
* Schematic decorations: Fix placement bug when centred and rotated (#7365)Paramat2018-05-24
| | | | | | Previously, the centering caused by the 'place center x/z' flags did not take rotation into account. So schematics with unequal X and Z dimensions were incorrectly placed. The bug was hidden for schematics equal in X and Z dimensions.
* Dungeons: Fix duplication of y limit parameters (#7359)Paramat2018-05-20
|
* Fix missing ignore textures (#7326)you2018-05-20
|
* Add screenshots to online content browserrubenwardy2018-05-20
|
* Player marker on both minimaps (#7350)nanoproject2018-05-18
|
* Add updating to online content browserrubenwardy2018-05-16
|
* Use server's zoom fov for distant world loading.Lars Hofhansl2018-05-15
|
* Don't show Android edit dialog when tapping read-only field (#7337)Muhammad Rifqi Priyo Susanto2018-05-15
| | | | | * Don't show Android edit dialog when tapping read-only field From Lua API, "If the name is empty the textarea is readonly."
* Fix segfault in player migration and crash in log_deprecatedSmallJoker2018-05-14
| | | | Makes log_deprecated work when triggered from no function
* Vertical biome blend: Tune PRNG seed for finer detail (#7329)Paramat2018-05-14
|
* Make sure color returns to normal after a damage flash (#7332)lhofhansl2018-05-14
|
* Update contentdb_url to content.minetest.netrubenwardy2018-05-13
|
* Camera: Improve subpixel movement (#7319)SmallJoker2018-05-12
|
* Run detach callbacks on player leaveSmallJoker2018-05-12
| | | | Correct docs regarding non-nil detaching children
* Fix crash guiConfirmRegistration quit menu (#7313)Vincent Glize2018-05-10
|
* Mgv7: Code cleanup (#7299)Paramat2018-05-07
|
* Fix builtin inventory list crash when size = 0 (#7297)SmallJoker2018-05-05
|
* Cavegen: Allow small RandomWalk caves to generate beyond mapchunk borderParamat2018-05-04
|
* Fix invisible chat error messages (#7289)Vincent Glize2018-05-01
|
* nodedef: Delete two unused method definitions (#7288)Kuma_jjw2018-04-30
|
* Global new() or grab() to be managed in constuctor only (#7235 partial) (#7236)JDCodeIt2018-04-30
| | | | | | * g_extrusion_mesh_cache new() and grab() to be managed in constuctor only (#7235 partial) This global was getting grab()-ed by each call to getItemMesh, incrementing its reference count. What was to be the final drop() in the destructor ended up with > 0 reference count, so memory not freed by Irrlicht.
* Allow damage for attached objects, add attach/detach callbacks (#6786)SmallJoker2018-04-30
| | | * Allow right-clicking on attached LuaEntities
* MetaDataRef: Add contains() and get() (#7214)rubenwardy2018-04-30
|
* Mapgen caves: Re-order generation to fix cavern bugParamat2018-04-29
| | | | | | | Previously, caverns confused tunnel generation causing biome top and filler nodes to appear in caverns. Split 'generateCaves()' into 2 functions to separate tunnel and large randomwalk cave generation. In each mapgen re-order cave generation to generate tunnels before caverns.
* Biome-defined cave liquids: Use faster biome calculationparamat2018-04-26
|
* Biome-defined dungeon nodes: Use faster biome calculationparamat2018-04-26
|
* Dungeons: Mostly fix missing stair nodesParamat2018-04-25
|
* Mgvalleys: Code cleanupParamat2018-04-24
| | | | | | | | | | | Split some long lines. Edit comments. Remove unnecessary comments and unnecessary commented-out code. Use std::fmax/fmin instead of MYMAX/MYMIN. Remove scope-limiting braces. Consistently define literals as floats, except in noise parameters. Cleanup literals in noise parameters. Remove unnecessary 'near_cavern' line. Reduce max spawn y to be consistent with other mapgens.
* Move ASCII art to std::cerr, to remove it from logsrubenwardy2018-04-23
|
* Formspecs: Allow setting alpha value for the box[] elementThomas--S2018-04-23
|
* Mgvalleys: Use shared tunnel / cavern code instead of internalParamat2018-04-21
| | | | | | | | | | | | | | | | Caverns first appeared in mgvalleys and were later added to other mapgens as shared code. Now this shared code can replace mgvalley's internal cavern code. Also use shared tunnel code instead of internal code. Changes to mapgen that will affect existing worlds (mgvalleys is not stable): Single lava and water sources not added in tunnels. Previous caverns are unchanged but an equal number of new ones are added at a distance from the previous. From y = -256 to 192 nodes below, where the caverns taper at their upper limit, they will have a slightly different shape as the taper is now linear.
* Cave liquids: Use a more precise point for calculating biomeParamat2018-04-21
| | | | Use the centre point of the route being carved for a more precise match between cave liquids and biome.
* Fix i386 bit build at OpenBSD (#7259)mazocomp2018-04-21
|
* Node resolver: Make error on fallback optional, disable for mapgen aliasesParamat2018-04-20
|
* Add online content repositoryrubenwardy2018-04-19
| | | | Replaces mods and texture pack tabs with a single content tab
* Fix wrong channel number representation in logs (#7205)SmallJoker2018-04-18
|
* PlayerSettings struct for player movement code (#7243)Ben Deutsch2018-04-18
| | | | | Instead of calling g_settings->getBool("flag") multiple times during each movement step, the current settings are cached in a new player object member. Updated via registered callbacks.
* Android: Modify touch screen GUI's buttons (#7240)Muhammad Rifqi Priyo Susanto2018-04-18
| | | | | | | * Android: Add zoom, minimap, and toggle chat button Zoom button is put above jump button. Minimap and toggle chat button are put in settings bar. * Jump button is rotated down button * Move three buttons on the right screen higher
* Cavegen: Fix variable typo that broke mgvalleys large cave distribution (#7249)Paramat2018-04-17
| | | | | Fix elusive 5 year old bug that caused mgvalleys large caves to be flat and limited to mapchunk borders. Error was fixed 2 years ago in 'CavesV6' but not in 'CavesRandomWalk'.
* FOV: Raise lower limit to avoid zoom-loading of distant world (#7234)Paramat2018-04-15
| | | | | | | | | | In the client, raise lower limit from 30 to 45 degrees, to avoid server seeing this as a zoom and loading world beyond the server-set limit. Add minimum in settingtypes.txt and enforce lower limit when set using minetest.conf. In the server, distrust the client-sent FOV if below the heuristic zoom threshold and use the player object property 'zoom_fov' to check it, to protect against hacked clients.
* Android: Replace movement buttons with joystick (#7126)Muhammad Rifqi Priyo Susanto2018-04-10
| | | | | | | | | | | | | | | | | * Android: Replace movement buttons with joystick Replace movement control buttons (arrows at bottom left screen) with virtual joystick. Joystick has 8 directions (same as keyboard). Basically, just map it to keyboard input. Joystick applies only on left 1/3 of screen. Joystick's position can be fixed by enabling fixed_virtual_joystick setting. Three new images: (1) placeholder joystick, (2) joystick container (background), and (3) joystick cursor. Remove unused images: movement control buttons (*_arrow.png). New data type: touch_gui_joystick_move_id Joystick's fixed position is spaced one button size from bottom and from left of screen. Remove unused variable: m_joystick_downlocation
* Fix segfault caused by wrong wgettext()sfan52018-04-09
|
* Fix for translating empty stringsminduser002018-04-09
| | | | | | | Fix for incorrect translation of empty strings In the key change menu, when a button key not have name an empty string is passed to gettext. The empty string is reserved for gettext to return de header of the .po file an this is shoved in the button
* upright_sprite: Fix texture position for playersSmallJoker2018-04-09
| | | | Fixes #6471
* Sun colour: Undo colour change. Remove double assignment (#7227)Paramat2018-04-09
| | | | | | | Commit 5070ca2111dd5b3f333a942059ef2c592de8dc24 changed sun colour by fixing what seemed to be a code mistake. Return to the standard colour but comment-out the first assignment of the double-assignment for performance. Add a comment to explain.
* Biome API / dungeons: Add biome-defined dungeon nodesParamat2018-04-07
| | | | | | | | | | Add new biome fields 'node_dungeon', 'node_dungeon_alt', 'node_dungeon_stair'. If 'node_dungeon' is not defined dungeons fall back to classic behaviour. Remove messy and imprecise dungeon material code from 'generateBiomes()'. Code deciding dungeon materials is now in 'generateDungeons()' and uses the biome at mapchunk centre for more precision. Remove hardcoded 'MG_STONE' types as long intended.