oweals/minetest.git
13 years agoRemove #include <content_mapnode.h> from game.cpp
Perttu Ahola [Tue, 15 Nov 2011 22:34:33 +0000 (00:34 +0200)]
Remove #include <content_mapnode.h> from game.cpp

13 years agoSaner sized sapling
Perttu Ahola [Tue, 15 Nov 2011 22:32:34 +0000 (00:32 +0200)]
Saner sized sapling

13 years agoCut down content transfer verbosity
Perttu Ahola [Tue, 15 Nov 2011 22:20:22 +0000 (00:20 +0200)]
Cut down content transfer verbosity

13 years agoCut down TextureSource verbosity
Perttu Ahola [Tue, 15 Nov 2011 22:20:10 +0000 (00:20 +0200)]
Cut down TextureSource verbosity

13 years agoImprove loading screen and protocol
Perttu Ahola [Tue, 15 Nov 2011 21:58:56 +0000 (23:58 +0200)]
Improve loading screen and protocol

13 years agoClean nodefeat and content_mapnode a bit
Perttu Ahola [Tue, 15 Nov 2011 20:41:49 +0000 (22:41 +0200)]
Clean nodefeat and content_mapnode a bit

13 years agoFix flowing water being always opaque
Perttu Ahola [Tue, 15 Nov 2011 20:21:12 +0000 (22:21 +0200)]
Fix flowing water being always opaque

13 years agoFix MaterialProperties serialization (constant_time was missing)
Perttu Ahola [Tue, 15 Nov 2011 20:04:16 +0000 (22:04 +0200)]
Fix MaterialProperties serialization (constant_time was missing)

13 years agoImprove glass
Perttu Ahola [Tue, 15 Nov 2011 19:36:46 +0000 (21:36 +0200)]
Improve glass

13 years agoFix NDT_PLANTLIKE scaling to always keep the bottom at ground level
Perttu Ahola [Tue, 15 Nov 2011 19:13:22 +0000 (21:13 +0200)]
Fix NDT_PLANTLIKE scaling to always keep the bottom at ground level

13 years agoReplace direct irrlicht texture fetching in CAO content with TextureSource
Perttu Ahola [Tue, 15 Nov 2011 19:07:28 +0000 (21:07 +0200)]
Replace direct irrlicht texture fetching in CAO content with TextureSource

13 years agoClean mapnode.h and fix other files accordingly
Perttu Ahola [Tue, 15 Nov 2011 19:00:39 +0000 (21:00 +0200)]
Clean mapnode.h and fix other files accordingly

13 years agoNode definitions transfer
Perttu Ahola [Tue, 15 Nov 2011 18:32:56 +0000 (20:32 +0200)]
Node definitions transfer

13 years agoCompletely generalized mesh generation; ContentFeatures serialization
Perttu Ahola [Tue, 15 Nov 2011 17:58:36 +0000 (19:58 +0200)]
Completely generalized mesh generation; ContentFeatures serialization

13 years agoClean more
Perttu Ahola [Tue, 15 Nov 2011 13:46:52 +0000 (15:46 +0200)]
Clean more

13 years agoRemove commented out code
Perttu Ahola [Tue, 15 Nov 2011 13:35:03 +0000 (15:35 +0200)]
Remove commented out code

13 years agoPrepare more for node definition serialization
Perttu Ahola [Tue, 15 Nov 2011 13:32:09 +0000 (15:32 +0200)]
Prepare more for node definition serialization

13 years agoBetter node texture generation
Perttu Ahola [Tue, 15 Nov 2011 12:43:15 +0000 (14:43 +0200)]
Better node texture generation

13 years agoUpdate inventory texture too
Perttu Ahola [Tue, 15 Nov 2011 11:22:29 +0000 (13:22 +0200)]
Update inventory texture too

13 years agoProperly update textures in node definitions
Perttu Ahola [Tue, 15 Nov 2011 11:13:18 +0000 (13:13 +0200)]
Properly update textures in node definitions

13 years agoSending of textures WIP
Perttu Ahola [Tue, 15 Nov 2011 09:02:47 +0000 (11:02 +0200)]
Sending of textures WIP

