aboutsummaryrefslogtreecommitdiff
path: root/src/gamedef.h
AgeCommit message (Collapse)Author
2022-11-28Add `minetest.get_game_info` and allow reading `game.conf` (#12989)Jude Melton-Houghton
Co-authored-by: sfan5 <sfan5@live.de>
2022-11-24Rename "mod metadata" to "mod storage" everywhereJude Melton-Houghton
2022-09-26Avoid duplication of mod metadata in memory (#12562)Jude Melton-Houghton
Co-authored-by: sfan5 <sfan5@live.de>
2022-05-02Refactor some Lua API functions in preparation for async envsfan5
2022-01-07Use a database for mod storage (#11763)Jude Melton-Houghton
2018-03-30Client eventmanager refactor (#7179)Loïc Blot
* Drop EventManager from GameDef & do some client cleanups * EventManager is only used by Client. Don't expose it on Server & GameDef for nothing * Drop Client::event() in favor of direct calls to getEventManager * Cleanup some event put from new + put to put(new) * MtEvent: add Type(u8) enum * This will enhance event performance & ensure stricter type * Drop MtEvent::checkIs (unused) * clang-tidy reported fixes * Code style * Move event_manager.h to the client directory as it's only used by client Add EventManager unittests + switch to unordered_map as order is not important here Drop a unused function
2018-03-24Cleanup sound manager class (#7158)Loïc Blot
* Cleanup sound manager client * Use some const refs * Use auto on iterators * Drop unused parameters * Move sound_openal.* to client folder * Move sound.cpp + OnDemandSoundFetcher to client/ folder + reorganize includes properly
2018-02-10Node definition manager refactor (#7016)Dániel Juhász
* Rename IWritableNodeDefManager to NodeDefManager * Make INodeDefManager functions const * Use "const *NodeDefManager" instead of "*INodeDefManager" * Remove unused INodeDefManager class * Merge NodeDefManager and CNodeDefManager * Document NodeDefManager
2017-09-26Implement mod communication channels (#6351)Loïc Blot
Implement network communication for channels * Implement ModChannel manager server side to route incoming messages from clients to other clients * Add signal handler switch on client & ModChannelMgr on client to handle channels * Add Lua API bindings + client packet sending + unittests * Implement server message sending * Add callback from received message handler to Lua API using registration method
2017-08-17C++ modernize: Pragma once (#6264)Loïc Blot
* Migrate cpp headers to pragma once
2017-03-16Add ModStorageAPI to client side modding (#5396)Loïc Blot
mod storage is located into user_path / client / mod_storage
2017-03-13Add `get_wielded_item`red-001
2017-03-13[CSM] Client side moddingLoic Blot
* rename GameScripting to ServerScripting * Make getBuiltinLuaPath static serverside * Add on_shutdown callback * Add on_receiving_chat_message & on_sending_chat_message callbacks * ScriptApiBase: use IGameDef instead of Server This permits to share common attribute between client & server * Enable mod security in client side modding without conditions
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-02-18Move object nametags to cameraRealBadAngel
2015-04-16Biomes: Remove referenced biomes from Decorations on clearkwolekr
2014-11-19Clean up rollbackShadowNinja
2014-10-21Recalculate normals for cached meshes.RealBadAngel
Check if mesh is here before adding to meshcollector. Fix deleting the meshes.
2014-01-06Create new instance of mesh every time it's required (Solves #703)Perttu Ahola
2013-02-24Update Copyright YearsSfan5
2013-02-24Change Minetest-c55 to MinetestPilzAdam
2012-12-02ShaderSource and silly example shadersKahrl
2012-07-27Experimental-ish rollback functionalityPerttu Ahola
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-03-31Add 'fly' and 'fast' privileges and the underlying privileges-to-client systemPerttu Ahola
2012-03-24Add event manager and use it to trigger soundsPerttu Ahola
2012-03-24celeron55's sound system initial frameworkPerttu Ahola
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-12The huge item definition and item namespace unification patch (itemdef), see ↵Kahrl
http://c55.me/minetest/wiki/doku.php?id=changes:itemdef
2011-11-29CraftItem rework and Lua interfaceKahrl
2011-11-29Crafting definition in scriptsPerttu Ahola
2011-11-29Node definition namesPerttu Ahola
2011-11-29GameDef compilesPerttu Ahola
2011-11-29Create framework for getting rid of global definitions of ↵Perttu Ahola
node/tool/item/whatever types