926 Commits

Author SHA1 Message Date
proller
c8f0b5f1c8 Merge remote-tracking branch 'minetest/master' 2015-11-08 00:23:30 +03:00
proller
52fe7de610 Merge remote-tracking branch 'minetest/master' 2015-11-08 00:23:15 +03:00
kwolekr
f9e394a466 Improve LuaVoxelManip documentation 2015-11-07 11:59:24 -05:00
BlockMen
2a12579fab Add support for audio feedback if placing node failed 2015-11-07 13:23:38 +01:00
est31
5e507c9829 Add server side ncurses terminal
This adds a chat console the server owner can use for administration
or to talk with players.
It runs in its own thread, which makes the user interface immune to
the server's lag, behaving just like a client, except timeout.
As it uses the same console code as the f10 console, things like nick
completion or a scroll buffer basically come for free.
The terminal itself is written in a general way so that adding a
client version later on is just about implementing an interface.

Fatal errors are printed after the console exists and the ncurses
terminal buffer gets cleaned up with endwin(), so that the error still
remains visible.

The server owner can chose their username their entered text will
have in chat and where players can send PMs to.
Once the username is secured with a password to prevent anybody to
take over the server, the owner can execute admin tasks over the
console.

This change includes a contribution by @kahrl who has improved ncurses
library detection.
2015-11-06 08:51:14 +01:00
proller
2b4a437752 Merge remote-tracking branch 'minetest/master' 2015-11-05 18:46:21 +03:00
kwolekr
1384108f8c Schematics: Add core.place_schematic_on_vmanip API
Fix memory leak in minetest.place_schematic
Slightly refactor Schematic code
2015-11-05 01:18:32 -05:00
proller
ddfb871a62 Merge remote-tracking branch 'minetest/master' 2015-11-04 17:39:59 +03:00
kwolekr
c2b5da735e Add callback parameter for core.emerge_area() 2015-11-02 18:43:09 -05:00
proller
e29d92507e Merge remote-tracking branch 'minetest/master' 2015-10-26 17:35:59 +03:00
kwolekr
306b067091 SAPI: Move core.get_us_time() to Util module 2015-10-26 03:46:36 -04:00
proller
6f8bf9df75 Merge commit '50ba7e1' 2015-10-26 02:54:56 +03:00
proller
921948ad93 Merge commit '6f2d9de' 2015-10-26 02:17:22 +03:00
proller
02de2ae6a9 Merge commit '59fa117' 2015-10-26 01:30:10 +03:00
BlockMen
50ba7e114d Add option to disable backface culling for models
- Disabled by default (except players)
- Fixes #2984
2015-10-25 12:06:08 +01:00
PilzAdam
6f2d9de769 Improve Lua settings menu
* Add key settings to setting table and ignore them later
  This way they are added to the auto-generated minetest.conf.example
* Add flags type
* Add input validation for int, float and flags
* Break in-game graphic settings into multiple sections
* Parse settingtpes.txt in mods and games
* Improve description for a lot of settings
* Fix typos and wording in settingtypes.txt
* Convert language setting to an enum
2015-10-24 19:39:15 +02:00
paramat
59fa117d13 Decoration API: Add flag for placement on liquid surface
Add findLiquidSurface() function to mapgen.cpp
Update lua_api.txt
2015-10-23 21:30:20 +01:00
proller
451a9b3a40 Merge remote-tracking branch 'minetest/master' 2015-10-23 01:30:25 +03:00
Robert Zenz
c32847838d Add more ways to pass data to check_player_privs
The callback can now be invoked with either the player object or name as
the first parameter, and with either a table or a list of strings, like
this:

    minetest.check_player_privs(player_name, { shout = true, fly = true })
    minetest.check_player_privs(player_name, "shout", "fly")
    minetest.check_player_privs(player, { shout = true, fly = true })
    minetest.check_player_privs(player, "shout", "fly")
2015-10-22 19:55:48 +02:00
proller
5873a9d61c Merge remote-tracking branch 'minetest/master'
Conflicts:
	src/environment.cpp
	src/script/cpp_api/s_env.cpp
	src/script/lua_api/l_env.h
2015-10-19 01:50:09 +03:00
paramat
3b9f99e0d6 ABMs: Make catch-up behaviour optional
Default is true for backwards compatibility
Update lua_api.txt
2015-10-18 16:42:59 +01:00
proller
a5ef0bc92e Merge commit '2139d7d'
Conflicts:
	src/log.cpp
	src/log.h
	src/logoutputbuffer.h