13 years agoFix yet-another serialization error in utility.h and set constructor of Buffer take...
Perttu Ahola [Tue, 15 Nov 2011 08:52:00 +0000 (10:52 +0200)]
Fix yet-another serialization error in utility.h and set constructor of Buffer take const data for copying

13 years agoModify mod and texture directory hierarchies
Perttu Ahola [Tue, 15 Nov 2011 06:48:24 +0000 (08:48 +0200)]
Modify mod and texture directory hierarchies

13 years agoUpdate TODO list in scriptapi.cpp
Perttu Ahola [Tue, 15 Nov 2011 06:16:12 +0000 (08:16 +0200)]
Update TODO list in scriptapi.cpp

13 years agoSet traditional minetest durability values to tools
Perttu Ahola [Tue, 15 Nov 2011 00:20:41 +0000 (02:20 +0200)]
Set traditional minetest durability values to tools

13 years agoMove tool definitions to script
Perttu Ahola [Tue, 15 Nov 2011 00:03:28 +0000 (02:03 +0200)]
Move tool definitions to script

13 years agoTool definition transfer to client
Perttu Ahola [Mon, 14 Nov 2011 23:00:16 +0000 (01:00 +0200)]
Tool definition transfer to client

13 years agoToolDefManager serialization
Perttu Ahola [Mon, 14 Nov 2011 22:05:26 +0000 (00:05 +0200)]
ToolDefManager serialization

13 years agoToolDefinition serialization
Perttu Ahola [Mon, 14 Nov 2011 21:39:32 +0000 (23:39 +0200)]
ToolDefinition serialization

13 years agoMake fence post selection box smaller and create code to allow node placement to...
Perttu Ahola [Mon, 14 Nov 2011 20:57:58 +0000 (22:57 +0200)]
Make fence post selection box smaller and create code to allow node placement to the side of a static box

13 years agoTune gravel and picks
Perttu Ahola [Mon, 14 Nov 2011 20:35:11 +0000 (22:35 +0200)]
Tune gravel and picks

13 years agoMake possible and do update textures in node definitions after late texture atlas...
Perttu Ahola [Mon, 14 Nov 2011 20:07:42 +0000 (22:07 +0200)]
Make possible and do update textures in node definitions after late texture atlas making

13 years agoGameDef compiles
Perttu Ahola [Mon, 14 Nov 2011 19:41:30 +0000 (21:41 +0200)]
GameDef compiles

13 years agoCreate framework for getting rid of global definitions of node/tool/item/whatever...
Perttu Ahola [Sun, 13 Nov 2011 22:19:48 +0000 (00:19 +0200)]
Create framework for getting rid of global definitions of node/tool/item/whatever types

13 years agoMove tool stuff to tool.{h,cpp}
Perttu Ahola [Sun, 13 Nov 2011 14:38:14 +0000 (16:38 +0200)]
Move tool stuff to tool.{h,cpp}

13 years agoTune the tool speed thing
Perttu Ahola [Sun, 13 Nov 2011 13:54:08 +0000 (15:54 +0200)]
Tune the tool speed thing

13 years agoNew kind of tool speed and wear calculation thingy
Perttu Ahola [Sun, 13 Nov 2011 13:45:38 +0000 (15:45 +0200)]
New kind of tool speed and wear calculation thingy

13 years agoSet version to 0.4
Perttu Ahola [Sun, 13 Nov 2011 11:21:31 +0000 (13:21 +0200)]
Set version to 0.4

13 years agoClean headers a bit
Perttu Ahola [Sun, 13 Nov 2011 11:09:45 +0000 (13:09 +0200)]
Clean headers a bit

13 years agoAllocate MapBlock::m_node_metadata on heap to allow less header bloat
Perttu Ahola [Sun, 13 Nov 2011 10:54:33 +0000 (12:54 +0200)]
Allocate MapBlock::m_node_metadata on heap to allow less header bloat

13 years agoGeneric NodeMetadata text input
Perttu Ahola [Sun, 13 Nov 2011 10:48:05 +0000 (12:48 +0200)]
Generic NodeMetadata text input

13 years agoGeneralize selection boxes
Perttu Ahola [Sun, 13 Nov 2011 10:31:05 +0000 (12:31 +0200)]
Generalize selection boxes

