Perttu Ahola
bdcca4767c
Make mapgen generate stuff in chunks of 3^3 mapblocks
2012-03-27 18:52:36 +03:00
Perttu Ahola
58bed83d03
Move ClientMap to clientmap.{h,cpp}
2012-03-16 00:25:18 +02:00
Kahrl
807a0d313b
MapBlockMesh, mesh animation system, urgent mesh updates, athmospheric light, removed footprints
2012-03-15 21:45:44 +02:00
Perttu Ahola
f1d9880006
Clean up log messages everywhere
2012-03-11 04:15:45 +02:00
Kahrl
02b334a679
Create node metadata when placing nodes again
2012-01-22 17:31:20 +02:00
Kahrl
157a4cf18c
Node placement / mineral / serialization / iron freq / node_dig callback
...
- Node placement code moved to Lua
- Mineral system removed (added default:stone_with_coal and default:stone_with_iron).
- MapBlock and MapNode serialization updated.
- Mapgen: Frequency of iron increased.
- node_dig callback and related changes.
2012-01-22 17:24:50 +02:00
Perttu Ahola
cd030639a4
Print debug stacks to infostream rather than errorstream when placing CONTENT_IGNORE
2011-11-29 21:05:36 +02:00
Perttu Ahola
be2ecf9186
Quick fix to a bug that makes it possible to raise water levels everywhere with one source
2011-11-29 19:13:59 +02:00
Perttu Ahola
705f142b8d
GenericNodeMetadata and an example furnace
2011-11-29 19:13:57 +02:00
Perttu Ahola
842eb5da28
Replace old active block random node modifying things with actual ActiveBlockModifiers
2011-11-29 19:13:56 +02:00
Perttu Ahola
ec4f58741b
Fix a random commented-out piece of lighting code, altough it doesn't work any better
2011-11-29 19:13:55 +02:00
Perttu Ahola
b2ccbdffc1
Make map generator as much threaded as possible (not much benefit with current generator because of small generator chunk size (a single MapBlock))
2011-11-29 19:13:54 +02:00
Perttu Ahola
651657edfd
Print out number of blocks in memory at unload
2011-11-29 19:13:51 +02:00
Perttu Ahola
74770ab718
Don't allow placing CONTENT_IGNORE with Map::setNode() because it is never useful and is only caused by bugs.
2011-11-29 19:13:51 +02:00
Perttu Ahola
e5650bb549
Make liquid_alternative_* to be strings
2011-11-29 19:13:51 +02:00
Perttu Ahola
6a8f9135de
Store metadata as metadata name in node definition
2011-11-29 19:13:51 +02:00
Perttu Ahola
941176cd65
Default to saving stuff more often to minimize lag caused by a single save
2011-11-29 19:13:50 +02:00
Perttu Ahola
251b015210
Don't print 'Blocks modified by: ' in Map::timerUpdate if no blocks were written
2011-11-29 19:13:50 +02:00
Perttu Ahola
616bad96af
Don't print all block saves to verbosestream; rather print counts of distinct modifiers
2011-11-29 19:13:49 +02:00
Perttu Ahola
1b765b9740
Add reason parameter to setModified and print it out to verbosestream when saving block
2011-11-29 19:13:49 +02:00
Perttu Ahola
df8346ef4d
Do not expose CONTENT_* stuff in content_mapnode.h and use a name converter wrapper in old code
2011-11-29 19:13:47 +02:00
Perttu Ahola
c0f6395cf0
Node definition names
2011-11-29 19:13:46 +02:00
Perttu Ahola
f107967fdc
Remove node content-dependent stuff from map.cpp
2011-11-29 19:13:46 +02:00
Perttu Ahola
c6fd2986d4
GameDef compiles
2011-11-29 19:13:42 +02:00
Perttu Ahola
abceeee92f
Create framework for getting rid of global definitions of node/tool/item/whatever types
2011-11-29 19:13:41 +02:00
Perttu Ahola
3b77a63d5d
Allocate MapBlock::m_node_metadata on heap to allow less header bloat
2011-11-29 19:13:41 +02:00
Perttu Ahola
64996422c0
Move ContentFeatures to mapnode_contentfeatures.{h,cpp} and clean stuff
2011-11-29 19:13:40 +02:00
Perttu Ahola
763da10c7b
Reset block usage timer on client only if it is very probably drawn
2011-11-08 02:13:22 +02:00
Perttu Ahola
4964daa5be
Possible fix to bases of islands/hills getting culled out too early
2011-11-03 15:10:58 +02:00
Perttu Ahola
718086f383
Tune occlusion culling a bit more
2011-11-03 13:35:32 +02:00
Perttu Ahola
339b7588d2
Tune occlusion culling a bit
2011-11-03 13:35:09 +02:00
Perttu Ahola
0ac5f6a7ca
Very simple occlusion culling
2011-11-03 12:48:08 +02:00
Perttu Ahola
1726b82a16
occlusion culling fix, a little reshaping of map rendering for more useful profiler output and dynamic profiler text size
2011-11-02 18:13:56 +02:00
Perttu Ahola
4b6138e69b
Improve Connection with threading and some kind of congestion control
2011-10-20 23:04:09 +03:00
Perttu Ahola
9b907dd65a
Try to tune fog to work well on high-end machines also
2011-10-18 21:08:31 +03:00
Perttu Ahola
4e1055543c
Tune map rendering and related diagnostics
2011-10-18 19:18:01 +03:00
Perttu Ahola
78f4142f4f
Add /clearobjects
2011-10-18 00:01:50 +03:00
Perttu Ahola
5037efdea9
Add some rendering statistics to profiler
2011-10-17 17:06:28 +03:00
Perttu Ahola
b0481b9db1
Fix chest not working after walked away and came back
2011-10-17 01:04:22 +03:00
Perttu Ahola
67a6bc4ab5
Fix map delete on windows (concatenate paths correctly with / or \ depending on OS)
2011-10-16 16:16:47 +03:00
Perttu Ahola
b65a5aceb0
Use the logger; also, default to not showing much crap in console. Use --info-on-stderr to enable crap.
2011-10-16 14:57:53 +03:00
Perttu Ahola
9e46cbf7ea
Header file tweaking; mainly for speed
2011-10-12 13:53:38 +03:00
Perttu Ahola
a7833cca22
Merge remote-tracking branch 'marktraceur/master'
2011-09-26 22:41:06 +03:00
Perttu Ahola
061d4b4202
Merge branch 'view_bobbing_and_vielded_tool'
2011-09-26 15:10:02 +03:00
Mark Holmquist
85f119e1e6
Adding (most) of the sapling functionality. It has yet to work, since MEET_OTHER was not implemented at the time of this commit. Hopefully it will work when merged with celeron's latest.
2011-09-23 18:13:53 -07:00
darkrose
8b875d71d1
remove content_* things from map.cpp
2011-09-23 18:04:48 +10:00
darkrose
582e450bad
added locking chests - clean patch
2011-09-22 19:11:48 +10:00
Kahrl
e4cb004460
trying something else... also replaced M_PI by PI everywhere
2011-09-08 16:10:44 +02:00
Kahrl
baf7da9d4a
Collected and moved existing camera infrastructure from game.cpp to camera.cpp and camera.h. Introduced configuration settings 'fov' which chooses the camera's (vertical) field of view and 'view_bobbing' which currently does nothing. Other code refactored to not expect the FOV to be a build time constant.
2011-09-08 01:08:47 +02:00
Kahrl
c0b35fa429
Removed unused camera_position and camera_direction fields from Client. Moved ClientEnvironment::drawPostFx to ClientMap::renderPostFx -- this will make the camera management classes easier to write, as ClientMap already knows the camera position but ClientEnvironment doesn't and has to be told about it. This also eliminates the need for Client::getEnv(). Made the post effect color a content feature defined in content_mapnode.h.
2011-09-07 19:21:28 +02:00