oweals/minetest.git
12 years agoFix the previous commit
Perttu Ahola [Fri, 2 Dec 2011 00:04:25 +0000 (02:04 +0200)]
Fix the previous commit

12 years agoEnforce PLAYER_INVENTORY_SIZE in ObjectRef::l_inventory_set_list
Perttu Ahola [Fri, 2 Dec 2011 00:01:46 +0000 (02:01 +0200)]
Enforce PLAYER_INVENTORY_SIZE in ObjectRef::l_inventory_set_list

12 years agoPrint out PROTOCOL_VERSIONs if server is incompatible with client
Perttu Ahola [Thu, 1 Dec 2011 23:24:54 +0000 (01:24 +0200)]
Print out PROTOCOL_VERSIONs if server is incompatible with client

12 years agoHigher default map save and unload interval
Perttu Ahola [Thu, 1 Dec 2011 23:20:54 +0000 (01:20 +0200)]
Higher default map save and unload interval

12 years agoDon't send objects or map data before definitions have been sent
Perttu Ahola [Thu, 1 Dec 2011 23:18:25 +0000 (01:18 +0200)]
Don't send objects or map data before definitions have been sent

12 years agoMake players be again visible from a long distance
Perttu Ahola [Thu, 1 Dec 2011 23:08:14 +0000 (01:08 +0200)]
Make players be again visible from a long distance

12 years agoRemove stuff made obsolete by making players more ActiveObject-like and raise protoco...
Perttu Ahola [Thu, 1 Dec 2011 21:55:57 +0000 (23:55 +0200)]
Remove stuff made obsolete by making players more ActiveObject-like and raise protocol version number by one (because it is not compatible at all anymore)

12 years agoPlayers are more like objects + related stuff
Perttu Ahola [Thu, 1 Dec 2011 21:33:48 +0000 (23:33 +0200)]
Players are more like objects + related stuff

12 years agoPlayer-is-SAO WIP
Perttu Ahola [Thu, 1 Dec 2011 16:23:58 +0000 (18:23 +0200)]
Player-is-SAO WIP

12 years agoFix non-fancy leaves not making faces with water
Perttu Ahola [Thu, 1 Dec 2011 12:48:52 +0000 (14:48 +0200)]
Fix non-fancy leaves not making faces with water

12 years agoMake non-fancy leaf texture to go in texture atlas too
Perttu Ahola [Thu, 1 Dec 2011 12:12:47 +0000 (14:12 +0200)]
Make non-fancy leaf texture to go in texture atlas too

12 years agoAdd ServerActiveObject::removingFromEnvironment()
Perttu Ahola [Thu, 1 Dec 2011 11:22:33 +0000 (13:22 +0200)]
Add ServerActiveObject::removingFromEnvironment()

12 years agoRemove +"^[forcesingle" from ContentFeatures::setInventoryTexture, because 1) it...
Perttu Ahola [Thu, 1 Dec 2011 11:01:37 +0000 (13:01 +0200)]
Remove +"^[forcesingle" from ContentFeatures::setInventoryTexture, because 1) it was not used, 2) if it will be used, it won't need to do that anymore

12 years agoFix getTextureRaw to always return an image that is not in the texture atlas and...
Perttu Ahola [Thu, 1 Dec 2011 11:00:27 +0000 (13:00 +0200)]
Fix getTextureRaw to always return an image that is not in the texture atlas and fix plain "^[forcesingle" handling

12 years agoFix loading of legacy MaterialItems (was loaded as a quite random type)
Perttu Ahola [Thu, 1 Dec 2011 10:50:32 +0000 (12:50 +0200)]
Fix loading of legacy MaterialItems (was loaded as a quite random type)

12 years agoFix texture atlas not being created correctly
Perttu Ahola [Thu, 1 Dec 2011 10:43:17 +0000 (12:43 +0200)]
Fix texture atlas not being created correctly

