zefram/minetest/minetest_engine.git
12 years agoEven more texture fixing
Perttu Ahola [Sat, 3 Dec 2011 20:33:22 +0000 (22:33 +0200)]
Even more texture fixing

12 years agoRename lump_of_* to *_lump
Perttu Ahola [Sat, 3 Dec 2011 20:31:12 +0000 (22:31 +0200)]
Rename lump_of_* to *_lump

12 years agoFix the previous commit
Perttu Ahola [Sat, 3 Dec 2011 19:31:39 +0000 (21:31 +0200)]
Fix the previous commit

12 years agoClean and fix mods/experimental/init.lua
Perttu Ahola [Sat, 3 Dec 2011 19:30:54 +0000 (21:30 +0200)]
Clean and fix mods/experimental/init.lua

12 years agoMore texture naming fixes
Perttu Ahola [Sat, 3 Dec 2011 19:22:29 +0000 (21:22 +0200)]
More texture naming fixes

12 years agoRename textures of default mod
Perttu Ahola [Sat, 3 Dec 2011 19:10:02 +0000 (21:10 +0200)]
Rename textures of default mod

12 years agoRemove iron apple from default
Perttu Ahola [Sat, 3 Dec 2011 18:31:41 +0000 (20:31 +0200)]
Remove iron apple from default

12 years agoMake global names in default mod use good naming convention and move backwards-compat...
Perttu Ahola [Sat, 3 Dec 2011 18:25:21 +0000 (20:25 +0200)]
Make global names in default mod use good naming convention and move backwards-compatibility definitions to mods/legacy

12 years agoRename cookresult_item to cookresult_itemstring
Perttu Ahola [Sat, 3 Dec 2011 16:45:04 +0000 (18:45 +0200)]
Rename cookresult_item to cookresult_itemstring

12 years agoadd EnvRef:get_node_or_nil()
Perttu Ahola [Sat, 3 Dec 2011 16:37:50 +0000 (18:37 +0200)]
add EnvRef:get_node_or_nil()

12 years agoAdd ABM required neighbor check
Perttu Ahola [Sat, 3 Dec 2011 16:18:59 +0000 (18:18 +0200)]
Add ABM required neighbor check

12 years agoFix bucket texture names
Perttu Ahola [Sat, 3 Dec 2011 15:40:58 +0000 (17:40 +0200)]
Fix bucket texture names

12 years agoAllow digging unknown nodes
Perttu Ahola [Sat, 3 Dec 2011 11:56:39 +0000 (13:56 +0200)]
Allow digging unknown nodes

12 years agoShow infotext for unknown nodes
Perttu Ahola [Sat, 3 Dec 2011 11:51:16 +0000 (13:51 +0200)]
Show infotext for unknown nodes

12 years agoShow infotext for unknown items placed on ground
Perttu Ahola [Sat, 3 Dec 2011 11:46:19 +0000 (13:46 +0200)]
Show infotext for unknown items placed on ground

12 years agoCall this 0.4.dev-20111203-3
Perttu Ahola [Sat, 3 Dec 2011 10:02:45 +0000 (12:02 +0200)]
Call this 0.4.dev-20111203-3

12 years agoOn SIGINT in main menu, don't connect before shutting down
Perttu Ahola [Sat, 3 Dec 2011 10:02:27 +0000 (12:02 +0200)]
On SIGINT in main menu, don't connect before shutting down

12 years agoinventorycube: use all three specified textures; also moved mesh creation / modificat...
Kahrl [Sat, 3 Dec 2011 07:40:32 +0000 (08:40 +0100)]
inventorycube: use all three specified textures; also moved mesh creation / modification functions to mesh.cpp; in lua, inventorycube is now called minetest.inventorycube

12 years agoDo not broadcast an empty chat message when someone tries to log in with the wrong...
Kahrl [Mon, 21 Nov 2011 00:42:52 +0000 (01:42 +0100)]
Do not broadcast an empty chat message when someone tries to log in with the wrong password

12 years agoNotify player whose password is being changed
Kahrl [Mon, 21 Nov 2011 00:35:44 +0000 (01:35 +0100)]
Notify player whose password is being changed

12 years agoCall this 0.4.dev-20111203-2
Perttu Ahola [Sat, 3 Dec 2011 09:45:26 +0000 (11:45 +0200)]
Call this 0.4.dev-20111203-2

12 years agoNote about debug.txt in error message dialog when mod fails to load
Perttu Ahola [Sat, 3 Dec 2011 09:44:47 +0000 (11:44 +0200)]
Note about debug.txt in error message dialog when mod fails to load

12 years agoChange naming convention to be modname:* instead of modname_* (sorry modders!)
Perttu Ahola [Sat, 3 Dec 2011 09:41:52 +0000 (11:41 +0200)]
Change naming convention to be modname:* instead of modname_* (sorry modders!)

12 years agoFix note about run-in-place mod search path in mods/default/init.lua
Perttu Ahola [Sat, 3 Dec 2011 02:00:42 +0000 (04:00 +0200)]
Fix note about run-in-place mod search path in mods/default/init.lua

12 years agoSet version 0.4.dev-20111203-1
Perttu Ahola [Sat, 3 Dec 2011 01:46:19 +0000 (03:46 +0200)]
Set version 0.4.dev-20111203-1

12 years agoAdd usermods/ to mod search paths and print out the paths at server startup
Perttu Ahola [Sat, 3 Dec 2011 01:43:20 +0000 (03:43 +0200)]
Add usermods/ to mod search paths and print out the paths at server startup

