aboutsummaryrefslogtreecommitdiff
path: root/src/itemdef.cpp
Commit message (Collapse)AuthorAge
* Update server min protocol version to v24 (#5411)Loïc Blot2017-03-19
| | | | | | | | | | * Update server min protocol version to v24 It's based on @sfan5 stats. See https://kitsunemimi.pw/tmp/serverlist_stats_2017-03-17.txt v24 was bumped 25/08/14 and 0.4.11 was released 25/12/14 * Drop protocol v23 and lesser code
* Environment & IGameDef code refactoring (#4985)Ner'zhul2017-01-09
| | | | | | | | | | | | | | | | | | | | | * 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
* Replace various std::map with UNORDERED_MAP + various cleanupsLoic Blot2016-10-05
| | | | | | | | | | | | This is part 2 for 5f084cd98d7b3326b51320455364337539710efd Other improvements: * Use the defined ItemGroupList when used * make Client::checkPrivilege const * inline some trivial functions * Add ActiveObjectMap typedef * Add SettingsEntries typedef
* Add minetest.unregister_item and minetest.register_alias_forcepaly22016-09-08
|
* Use meshes to display inventory itemsRealBadAngel2016-02-07
|
* Revert "Refactoring and code style fixes in preparation of adding mesh typed ↵Sapier2015-12-29
| | | | | | | | items" This reverts commit f14e7bac54af65e3d3d99f89f23f114b17058e49. Reverted due to missinterpretation of agreement, obvious dislike and me not interested in doing fights for feature I don't actually need
* Revert "Add support for using arbitrary meshes as items"Sapier2015-12-29
| | | | | | This reverts commit 91bafceee6606fab79db1bde4cba01b84fed65c7. Reverted due to missinterpretation of agreement, obvious dislike and me not interested in doing fights for feature I don't actually need
* Add support for using arbitrary meshes as itemsSapier2015-12-29
|
* Refactoring and code style fixes in preparation of adding mesh typed itemsSapier2015-12-29
|
* Add support for audio feedback if placing node failedBlockMen2015-11-07
|
* Refactor thread utility interfacekwolekr2015-10-16
| | | | | - Add "thr_" prefix to thread utility functions - Compare threadid_ts in a portable manner, where possible
* Change i++ to ++iDavid Jones2015-08-25
|
* Replace instances of std::map<std::string, std::string> with StringMapkwolekr2015-05-19
| | | | | | Also, clean up surrounding code style Replace by-value parameter passing with const refs when possible Fix post-increment of iterators
* Move globals from main.cpp to more sane locationsCraig Robbins2015-04-01
| | | | | | | | | | | | Move debug streams to log.cpp|h Move GUI-related globals to clientlauncher Move g_settings and g_settings_path to settings.cpp|h Move g_menuclouds to clouds.cpp|h Move g_profiler to profiler.cpp|h
* For usages of assert() that are meant to persist in Release builds (when ↵Craig Robbins2015-03-07
| | | | NDEBUG is defined), replace those usages with persistent alternatives
* Replace std::list to std::vector into tile.cpp (m_texture_trash) and move ↵Loic Blot2015-03-05
| | | | tile.hpp to src/client/
* Use std::vector instead of std::list in StaticObjectList and ↵Loic Blot2015-03-04
| | | | MutexedMap::getValues()
* Remove workaround in itemdef.cpp to enable/disable/enable "enable_shaders" ↵Craig Robbins2015-02-11
| | | | | | | setting * Increase performance (client) * Avoid changing a global value to solve a local problem
* Revert "Remove workaround in itemdef.cpp to enable/disable/enable ↵Craig Robbins2015-02-11
| | | | | | "enable_shaders" setting" This reverts commit d25ff8fd2592f457b91e8a61240694af3902d23f.
* Remove workaround in itemdef.cpp to enable/disable/enable "enable_shaders" ↵Craig Robbins2015-02-11
| | | | | | | setting * Increase performance (client) * Avoid changing a global value to solve a local problem
* Implement WieldMeshSceneNode which improves wield mesh renderingKahrl2014-11-08
| | | | | | | | | | | | | - Don't create and cache an extruded mesh for every (non-node) item. Instead use a single one per image resolution. - For cubic nodes reuse a single wield mesh too - Improve lighting of the wielded item - Increase far value of wield mesh scene camera, fixes #1770 - Also includes some minor refactorings of Camera and GenericCAO.
* Add option to enable mesh caching, add wallmounted for meshes.RealBadAngel2014-10-29
|
* Add support for Android 2.3+sapier2014-06-29
| | | | | | | | | | | | | There have been plenty of ppl involved in creating this version. I don't wanna mention names as I'm sure I'd forget someone so I just tell where help has been done: - The partial android versions done by various ppl - Testing on different android devices - reviewing code (especially the in core changes) - testing controls - reviewing texts A big thank you to everyone helping this to be completed!
* Fix rendering glitches when far from the center of the mapNovatux2014-03-04
|
* Make MutexQueue use jsemaphore for signalingsapier2014-01-10
|
* Shaders rework.RealBadAngel2013-12-03
|
* Fix Result of processed Request was written to invalid (non existent) ↵sapier2013-11-17
| | | | ResultQueue if requesting thread timed out before
* Fix multicaller support in RequestQueuesapier2013-11-17
|
* Bump protocol versionPilzAdam2013-07-20
|
* Make range of tools configureablePilzAdam2013-07-20
|
* Change ContentFeatures array to a vectorKahrl2013-07-14
|
* Fix many formspec menu bugssapier2013-07-07
|
* Move generateTextureFromMesh to TextureSource to fix a texture leakKahrl2013-07-03
| | | | | | | | | | | | | TextureSource has a list of textures to delete (m_texture_trash) so this provides a proper, non-hacky way to delete RTT textures. Also, the prior, hacky way of deleting them seems to be broken (see pull request #803). To avoid header file clutter by repeating the same long list of arguments over and over again, store the arguments of generateTextureFromMesh in a struct called TextureFromMeshParams. Also fix issue #782 (Only use bilinear (and others) on item textures when settings allow it).
* Remove texture atlas / AtlasPointer, rename getTextureRaw to getTextureKahrl2013-07-02
|
* Really fix itemdef memory leaksapier2013-05-09
|
* Fix itemdef drop on NULL texturekwolekr2013-04-28
|
* fix extruded items texture leaksapier2013-04-09
|
* fix memory leak in itemdefsapier2013-04-07
| | | | cleanup useless code
* Add different place sound for nodesPilzAdam2013-03-29
|
* New damage system, add damageGroups to ToolCapabilities, bump protocol versionPilzAdam2013-03-29
|
* Migrate to STL containers/algorithms.Ilya Zhuravlev2013-03-11
|
* Fix nodeplacement predictionPilzAdam2013-02-27
|
* Update Copyright YearsSfan52013-02-24
|
* Change Minetest-c55 to MinetestPilzAdam2013-02-24
|
* Disable placement prediction for nodes that use on_rightclickJeija2013-02-19
|
* Handle day-night transition in shader and make light sources brighter when ↵Perttu Ahola2012-12-02
| | | | shaders are used
* On-demand item meshes and texturesPerttu Ahola2012-12-02
|
* Properly and efficiently use split utility headersPerttu Ahola2012-06-17
|
* Node texture animationPerttu Ahola2012-06-16
|
* Node placement client-side predictionPerttu Ahola2012-06-10
|