sapier
4fb6023ac6
Fix regression main_menu_script setting not working any longer
2014-06-14 21:20:09 +02:00
sapier
bb33052a28
Fix regression dirt texture not beeing default in non cloud menu
2014-06-14 20:51:57 +02:00
sapier
6558fc90e3
Add support for exiting formspecs by doubleclicking outside
2014-06-12 23:15:05 +02:00
Lord89James
d83f7f4f6b
New feature: drop a item instead a stack while...
...
sneaking
2014-06-10 18:11:43 +02:00
sfan5
7a25f6d825
Allow custom liquids to have drops
2014-06-08 23:25:13 +02:00
RealBadAngel
4a688d17a4
Re-add missing shaders setting. (Generate normalmaps)
2014-06-04 16:41:33 +02:00
ShadowNinja
d37ee7bca8
Add success and output return values to chat commands
2014-05-28 18:36:46 -04:00
rubenwardy
b7ccc0b817
Add item eat callback
2014-05-26 18:41:58 -04:00
Diego Martinez
5e98bcc1d1
Sort commands and privs alphabetically in '/help'.
...
Also make a stray variable local.
2014-05-24 17:33:59 -04:00
ShadowNinja
dd2fe1036b
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
e23b6bbeda
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
ba9d57ed2f
Item entity stacks merge on the ground.
...
Add TTL to item entities.
2014-05-23 22:46:05 +02:00
sapier
ddaf20b17b
Fix singleplayer dialogs missing game customization
2014-05-17 15:32:51 +02:00
sapier
53f01294df
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
72ba414bf1
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
cd1f05aec3
Fix healthbar not beeing hidden on disabled damage
2014-05-10 23:32:25 +02:00
ShadowNinja
9718e20bfa
Use "core" namespace internally
2014-05-08 13:02:04 -04:00
ShadowNinja
6001210df6
Organize builtin into subdirectories
2014-05-07 17:14:23 -04:00
sapier
d83d1a95b7
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
16de756f04
Fix usage of deprecated functions in builtin
2014-04-29 23:57:07 +02:00
sapier
e2a88e15fd
Add proper lua api deprecated handling
2014-04-29 22:49:04 +02:00
ShadowNinja
f699e95e0a
Add support for function serialization to minetest.serialize
2014-04-27 16:15:53 -04:00
ShadowNinja
5805a3dc4c
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
a2bbc1d306
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
495ed5ec8b
Remove liquid_finite and weather
2014-04-18 21:56:48 +04:00
ShadowNinja
ffbc09d67c
Add checks for nil in minetest.after
2014-04-13 17:54:00 -04:00
BlockMen
7df737a666
Fix crash when teleporting near unknown node
2014-04-11 21:38:16 +02:00
Novatux
bf5861364c
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
RealBadAngel
9cf4f96fa7
Normal maps generation on the fly.
...
Parallax mapping with slope information.
Overriding normal maps.
2014-03-21 01:32:00 +01:00
ShadowNinja
9b67acc10c
Fix error when calling minetest.node_punch without a pointed_thing
2014-03-11 13:00:16 -04:00
sapier
89c5163c02
Replace pause and message menu by formspec ones
2014-03-05 18:44:14 +01:00
ShadowNinja
bf37cbf242
Remove "Server -!- " prefix from player messages
2014-02-27 00:00:22 -05:00
ShadowNinja
24cc512b16
Add the option to bind to a specific address
2014-02-05 21:24:46 +01:00
ShadowNinja
8f5febfbaf
Escape texture pack names
2014-02-03 17:57:19 -05:00
sapier
23c7c86bad
Add minetest.kick_player(name, reason)
2014-02-03 17:33:59 -05:00
ShadowNinja
ca030eee5a
Fix error on mod download failure
2014-01-24 15:22:22 -05:00
ShadowNinja
ca5b6594b9
Pass pointed_thing to on_punch and minetest.register_on_punchnode callbacks
2014-01-23 19:21:56 -05:00
ShadowNinja
6a6a7e8fd3
Add pointed_thing to minetest.register_on_placenode
...
As suggested by qwrwed.
2014-01-21 22:06:40 -05:00
PilzAdam
06c5b8a8b1
Fix minetest.rotate_and_place() calling on_rightclick() with nil/random param for node
2014-01-19 23:16:22 +01:00
Dániel Varga
d0df784d3d
Fixed mainmenu lua errors because of changes in get_textlist_index
...
Fixed lua error when none of the worlds or servers selected are and connect,
delete or configure buttons used.
2014-01-18 10:41:43 +01:00
ShadowNinja
224168ef76
Fix spelling of "attempt"
2014-01-13 22:11:31 -05:00
ShadowNinja
487c8aaf56
Add minetest.override_item
2014-01-13 21:41:00 -05:00
Kahrl
d58f5a0878
Add formspec table
2014-01-13 18:11:08 -05:00
Novatux
65fa1fa276
Fix doc and forceloading crash.
2014-01-12 14:31:32 +01:00
Novatux
0a96131bf4
Add forceloading
2014-01-11 17:54:00 +01:00
Novatux
cd1033d41f
Deepcopy pointed_thing for after_place_node, give it to on_rightclick too.
2014-01-11 17:23:28 +01:00
ShadowNinja
306041087c
Pass pointed_thing to after_place_node
2014-01-06 21:25:10 -05:00
ShadowNinja
1bb4a3d5a9
Add protection support to auto-rotated nodes
2014-01-06 21:25:10 -05:00
ShadowNinja
d38d7bc7fe
Prevent auto-rotated nodes replacing the nodes they are placed on
2014-01-06 21:25:10 -05:00
PilzAdam
8a9f45f905
Escape error messages in error dialog
2014-01-06 18:59:14 +01:00