12 years agoInclude the freedesktop.org-standard .desktop file in misc/ to aid package makers
Perttu Ahola [Thu, 1 Dec 2011 10:12:48 +0000 (12:12 +0200)]
Include the freedesktop.org-standard .desktop file in misc/ to aid package makers

12 years agoRemove old stuff from misc/
Perttu Ahola [Thu, 1 Dec 2011 10:11:26 +0000 (12:11 +0200)]
Remove old stuff from misc/

12 years agoFix processing of the default_password setting. It is now actually used as the plaint...
Kahrl [Sun, 20 Nov 2011 19:16:15 +0000 (20:16 +0100)]
Fix processing of the default_password setting. It is now actually used as the plaintext password for new users. Also add /setpassword and /clearpassword server commands that can be used by admins with the PRIV_PASSWORD privilege, and update the /help message.

12 years agoMake camera.cpp Irrlicht 1.8-compatible by calling ITexture::lock differently dependi...
Kahrl [Sat, 19 Nov 2011 15:37:52 +0000 (16:37 +0100)]
Make camera.cpp Irrlicht 1.8-compatible by calling ITexture::lock differently depending on the irrlicht version.

12 years agoWireshark dissector: correct messed up field names
Kahrl [Tue, 25 Oct 2011 00:06:12 +0000 (02:06 +0200)]
Wireshark dissector: correct messed up field names

12 years agoWireshark dissector: Add TOSERVER_RESPAWN and TOCLIENT_DEATHSCREEN, plus some failed...
Kahrl [Tue, 25 Oct 2011 00:00:32 +0000 (02:00 +0200)]
Wireshark dissector: Add TOSERVER_RESPAWN and TOCLIENT_DEATHSCREEN, plus some failed assertion fix (well, hack).

12 years agoEnable simple drag and drop in inventory
Perttu Ahola [Thu, 1 Dec 2011 09:32:51 +0000 (11:32 +0200)]
Enable simple drag and drop in inventory

12 years agoInventory move-to-slot hilighting
Perttu Ahola [Thu, 1 Dec 2011 09:25:55 +0000 (11:25 +0200)]
Inventory move-to-slot hilighting

12 years agoNote in init.lua the methods specific to the "generic" node metadata
Perttu Ahola [Thu, 1 Dec 2011 08:55:25 +0000 (10:55 +0200)]
Note in init.lua the methods specific to the "generic" node metadata

12 years agoFix conditional bug in inventory
Giuseppe Bilotta [Thu, 1 Dec 2011 08:13:43 +0000 (09:13 +0100)]
Fix conditional bug in inventory

A spurious semicolon after the conditional checking for the drop count
to be not higher than the owned count caused the subsequent
    count = getCount()
to be always executed. Fix by removing the extra semicolon.

12 years agoFix structs being declared as classes
Giuseppe Bilotta [Mon, 14 Nov 2011 17:40:41 +0000 (18:40 +0100)]
Fix structs being declared as classes

Some compilers complain when a class is declared as a struct or vice
versa. Fix by making sure that the correct tag is used both in
declaration and definition.

12 years agoFix sand to be cookable to glass
Perttu Ahola [Thu, 1 Dec 2011 00:56:49 +0000 (02:56 +0200)]
Fix sand to be cookable to glass

12 years agoUpdate version in CMakeLists.txt to 0.4.dev-20111201-1
Perttu Ahola [Thu, 1 Dec 2011 00:43:10 +0000 (02:43 +0200)]
Update version in CMakeLists.txt to 0.4.dev-20111201-1

