kwolekr
8e08e92eb4
Cherry-pick most commits since 15c0376
...
Commits not directly related to network changes were cherry-picked
on a best-effort basis, as some cause difficult merge conflicts.
Commits skipped over:
0d1eedcccc
aa474e4501
82482ecd9d
b214cde5b4
2066655aae
7e088fdfe3
40bf1d7b5f
1b2f64473e
7e56637ed0
64ff966bae
51057a56f5
009149a073
cf4045ff0f
e357577cb2
49f84b76bc
b019221c30
7880ff74b6
146f77fdb7
a704c04f00
Commits with conflicts:
038d3a31df
e9eda2b0d0
708337dfc2
~~ modified client.cpp manually; shadow changes to packethandlers/client.cpp
36e8ba9ce2
~~ modified main.cpp manually; add ALLOW_ZWRITE_ON_TRANSPARENT set
3b6480c5b0
~~ modified server.cpp manually; change wrapDegrees -> modulo360f
5a5854ea9d
c09d026f05
3c91ad8fc2
2015-03-07 16:25:50 -05:00
kwolekr
32352e90da
Revert all commits up to (including) a704c04f
2015-03-07 16:16:25 -05:00
est31
5a0ed780f5
Server: announce MIN/MAX protocol version supported to serverlist. Client: check serverlist
...
Client now informs about incompatible servers from the list, this permits to prevent the protocol movements.
Server announces its supported protocol versions to master server
2015-02-18 16:09:59 +01:00
est31
7c5accf605
Fix crash on passing false as value in table to table.copy(t)
...
Fixes #2293 .
2015-02-14 15:18:11 +10:00
kwolekr
5aeeb219e3
Simplify deleteblocks chat command argument parsing
...
Add optional core.pos_to_string decimal place rounding
Move core.string_to_pos to builtin/common/misc_helpers.lua for consistency
2015-01-15 18:05:13 -05:00
Diego Martínez
00bca11f59
Fix off-by-one error in `string:split` implementation.
2015-01-04 23:33:55 -05:00
Diego Martinez
ab55da589c
Faster string.split implementation.
2014-12-28 23:27:07 -05:00
Craig Robbins
c151099b79
Revert "Adjust the values of dirs1 and dirs2 so that rotate_and_place orients textures correctly"
...
This reverts commit 9878e8de4f
.
See: https://github.com/minetest/minetest/issues/1939 and IRC log for discussion
2014-12-12 16:21:29 +10:00
paramat
f114fc74d6
Fix undeclared globals in functions and shorten lines in misc_helpers.lua.
2014-12-11 21:37:46 -05:00
SmallJoker
2fd14e1bd5
Add Lua helper functions vector.apply(v) math.sign(x, tolerance)
2014-12-06 10:07:25 +01:00
SmallJoker
6a43b3af09
Add minetest.copy_table(table) To get rid off the "table references"
...
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-27 18:19:01 +10:00
dvere
9878e8de4f
Adjust the values of dirs1 and dirs2 so that rotate_and_place orients textures correctly
...
According to doc/lua_api.txt if paramtype2 == "facedir" the two least significant bits of parm2 orient the texture around the axis. For dirs1 (looking at a wall) these would be 0, 1, 2, 3 and for dirs2 (looking at the ceiling) 2, 1, 0, 3
2014-11-25 12:44:47 +10:00
ShadowNinja
05e7f71b33
Fix dump() indentation with non-tab indents
2014-11-08 12:49:50 -05:00
Ryan Newell
90b6de173e
Add last_login field to auth.txt
...
Also shortens some related code and adds more parameters to string.split.
2014-11-08 12:49:50 -05:00
ShadowNinja
3e7e65885a
Make dump's output prettier
...
Changes:
* Indentation with tabs by default.
* Array keys dumped without "[i] = " prefix.
* String keys that are valid identifiers aren't enclosed in '[""]'.
* Basic support for multiple references (as specified in the comment).
2014-09-21 15:24:00 -04:00
sapier
65b8b524c0
Add srollbar formspec element
2014-07-16 15:02:56 +02:00
ShadowNinja
882e12f8ab
Rework dumping functions
...
Changes:
* Add comments to explain the dumping code
* Add support for dumping values of any type (as '<' <type> '>')
* Add support for tables as keys in dump2()
* Make dump2() return it's result (like dump()) rather than printing it
* Simplify and optimize function serialization via serialize()
2014-05-24 17:32:42 -04:00
ShadowNinja
c4359ff65c
Use "core" namespace internally
2014-05-08 13:02:04 -04:00
ShadowNinja
1cd512913e
Organize builtin into subdirectories
2014-05-07 17:14:23 -04:00