aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_client.cpp
AgeCommit message (Collapse)Author
2023-06-15Add mapseed to get_server_info tablecora
2022-05-17Merge branch 'master' of https://github.com/minetest/minetestElias Fleckenstein
2021-11-24minetest.dig_node: Remove nodeElias Fleckenstein
2021-05-11Include tile definitions in get_node_def; Client-side minetest.object_refs tableElias Fleckenstein
2021-02-18Port formspec API from waspsalivaElias Fleckenstein
This API is inofficial and undocumented; invalid usage causes the game to crash. Use at own risk!
2021-02-18Forcefully place items when minetest.place_node is usedElias Fleckenstein
2021-01-07Add minetest.interactElias Fleckenstein
2020-11-28Fixed crash when attempting to access nonexistant inventory from Lua APIElias Fleckenstein
2020-11-05add LUA_FCTcorarona
2020-11-05api-screenshot: change function name to make_screenshotcorarona
2020-11-04Merge branch 'master' into masterElias Fleckenstein
2020-11-04Revert "Make Lint Happy"Elias Fleckenstein
This reverts commit ad148587dcf5244c2d2011dba339786c765c54c4.
2020-11-04Merge branch 'master' into masterElias Fleckenstein
2020-11-04Make Lint HappyElias Fleckenstein
2020-10-27lua api: add core.take_screenshot()cora
2020-10-18Added the API additions from waspsalivaElias Fleckenstein
2020-10-05Added minetest.drop_selected_item(), Improved AutoEjectElias Fleckenstein
2020-10-04The Robot UpdateElias Fleckenstein
2020-08-22Added minetest.get_inventory(location)Elias Fleckenstein
2020-08-22Added Documentation for Additional APIElias Fleckenstein
2020-07-31Added more cheatsElias Fleckenstein
2020-07-18Update to minetest 5.4.0-devElias Fleckenstein
2020-06-23testElias Fleckenstein
2020-04-11Various features and fixessfan5
2020-04-11Implement minetest.sound_fade()sfan5
2019-12-24Use appropriate LC_ locale macro for Windows (#9230)Montandalar
* Wrap LC_ macro in ifdef Windows does not have LC_MESSAGES in locale.h, so use LC_ALL on that platform
2019-11-11[CSM] Fix and improve minetest.get_language()sfan5
Previously this method would accidentally reset the locale and break everything.
2019-11-11[CSM] Implement minetest.get_csm_restrictions()sfan5
fixes #8068
2019-11-11Refactor CSM restriction code a bitsfan5
This also fixes find_node_near restrictions being ineffective.
2019-11-09Introduce get_modpath() for CSMsfan5
2019-08-07Unify wield item handling (#8677)SmallJoker
This moves the wield item functions to Player and the tool utils for range calculation Also 'local_inventory' was removed due to redundancy in Client
2018-12-24CSM: add requested CSM_RF_READ_PLAYERINFO (#8007)Loïc Blot
* CSM: add requested CSM_RF_READ_PLAYERINFO This new CSM limit permit to limit PLAYERINFO read from server. It affects get_player_names call
2018-11-28Move client-specific files to 'src/client' (#7902)Quentin Bazin
Update Android.mk Remove 'src/client' from include_directories
2018-06-30Modernize lua read (part 2 & 3): C++ templating assurance (#7410)Loïc Blot
* Modernize lua read (part 2 & 3): C++ templating assurance Implement the boolean reader Implement the string reader Also remove unused & unimplemented script_error_handler Add a reader with default value
2018-06-26Rename CSM flavours to restrictionsSmallJoker
& Satisfy LINT
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
2018-01-23CSM: Remove screenshot APIred-001
Reverted from commit 19960e26c672c6337f8c6ffbe27f2c6bca49750c (* [CSM] add screenshot api lua)
2017-11-08Move files to subdirectories (#6599)Vitaliy
* Move files around
2017-10-29CSM: Add a way to get current locale from CSMlisacvuk
2017-08-28Clientevent refactor (#6320)Loïc Blot
* Refactor clientevent structure * Move structure outside of client header * Create client events on heap not stack, this remove the ClientEvent object copy * Use clientEventHandler to route events
2017-08-20Modernize source code: last part (#6285)Loïc Blot
* Modernize source code: last par * Use empty when needed * Use emplace_back instead of push_back when needed * For range-based loops * Initializers fixes * constructors, destructors default * c++ C stl includes
2017-08-19Code modernization: subfolders (#6283)Loïc Blot
* Code modernization: subfolders Modernize various code on subfolders client, network, script, threading, unittests, util * empty function * default constructor/destructor * for range-based loops * use emplace_back instead of push_back * C++ STL header style * Make connection.cpp readable in a pointed place + typo
2017-08-16Cleanup various headers to reduce compilation times (#6255)Loïc Blot
* Cleanup various headers to reduce compilation times
2017-07-18[CSM] Add flavour limits controlled by server (#5930)Loïc Blot
* [CSM] Add flavour limits controlled by server Server send flavour limits to client permitting to disable or limit some Lua calls * Add limits for reading nodedefs and itemdefs * flavour: Add lookup node limits * Merge get_node_or_nil into get_node. Sending fake node doesn't make sense in CSM, just return nil if node is not available for any reason * Add node range customization when noderange flavour is enabled (default 8 nodes) * Limit nodes range & disable chat message sending by default * Bump protocol version
2017-07-16Chat protocol rewrite (#5117)Loïc Blot
* New TOCLIENT_CHAT_MESSAGE packet * Rename old packet to TOCLIENT_CHAT_MESSAGE_OLD for compat * Handle TOCLIENT_CHAT_MESSAGE new structure client side * Client chat queue should use a specific object * SendChatMessage: use the right packet depending on protocol version (not complete yet) * Add chatmessage(type) objects and handle them client side (partially) * Use ChatMessage instead of std::wstring server side * Update with timestamp support
2017-07-15Revert "CSM: Revert "[CSM] Add send_chat_message and run_server_chatcommand""Loic Blot
This reverts commit bdac12761cd92960c3df83c932aa610f2322215f.
2017-07-15CSM: Revert "[CSM] Add send_chat_message and run_server_chatcommand"rubenwardy
Original PR: #5747. This reverts commit 39f4a2f607d44738d60db84eba4b30e3d7450204.
2017-06-30Create a filesystem abstraction layer for CSM and only allow accessing files ↵red-001
that are scanned into it. (#5965) * Load client-side mods into memory before executing them. This removes the remaining filesystem access that client-sided mods had and it will hopefully make then more secure. * Lua Virtual filesystem: don't load the files into memory just scan the filenames into memory. * Fix the issues with backtrace * fix most of the issues * fix code style. * add a comment
2017-06-19Client::makeScreenshot: remove device paramLoic Blot
We already have the device param as class member