aboutsummaryrefslogtreecommitdiff
path: root/src/environment.cpp
AgeCommit message (Collapse)Author
2013-02-14Improved Player PhysicsMirceaKitsune
2013-01-21The new mapgen, noise functions, et al.kwolekr
2013-01-11fixes node timer bug (fixes #407).Jürgen Doser
Previously, when a block was activated, on_timer callbacks where called with the relative position of the node inside the block, instead of the absolute position of the node.
2013-01-02Add ServerEnvironment::setNode()/removeNode() to allow setting nodes from ↵Perttu Ahola
the C++ side with proper script-defined initialization/destruction
2012-12-02Smooth day-night transitionsPerttu Ahola
2012-11-26Default server step to 0.1s and sync object/player update intervals to itPerttu Ahola
2012-11-26Move util/serialize.h out from staticobject.h for smaller header dependenciesPerttu Ahola
2012-11-26Proper versioning of new network-serialized stuffPerttu Ahola
2012-11-25Send animations, bone overrides and attachments in entity initialization. ↵MirceaKitsune
Clients no longer have to be near an object when an animation or attachment is set to see the changes, and newly connected clients (or a client that simply renders the object for the first time) will get all of those settings. Therefore, the lua script no longer needs to run every X seconds either, just once per entity. Finish fixing the material color code. But it won't work until MineTest has dynamic lighting... another day another feature. Extra checks for the bone positioning / rotation code Many checks and consistency improvements to the client attachment code Make a separate function for checking if a client object is attached. A more in-depth change will be needed here to fix reading of invalid pointers Use a different method of fetching the parent. Fixes the mass segmentation faults when rendering an attachment (some still happen though) Major change to how attachments are handled. Fix the last segmentaton fault, which was due to the parent becoming invalid while being refreshed / removed which would bause the child to remain attached to nothing. Parents remove their children when being deleted themselves and add them back when re-added. Attachments are stored inside a 2D a vector which easily allows both a child to find their parent and a parent to find its children. Remove attachment list entry when an object is being permanently removed. Also avoid duplicate entries in this list when re-attaching the same object The "big code comments" can now go away. Client attachments almost work properly, and I know what else needs to be done
2012-09-09Add dtime_s to entity activationPerttu Ahola
2012-09-09Fix ServerActiveObject stuffPerttu Ahola
2012-09-09Fix wielditem entity drawtype brightness controlPerttu Ahola
2012-09-01Fix the bouncy node related stuff a bitPerttu Ahola
2012-09-01Add bouncy node groupPerttu Ahola
2012-09-01Add disable_jump and fall_damage_add_percent node groupsPerttu Ahola
2012-08-12fix node timers so on_timer gets the correct positiondarkrose
2012-07-27ABM and liquid overload skipPerttu Ahola
2012-07-27Fix server build (a missing header)Perttu Ahola
2012-07-27Experimental-ish rollback functionalityPerttu Ahola
2012-07-23Implement node timersdarkrose
2012-06-05Switch the license to be LGPLv2/later, with small parts still remaining as ↵Perttu Ahola
GPLv2/later, by agreement of major contributors
2012-06-03WIP node metadata, node timersKahrl
2012-04-15Add a hack to get rid of the rare "ERROR: StaticObjectList::insert(): id ↵Perttu Ahola
already exists" failure
2012-04-09Fix ABM handling on block activationPerttu Ahola
2012-03-31Add 'fly' and 'fast' privileges and the underlying privileges-to-client systemPerttu Ahola
2012-03-31Allow group:groupname in ABM definition and implement ↵Perttu Ahola
minetest.hash_node_position()
2012-03-29Raise the player fall damage threshold to a much more fun levelPerttu Ahola
2012-03-29added PlayerSAO and RemotePlayer, removed ServerRemotePlayerKahrl
2012-03-18Dynamic sky, fog and cloud colors; sun and moonPerttu Ahola
2012-03-16Move ClientMap to clientmap.{h,cpp}Perttu Ahola
2012-03-15MapBlockMesh, mesh animation system, urgent mesh updates, athmospheric ↵Kahrl
light, removed footprints
2012-03-11Clean up log messages everywherePerttu Ahola
2012-03-10Immediate smoke puff when a normal entity is punched to deathPerttu Ahola
2012-02-05Players stay in environment even when dead, damage flash and fall damage fixesKahrl
Don't set m_removed on dead players (dead players are indicated by hp == 0). Local damage flash is shown whatever the cause was (even from Lua set_hp). PlayerCAO damage flash matches duration of local damage flash. Fall damage is dealt much more consistently (this is done by disallowing jumping when speed.Y is very negative, up to now jumping could sometimes negate fall damage)
2012-01-22Node placement / mineral / serialization / iron freq / node_dig callbackKahrl
- 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-03Limit range of ABM timer initial value randomizationPerttu Ahola
2012-01-02Initialize ABM timer to random value to spread processingPerttu Ahola
2012-01-02Fix ABM trigger chance being often way too highPerttu Ahola
2011-12-28Add EnvRef:get_objects_inside_radius(pos, radius)Perttu Ahola
2011-12-03Add ABM required neighbor checkPerttu Ahola
2011-12-02Fix player double damagePerttu Ahola
2011-12-02Move ServerRemotePlayer to a separate filePerttu Ahola
2011-12-02Make players be again visible from a long distancePerttu Ahola
2011-12-01Players are more like objects + related stuffPerttu Ahola
2011-12-01Player-is-SAO WIPPerttu Ahola
2011-12-01Add ServerActiveObject::removingFromEnvironment()Perttu Ahola
2011-11-30Fix player getting reset to 0,0 at connect if being far from 0,0Perttu Ahola
2011-11-29Fix active_object_count and active_object_count_wider not getting updated ↵Perttu Ahola
between ABM calls causing huge amounts of DMs and rats and stuff
2011-11-29Silly MSVC doesn't know how to handle type conversions for parameters of ↵Perttu Ahola
pow(). Help it.
2011-11-29Comment out debug output in ServerEnvironment::activateBlockPerttu Ahola