5530 Commits

Author SHA1 Message Date
PilzAdam
06bb87f15d Fix hotbar placement on displays with low screen density 2016-04-11 23:04:42 +02:00
Auke Kok
6159270a41 Minimap: revert change from RGBA to Indexed
@kilbith spotted correctly that I had accidentally removed the
"soft" edging on the minimap overlay by converting it from RGBA
to Indexed, which killed the transparent pixels on the edging.
2016-04-11 00:24:01 -04:00
Auke Kok
eb6aed6f3e Convert nodeupdate to non-recursive
This took me a while to figure out. We no longer visit all 9 block
around and with the touched node, but instead visit adjacent plus
self. We then walk -non- recursively through all neigbors and if
they cause a nodeupdate, we just keep walking until it ends. On
the way back we prune the tail.

I've tested this with 8000+ sand nodes. Video result is here:

  https://youtu.be/liKKgLefhFQ

Took ~ 10 seconds to process and return to normal.
2016-04-11 00:01:28 -04:00
kwolekr
81e06b1f01 Hud: Cache hud_scaling, fix minor style issues 2016-04-10 23:54:34 -04:00
rubenwardy
cbff06cadc Hud: Fix offset being ignored by inventory bar 2016-04-10 23:54:23 -04:00
est31
80a1f0b7cf Update CSRP-GMP to commit deaa11a7c29a73008
Backports 10 commits, with 8 commits
actually affecting source code:

695822e45d...deaa11a7c2
2016-04-10 14:56:54 +02:00
raymoo
900d0fdfb6 Document hpchange callback ordering thing (#3981)
Document hpchange callback ordering thing

Callbacks registered by register_on_player_hpchange are ordered so that non-modifiers are called after modifiers are called. Credit to @TeTpaAka who mentioned this previously-undocumented feature in #3799.

See also commit

aa13baa30a45b0f834c23bd5c0407895eb8ec0ee "Add minetest.register_on_player_hpchange"
2016-04-10 13:52:18 +02:00
Auke Kok
97f4b1c8bb Minimap: "North" indicator arrow for circle minimap
Related: #3730

This adds a simple, and small "North" indicator to the circular
minimap. The indicator is in a classical triangle-like arrow with a
little bit of shading to accentuate the shape and give it a little
bit depth. The indicator is stuck exactly at the edge as far outwards
as possible, and is not too intrusive but still easy enough to spot.
2016-04-08 21:48:58 +02:00
Rui914
b283ced646 Mainmenu: Refactor tab UI code
- Use local variables for tabs in place of globals
 - Merge together if statements where possible
 - Replace manual table searching code with indexof where possible
2016-04-08 02:25:04 -04:00
David Knapp
641cc68435 Fix ncurses lookup on Arch Linux
Arch Linux doesn't put it's ncursesw includes inside an ncursesw
directory.  This script ends up setting USE_CURSES as true, but
doesn't pick up any of the headers.

https://bugs.archlinux.org/task/13994
2016-04-08 02:11:45 -04:00
paramat
78b1913538 Mapgen: Optimise cave noises and tunnel excavation
Instead of doing nothing at node_max.Y + 1 use 1-down
overgeneration for tunnel generation and noisemaps
Move some old unused code in mgv7 to end of file
2016-04-08 03:14:36 +01:00
kwolekr
6c25042ba1 Re-add and disable blit_with_interpolate_overlay 2016-04-07 04:01:43 -04:00
Samuel Sieb
12a67a4f51 Clearer explanation of [colorize with alpha 2016-04-07 03:55:17 -04:00
Nathanaël Courant
040221143f Fix #3955 (player dying on login).
It was caused by player not moving because fall was prevented, but their
velocity still increasing, causing fatal fall damage when world was
finally loaded. This commit fixes it by setting player velocity to zero
when the world around them is not loaded.
2016-04-06 01:11:36 +02:00
Samuel Sieb
d8f57d0561 Fix compiler warnings from "Add an option to colorize to respect the destination alpha"
Fix warnings added by commit 01ae43c48009f816f4649fae2f7f6997452aa6cf

Fixes #3952
2016-04-06 00:36:24 +02:00
Samuel Sieb
b378092691 Add an option to colorize to respect the destination alpha
Also, rework the colorizing code to be more efficient.
2016-04-03 04:24:28 -04:00
kinokoio
8bf84b6347 Dungeongen: Update disabled torch placement code 2016-04-03 04:12:07 -04:00
est31
f4a3caf34e Fix nametag hiding
Commit

c3b279750ece0b5144bf8e973d55108347462223 "Move object nametags to camera"

has added a regression to still display
a shadow if their alpha got set to 0.
2016-04-02 02:02:19 +02:00
Rui914
619304f9cc Mainmenu: Move description.txt textbox down
Additionally, fix misc. code style issues
2016-03-31 04:15:41 -04:00
gregorycu
40b2edfe09 Remove expensive copy of ContentFeatures 2016-03-30 11:38:42 -04:00
Loic Blot
719153bd52 ParticleManager::handleParticleEvent: use switch
Use a proper switch with breaks.
2016-03-30 17:20:24 +02:00
est31
e278077afa mg_schematic: fix leak in lua API, and small cleanup
* Fix leak like behaviour if you load multiple schematics in a loop.

* Cleanup check in for, fixing theoretical out of bounds read if
	Schematic::deserializeFromMts reduced the number of elements
	in m_nodenames. A != check may need an overflow of the counter
	before it hits, if origsize is larger than m_nodenames.size().

* Fix function name passed to errorstream: it was wrong. Also use
	__FUNCTION__ instead of manually using the method name at other
	places in the function.

* Don't shadow the name member in the loop.
2016-03-30 16:26:05 +02:00
kwolekr
f693612d0c Mapgen: Don't spread light of nodes outside the desired area
This fixes #3935, a regression from 0338c2e.
An 'optimization' was performed where an index for the VoxelManip being
operated on was mistakenly used for bounds checking within the incorrect
VoxelArea, namely, the area wherein light should be spread.
2016-03-30 00:19:03 -04:00
paramat
b595f0fecb Nodes shader: Decrease amplitude of waving leaves and plants
Fix initialisation of variable 'disp'
Fix a few minor code style issues
Add independent X motion combining 2 prime frequencies
2016-03-30 01:53:22 +01:00
paramat
2e858f2b1b Mgv7: Decrease cliff steepness 2016-03-30 01:53:14 +01:00
tenplus1
a7311fa0e0 stop falling.lua error
2016-03-27 15:47:01: ERROR[Main]: ServerError: Lua: Runtime error from mod '*builtin*' in callback luaentity_Step(): Node name is not set or is not a string!
2016-03-27 15:47:01: ERROR[Main]: stack traceback:
2016-03-27 15:47:01: ERROR[Main]: 	[C]: in function 'add_node'
2016-03-27 15:47:01: ERROR[Main]: 	/usr/share/minetest/builtin/game/falling.lua:96: in function </usr/share/minetest/builtin/game/falling.lua:43>
2016-03-29 23:56:23 +02:00
kwolekr
c55559c342 Mapgen: Spread both night and day light banks in spreadLight 2016-03-29 16:32:30 -04:00
sfan5
008c21f626 Fix small formatting issue in SRP debug output
Writing an u8 to verbosestream writes a char, not it's numeric value.
2016-03-29 19:59:14 +02:00
est31
dae2283683 Revert "Translated using Weblate (German)"
This reverts commit 25da0594eb09bb0e72816aaf8280573a668af00c.
2016-03-27 00:22:22 +01:00
Craig Davison
60e770f117 Add CONTRIBUTING.md 2016-03-25 18:13:31 +02:00
est31
12bf78b5b2 Replace CRLF with LF in shader files 2016-03-25 15:57:18 +01:00
Rui
5285fe8c03 Falling: Set acceleration on step again
Commit

65c09a96f41705bb8e75fc5ff4276342be91ed11 "Set acceleration only once in falling node"

has made the acceleration being set only once.
But this has introduced a regression.

Fix #3884.
2016-03-25 15:19:39 +01:00
Jean-Patrick Guerrero
7ddf76357d Update menu header image 2016-03-25 15:18:07 +01:00
Fernando Reis
3d6d2c5bb1 Translated using Weblate (Portuguese)
Currently translated at 34.5% (299 of 865 strings)

This is a merger of 2 commits.
2016-03-25 13:22:49 +01:00
red-001
691ec6fcbc Translated using Weblate (Polish)
Currently translated at 33.7% (292 of 865 strings)

This is a merger of 2 commits.
2016-03-25 13:22:49 +01:00
Jean-Patrick G
fe5cad73e9 Translated using Weblate (French)
Currently translated at 93.0% (805 of 865 strings)

This is a merger of 2 commits.
2016-03-25 13:22:49 +01:00
Ian giestas pauli
02459a8986 Translated using Weblate (Portuguese (Brazil))
Currently translated at 70.6% (611 of 865 strings)

This is a merger of 2 commits.
2016-03-25 13:22:48 +01:00
Jean-Baptiste
e1431a8bec Translated using Weblate (French)
Currently translated at 92.4% (800 of 865 strings)

This is a merger of 3 commits.
2016-03-25 13:22:48 +01:00
akiyama akira
8776d0e933 Translated using Weblate (Chinese (China))
Currently translated at 34.4% (298 of 865 strings)

This is a merger of 6 commits.
2016-03-25 13:22:48 +01:00
Thibault Noel
803359141c Translated using Weblate (French)
Currently translated at 89.1% (771 of 865 strings)

This is a merger of 2 commits.
2016-03-25 13:22:48 +01:00
Joan Ciprià Moreno Teodoro
bf6589d8b5 Translated using Weblate (Catalan)
Currently translated at 36.6% (317 of 865 strings)

This is a merger of 2 commits.
2016-03-25 13:22:35 +01:00
Rui
41d9a73d00 Translated using Weblate (Japanese)
Currently translated at 51.2% (443 of 865 strings)

This is a merger of 2 commits.
2016-03-25 11:09:56 +01:00
Lucas Montenegro
f0ce117e67 Translated using Weblate (Spanish)
Currently translated at 46.1% (399 of 865 strings)

This is a merger of 3 commits.
2016-03-25 11:09:32 +01:00
Lordmusic Player
44a150dd67 Translated using Weblate (Romanian)
Currently translated at 23.2% (201 of 865 strings)

This is a merger of 2 commits.
2016-03-25 11:04:48 +01:00
Elia Zammuto
827f867f26 Translated using Weblate (Italian)
Currently translated at 47.9% (415 of 865 strings)
2016-03-25 11:04:48 +01:00
Muhammad Rifqi Priyo Susanto
db7d7c1348 Translated using Weblate (Indonesian)
Currently translated at 47.9% (415 of 865 strings)
2016-03-25 11:04:48 +01:00
Jeff Huang
30380f3e9a Translated using Weblate (Chinese (Taiwan))
Currently translated at 100.0% (865 of 865 strings)

This is a merger of 2 commits.
2016-03-25 11:04:48 +01:00
Kisbenedek Márton
c23d4a14ce Translated using Weblate (Hungarian)
Currently translated at 74.9% (648 of 865 strings)

This is a merger of 3 commits.
2016-03-25 11:04:28 +01:00
Jakub Vaněk
02c0468181 Translated using Weblate (Czech)
Currently translated at 54.1% (468 of 865 strings)
2016-03-25 10:54:33 +01:00
ShadowNinja
8c409bdc6d Translated using Weblate (Spanish)
Currently translated at 45.3% (392 of 865 strings)
2016-03-25 10:54:33 +01:00