12 years agoFix deadlock if MeshUpdateThread asks new textures while it is being stopped (happene...
Perttu Ahola [Thu, 1 Dec 2011 00:41:52 +0000 (02:41 +0200)]
Fix deadlock if MeshUpdateThread asks new textures while it is being stopped (happened if texture data was transferred slowly)

12 years agoMove NodeMetadata prototype containers to content_nodemeta.cpp to fix them not being...
Perttu Ahola [Wed, 30 Nov 2011 23:58:31 +0000 (01:58 +0200)]
Move NodeMetadata prototype containers to content_nodemeta.cpp to fix them not being filled correctly on some systems and compilers

12 years agoUpdate version in CMakeLists.txt to 0.4.dev-20111201-0 0.4.dev-20111201-0
Perttu Ahola [Wed, 30 Nov 2011 22:37:46 +0000 (00:37 +0200)]
Update version in CMakeLists.txt to 0.4.dev-20111201-0

12 years agoDo not assert if count becomes larger than getStackMax() in InventoryItem::add()...
Perttu Ahola [Wed, 30 Nov 2011 22:07:21 +0000 (00:07 +0200)]
Do not assert if count becomes larger than getStackMax() in InventoryItem::add(); it is nicer for scripting and overall hacking this way, because rising it higher than the limit is does not break anything. It should be, and is, enforced elsewhere where appropriate.

12 years agoLoad count 0 in itemstring as 1
Perttu Ahola [Wed, 30 Nov 2011 22:04:21 +0000 (00:04 +0200)]
Load count 0 in itemstring as 1

12 years agoMove craftitem_place_item as minetest.craftitem_place_item in builtin.lua
Perttu Ahola [Wed, 30 Nov 2011 21:52:02 +0000 (23:52 +0200)]
Move craftitem_place_item as minetest.craftitem_place_item in builtin.lua

12 years agoObjectRef:get_player_name, ObjectRef:inventory_set_list, ObjectRef:inventory_get_list
Perttu Ahola [Wed, 30 Nov 2011 21:38:18 +0000 (23:38 +0200)]
ObjectRef:get_player_name, ObjectRef:inventory_set_list, ObjectRef:inventory_get_list

12 years agoAdd ObjectRef:punch and ObjectRef:right_click to Lua API
Perttu Ahola [Wed, 30 Nov 2011 18:54:54 +0000 (20:54 +0200)]
Add ObjectRef:punch and ObjectRef:right_click to Lua API

12 years agoList added functions in default/init.lua
Perttu Ahola [Wed, 30 Nov 2011 18:38:55 +0000 (20:38 +0200)]
List added functions in default/init.lua

12 years agoAdd get_wielded_itemstring, get_wielded_item, damage_wielded_item and make getacceler...
Perttu Ahola [Wed, 30 Nov 2011 18:36:07 +0000 (20:36 +0200)]
Add get_wielded_itemstring, get_wielded_item, damage_wielded_item and make getacceleration visible in API

12 years agoReworked the inventory move handling code, hopefully fixed more problems than caused
Perttu Ahola [Wed, 30 Nov 2011 17:49:34 +0000 (19:49 +0200)]
Reworked the inventory move handling code, hopefully fixed more problems than caused

12 years agoFix player getting reset to 0,0 at connect if being far from 0,0
Perttu Ahola [Tue, 29 Nov 2011 22:39:36 +0000 (00:39 +0200)]
Fix player getting reset to 0,0 at connect if being far from 0,0

12 years agoVersion 0.4.dev-20111129-2
Perttu Ahola [Tue, 29 Nov 2011 21:23:33 +0000 (23:23 +0200)]
Version 0.4.dev-20111129-2

12 years agoModify builtin ABMs to have lower interval and higher trigger non-chance
Perttu Ahola [Tue, 29 Nov 2011 21:22:44 +0000 (23:22 +0200)]
Modify builtin ABMs to have lower interval and higher trigger non-chance

12 years agoProper player inventory and hp modification tracking and sending accordingly
Perttu Ahola [Tue, 29 Nov 2011 21:18:20 +0000 (23:18 +0200)]
Proper player inventory and hp modification tracking and sending accordingly

12 years agoTune main menu a bit and show version number in there
Perttu Ahola [Tue, 29 Nov 2011 20:34:58 +0000 (22:34 +0200)]
Tune main menu a bit and show version number in there

12 years agoBetter version match fail messages from server
Perttu Ahola [Tue, 29 Nov 2011 20:23:03 +0000 (22:23 +0200)]
Better version match fail messages from server

12 years agodev-20111129-1
Perttu Ahola [Tue, 29 Nov 2011 19:46:03 +0000 (21:46 +0200)]
dev-20111129-1

12 years agoCreate the necessary API for /giveme and /give and implement those commands; also...
Perttu Ahola [Tue, 29 Nov 2011 19:30:22 +0000 (21:30 +0200)]
Create the necessary API for /giveme and /give and implement those commands; also sort out the scripts a bit

12 years agoHandle items with m_count==0 sanely when placing
Perttu Ahola [Tue, 29 Nov 2011 19:05:53 +0000 (21:05 +0200)]
Handle items with m_count==0 sanely when placing

12 years agoPrint debug stacks to infostream rather than errorstream when placing CONTENT_IGNORE
Perttu Ahola [Tue, 29 Nov 2011 19:05:36 +0000 (21:05 +0200)]
Print debug stacks to infostream rather than errorstream when placing CONTENT_IGNORE

12 years agoDo not install the static lua library file
Perttu Ahola [Tue, 29 Nov 2011 17:27:41 +0000 (19:27 +0200)]
Do not install the static lua library file

12 years agoRemove content_inventory.{h,cpp}
Perttu Ahola [Tue, 29 Nov 2011 16:34:07 +0000 (18:34 +0200)]
Remove content_inventory.{h,cpp}

12 years agoQuick fix to a bug that makes it possible to raise water levels everywhere with one...
Perttu Ahola [Tue, 29 Nov 2011 16:21:00 +0000 (18:21 +0200)]
Quick fix to a bug that makes it possible to raise water levels everywhere with one source

12 years agoModify bucket namings
Perttu Ahola [Tue, 29 Nov 2011 16:05:29 +0000 (18:05 +0200)]
Modify bucket namings

12 years agoAdd bucket textures
Perttu Ahola [Tue, 29 Nov 2011 15:58:42 +0000 (17:58 +0200)]
Add bucket textures

12 years agoReorganize mods
Perttu Ahola [Tue, 29 Nov 2011 15:44:07 +0000 (17:44 +0200)]
Reorganize mods

12 years agoAdd missing files for a previous commit
Perttu Ahola [Tue, 29 Nov 2011 15:43:40 +0000 (17:43 +0200)]
Add missing files for a previous commit

12 years agoUpdate version number to 0.4.dev-20111129
Perttu Ahola [Tue, 29 Nov 2011 15:26:59 +0000 (17:26 +0200)]
Update version number to 0.4.dev-20111129

12 years agoAdd a note about the default mod not using the modname_ prefix in textures
Perttu Ahola [Tue, 29 Nov 2011 15:26:21 +0000 (17:26 +0200)]
Add a note about the default mod not using the modname_ prefix in textures

12 years agoCraftItem rework and Lua interface
Kahrl [Tue, 29 Nov 2011 15:15:18 +0000 (17:15 +0200)]
CraftItem rework and Lua interface

12 years agoFix active_object_count and active_object_count_wider not getting updated between...
Perttu Ahola [Tue, 29 Nov 2011 15:09:29 +0000 (17:09 +0200)]
Fix active_object_count and active_object_count_wider not getting updated between ABM calls causing huge amounts of DMs and rats and stuff

12 years agoAdd NULL terminations to EnumString definitions
Perttu Ahola [Tue, 29 Nov 2011 14:41:49 +0000 (16:41 +0200)]
Add NULL terminations to EnumString definitions

12 years agoSome MSVC fixes
Perttu Ahola [Tue, 29 Nov 2011 12:13:57 +0000 (14:13 +0200)]
Some MSVC fixes

12 years agoFix CMake install data path
Perttu Ahola [Mon, 28 Nov 2011 20:10:06 +0000 (22:10 +0200)]
Fix CMake install data path

12 years agoSilly MSVC doesn't know how to handle type conversions for parameters of pow(). Help it.
Perttu Ahola [Mon, 28 Nov 2011 19:50:14 +0000 (21:50 +0200)]
Silly MSVC doesn't know how to handle type conversions for parameters of pow(). Help it.

12 years agoUpdate installation in CMakeLists.txt
Perttu Ahola [Mon, 28 Nov 2011 19:14:55 +0000 (21:14 +0200)]
Update installation in CMakeLists.txt

12 years agoRename menu background to menubg.png, move unknown_block.png and unknown_object.png...
Perttu Ahola [Mon, 28 Nov 2011 18:54:53 +0000 (20:54 +0200)]
Rename menu background to menubg.png, move unknown_block.png and unknown_object.png to client, make generating a placeholder image for the filename "" not cause an error

12 years agoGenericNodeMetadata and an example furnace
Perttu Ahola [Mon, 28 Nov 2011 15:11:14 +0000 (17:11 +0200)]
GenericNodeMetadata and an example furnace

12 years agoFix stuff in inventory.{cpp,h}
Perttu Ahola [Mon, 28 Nov 2011 12:55:24 +0000 (14:55 +0200)]
Fix stuff in inventory.{cpp,h}

12 years agoComment out debug output in ServerEnvironment::activateBlock
Perttu Ahola [Mon, 28 Nov 2011 12:54:39 +0000 (14:54 +0200)]
Comment out debug output in ServerEnvironment::activateBlock

12 years agoHandle ActiveBlockModifier intervals properly, down to 1s
Perttu Ahola [Mon, 28 Nov 2011 08:33:47 +0000 (10:33 +0200)]
Handle ActiveBlockModifier intervals properly, down to 1s

12 years agoInitial NodeMetaRef stuff
Perttu Ahola [Mon, 28 Nov 2011 01:06:21 +0000 (03:06 +0200)]
Initial NodeMetaRef stuff

12 years agoLua interface for ActiveBlockModifier
Perttu Ahola [Mon, 28 Nov 2011 00:16:51 +0000 (02:16 +0200)]
Lua interface for ActiveBlockModifier

12 years agoRemove creation of builtin.lua defined minetest.registered_* tables in C
Perttu Ahola [Sun, 27 Nov 2011 23:20:48 +0000 (01:20 +0200)]
Remove creation of builtin.lua defined minetest.registered_* tables in C

12 years agoComment fix in builtin.lua
Perttu Ahola [Sun, 27 Nov 2011 23:17:36 +0000 (01:17 +0200)]
Comment fix in builtin.lua

12 years agoFor consistency, implement calling of on_chat_message callbacks in C
Perttu Ahola [Sun, 27 Nov 2011 23:13:55 +0000 (01:13 +0200)]
For consistency, implement calling of on_chat_message callbacks in C

12 years agoImplement callback registration in Lua instead of C
Perttu Ahola [Sun, 27 Nov 2011 23:11:17 +0000 (01:11 +0200)]
Implement callback registration in Lua instead of C

12 years agoReplace old active block random node modifying things with actual ActiveBlockModifiers
Perttu Ahola [Sun, 27 Nov 2011 22:45:34 +0000 (00:45 +0200)]
Replace old active block random node modifying things with actual ActiveBlockModifiers

12 years agoAdd chat message callback and send functions
Perttu Ahola [Sun, 27 Nov 2011 17:39:36 +0000 (19:39 +0200)]
Add chat message callback and send functions

12 years agoPrint errors from local log to chat
Perttu Ahola [Sun, 27 Nov 2011 12:29:48 +0000 (14:29 +0200)]
Print errors from local log to chat

12 years agoAdd a third log output interface method
Perttu Ahola [Sun, 27 Nov 2011 12:28:54 +0000 (14:28 +0200)]
Add a third log output interface method

12 years agoUse log_deregister_thread in EmergeThread
Perttu Ahola [Sun, 27 Nov 2011 11:52:36 +0000 (13:52 +0200)]
Use log_deregister_thread in EmergeThread

12 years agoAdd log_remove_output and log_deregister_thread
Perttu Ahola [Sun, 27 Nov 2011 11:52:10 +0000 (13:52 +0200)]
Add log_remove_output and log_deregister_thread

12 years agoFix mod dependency sort
Perttu Ahola [Sun, 27 Nov 2011 11:19:20 +0000 (13:19 +0200)]
Fix mod dependency sort

12 years agoAdd depends.txt for mods/give_initial_stuff
Perttu Ahola [Sun, 27 Nov 2011 11:04:27 +0000 (13:04 +0200)]
Add depends.txt for mods/give_initial_stuff

12 years agoWarn about unsatisfied dependencies
Perttu Ahola [Sun, 27 Nov 2011 11:03:54 +0000 (13:03 +0200)]
Warn about unsatisfied dependencies

12 years agoMake blocks to be loaded from disk when the active block area reaches them
Perttu Ahola [Sun, 27 Nov 2011 10:50:35 +0000 (12:50 +0200)]
Make blocks to be loaded from disk when the active block area reaches them

12 years agoFix a random commented-out piece of lighting code, altough it doesn't work any better
Perttu Ahola [Sun, 27 Nov 2011 10:07:22 +0000 (12:07 +0200)]
Fix a random commented-out piece of lighting code, altough it doesn't work any better

12 years agoOptimize lighting by a tiny bit
Perttu Ahola [Sun, 27 Nov 2011 09:52:49 +0000 (11:52 +0200)]
Optimize lighting by a tiny bit

12 years agoSort mods by dependencies defined by modpath/depends.txt in each mod (not mandatory)
Perttu Ahola [Sun, 27 Nov 2011 09:44:05 +0000 (11:44 +0200)]
Sort mods by dependencies defined by modpath/depends.txt in each mod (not mandatory)

12 years agoFix default value of visual in LuaEntityProperties
Perttu Ahola [Sun, 27 Nov 2011 09:02:27 +0000 (11:02 +0200)]
Fix default value of visual in LuaEntityProperties

12 years agoAllow server-side teleporting
Perttu Ahola [Sun, 27 Nov 2011 03:14:46 +0000 (05:14 +0200)]
Allow server-side teleporting

12 years agoFix and tune player movement checks (make them very loose)
Perttu Ahola [Sun, 27 Nov 2011 03:08:44 +0000 (05:08 +0200)]
Fix and tune player movement checks (make them very loose)

12 years agoAdd IDropAction and related stuff
Kahrl [Sun, 27 Nov 2011 03:01:38 +0000 (05:01 +0200)]
Add IDropAction and related stuff

12 years agoImprove luaentity sprite functionality (and add some random stuff)
Perttu Ahola [Sun, 27 Nov 2011 02:31:05 +0000 (04:31 +0200)]
Improve luaentity sprite functionality (and add some random stuff)

12 years agoComment out print("on_generated: ...") in Lua
Perttu Ahola [Sat, 26 Nov 2011 14:14:09 +0000 (16:14 +0200)]
Comment out print("on_generated: ...") in Lua

12 years agoFix liquid source backface culling (was not turned off)
Perttu Ahola [Sat, 26 Nov 2011 14:03:14 +0000 (16:03 +0200)]
Fix liquid source backface culling (was not turned off)

12 years agoFix player getting thrown underground after connecting
Perttu Ahola [Sat, 26 Nov 2011 13:58:02 +0000 (15:58 +0200)]
Fix player getting thrown underground after connecting

12 years agoMake map generator as much threaded as possible (not much benefit with current genera...
Perttu Ahola [Sat, 26 Nov 2011 13:53:52 +0000 (15:53 +0200)]
Make map generator as much threaded as possible (not much benefit with current generator because of small generator chunk size (a single MapBlock))

12 years agoAdd on_generated hook
Perttu Ahola [Sat, 26 Nov 2011 13:19:03 +0000 (15:19 +0200)]
Add on_generated hook