13 years agoSet the BS constant to be floating-point; this removes the need for floating point...
Perttu Ahola [Sun, 13 Nov 2011 10:30:46 +0000 (12:30 +0200)]
Set the BS constant to be floating-point; this removes the need for floating point numbers when dividing it

13 years agoClean code and modify comments in mapnode_contentfeatures.h
Perttu Ahola [Sun, 13 Nov 2011 09:07:01 +0000 (11:07 +0200)]
Clean code and modify comments in mapnode_contentfeatures.h

13 years agoMove ContentFeatures to mapnode_contentfeatures.{h,cpp} and clean stuff
Perttu Ahola [Sun, 13 Nov 2011 08:57:55 +0000 (10:57 +0200)]
Move ContentFeatures to mapnode_contentfeatures.{h,cpp} and clean stuff

13 years agoScripting: Allow multiple global step callbacks and improve documentation
Perttu Ahola [Sat, 12 Nov 2011 17:19:58 +0000 (19:19 +0200)]
Scripting: Allow multiple global step callbacks and improve documentation

13 years agoHandle undefined objects better
Perttu Ahola [Sat, 12 Nov 2011 16:34:04 +0000 (18:34 +0200)]
Handle undefined objects better

13 years agoScripting WIP: Add global environment step function on_step
Perttu Ahola [Sat, 12 Nov 2011 15:46:06 +0000 (17:46 +0200)]
Scripting WIP: Add global environment step function on_step

13 years agoScripting WIP: dynamic object stuff
Perttu Ahola [Sat, 12 Nov 2011 15:37:14 +0000 (17:37 +0200)]
Scripting WIP: dynamic object stuff

13 years agoServerRemotePlayer implements ServerActiveObject
Perttu Ahola [Sat, 12 Nov 2011 13:41:29 +0000 (15:41 +0200)]
ServerRemotePlayer implements ServerActiveObject

13 years agoScripting WIP
Perttu Ahola [Sat, 12 Nov 2011 13:22:09 +0000 (15:22 +0200)]
Scripting WIP

13 years agoScripting WIP
Perttu Ahola [Sat, 12 Nov 2011 13:14:24 +0000 (15:14 +0200)]
Scripting WIP

13 years agoScripting WIP
Perttu Ahola [Sat, 12 Nov 2011 11:59:56 +0000 (13:59 +0200)]
Scripting WIP

13 years agoScripting WIP
Perttu Ahola [Sat, 12 Nov 2011 11:14:44 +0000 (13:14 +0200)]
Scripting WIP

13 years agoScripting WIP
Perttu Ahola [Sat, 12 Nov 2011 10:12:15 +0000 (12:12 +0200)]
Scripting WIP

13 years agoScripting WIP
Perttu Ahola [Sat, 12 Nov 2011 09:59:56 +0000 (11:59 +0200)]
Scripting WIP

13 years agoScripting WIP
Perttu Ahola [Sat, 12 Nov 2011 08:39:44 +0000 (10:39 +0200)]
Scripting WIP

13 years agoScripting WIP
Perttu Ahola [Sat, 12 Nov 2011 01:21:40 +0000 (03:21 +0200)]
Scripting WIP

13 years agoScripting WIP
Perttu Ahola [Sat, 12 Nov 2011 00:25:30 +0000 (02:25 +0200)]
Scripting WIP

13 years agoScripting WIP; Lua entity step callback works
Perttu Ahola [Fri, 11 Nov 2011 22:46:05 +0000 (00:46 +0200)]
Scripting WIP; Lua entity step callback works

13 years agoAdd textures in data/textures (appeared to not have been added)
Perttu Ahola [Fri, 11 Nov 2011 18:51:43 +0000 (20:51 +0200)]
Add textures in data/textures (appeared to not have been added)

13 years agorandom scripting work-in-progress
Perttu Ahola [Fri, 11 Nov 2011 18:50:09 +0000 (20:50 +0200)]
random scripting work-in-progress

13 years agoAdd the default.lua script
Perttu Ahola [Fri, 11 Nov 2011 17:36:52 +0000 (19:36 +0200)]
Add the default.lua script

13 years agoScripting WIP
Perttu Ahola [Fri, 11 Nov 2011 17:33:17 +0000 (19:33 +0200)]
Scripting WIP