12 years agoProperly handle mod name conflicts
Perttu Ahola [Sat, 3 Dec 2011 01:32:30 +0000 (03:32 +0200)]
Properly handle mod name conflicts

12 years agoBetter mod loading error handling
Perttu Ahola [Sat, 3 Dec 2011 01:23:14 +0000 (03:23 +0200)]
Better mod loading error handling

12 years agoAdd world/mods to mod search path
Perttu Ahola [Sat, 3 Dec 2011 00:55:54 +0000 (02:55 +0200)]
Add world/mods to mod search path

12 years agoRemove accidental stupid naming in craftitem example
Perttu Ahola [Sat, 3 Dec 2011 00:48:06 +0000 (02:48 +0200)]
Remove accidental stupid naming in craftitem example

12 years agoEnforced mod global naming convention and better error reporting
Perttu Ahola [Sat, 3 Dec 2011 00:45:55 +0000 (02:45 +0200)]
Enforced mod global naming convention and better error reporting

12 years agoFix script error reporting a bit
Perttu Ahola [Fri, 2 Dec 2011 20:49:54 +0000 (22:49 +0200)]
Fix script error reporting a bit

12 years agoFix ActiveObject creation for fast player respawns
Perttu Ahola [Fri, 2 Dec 2011 15:30:22 +0000 (17:30 +0200)]
Fix ActiveObject creation for fast player respawns

12 years agoFix sending of player hp (was sent all the time)
Perttu Ahola [Fri, 2 Dec 2011 15:19:42 +0000 (17:19 +0200)]
Fix sending of player hp (was sent all the time)

12 years agoRemove unnecessary debug output from mods/default/init.lua
Perttu Ahola [Fri, 2 Dec 2011 14:24:56 +0000 (16:24 +0200)]
Remove unnecessary debug output from mods/default/init.lua

12 years agoShow bare hand when no item is selected
Perttu Ahola [Fri, 2 Dec 2011 13:20:42 +0000 (15:20 +0200)]
Show bare hand when no item is selected

12 years agoSet version to 0.4.dev-20111202-1
Perttu Ahola [Fri, 2 Dec 2011 11:00:42 +0000 (13:00 +0200)]
Set version to 0.4.dev-20111202-1

12 years agoFix mod licensing and add a mention about sound licensing in README.txt
Perttu Ahola [Fri, 2 Dec 2011 10:58:46 +0000 (12:58 +0200)]
Fix mod licensing and add a mention about sound licensing in README.txt

12 years agoScript-defined creative inventory
Perttu Ahola [Fri, 2 Dec 2011 10:43:57 +0000 (12:43 +0200)]
Script-defined creative inventory

12 years agoRename "build" privilege to "interact" (backwards-compatibly, of course)
Perttu Ahola [Fri, 2 Dec 2011 10:18:19 +0000 (12:18 +0200)]
Rename "build" privilege to "interact" (backwards-compatibly, of course)

12 years agoRename "NodeItem"/"ToolItem"/"CraftItem" to "node"/"tool"/"craft"
Perttu Ahola [Fri, 2 Dec 2011 10:12:07 +0000 (12:12 +0200)]
Rename "NodeItem"/"ToolItem"/"CraftItem" to "node"/"tool"/"craft"

12 years agoRemove obsolete createPickedUpItem()
Perttu Ahola [Fri, 2 Dec 2011 09:54:23 +0000 (11:54 +0200)]
Remove obsolete createPickedUpItem()

12 years agoAdd time_from_last_punch to Lua API
Perttu Ahola [Fri, 2 Dec 2011 09:51:41 +0000 (11:51 +0200)]
Add time_from_last_punch to Lua API

12 years agoAdd a note about mods being under CC BY-SA 3.0 like textures
Perttu Ahola [Fri, 2 Dec 2011 09:40:04 +0000 (11:40 +0200)]
Add a note about mods being under CC BY-SA 3.0 like textures

12 years ago+ middle-click now empties the inventory slot properly
Mark Holmquist [Thu, 1 Dec 2011 23:16:41 +0000 (15:16 -0800)]
+ middle-click now empties the inventory slot properly

12 years agoAdd enable_pvp setting
Perttu Ahola [Fri, 2 Dec 2011 09:25:47 +0000 (11:25 +0200)]
Add enable_pvp setting

12 years agoMake unlimited player transfer distance configurable
Perttu Ahola [Fri, 2 Dec 2011 09:22:09 +0000 (11:22 +0200)]
Make unlimited player transfer distance configurable

12 years agoFix player double damage
Perttu Ahola [Fri, 2 Dec 2011 09:16:51 +0000 (11:16 +0200)]
Fix player double damage

12 years agoMake hitting players make a visual damage flash to the player texture and the screen...
Perttu Ahola [Fri, 2 Dec 2011 08:57:40 +0000 (10:57 +0200)]
Make hitting players make a visual damage flash to the player texture and the screen of the local player

12 years agoDon't hide players in pitch black (like oerkkis)
Perttu Ahola [Fri, 2 Dec 2011 08:45:43 +0000 (10:45 +0200)]
Don't hide players in pitch black (like oerkkis)

12 years agoMove ServerRemotePlayer to a separate file
Perttu Ahola [Fri, 2 Dec 2011 08:44:20 +0000 (10:44 +0200)]
Move ServerRemotePlayer to a separate file

12 years agoFix /give(me) commands a bit in default mod
Perttu Ahola [Fri, 2 Dec 2011 00:17:01 +0000 (02:17 +0200)]
Fix /give(me) commands a bit in default mod

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
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

13 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

13 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

13 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

13 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

13 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

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

13 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