2015-10-16 21:04:52 +03:00
ShadowNinja
2139d7d45f Refactor logging
- Add warning log level
- Change debug_log_level setting to enumeration string
- Map Irrlicht log events to MT log events
- Encapsulate log_* functions and global variables into a class, Logger
- Unify dstream with standard logging mechanism
- Unify core.debug() with standard core.log() script API
2015-10-14 01:03:54 -04:00
proller
43c8a13491 Merge commit '8edc8a1' 2015-10-11 01:53:38 +03:00
proller
b77bc1cb51 Merge commit 'b0523ad'
Conflicts:
	src/content_mapblock.cpp
2015-10-11 01:47:13 +03:00
proller
f4d0c3ab89 Merge commit '9f25aba'
Conflicts:
	src/emerge.cpp
2015-10-11 01:38:17 +03:00
est31
8edc8a14e4 Correct SRP documentation
Previous statements were wrong.
2015-10-06 19:08:53 +02:00
est31
b0523adc5f Add new ContentParamType2 "CPT2_DEGROTATE"
This might break some mods, but it is important for all uses of the param2 to
be documented.

This doesn't need a serialisation version or network protocol version change,
as old clients will still work on new servers, and it is bearable to have
new clients getting non rotated plants on old servers.
2015-10-04 23:59:41 +02:00
kwolekr
9f25aba6c2 Hide mapgens from main menu not intended for end users 2015-10-04 17:11:41 -04:00
proller
0bb33d0fe7 Merge remote-tracking branch 'minetest/master' 2015-10-04 23:16:18 +03:00
kwolekr
1f9c5a4a7b doc: Update node callback documentation 2015-10-04 15:34:56 -04:00
proller
318b23930d Merge remote-tracking branch 'minetest/master' 2015-10-03 20:25:32 +03:00
Duane Robertson
a5bdfb6b3c Add get_biome_id(biome_name) callback
It returns the index used in mg->biomemap for a given biome name.
The biomemap is useless without this unless you re-register all existing biomes,
which could cause problems for anyone else trying to use biomemap.
With this, you can quickly create a lookup table of ids and names.
2015-10-02 22:49:31 +02:00
proller
6251198957 Merge remote-tracking branch 'minetest/master'
Conflicts:
	src/mg_decoration.cpp
2015-09-28 00:25:27 +03:00
Tim
776760aba7 Clarify radii and distance types in documentation
Because not all circles are round:
* circles using an euclidean metric are what we usually call "round"
* circles using a maximum metric look like euclidean rectangles with equal adjacent sides (squares)
* circles using a manhattan metric look like an euclidean right angled rhombus (squares, but 45° rotated to the former one)

[ci skip]
2015-09-26 21:28:50 +02:00
proller
0aaad95245 Merge remote-tracking branch 'minetest/master' 2015-09-24 00:29:32 +03:00
proller
442e97753f Merge remote-tracking branch 'minetest/master'
Conflicts:
	src/content_sao.cpp
	src/environment.cpp
	src/environment.h
2015-09-24 00:29:08 +03:00
kwolekr
f062bbd7a1 Add /emergeblocks command and core.emerge_area() Lua API 2015-09-23 15:56:24 -04:00
proller
a238685d07 Merge remote-tracking branch 'minetest/master'
Conflicts:
	src/environment.cpp
	src/environment.h
	src/server.cpp
2015-09-22 00:10:48 +03:00
Kahrl
d130c36e14 Fix another typo in doc/world_format.txt 2015-09-21 19:26:54 +02:00
est31
4f03f8d119 lua_api.txt: fix typo
Thanks to @kaadmy (NeD) for pointing this out.
2015-09-21 18:10:05 +02:00
est31
691eb2d06d Document current node metadata format
Document the node metadata changes of the commit (serialisation version >=23):

704782c95b8a4194a9383da55d93f37fd0f7278f "WIP node metadata, node timers"
2015-09-18 16:47:13 +02:00
kwolekr
dcbb95338a Ore: Add puff ore type 2015-09-17 03:04:50 -04:00
proller
af8ec6f2bd Merge commit '8acccf4'
Conflicts:
	CMakeLists.txt
2015-09-15 20:58:20 +03:00
proller
55cff18e01 Merge commit '283bf97'
Conflicts:
	src/mapblock.h
2015-09-15 20:57:18 +03:00
proller
17d0de70ff Merge commit '915807f' 2015-09-15 20:56:04 +03:00
proller
ab4f746d4b Merge commit 'beba969' 2015-09-15 20:55:56 +03:00
proller
2d44388eb6 Merge commit '1f1e14a' 2015-09-15 20:27:08 +03:00
proller
1112e4fa07 Merge commit 'd493855'
Conflicts:
	src/CMakeLists.txt
2015-09-15 20:05:30 +03:00
est31
8acccf4c58 Fix "make install" and add underscore to doc file name
Fix regression since commit:

915807f8db1f3721ad9ffc00a4863ad940010c45 "Rename doc/mapformat.txt and update doc to match SRP changes"

And add an underscore to doc file name to make it more readable.
2015-09-14 07:51:31 +02:00