13 years agoMove images to data/textures and fix some path stuff; hope that installation still...
Perttu Ahola [Thu, 10 Nov 2011 21:30:12 +0000 (23:30 +0200)]
Move images to data/textures and fix some path stuff; hope that installation still works

13 years agoMake it actually build
Perttu Ahola [Thu, 10 Nov 2011 20:34:46 +0000 (22:34 +0200)]
Make it actually build

13 years agoAdd Lua
Perttu Ahola [Thu, 10 Nov 2011 19:45:45 +0000 (21:45 +0200)]
Add Lua

13 years agoBetter spawn position finding and checking
Perttu Ahola [Sun, 13 Nov 2011 01:17:42 +0000 (03:17 +0200)]
Better spawn position finding and checking

13 years agoUpdate changelog and call this 0.3.1 0.3.1
Perttu Ahola [Wed, 9 Nov 2011 10:07:40 +0000 (12:07 +0200)]
Update changelog and call this 0.3.1

13 years agoFix water-glass and water-lava surfaces
Perttu Ahola [Tue, 8 Nov 2011 14:17:38 +0000 (16:17 +0200)]
Fix water-glass and water-lava surfaces

13 years agoCall this 0.3.dev-20111108
Perttu Ahola [Tue, 8 Nov 2011 00:06:01 +0000 (02:06 +0200)]
Call this 0.3.dev-20111108

13 years agoReset block usage timer on client only if it is very probably drawn
Perttu Ahola [Tue, 8 Nov 2011 00:05:42 +0000 (02:05 +0200)]
Reset block usage timer on client only if it is very probably drawn

13 years agoMake Connection::Receive return the data via a SharedBuffer reference, so the caller...
Kahrl [Mon, 7 Nov 2011 03:20:33 +0000 (04:20 +0100)]
Make Connection::Receive return the data via a SharedBuffer reference, so the caller doesn't have to choose the right buffer size in advance.

Conflicts:

src/test.cpp

13 years agoutility.h: Change Buffer's interface to be more compatible with SharedBuffer's interf...
Kahrl [Mon, 7 Nov 2011 01:24:44 +0000 (02:24 +0100)]
utility.h: Change Buffer's interface to be more compatible with SharedBuffer's interface, connection.h: use Buffer instead of SharedBuffer in command and event queues

13 years agoAdd new Connection test in test.cpp in case needed in the future (commented out)...
Perttu Ahola [Mon, 7 Nov 2011 09:15:43 +0000 (11:15 +0200)]
Add new Connection test in test.cpp in case needed in the future (commented out), improve comments in test.cpp a bit

13 years agoInfinite packet flood test for debugging the new network layer
Perttu Ahola [Sun, 6 Nov 2011 23:20:58 +0000 (01:20 +0200)]
Infinite packet flood test for debugging the new network layer

13 years agoCommand-line signal handling for Windows
Constantin Wenger [Sun, 6 Nov 2011 14:17:18 +0000 (15:17 +0100)]
Command-line signal handling for Windows

13 years agoMake water invisible next to underwater glass
Perttu Ahola [Sat, 5 Nov 2011 21:30:27 +0000 (23:30 +0200)]
Make water invisible next to underwater glass

13 years agoImprove "compile on Windows" section in readme
Perttu Ahola [Sat, 5 Nov 2011 12:48:32 +0000 (14:48 +0200)]
Improve "compile on Windows" section in readme

13 years agoCall this version 0.3.dev-20111104
Perttu Ahola [Fri, 4 Nov 2011 20:16:36 +0000 (22:16 +0200)]
Call this version 0.3.dev-20111104

13 years agoAdd option to set water opaque (mainly for stylistic choice)
Perttu Ahola [Thu, 3 Nov 2011 21:06:57 +0000 (23:06 +0200)]
Add option to set water opaque (mainly for stylistic choice)

13 years agoFix flowing liquid spacing; water and lava next to each other will glitch a bit but...
Perttu Ahola [Thu, 3 Nov 2011 21:04:56 +0000 (23:04 +0200)]
Fix flowing liquid spacing; water and lava next to each other will glitch a bit but it isn't as bad as this was

