kwolekr
44e4f5ab6e
Revert "Fix style on settings tab"
...
This reverts commit 7b17b9059e30cef384ecca37feec87cdcdfd39b8.
2015-01-18 13:19:40 -05:00
jeanpatrick.guerrero@gmail.com
7b17b9059e
Fix style on settings tab
2015-01-18 23:40:18 +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
kwolekr
9736548720
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
c9669e90bb
Fix typo in serialize.lua
.
2015-01-15 16:16:41 -05:00
kilbith
eb6b6ff333
Add missing return value for filter/mipmap dropdown in mainmenu
2015-01-15 20:26:05 +01:00
kilbith
5cf911ffe1
Small tweaking (alignement - client tab)
2015-01-15 23:25:31 +10:00
jeanpatrick.guerrero@gmail.com
227e4807b4
Reorganizing client and server tabs
2015-01-15 00:50:23 +10:00
kwolekr
a4a6cc8eb1
builtin: Unify register wrapper functions and wrap clear_registered_* functions too
2015-01-13 12:36:05 -05:00
paramat
a77c85fa6d
Remove builtin_biome.lua from builtin and add simple biome minimal
2015-01-11 22:32:48 -05:00
sapier
de3888ca09
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
ef0a4e3614
Add registered_ores and registered_decorations
2015-01-05 18:24:15 -05:00
Diego Martínez
00bca11f59
Fix off-by-one error in string:split
implementation.
2015-01-04 23:33:55 -05:00
sapier
663e42ca3f
Fix forgotten favourite list image update of simple menu
2015-01-04 17:37:45 +01:00
sapier
21ee434832
Re-add lost way to debug simple menu on PC
2015-01-04 17:19:25 +01:00
kwolekr
ca89e63b27
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
5e2753c712
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
ff3cfb746e
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
ab55da589c
Faster string.split implementation.
2014-12-28 23:27:07 -05:00
fz72
86cfbc21da
MainMenu: Save 'hide gamemods' and 'hide modpack contents' checkbox state ( fixes #1960 )
2014-12-28 23:20:51 -05:00
kwolekr
7dbb3916cb
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
581efea60e
Remove vertlabels from main menu and relayout a bit
2014-12-13 00:33:38 +01:00
Kahrl
733d3182bd
Display serverlist flags as icons
2014-12-13 00:33:38 +01:00
Craig Robbins
c151099b79
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
f114fc74d6
Fix undeclared globals in functions and shorten lines in misc_helpers.lua.
2014-12-11 21:37:46 -05:00
SmallJoker
5229a229a6
Ignore .name directories and files
...
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-12-10 02:49:02 +10:00
Kahrl
d0be823807
Always escape user provided data in mainmenu fields
2014-12-08 07:48:51 +01:00
SmallJoker
2fd14e1bd5
Add Lua helper functions vector.apply(v) math.sign(x, tolerance)
2014-12-06 10:07:25 +01:00
Calinou
d7b3046cf6
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
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
Craig Davison
dbae8a8854
Fix some undeclared global variables
2014-11-26 22:50:08 +10:00
Kodexky
9aaf67ebe0
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
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
a1db83e93f
Make duplicate warning checks file and line specific
2014-11-23 16:34:49 -05:00
sapier
0dcc4b251f
Fix console spaming by debug function on mod checking for global variable to exist.
2014-11-23 15:24:37 +01:00
ShadowNinja
6c52de88fb
Update credits menu
2014-11-21 11:35:29 -05:00
ShadowNinja
c4e393deea
Simplify loading of Android version of menu
2014-11-20 15:37:20 -05:00
ShadowNinja
d2b5ba83b0
Fix leaking global in texture pack menu
2014-11-20 15:37:20 -05:00
ShadowNinja
a6ba042cf7
Add strict module
...
Also fix leaking globals found by it.
2014-11-19 12:40:54 -05:00
ShadowNinja
6afdb22ba7
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
92815ad54b
Improved VoxelArea variable locality, thus performance
...
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-14 00:10:09 +10:00
Wuzzy
18c583ee0b
Add tooltips to main menu subgames button bar
2014-11-09 09:38:43 +01:00
paramat
92981b2fee
Add mgv5. New noise code, uses biome API. Eased 3d noise for terrain, caves, blobs
2014-11-08 21:37:26 +01: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
rubenwardy
9bb6648f26
Add notice when only minimal is installed
2014-10-28 13:17:14 -04:00
Kahrl
8a44df8cba
Change topleft text when switching subgames, fixes #1728
2014-10-09 08:58:47 +02:00
LeMagnesium
b98e8d6da8
Add a better error message when trying to teleport another player without bring privileges
2014-10-07 16:52:52 -04:00
BlockMen
f48f686930
Add optional framed glasslike drawtype
2014-10-02 11:35:15 +02:00
SmallJoker
db5aff832b
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
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
SmallJoker
44a1d0c192
Fix wrong video_driver setting when changing in mainmenu
...
Fixes issue with direct3d(8|9)
2014-09-21 16:27:58 +02:00
sapier
3ce6888c1c
Fix retval of entity.get_staticdata beeing lost while profiling is enabled
2014-08-24 01:56:27 +02:00
sapier
996ea60642
Add video driver selection to settings menu (based uppon idea from webdesigner97)
2014-08-23 01:55:54 +02:00
Casimir
08f7ac5704
Remove buildable_to nodes without dropping item when replaced by a falling node
2014-08-22 11:14:15 +02:00
sapier
a4c987b339
Fix caption of config mods button (simple menu)
2014-08-19 22:34:25 +02:00
sapier
c24e0753fc
Mod profiling support
...
Config settings:
profiling = true/false (gather statistics)
detailed_profiling = true/false (break mod times to callbacks)
Chat commands:
save_mod_profile saves current statistics in debug.txt and shows on console (on default loglevel)
2014-08-19 22:22:57 +02:00
BlockMen
e9e9e42573
Fix mainmenu game initialisation
2014-08-14 07:18:32 +02:00
ShadowNinja
15f3713e2f
Formspec escape fixed seen in world creation menu
2014-08-05 15:37:53 -04:00
sfan5
5884236046
Rework texture generating code, add texture grouping via ( ... )
2014-07-29 20:02:56 +02:00
ShadowNinja
33ca115ae4
Remove vector assertions
...
These were initially added to get tracebacks for invalid vector errors, but it
didn't work and tracebacks have since been properly fixed in the core.
2014-07-19 23:50:50 -04:00
Zefram
aebbcbf398
Fix indexing error in timer processing
2014-07-16 17:24:39 +02:00
sapier
65b8b524c0
Add srollbar formspec element
2014-07-16 15:02:56 +02:00
Novatux
24a631ee2a
Fix crash reported here: https://forum.minetest.net/viewtopic.php?f=6&t=9726
2014-07-13 11:05:07 +02:00
proller
3feece1f28
Remove proller from credits
2014-07-12 18:28:17 +04:00
proller
2d90aca4ab
Remove indev mapgen
2014-07-12 18:21:54 +04:00
proller
7df83c2c67
Remove math mapgen
2014-07-12 18:15:55 +04:00
sapier
1cc40c0a7c
Add support for Android 2.3+
...
There have been plenty of ppl involved in creating this version.
I don't wanna mention names as I'm sure I'd forget someone so I
just tell where help has been done:
- The partial android versions done by various ppl
- Testing on different android devices
- reviewing code (especially the in core changes)
- testing controls
- reviewing texts
A big thank you to everyone helping this to be completed!
2014-06-29 18:17:56 +02:00
sapier
2625323f25
Fix menu crash due to lack of favourites list
2014-06-22 14:00:57 +02:00
sapier
d4245e6cac
Support for scalable font and gui elements
...
Fix positioning of tabheader in order to be usable for scaling GUIs
WARNING: this changes position of current tabheaders, mods have to adjust!
2014-06-22 00:08:55 +02:00
sapier
1c7cc2665b
Fix broken serverdescription in multiplayer tab
2014-06-19 22:03:49 +02:00
sapier
65a4630f31
Fix bounding rect for formspec elements label vertlabel and checkboxes
2014-06-18 22:38:29 +02:00
sapier
9ffa88b558
Fix regression main_menu_script setting not working any longer
2014-06-14 21:20:09 +02:00
sapier
7b3602bab3
Fix regression dirt texture not beeing default in non cloud menu
2014-06-14 20:51:57 +02:00
sapier
003634e049
Add support for exiting formspecs by doubleclicking outside
2014-06-12 23:15:05 +02:00
Lord89James
9675d9e9cb
New feature: drop a item instead a stack while...
...
sneaking
2014-06-10 18:11:43 +02:00
sfan5
282f53ddb7
Allow custom liquids to have drops
2014-06-08 23:25:13 +02:00
RealBadAngel
f70e0556fc
Re-add missing shaders setting. (Generate normalmaps)
2014-06-04 16:41:33 +02:00
ShadowNinja
e7706593c6
Add success and output return values to chat commands
2014-05-28 18:36:46 -04:00
rubenwardy
832d7973c8
Add item eat callback
2014-05-26 18:41:58 -04:00
Diego Martinez
f0a9e7ddc8
Sort commands and privs alphabetically in '/help'.
...
Also make a stray variable local.
2014-05-24 17:33:59 -04: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
sapier
f969a91c0a
Fix a bunch of small bugs due to mainmenu cleanup
...
Fix doubleclick not working in singleplayer
Fix of by one issue on accessing raw list
Fix this->self
Fix copy&paste error for scroll button
2014-05-24 11:16:05 +02:00
RealBadAngel
18fe277d94
Item entity stacks merge on the ground.
...
Add TTL to item entities.
2014-05-23 22:46:05 +02:00
sapier
87b4bce594
Fix singleplayer dialogs missing game customization
2014-05-17 15:32:51 +02:00
sapier
c3984569c0
Add formspec toolkit and refactor mainmenu to use it
...
Fix crash on using cursor keys in client menu without selected server
Add support for non fixed size tabviews
2014-05-16 22:57:14 +02:00
sapier
6c37e89f08
Fix old client showing duplicated health bar on new server
...
Fix client not showing hearts and bubbles on connecting to old server
Fix server not remembering hud flags correctly
2014-05-11 22:34:44 +02:00
sapier
c8aed03ace
Fix healthbar not beeing hidden on disabled damage
2014-05-10 23:32:25 +02: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
sapier
d3ee617f37
Fix heart + bubble bar size on different texture packs
...
Add DPI support for statbar
Move heart+bubble bar to Lua HUD
Add statbar size (based upon an idea by blue42u)
Add support for customizing breath and statbar
2014-05-07 21:46:27 +02:00
sapier
4b44d359f5
Fix usage of deprecated functions in builtin
2014-04-29 23:57:07 +02:00
sapier
b5acec0a3c
Add proper lua api deprecated handling
2014-04-29 22:49:04 +02:00
ShadowNinja
0d6e4ef5f3
Add support for function serialization to minetest.serialize
2014-04-27 16:15:53 -04:00
ShadowNinja
6ab3b4c838
Remove dependency on marshal and many other async changes
...
This makes a number of changes:
* Remove the dependency on marshal by using string.dump and loadstring.
* Use lua_tolstring rather than having Lua functions pass string lengths to C++.
* Move lua_api/l_async_events.* to cpp_api/s_async.*, where it belongs.
* Make AsyncWorkerThread a child of ScriptApiBase, this removes some duplicate functionality.
* Don't wait for async threads to shut down. (Is this safe? Might result in corruption if the thread is writing to a file.)
* Pop more unused items from the stack
* Code style fixes
* Other misc changes
2014-04-27 16:15:53 -04:00
ShadowNinja
e3bdd7b2ed
Revert "Add backtrace to error function"
...
This reverts commit 5b518ed2feff28c9bf21ad940c1b211b72d71bd1.
This caused duplicate tracebacks and tracebacks when unwanted.
It also ignored the level argument to error() and didn't pass the message (or level) to debug.traceback().
Use xpcall() or lua_pcall()'s errorhandler argument instead.
2014-04-24 18:27:25 -04:00
proller
0279f32db7
Remove liquid_finite and weather
2014-04-18 21:56:48 +04:00
ShadowNinja
dcafad2f73
Add checks for nil in minetest.after
2014-04-13 17:54:00 -04:00
BlockMen
fefec8cdc4
Fix crash when teleporting near unknown node
2014-04-11 21:38:16 +02:00
Novatux
936c6f577a
Fix "ghost stacks" created when a player clicks an item on the ground:
...
since the object is not immediately removed, any other code may still
think an object is there, therefore leading to item duplication. This code
therefore sets the itemstring to '' after the object is picked up to avoid
such issues
2014-03-22 18:15:33 +01:00