aboutsummaryrefslogtreecommitdiff
path: root/src/environment.cpp
AgeCommit message (Collapse)Author
2011-11-29Handle ActiveBlockModifier intervals properly, down to 1sPerttu Ahola
2011-11-29Replace old active block random node modifying things with actual ↵Perttu Ahola
ActiveBlockModifiers
2011-11-29Make blocks to be loaded from disk when the active block area reaches themPerttu Ahola
2011-11-29Fix player getting thrown underground after connectingPerttu Ahola
2011-11-29Make lighting update occur immediately after ClientActiveObject addition to ↵Perttu Ahola
make objects show up much more responsively
2011-11-29Optimize active block modifier stuff (was left horribly unoptimized after ↵Perttu Ahola
making content ids dynamic)
2011-11-29Add node definitions in Lua and do not use content_mapnode_init anymore ↵Kahrl
(except in test.cpp)
2011-11-29Add reason parameter to setModified and print it out to verbosestream when ↵Perttu Ahola
saving block
2011-11-29Do not expose CONTENT_* stuff in content_mapnode.h and use a name converter ↵Perttu Ahola
wrapper in old code
2011-11-29GameDef compilesPerttu Ahola
2011-11-29Create framework for getting rid of global definitions of ↵Perttu Ahola
node/tool/item/whatever types
2011-11-29Allocate MapBlock::m_node_metadata on heap to allow less header bloatPerttu Ahola
2011-11-29Move ContentFeatures to mapnode_contentfeatures.{h,cpp} and clean stuffPerttu Ahola
2011-11-29Scripting WIP: Add global environment step function on_stepPerttu Ahola
2011-11-29Scripting WIPPerttu Ahola
2011-11-29Scripting WIPPerttu Ahola
2011-11-29Scripting WIPPerttu Ahola
2011-11-29Scripting WIPPerttu Ahola
2011-10-18Fix object duplication bugPerttu Ahola
2011-10-18Add /clearobjectsPerttu Ahola
2011-10-17Made a scheme to get rid of the objects in the worst object flooded blocksPerttu Ahola
2011-10-17Attempt to fix objects getting multiplicated by objects getting deactivated ↵Perttu Ahola
in a different block than where they were loaded and then the original block, from where the static object was removed, not getting saved at unload
2011-10-17Add a log message to SEnv and make it load objects if there are < 51 of ↵Perttu Ahola
them, to load blocks that were limited to 50
2011-10-17Workaround for blocks having a huge amount of active objects; add log ↵Perttu Ahola
messages related to active objects for investigation
2011-10-17Improve active object handling log outputceleron55
2011-10-16Some more profiler stuff to get the hang on what really uses CPUPerttu Ahola
2011-10-16Improve debug profiler usage for investigating CPU usage of serverPerttu Ahola
2011-10-16Make dungeon masters not shoot the walls with no reasonPerttu Ahola
2011-10-16Better player damage prevention when falling on unloaded blocks, not ↵Perttu Ahola
involving getting stuck in there.
2011-10-16Use the logger; also, default to not showing much crap in console. Use ↵Perttu Ahola
--info-on-stderr to enable crap.
2011-10-16Add peaceful / not peaceful distinction in mobs and the only_peaceful_mobs ↵Perttu Ahola
setting
2011-10-15Make dungeon masters though and make oerkkis disappear when they get to you ↵Perttu Ahola
(because hitting them doesn't work for some unknown reason)
2011-10-15Improve mobv2Perttu Ahola
2011-10-15mobv2Perttu Ahola
2011-10-12Header file tweaking; mainly for speedPerttu Ahola
2011-09-26Merge remote-tracking branch 'marktraceur/master'Perttu Ahola
2011-09-26Merge branch 'view_bobbing_and_vielded_tool'Perttu Ahola
2011-09-24Fixed null pointer dereference errors found by cppcheckJoshua Beck
2011-09-23Fixed saplings growing into trees (thanks so much, Kahrl!)Mark Holmquist
Put the random interval back to 1 in 50 chance. It's not as rare as rats, but rarer than grass.
2011-09-23Adding (most) of the sapling functionality. It has yet to work, since ↵Mark Holmquist
MEET_OTHER was not implemented at the time of this commit. Hopefully it will work when merged with celeron's latest.
2011-09-21Simplistic wielded tool lighting, added setMeshVerticesColor to utility.h ↵Kahrl
and refactored some other code into calls of that
2011-09-07Removed unused camera_position and camera_direction fields from Client. ↵Kahrl
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-06Pause in unloaded territory instead of collideJacobF
2011-08-15tuned lava/universal damage codePerttu Ahola
2011-08-15lava!Perttu Ahola
2011-08-11Typo fixGiuseppe Bilotta
2011-08-11Introduce Player::getLightPositionGiuseppe Bilotta
This is currently only used in the lighting update for remote players in client.
2011-08-01Fixing ladders againMark Holmquist
2011-07-30Made rats cookable and made them spawn near treesPerttu Ahola
2011-07-23Fixed #21 Earth under torches oscillates between mud and grassPerttu Ahola