t/html; charset=UTF-8
Last-Modified: Tue, 24 Nov 2026 22:25:54 GMT
Expires: Fri, 21 Nov 2036 22:25:54 GMT
client « src - minetest.git - modified minetest for gpcfs purposes
| Mode | Name | Size | |
| -rw-r--r-- | CMakeLists.txt | 2526 | logplain |
| -rw-r--r-- | activeobjectmgr.cpp | 2910 | logplain |
| -rw-r--r-- | activeobjectmgr.h | 1332 | logplain |
| -rw-r--r-- | camera.cpp | 23686 | logplain |
| -rw-r--r-- | camera.h | 6805 | logplain |
| -rw-r--r-- | client.cpp | 52848 | logplain |
| -rw-r--r-- | client.h | 18880 | logplain |
| -rw-r--r-- | clientenvironment.cpp | 13454 | logplain |
| -rw-r--r-- | clientenvironment.h | 4183 | logplain |
| -rw-r--r-- | clientevent.h | 2829 | logplain |
| -rw-r--r-- | clientlauncher.cpp | 18670 | -rw-r--r-- | clientmedia.cpp | 22833 | logplain |
| -rw-r--r-- | clientmedia.h | 7388 | logplain |
| -rw-r--r-- | clientobject.cpp | 1694 | logplain |
| -rw-r--r-- | clientobject.h | 3559 | logplain |
| -rw-r--r-- | clientsimpleobject.h | 1052 | logplain |
| -rw-r--r-- |
static int l_get_metadata(lua_State *L);
// DEPRECATED
// set_metadata(self, string)
static int l_set_metadata(lua_State *L);
// get_description(self)
static int l_get_description(lua_State *L);
// clear(self) -> true
static int l_clear(lua_State *L);
// replace(self, itemstack or itemstring or table or nil) -> true
static int l_replace(lua_State *L);
// to_string(self) -> string
static int l_to_string(lua_State *L);
// to_table(self) -> table or nil
static int l_to_table(lua_State *L);
// get_stack_max(self) -> number
static int l_get_stack_max(lua_State *L);
// get_free_space(self) -> number
static int l_get_free_space(lua_State *L);
// is_known(self) -> true/false
// Checks if the item is defined.
static int l_is_known(lua_State *L);
// get_definition(self) -> table
// Returns the item definition table from core.registered_items,
// or a fallback one (name="unknown")
static int l_get_definition(lua_State *L);
// get_tool_capabilities(self) -> table
// Returns the effective tool digging properties.
// Returns those of the hand ("") if this item has none associated.
static int l_get_tool_capabilities(lua_State *L);
// add_wear(self, amount) -> true/false
// The range for "amount" is [0,65535]. Wear is only added if the item
// is a tool. Adding wear might destroy the item.
// Returns true if the item is (or was) a tool.
static int l_add_wear(lua_State *L);
// add_item(self, itemstack or itemstring or table or nil) -> itemstack
// Returns leftover item stack
static int l_add_item(lua_State *L);
// item_fits(self, itemstack or itemstring or table or nil) -> true/false, itemstack
// First return value is true iff the new item fits fully into the stack
// Second return value is the would-be-left-over item stack
static int l_item_fits(lua_State *L);
// take_item(self, takecount=1) -> itemstack
static int l_take_item(lua_State *L);
// peek_item(self, peekcount=1) -> itemstack
static int l_peek_item(lua_State *L);
public:
LuaItemStack(const ItemStack &item);
~LuaItemStack() = default;
const ItemStack& getItem() const;
ItemStack& getItem();
// LuaItemStack(itemstack or itemstring or table or nil)
// Creates an LuaItemStack and leaves it on top of stack
static int create_object(lua_State *L);
// Not callable from Lua
static int create(lua_State *L, const ItemStack &item);
static LuaItemStack* checkobject(lua_State *L, int narg);
static void Register(lua_State *L);
};
class ModApiItemMod : public ModApiBase {
private:
static int l_register_item_raw(lua_State *L);
static int l_unregister_item_raw(lua_State *L);
static int l_register_alias_raw(lua_State *L);
static int l_get_content_id(lua_State *L);
static int l_get_name_from_content_id(lua_State *L);
public:
static void Initialize(lua_State *L, int top);
};
|
s='ls-mode'>-rw-r--r--guiscalingfilter.h | 2403 | logplain |
| -rw-r--r-- | hud.cpp | 40324 | logplain |
| -rw-r--r-- | hud.h | 4638 | logplain |
| -rw-r--r-- | imagefilters.cpp | 7626 | logplain |
| -rw-r--r-- | imagefilters.h | 1948 | logplain |
| -rw-r--r-- | inputhandler.cpp | 8826 | logplain |
| -rw-r--r-- | inputhandler.h | 9790 | logplain |
| -rw-r--r-- | joystick_controller.cpp | 9734 | logplain |
| -rw-r--r-- | joystick_controller.h | 3782 | logplain |
| -rw-r--r-- | keycode.cpp | 10185 | logplain |
| -rw-r--r-- | keycode.h | 1776 | logplain |
| -rw-r--r-- | keys.h | 1941 | logplain |
| -rw-r--r-- | localplayer.cpp | 34250 | logplain |
| -rw-r--r-- | localplayer.h | 6517 | logplain |
| -rw-r--r-- | mapblock_mesh.cpp | 43043 | logplain |
| -rw-r--r-- | mapblock_mesh.h | 8975 | logplain |
| -rw-r--r-- | mesh.cpp | 15990 | logplain |
| -rw-r--r-- | mesh.h | 4022 | logplain |
| -rw-r--r-- | mesh_generator_thread.cpp | 8113 | logplain |
| -rw-r--r-- | mesh_generator_thread.h | 3355 | logplain |
| d--------- | meshgen | 80 | logplain |
| -rw-r--r-- | minimap.cpp | 21225 | logplain |
| -rw-r--r-- | minimap.h | 4620 | logplain |
| -rw-r--r-- | particles.cpp | 15966 | logplain |
| -rw-r--r-- | particles.h | 4695 | logplain |
| d--------- | render | 612 | logplain |
| -rw-r--r-- | renderingengine.cpp | 19099 | logplain |
| -rw-r--r-- | renderingengine.h | 3636 | logplain |
| -rw-r--r-- | shader.cpp | 25186 | logplain |
| -rw-r--r-- | shader.h | 4401 | logplain |
| d--------- | shadows | 394 | logplain |
| -rw-r--r-- | sky.cpp | 32324 | logplain |
| -rw-r--r-- | sky.h | 7886 | logplain |
| -rw-r--r-- | sound.cpp | 880 | logplain |
| -rw-r--r-- | sound.h | 3597 | logplain |
| -rw-r--r-- | sound_openal.cpp | 18555 | logplain |
| -rw-r--r-- | sound_openal.h | 1114 | logplain |
| -rw-r--r-- | tile.cpp | 66649 | logplain |
| -rw-r--r-- | tile.h | 9651 | logplain |
| -rw-r--r-- | wieldmesh.cpp | 24405 | logplain |
| -rw-r--r-- | wieldmesh.h | 4198 | logplain |