352 Commits

Author SHA1 Message Date
kwolekr
4e33a698b7 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
kwolekr
66b0d25786 Add ability to delete MapBlocks from map
Also add a Lua API and chatcommand for this
2015-01-15 16:48:56 -05:00
Diego Martínez
d74fa1ba9a Fix typo in serialize.lua. 2015-01-15 16:16:41 -05:00
kilbith
a4c337f4c8 Add missing return value for filter/mipmap dropdown in mainmenu 2015-01-15 20:26:05 +01:00
kilbith
84d30719e9 Small tweaking (alignement - client tab) 2015-01-15 23:25:31 +10:00
jeanpatrick.guerrero@gmail.com
8a9b5851ae Reorganizing client and server tabs 2015-01-15 00:50:23 +10:00
kwolekr
94563e9837 builtin: Unify register wrapper functions and wrap clear_registered_* functions too 2015-01-13 12:36:05 -05:00
paramat
a24491ae18 Remove builtin_biome.lua from builtin and add simple biome minimal 2015-01-11 22:32:48 -05:00
sapier
0e9c28d32b Remove automatic consistent formspec size <-> font size (now has to be done manually)
Set builtin formspecs to autoscale in order to get consistent formspec look and feel
Uncouple label positioning from font size (May break some formspecs but is required to allow manual font adjustment)
2015-01-09 18:46:24 +01:00
ShadowNinja
a16be38b0d Add registered_ores and registered_decorations 2015-01-05 18:24:15 -05:00
Diego Martínez
d690109348 Fix off-by-one error in string:split implementation. 2015-01-04 23:33:55 -05:00
sapier
acc24555e1 Fix forgotten favourite list image update of simple menu 2015-01-04 17:37:45 +01:00
sapier
45c32aeea7 Re-add lost way to debug simple menu on PC 2015-01-04 17:19:25 +01:00
kwolekr
6a136cf876 Add core.get_mapgen_names() to Main Menu API (and use it)
Also rewrite mapgen registration for static initialization
2014-12-29 21:23:51 -05:00
kwolekr
eb208e6b75 Expose mapgen parameters on scripting init
Add minetest.get_mapgen_params()
Deprecate minetest.register_on_mapgen_init()
2014-12-29 12:59:59 -05:00
Kahrl
a9a0c4735d Ignore downloaded public serverlist if public_serverlist is false
Fixes #1807: When the server list finishes downloading, the local server
list resets in certain conditions
2014-12-30 00:49:23 +10:00
Diego Martinez
ae65a7056d Faster string.split implementation. 2014-12-28 23:27:07 -05:00
fz72
b3fa76ffa6 MainMenu: Save 'hide gamemods' and 'hide modpack contents' checkbox state (fixes #1960) 2014-12-28 23:20:51 -05:00
kwolekr
3d2219596e Temporarily set default biome in builtin
This should probably be removed when minetest_game has proper biomes.
If I hear "the whole map is just stone!" again after this, I am going to detonate.
2014-12-18 09:57:38 -05:00
Kahrl
c57b36f06a Remove vertlabels from main menu and relayout a bit 2014-12-13 00:33:38 +01:00
Kahrl
50be291105 Display serverlist flags as icons 2014-12-13 00:33:38 +01:00
Craig Robbins
2784064a9d 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
2014-12-12 16:21:29 +10:00
paramat
89c03f2ce9 Fix undeclared globals in functions and shorten lines in misc_helpers.lua. 2014-12-11 21:37:46 -05:00
SmallJoker
84eb8d7d38 Ignore .name directories and files
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-12-10 02:49:02 +10:00
Kahrl
dd8bd891d0 Always escape user provided data in mainmenu fields 2014-12-08 07:48:51 +01:00
SmallJoker
cd74934c42 Add Lua helper functions vector.apply(v) math.sign(x, tolerance) 2014-12-06 10:07:25 +01:00
Calinou
2e6eeedeb4 Make dropped items larger and rotate faster
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-12-04 21:10:12 +10:00
SmallJoker
e42349140d 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
Craig Davison
f7c264cec7 Fix some undeclared global variables 2014-11-26 22:50:08 +10:00
Kodexky
1cfa499e89 Fix Android main menu crash, and user data directory check.
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-26 18:11:08 +10:00
dvere
4e0dc35971 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
cc2855e59b Make duplicate warning checks file and line specific 2014-11-23 16:34:49 -05:00
sapier
6a043635dc Fix console spaming by debug function on mod checking for global variable to exist. 2014-11-23 15:24:37 +01:00
ShadowNinja
27a7170c55 Update credits menu 2014-11-21 11:35:29 -05:00
ShadowNinja
05ef9bdc68 Simplify loading of Android version of menu 2014-11-20 15:37:20 -05:00
ShadowNinja
e8e55d629b Fix leaking global in texture pack menu 2014-11-20 15:37:20 -05:00
ShadowNinja
4b3c14a9d2 Add strict module
Also fix leaking globals found by it.
2014-11-19 12:40:54 -05:00
ShadowNinja
6ffe52db17 Tweak core.serialize
This adds proper support for nested tables and improves performance a bit.
2014-11-19 12:40:54 -05:00
Wouters Dorian
f20441e849 Improved VoxelArea variable locality, thus performance
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-14 00:10:09 +10:00
Wuzzy
8dc7c234c3 Add tooltips to main menu subgames button bar 2014-11-09 09:38:43 +01:00
paramat
28ed3ea7c4 Add mgv5. New noise code, uses biome API. Eased 3d noise for terrain, caves, blobs 2014-11-08 21:37:26 +01:00
ShadowNinja
e97ea49385 Fix dump() indentation with non-tab indents 2014-11-08 12:49:50 -05:00
Ryan Newell
c4ddc515f9 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
rubenwardy
34f4f6ec6a Add notice when only minimal is installed 2014-10-28 13:17:14 -04:00
Kahrl
db0e478903 Change topleft text when switching subgames, fixes #1728 2014-10-09 08:58:47 +02:00
LeMagnesium
ddd48ba303 Add a better error message when trying to teleport another player without bring privileges 2014-10-07 16:52:52 -04:00
BlockMen
e25777936f Add optional framed glasslike drawtype 2014-10-02 11:35:15 +02:00
SmallJoker
6ebda3c5be Use round if falling node is misplaced
Fixes: http://i.imgur.com/arAWw1i.png (middle-right)
2014-09-28 13:33:39 +02:00
ShadowNinja
160e91e079 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
SmallJoker
9fffd73526 Fix wrong video_driver setting when changing in mainmenu
Fixes issue with direct3d(8|9)
2014-09-21 16:27:58 +02:00