aboutsummaryrefslogtreecommitdiff
path: root/src/clientobject.cpp
AgeCommit message (Collapse)Author
2018-11-28Move client-specific files to 'src/client' (#7902)Quentin Bazin
Update Android.mk Remove 'src/client' from include_directories
2017-08-17clientobject, clouds, collision, clientsimpleobject: code modernization (#6260)Loïc Blot
* clientobject, clouds, collision, clientsimpleobject: code modernization * use range-based for loops * simplify some tests * various code style fixes * use emplace_back instead of push_back when necessary * use auto on some iterators * use default operator when needed * unroll v3s16 creation on collisionMoveSimple
2017-06-04C++11 patchset 2: remove util/cpp11.h and util/cpp11_container.h (#5821)Loïc Blot
2017-01-09Environment & IGameDef code refactoring (#4985)Ner'zhul
* Environment code refactoring * Cleanup includes & class declarations in client & server environment to improve build speed * ServerEnvironment::m_gamedef is now a pointer to Server instead of IGameDef, permitting to cleanup many casts. * Cleanup IGameDef * Move ITextureSource* IGameDef::getTextureSource() to Client only. * Also move ITextureSource *IGameDef::tsrc() helper * drop getShaderSource, getSceneManager, getSoundManager & getCamera abstract call * drop unused emerge() call * cleanup server unused functions (mentionned before) * Drop one unused parameter from ContentFeatures::updateTextures * move checkLocalPrivilege to Client * Remove some unnecessary casts * create_formspec_menu: remove IWritableTextureSource pointer, as client already knows it * Fix some comments * Change required IGameDef to Server/Client pointers * Previous change that game.cpp sometimes calls functions with Client + InventoryManager + IGameDef in same functions but it's the same objects * Remove duplicate Client pointer in GUIFormSpecMenu::GUIFormSpecMenu * drop ClientMap::sectorWasDrawn which is unused
2016-10-06Use more unordered_maps to improve performance in c++11 buildsLoic Blot
2015-10-14Use warningstream for log messages with WARNINGShadowNinja
Remove DTIME macro and its uses, too
2015-02-17SAO: re-add old ActiveObjectTypes for a future migration layerLoic Blot
2013-03-11Migrate to STL containers/algorithms.Ilya Zhuravlev
2013-02-24Update Copyright YearsSfan5
2013-02-24Change Minetest-c55 to MinetestPilzAdam
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-06-05Switch the license to be LGPLv2/later, with small parts still remaining as ↵Perttu Ahola
GPLv2/later, by agreement of major contributors
2011-12-01Player-is-SAO WIPPerttu Ahola
2011-11-29Create framework for getting rid of global definitions of ↵Perttu Ahola
node/tool/item/whatever types
2011-10-15mobv2Perttu Ahola
2011-07-16Attempt to fix a problem with the factory mappings of objects residing in ↵Perttu Ahola
different source files than the prototype objects that fill them in
2011-06-26reorganized a lot of stuff and modified mapgen and objects slightly while ↵Perttu Ahola
doing it
2011-05-21All textures are are now searched first from the directory specified by the ↵Perttu Ahola
texture_path setting.
2011-04-25Set oerkki1 to not be drawn in completely darkPerttu Ahola
2011-04-24updated menu a bit, and some other small fixesPerttu Ahola
2011-04-21Some work-in-progress in hp and mobs and a frightening amount of random fixes.Perttu Ahola
2011-04-11fixed warnings reported by cppcheckPerttu Ahola
2011-04-10implemented rats in new system to verify that it worksPerttu Ahola
2011-04-10items now fall by gravity... also some other random updatingPerttu Ahola
2011-04-10new object systemPerttu Ahola
2011-04-08Some progress on transitioning from MapBlockObject to ActiveObject.Perttu Ahola
2011-04-03Removed lua stuffPerttu Ahola
2011-02-23updated scripting api a bitPerttu Ahola
--HG-- rename : data/luaobjects/test/client.lua => data/scripts/objects/test/client.lua rename : data/luaobjects/test/server.lua => data/scripts/objects/test/server.lua
2011-02-23mainly work on object scripting apiPerttu Ahola
2011-02-21some tidyingPerttu Ahola
2011-02-21preliminary lua scripting framework for objectsPerttu Ahola
2011-02-21Temporary commit; lots of test code and stuffPerttu Ahola