oweals/minetest.git
9 years agoFix background of creative icon (was black, now transparent)
Kahrl [Sun, 14 Dec 2014 04:09:43 +0000 (05:09 +0100)]
Fix background of creative icon (was black, now transparent)

9 years agoRevert "Update Russian translation"
Kahrl [Sat, 13 Dec 2014 14:23:32 +0000 (15:23 +0100)]
Revert "Update Russian translation"

This reverts commit e4e4324a30d6bcac5cc06c74e955e4941b14bd38.

Conflicts:
po/minetest.pot
po/*/minetest.po

9 years agoFix misleading error when exiting the client from the main menu
Craig Robbins [Sat, 13 Dec 2014 14:00:52 +0000 (00:00 +1000)]
Fix misleading error when exiting the client from the main menu

9 years agoProvide more info if a subgame is not valid/found
Craig Robbins [Sat, 13 Dec 2014 13:01:16 +0000 (23:01 +1000)]
Provide more info if a subgame is not valid/found

9 years agoUpdate german translation 1950/head
PilzAdam [Fri, 12 Dec 2014 23:40:15 +0000 (00:40 +0100)]
Update german translation

9 years agoLuaPerlinNoiseMap: Fix 3d noise safety check
kwolekr [Sat, 13 Dec 2014 03:58:19 +0000 (22:58 -0500)]
LuaPerlinNoiseMap: Fix 3d noise safety check

9 years agoFix segfault when dragging mouse out of mainmenu window (#1910)
Kahrl [Fri, 12 Dec 2014 23:39:07 +0000 (00:39 +0100)]
Fix segfault when dragging mouse out of mainmenu window (#1910)

9 years agoRemove vertlabels from main menu and relayout a bit
Kahrl [Sun, 7 Dec 2014 21:09:21 +0000 (22:09 +0100)]
Remove vertlabels from main menu and relayout a bit

9 years agoDisplay serverlist flags as icons
Kahrl [Sun, 30 Nov 2014 23:58:00 +0000 (00:58 +0100)]
Display serverlist flags as icons

9 years agoUpdate po files
ShadowNinja [Fri, 12 Dec 2014 22:20:53 +0000 (17:20 -0500)]
Update po files

9 years agoUpdate Russian translation
AntonBoch1244 [Tue, 5 Aug 2014 09:17:45 +0000 (13:17 +0400)]
Update Russian translation

9 years agoUpdate Italian translation
Enki [Wed, 14 May 2014 14:42:15 +0000 (16:42 +0200)]
Update Italian translation

9 years agoFix missing call to std::ostringstream::str
ShadowNinja [Fri, 12 Dec 2014 21:31:29 +0000 (16:31 -0500)]
Fix missing call to std::ostringstream::str

9 years agoFix MSVC compiling warnings and remove an unused texture
SmallJoker [Thu, 11 Dec 2014 19:12:28 +0000 (20:12 +0100)]
Fix MSVC compiling warnings and remove an unused texture

9 years agoLog: Silence errorstream during unittests
kwolekr [Fri, 12 Dec 2014 20:12:31 +0000 (15:12 -0500)]
Log: Silence errorstream during unittests

9 years agoUse std::string::empty() instead of size() where applicable
Anton [Fri, 12 Dec 2014 14:55:40 +0000 (19:55 +0500)]
Use std::string::empty() instead of size() where applicable

9 years agoAdd basic support for generating API documentation using Doxygen
Jürgen Doser [Wed, 30 Jan 2013 17:21:32 +0000 (18:21 +0100)]
Add basic support for generating API documentation using Doxygen

If CMake is run and Doxygen is found, add a make target called "doc",
which builds API documention in doc/html. This target is not included
in the default "all" target, you have to explicitly run "make doc" to
generate the documentation.

If graphviz is installed, in particular, if the "dot" binary is found,
doxygen is configured to generate various kinds of diagrams. Note that
due to this, the first run of doxygen can take a while.

9 years agoSettings: Fix invalid memory access when setting not found in working mem
kwolekr [Fri, 12 Dec 2014 19:39:36 +0000 (14:39 -0500)]
Settings: Fix invalid memory access when setting not found in working mem

9 years agoNodeResolver: Fix some comments and use const references for params
kwolekr [Fri, 12 Dec 2014 19:21:41 +0000 (14:21 -0500)]
NodeResolver: Fix some comments and use const references for params

9 years agoAdd minetest.clear_registered_decorations() and clear_registered_ores()
kwolekr [Fri, 12 Dec 2014 19:07:49 +0000 (14:07 -0500)]
Add minetest.clear_registered_decorations() and clear_registered_ores()

9 years agoAllow footstep sounds to play for liquid and ladder nodes, making swimming and climbi...
MirceaKitsune [Sun, 7 Dec 2014 21:47:52 +0000 (23:47 +0200)]
Allow footstep sounds to play for liquid and ladder nodes, making swimming and climbing sounds possible

9 years agoResponsive tooltip offset for Android.
Kodexky [Tue, 2 Dec 2014 03:32:41 +0000 (23:02 -0430)]
Responsive tooltip offset for Android.

Signed-off-by: Craig Robbins <kde.psych@gmail.com>
9 years agoFix typo in mapblock.h
Craig Robbins [Fri, 12 Dec 2014 08:06:36 +0000 (18:06 +1000)]
Fix typo in mapblock.h

9 years agoLuaPerlinNoiseMap: Prevent invalid memory access when attempting to generate 3d noise...
kwolekr [Fri, 12 Dec 2014 07:46:52 +0000 (02:46 -0500)]
LuaPerlinNoiseMap: Prevent invalid memory access when attempting to generate 3d noise with a buffer created for 2d

9 years agoMapgens: Rename m_emerge to prevent name collisions
kwolekr [Fri, 12 Dec 2014 07:38:39 +0000 (02:38 -0500)]
Mapgens: Rename m_emerge to prevent name collisions

9 years agoAdd support for NoiseParams in minetest.get_perlin() and add docs on NoiseParams...
kwolekr [Fri, 12 Dec 2014 07:02:26 +0000 (02:02 -0500)]
Add support for NoiseParams in minetest.get_perlin() and add docs on NoiseParams to lua_api.txt

9 years agoRevert "Adjust the values of dirs1 and dirs2 so that rotate_and_place orients texture...
Craig Robbins [Fri, 12 Dec 2014 06:21:29 +0000 (16:21 +1000)]
Revert "Adjust the values of dirs1 and dirs2 so that rotate_and_place orients textures correctly"

This reverts commit 9878e8de4fdf232ebb77b396766c339786c01218.

See: https://github.com/minetest/minetest/issues/1939 and IRC log for discussion

9 years agoSettings: Fail on invalid sequence and throw exception for LuaSettings
kwolekr [Fri, 12 Dec 2014 05:44:17 +0000 (00:44 -0500)]
Settings: Fail on invalid sequence and throw exception for LuaSettings

9 years agoSettings: Sanitize value for multiline terminator tokens
kwolekr [Fri, 12 Dec 2014 04:25:42 +0000 (23:25 -0500)]
Settings: Sanitize value for multiline terminator tokens

9 years agoFix undeclared globals in functions and shorten lines in misc_helpers.lua.
paramat [Fri, 12 Dec 2014 01:10:19 +0000 (01:10 +0000)]
Fix undeclared globals in functions and shorten lines in misc_helpers.lua.

9 years agoClean up Noise macros
kwolekr [Thu, 11 Dec 2014 07:53:10 +0000 (02:53 -0500)]
Clean up Noise macros

9 years agoNodeResolver: Fix cancelNode and cancelNodeList
kwolekr [Thu, 11 Dec 2014 05:41:54 +0000 (00:41 -0500)]
NodeResolver: Fix cancelNode and cancelNodeList

9 years agoNoise: Automatically transform noise maps if needed
kwolekr [Thu, 11 Dec 2014 04:35:37 +0000 (23:35 -0500)]
Noise: Automatically transform noise maps if needed

9 years agoMove get_schematic and read_schematic to l_mapgen.cpp
kwolekr [Wed, 10 Dec 2014 06:49:57 +0000 (01:49 -0500)]
Move get_schematic and read_schematic to l_mapgen.cpp

9 years agoBiome API: Reduce heat and humidity persistences to 0.5
paramat [Wed, 10 Dec 2014 06:25:03 +0000 (06:25 +0000)]
Biome API: Reduce heat and humidity persistences to 0.5

9 years agoAdd support for lacunarity in legacy NoiseParams string format
kwolekr [Wed, 10 Dec 2014 06:31:21 +0000 (01:31 -0500)]
Add support for lacunarity in legacy NoiseParams string format

9 years agoAdd paste command (Ctrl-V) in GUIChatConsole
Kahrl [Fri, 19 Sep 2014 20:26:38 +0000 (22:26 +0200)]
Add paste command (Ctrl-V) in GUIChatConsole

9 years agoRemove get_noiseparams function. read_noiseparams should be used from now on
kwolekr [Wed, 10 Dec 2014 05:56:44 +0000 (00:56 -0500)]
Remove get_noiseparams function. read_noiseparams should be used from now on

9 years agoNoise: Create a deep copy of NoiseParams
kwolekr [Wed, 10 Dec 2014 05:37:09 +0000 (00:37 -0500)]
Noise: Create a deep copy of NoiseParams

9 years agoSettings: Sanitize setting name everywhere, not just LuaSettings
kwolekr [Wed, 10 Dec 2014 04:52:13 +0000 (23:52 -0500)]
Settings: Sanitize setting name everywhere, not just LuaSettings

9 years agoRename and repurpose minetest.set_noiseparam_defaults to set_noiseparams
kwolekr [Wed, 10 Dec 2014 04:44:04 +0000 (23:44 -0500)]
Rename and repurpose minetest.set_noiseparam_defaults to set_noiseparams

9 years agoSettings: Make setting entry group and values mutually exclusive
kwolekr [Wed, 10 Dec 2014 04:22:38 +0000 (23:22 -0500)]
Settings: Make setting entry group and values mutually exclusive

This greatly reduces the complexity of Settings code.
Additionally, several memory leaks were fixed.

9 years agoRewrite fs:GetDirListing(file) by kahrl
SmallJoker [Tue, 9 Dec 2014 16:58:12 +0000 (02:58 +1000)]
Rewrite fs:GetDirListing(file) by kahrl

9 years agoIgnore .name directories and files
SmallJoker [Sun, 7 Dec 2014 10:14:52 +0000 (11:14 +0100)]
Ignore .name directories and files

Signed-off-by: Craig Robbins <kde.psych@gmail.com>
9 years agoIncrease performance of getLight() by at least 2x
Craig Robbins [Tue, 9 Dec 2014 14:45:07 +0000 (00:45 +1000)]
Increase performance of getLight() by at least 2x

Leads to the following increases:
getSmoothLight() approx.     40% increase
getTileInfo() approx.        25% increase
MapBlockMesh::MapBlockMesh() 25-30%

9 years agoFix builds failing on BSD-like (such as OSX) due to an irrlicht bug (temporary fix)
Pavel Puchkin [Tue, 9 Dec 2014 10:40:09 +0000 (20:40 +1000)]
Fix builds failing on BSD-like (such as OSX) due to an irrlicht bug (temporary fix)

Details:
- https://sourceforge.net/p/irrlicht/bugs/433/
- https://github.com/minetest/minetest/issues/1687#issuecomment-61368769
- https://forum.minetest.net/viewtopic.php?f=42&t=9190&start=125#p159364

In case when "settings.h" is included from "emerge.cpp" or
"environment.cpp", u64 type has "unsigned long" length because
previously <stdint> was included. When "settings.h" is included from
"settings.cpp", u64 has "unsigned long long" length because no <stdint>
was included previously. This leads to different signatures of "setU64" method
and linker cannot find appropriate symbol.

The best fix of this bug should be done in the Irrlicht, but as hotfix I
think this is OK and better than types changing.

Previously this bug didn't appear because there was no "settings.cpp" file and
implementation of all methods was done in the header file.

9 years agoNoise: Update Noise::resizeNoiseBuf to account for lacunarity not equal to 2
kwolekr [Tue, 9 Dec 2014 05:48:00 +0000 (00:48 -0500)]
Noise: Update Noise::resizeNoiseBuf to account for lacunarity not equal to 2

9 years agoBiomes: Make biome heat and humidity noise parameters user-configurable
kwolekr [Tue, 9 Dec 2014 05:37:48 +0000 (00:37 -0500)]
Biomes: Make biome heat and humidity noise parameters user-configurable

9 years agoFix compiler warning (signed vs. unsigned)
Craig Robbins [Mon, 8 Dec 2014 12:50:39 +0000 (22:50 +1000)]
Fix compiler warning (signed vs. unsigned)

9 years agoOptimize noise implementations
kwolekr [Mon, 8 Dec 2014 08:25:14 +0000 (03:25 -0500)]
Optimize noise implementations

9 years agoFix struct vs. class in forward declarations
Kahrl [Mon, 8 Dec 2014 08:06:31 +0000 (09:06 +0100)]
Fix struct vs. class in forward declarations

9 years agoFix lighting artifacts (Issue #1887).
RealBadAngel [Mon, 8 Dec 2014 01:34:29 +0000 (02:34 +0100)]
Fix lighting artifacts (Issue #1887).

9 years agoAlways escape user provided data in mainmenu fields
Kahrl [Mon, 8 Dec 2014 06:47:51 +0000 (07:47 +0100)]
Always escape user provided data in mainmenu fields

9 years agoAdd flags and lacunarity as new noise parameters
kwolekr [Mon, 8 Dec 2014 02:57:12 +0000 (21:57 -0500)]
Add flags and lacunarity as new noise parameters

Add 'absolute value' option to noise map functions
Extend persistence modulation to 3D noise
Extend 'eased' option to noise2d_perlin* functions
Some noise.cpp formatting fixups

9 years agoDisable loading .mtl files. Theyre not used anyway.
RealBadAngel [Sun, 7 Dec 2014 22:25:51 +0000 (23:25 +0100)]
Disable loading .mtl files. Theyre not used anyway.

9 years agoMake directional fog colors respect tonemap
MirceaKitsune [Wed, 30 Apr 2014 13:38:26 +0000 (16:38 +0300)]
Make directional fog colors respect tonemap

9 years agoFix f6 debug/profiler display
Craig Robbins [Sun, 7 Dec 2014 11:01:42 +0000 (21:01 +1000)]
Fix f6 debug/profiler display

After fonts were re-engineered the height of the f6 debug/profiler display would only display about 2-3 lines of text.

9 years agoIncrease third person view distance
Calinou [Sun, 26 Oct 2014 10:26:36 +0000 (11:26 +0100)]
Increase third person view distance

Signed-off-by: Craig Robbins <kde.psych@gmail.com>
9 years agoAdd space between client names in status text (client)
Muhammad Rifqi Priyo Susanto [Sun, 7 Dec 2014 11:30:21 +0000 (21:30 +1000)]
Add space between client names in status text (client)

Before:
Server: version=0.4.10, uptime=190.5, max_lag=0.001, clients={user1,user2,user3,user4,user5,foobar,userplayedminetestthismorning}

After:
Server: version=0.4.10, uptime=190.5, max_lag=0.001, clients={user1, user2, user3, user4, user5, foobar, userplayedminetestthismorning}

9 years agoRestore finalColorBlend implementation in shaders.
RealBadAngel [Sat, 6 Dec 2014 21:13:31 +0000 (22:13 +0100)]
Restore finalColorBlend implementation in shaders.

9 years agoFix regression (increase/decrease viewing range with +/- keys)
Craig Robbins [Sun, 7 Dec 2014 08:21:13 +0000 (18:21 +1000)]
Fix regression (increase/decrease viewing range with +/- keys)

9 years agoMapgen V5: Fix use of uninitialized value in ctor
kwolekr [Sun, 7 Dec 2014 06:19:42 +0000 (01:19 -0500)]
Mapgen V5: Fix use of uninitialized value in ctor

9 years agoSchematics: Fix minetest.place_schematic() when defined by a Lua table
kwolekr [Sat, 6 Dec 2014 23:39:05 +0000 (18:39 -0500)]
Schematics: Fix minetest.place_schematic() when defined by a Lua table

9 years agoAdd minetest.clear_registered_biomes() api
kwolekr [Sat, 6 Dec 2014 23:08:08 +0000 (18:08 -0500)]
Add minetest.clear_registered_biomes() api

9 years agoIgnore some mouse events sent from scrollbar to GUITable
Kahrl [Sat, 6 Dec 2014 21:45:20 +0000 (22:45 +0100)]
Ignore some mouse events sent from scrollbar to GUITable

Fixes #1567, #1806.

9 years agoClose settings files and save them correctly
SmallJoker [Sat, 6 Dec 2014 16:26:22 +0000 (17:26 +0100)]
Close settings files and save them correctly

9 years agoAdd workaround for failing clang build
sfan5 [Sat, 6 Dec 2014 18:36:40 +0000 (19:36 +0100)]
Add workaround for failing clang build

9 years agoBuild for win32 & win64 on Travis too
sfan5 [Fri, 5 Dec 2014 14:54:19 +0000 (15:54 +0100)]
Build for win32 & win64 on Travis too

9 years agoRewrite generate notification mechanism
kwolekr [Sat, 6 Dec 2014 09:18:04 +0000 (04:18 -0500)]
Rewrite generate notification mechanism

Add support for notify-on-decoration
Clean up mapgen constructors
Clean up mapgen.cpp code style somewhat
Remove trailing whitespace from some files

9 years agoPerformance of main client loop up to 2x faster In places, up to 3 times faster
Craig Robbins [Sat, 6 Dec 2014 14:37:37 +0000 (00:37 +1000)]
Performance of main client loop up to 2x faster In places, up to 3 times faster

NOTE 1: This does not mean a 2x increase in framerate. Increase in fps may be up to 1-2fps
NOTE 2: This local 'caching' of settings is not optimal and an alternative solution will be worked on after 0.4.11 is released

9 years agoAdd Lua helper functions vector.apply(v) math.sign(x, tolerance)
SmallJoker [Fri, 5 Dec 2014 22:18:52 +0000 (23:18 +0100)]
Add Lua helper functions vector.apply(v) math.sign(x, tolerance)

9 years agoAdd name of node 'pointed at' to debug
Craig Robbins [Thu, 20 Nov 2014 07:25:01 +0000 (17:25 +1000)]
Add name of node 'pointed at' to debug

This is "Add name of node pointed at to debug #1677" by @rubenwardy updated to work with game.cpp after it was refactored.

9 years agoFix MSVC build
SmallJoker [Fri, 5 Dec 2014 06:09:49 +0000 (16:09 +1000)]
Fix MSVC build

Note: The unit test was technically incorrect for all platforms but passes due to implicit casting

9 years agoRecalculate normals for mesh #0. Fix for issue #1902.
RealBadAngel [Fri, 5 Dec 2014 00:04:25 +0000 (01:04 +0100)]
Recalculate normals for mesh #0. Fix for issue #1902.

9 years ago(INTERIM) Make sizes of the font in formspecs consistent and not so large
Craig Robbins [Thu, 4 Dec 2014 15:42:03 +0000 (01:42 +1000)]
(INTERIM) Make sizes of the font in formspecs consistent and not so large

Until a permanent fix can be developed

9 years agoOptimise VoxelManipulator::copyFrom
Craig Robbins [Thu, 4 Dec 2014 13:37:04 +0000 (23:37 +1000)]
Optimise VoxelManipulator::copyFrom

~3-4x faster

This indirectly optimises MapBlock:copyTo() which in turn improves performance of MeshMakeData::fill()

9 years agoRight mouse button behaviour for craft/inventory If right mousebutton clicked once...
Craig Robbins [Thu, 9 Oct 2014 07:53:20 +0000 (17:53 +1000)]
Right mouse button behaviour for craft/inventory If right mousebutton clicked once then don't drop single items into slots. If right mouse button has been clicked and held a second time, drop items as the mouse is moved. In the second case (automatically drop/place items as mouse is moved) only auto-drop into blank slots, or slots that contain the same item.

9 years agoMake dropped items larger and rotate faster
Calinou [Sun, 30 Nov 2014 09:26:51 +0000 (10:26 +0100)]
Make dropped items larger and rotate faster

Signed-off-by: Craig Robbins <kde.psych@gmail.com>
9 years agoSettings: Various setting group fixes and enhancements
kwolekr [Thu, 4 Dec 2014 08:20:07 +0000 (03:20 -0500)]
Settings: Various setting group fixes and enhancements

 - Remove blank setting values when setting has a group
 - Pair setting values with groups in file when possible
 - Preserve user-set whitespace in setting objects
 - Delete setting value when setting NoiseParams group
 - Delete overwritten groups outside of lock

9 years agoAdd definable node_stone to biome API, mgv5, mgv7. Reduce and correct depth of mgv7...
paramat [Sun, 30 Nov 2014 04:42:02 +0000 (04:42 +0000)]
Add definable node_stone to biome API, mgv5, mgv7. Reduce and correct depth of mgv7 biomes. l_mapgen.cpp: add '#include mapgen_v5.h' because '#include mapgen_v7' is there. Improve underwater grass hack

9 years agoSettings: Fix getNoiseParamsFromValue()
kwolekr [Wed, 3 Dec 2014 02:09:16 +0000 (21:09 -0500)]
Settings: Fix getNoiseParamsFromValue()

9 years agoUse setting groups for NoiseParams
kwolekr [Tue, 2 Dec 2014 08:58:57 +0000 (03:58 -0500)]
Use setting groups for NoiseParams

Add format example to minetest.conf.example
Add Settings::setU16()
Throw exception on attempted access of NULL settings groups

9 years agoFix style of comment in minetest.conf.example
Kahrl [Mon, 1 Dec 2014 20:47:22 +0000 (21:47 +0100)]
Fix style of comment in minetest.conf.example

9 years agoAdd fontengine.cpp to Android.mk
Kahrl [Mon, 1 Dec 2014 20:22:23 +0000 (21:22 +0100)]
Add fontengine.cpp to Android.mk

9 years agoFix settings callback "call" lost on rebase
sapier [Mon, 1 Dec 2014 18:47:57 +0000 (19:47 +0100)]
Fix settings callback "call" lost on rebase

9 years agoFix node 0,0,0 being highlighted when enable_node_highlighting == false
Craig Robbins [Mon, 1 Dec 2014 12:05:36 +0000 (22:05 +1000)]
Fix node 0,0,0 being highlighted when enable_node_highlighting == false

Without this patch node 0,0,0 is highlighted when enable_node_highligting is false
There is a minor lighting issue remaining, however it seems to be related to a different bug (https://github.com/minetest/minetest/issues/1887)

9 years agoFix build
Craig Robbins [Mon, 1 Dec 2014 05:17:47 +0000 (15:17 +1000)]
Fix build
Note: this does not fix the warnings generated by clang

9 years agoLuaSettings: Sanitize setting name strings
kwolekr [Mon, 1 Dec 2014 00:01:37 +0000 (19:01 -0500)]
LuaSettings: Sanitize setting name strings

9 years agoFix segfault at exit caused by non grabbed font
Kahrl [Sun, 30 Nov 2014 22:21:14 +0000 (23:21 +0100)]
Fix segfault at exit caused by non grabbed font

9 years agosettings: Add setting groups and multiline entries
kwolekr [Sun, 30 Nov 2014 20:49:04 +0000 (15:49 -0500)]
settings: Add setting groups and multiline entries

9 years agoMake hud use fontengine too
sapier [Fri, 28 Nov 2014 19:06:34 +0000 (20:06 +0100)]
Make hud use fontengine too
Fix non coding style conforming glb_fontengine to g_fontengine
Fix fonts never been deleted due to grabbed to often

9 years agoScale form elements consistently
Zefram [Wed, 20 Aug 2014 22:42:27 +0000 (23:42 +0100)]
Scale form elements consistently

The ratios between the sizes of form elements, including text, is now
fixed, aside from variations caused by rounding.  This makes form layout
almost fully predictable, and particularly independent of player's
screen size.  The proportions of non-text elements are the traditional
proportions.

For compatibility, the way in which element positions and sizes are
specified remains unchanged, in all its baroqueness, with one exception.
The exception is that the position of a label[] element is now defined
in terms of the vertically center of the first line of the label,
rather than the bottom of the first line of the label.  This change
allows a label to be precisely aligned with button text or an edit box,
which are positioned in a centering manner.  Label positioning remains
consistent with the previous system, just more precisely defined.

Make multi-line label[] elements work properly.  Previously the code set
a bounding rectangle assuming that there would be only a single line,
and as a result a multi-line label would be cut somewhere in the middle
of the second line.  Now multi-line labels not only work, but have
guaranteed line spacing relative to inventory slots, to aid alignment.

Incidentally fix tabheader[] elements which were being constrained to
the wrong width.

Given an unusually large form, in variable-size mode, the form rendering
system now chooses a scale that will fit the entire form on the screen,
if that doesn't make elements too small.  Fixed-size forms, including the
main menu, are have their sizes fixed in inch terms.  The fixed size for
fixed-size forms and the preferred and minimum sizes for variable-size
forms all scale according to the gui_scaling parameter.

9 years agoImplement proper font handling
sapier [Sun, 23 Nov 2014 12:40:43 +0000 (13:40 +0100)]
Implement proper font handling

9 years agonoise: Throw exception on noise allocation failure
kwolekr [Sat, 29 Nov 2014 21:50:18 +0000 (16:50 -0500)]
noise: Throw exception on noise allocation failure

9 years agoFix MSVC compiling error (argc/argv not available to pass to init_gettext)
SmallJoker [Fri, 28 Nov 2014 18:26:48 +0000 (19:26 +0100)]
Fix MSVC compiling error (argc/argv not available to pass to init_gettext)

Signed-off-by: Craig Robbins <kde.psych@gmail.com>
9 years agoImprove Lua API documentation
Ciaran Gultnieks [Mon, 17 Mar 2014 20:05:35 +0000 (20:05 +0000)]
Improve Lua API documentation

Changes:
  * Add extra documentation for remove_item.

    This isn't as silly as it sounds: iterate a list containing items with
    unique metadata each, and remove_item the first one you find, placing
    into a different - fine, except the remove will invariably remove the
    wrong one, leading to items being duplicated and others destroyed.

    Arguably it's a bug, and Inventory::removeItem should actually remove
    the item you tell it to. (i.e. if the passed ItemStack has metadata,
    match it). But it seems reasonable to just document the behaviour
    more clearly.

 * Improve string_to_pos documentation.
 * Clarify dig_node documentation (return value).
 * Better on_step documentation.
 * get_nodemeta -> get_meta.
 * Other minor fixes.

9 years agoUpdate minetest.po (Japanese)
Rui [Fri, 28 Nov 2014 13:08:26 +0000 (23:08 +1000)]
Update minetest.po (Japanese)

9 years agoFix regression with command line --go option
Craig Robbins [Fri, 28 Nov 2014 12:29:34 +0000 (22:29 +1000)]
Fix regression with command line --go option

9 years agoAdd minetest.copy_table(table) To get rid off the "table references"
SmallJoker [Sat, 4 Oct 2014 17:23:15 +0000 (19:23 +0200)]
Add minetest.copy_table(table) To get rid off the "table references"

Signed-off-by: Craig Robbins <kde.psych@gmail.com>
9 years agoDon't corrupt stepheight when setting other properties
Ciaran Gultnieks [Mon, 17 Nov 2014 21:17:36 +0000 (21:17 +0000)]
Don't corrupt stepheight when setting other properties