13 years agoUpdate /README.txt, remove duplicate /doc/README.txt and update CMakeLists.txt to...
Perttu Ahola [Thu, 3 Nov 2011 19:36:42 +0000 (21:36 +0200)]
Update /README.txt, remove duplicate /doc/README.txt and update CMakeLists.txt to package /README.txt

13 years agoMake CONTENT_IGNORE to not block the view when occlusion culling
Perttu Ahola [Thu, 3 Nov 2011 18:45:44 +0000 (20:45 +0200)]
Make CONTENT_IGNORE to not block the view when occlusion culling

13 years agoDisable mipmapping because it is sometimes ugly
Perttu Ahola [Thu, 3 Nov 2011 18:17:18 +0000 (20:17 +0200)]
Disable mipmapping because it is sometimes ugly

13 years agoPossible fix to bases of islands/hills getting culled out too early
Perttu Ahola [Thu, 3 Nov 2011 13:10:58 +0000 (15:10 +0200)]
Possible fix to bases of islands/hills getting culled out too early

13 years agoTune occlusion culling a bit more
Perttu Ahola [Thu, 3 Nov 2011 11:35:32 +0000 (13:35 +0200)]
Tune occlusion culling a bit more

13 years agoTune occlusion culling a bit
Perttu Ahola [Thu, 3 Nov 2011 11:35:09 +0000 (13:35 +0200)]
Tune occlusion culling a bit

13 years agoVery simple occlusion culling
Perttu Ahola [Thu, 3 Nov 2011 10:48:08 +0000 (12:48 +0200)]
Very simple occlusion culling

13 years agoocclusion culling fix, a little reshaping of map rendering for more useful profiler...
Perttu Ahola [Wed, 2 Nov 2011 16:13:56 +0000 (18:13 +0200)]
occlusion culling fix, a little reshaping of map rendering for more useful profiler output and dynamic profiler text size

13 years agoRemove trailing / or \ in path_userdata (probably fixes world deletion on Windows)
Perttu Ahola [Wed, 2 Nov 2011 11:43:00 +0000 (13:43 +0200)]
Remove trailing / or \ in path_userdata (probably fixes world deletion on Windows)

13 years agoAdd 3d cloud checkbox in main menu (and rename setting from enable_2d_clouds to enabl...
Perttu Ahola [Wed, 2 Nov 2011 10:50:21 +0000 (12:50 +0200)]
Add 3d cloud checkbox in main menu (and rename setting from enable_2d_clouds to enable_3d_clouds)

13 years agoSet version to 0.3.0 and update changelog 0.3.0
Perttu Ahola [Tue, 1 Nov 2011 14:54:01 +0000 (16:54 +0200)]
Set version to 0.3.0 and update changelog

13 years agoFix an obvious bug in utility.h
Perttu Ahola [Tue, 1 Nov 2011 12:54:11 +0000 (14:54 +0200)]
Fix an obvious bug in utility.h

13 years agoAttempt a workaround to the network layer segfault
Perttu Ahola [Sun, 30 Oct 2011 09:59:23 +0000 (11:59 +0200)]
Attempt a workaround to the network layer segfault

13 years agoMake it to compile on MSVC2010 0.3.dev-20111021
Perttu Ahola [Fri, 21 Oct 2011 15:37:43 +0000 (18:37 +0300)]
Make it to compile on MSVC2010

13 years ago0.3.dev-20111021
Perttu Ahola [Fri, 21 Oct 2011 15:29:13 +0000 (18:29 +0300)]
0.3.dev-20111021

13 years agoSome tuning in m_max_packets_per_second algorithm
Perttu Ahola [Fri, 21 Oct 2011 08:52:26 +0000 (11:52 +0300)]
Some tuning in m_max_packets_per_second algorithm

13 years agoImprove Connection with threading and some kind of congestion control
Perttu Ahola [Thu, 20 Oct 2011 20:04:09 +0000 (23:04 +0300)]
Improve Connection with threading and some kind of congestion control

13 years agoDefault max_simultaneous_block_sends_server_total to 2 to make network not cough...
Perttu Ahola [Wed, 19 Oct 2011 16:34:47 +0000 (19:34 +0300)]
Default max_simultaneous_block_sends_server_total to 2 to make network not cough too much on the fixed block sending code