summaryrefslogtreecommitdiff
path: root/src/client
Commit message (Expand)AuthorAge
* Remove an unused variable in Android BuildLoic Blot2017-04-17
* Android progressbar fix (#5601)Loïc Blot2017-04-16
* Hardware coloring for itemstacksDániel Juhász2017-04-08
* Fix signed/unsigned conversion warningrubenwardy2017-04-07
* Add Joystick type detection and Xbox controller supportrubenwardy2017-04-06
* LINT: Switch whitelist check from egrep to awkLoïc Blot2017-04-06
* Clang-format: trivial fix on some headers (#5495)Loïc Blot2017-04-01
* Windows: Set window icon (#5486)adrido2017-03-30
* Change command prefix to "." and add "help" command.red-0012017-03-26
* Tile.cpp: Fix MSVC build broken by 072bbbaSmallJoker2017-03-24
* Some performance optimizations (#5424)Loïc Blot2017-03-22
* Fix a small regression caused by e2ad76f.red-0012017-02-16
* No longer auto-generate a 'guest####' player name when name is emptyred-0012017-02-09
* Prevent SIGFPE on entity tile loading issue. (#5178)Auke Kok2017-02-05
* Add multiply texture modifiersapier2017-01-30
* Add hardware node coloring. Includes:Dániel Juhász2017-01-23
* Added "[sheet" to the texture special commands.Luke Puchner-Hardman2017-01-02
* Move TileAnimation code to seperate filesfan52017-01-02
* Irrlicht 1.9 supportsfan52016-12-26
* Add an [invert:<mode> texture modifierThomas--S2016-09-15
* Allow escaping of texture names when passed as an argument to a modifiersfan52016-09-14
* Also support X11 icon for minetest copies installed via make install (#4407)est312016-08-20
* Add an [opacity:<r> texture modifier. Makes the base image transparent accord...Thomas--S2016-08-12
* Add zoom, tweakable with zoom_fov, default key: Z (like optifine)Esteban I. Ruiz Moreno2016-08-10
* Finally set a window icon on X11est312016-07-05
* Remove top left minetest watermarkest312016-07-03
* Initial Gamepad supportest312016-06-03
* Input related generalisationsest312016-06-03
* Add colored text (not only colored chat).Ekdohibs2016-05-31
* Colored chat working as expected for both freetype and non-freetype builds. @...TriBlade92016-05-31
* Tell irrlicht if we handle a key or not.est312016-05-26
* Add [resize texture modifier Resizes the texture to the given dimensions.SmallJoker2016-05-09
* tile.cpp: Automatically upscale lower resolution textureSmallJoker2016-04-25
* Re-add and disable blit_with_interpolate_overlaykwolekr2016-04-07
* Fix compiler warnings from "Add an option to colorize to respect the destinat...Samuel Sieb2016-04-06
* Add an option to colorize to respect the destination alphaSamuel Sieb2016-04-03
* Clean up StrfndShadowNinja2016-03-19
* Fix two reconnect bugsest312016-03-15
* v2d & aabbox3d<f32> & sky cleanupsnerzhul2016-02-11
* Fix texture tear issueRealBadAngel2016-01-23
* New 3D Mode: PageflipDalai Felinto2016-01-09
* Print --videomodes response to standard output, tooKahrl2015-11-02
* Refactor thread utility interfacekwolekr2015-10-16
* Refactor loggingShadowNinja2015-10-14
* Change i++ to ++iDavid Jones2015-08-25
* Clean up threadingShadowNinja2015-08-23
* tileable flags are needed also without shaders because of filtersRealBadAngel2015-08-20
* Remove use of engine sent texture tiling flags - theyre no longer neededRealBadAngel2015-08-20
* Fix tiling issues for PLANTLIKE and FIRELIKE with FSAARealBadAngel2015-08-05
* src/client/tile.cpp: Fix reference countingBřetislav Štec2015-08-02
n class="hl kwd">chat_send_all("connect second object "..luaent.unique_id) advtrains.connect_wagons(luaent, advtrains.firstobject) minetest.chat_send_all("done") advtrains.firstobject=nil else advtrains.firstobject=luaent minetest.chat_send_all("connect first object "..luaent.unique_id) end end end end, --[[ ^ default: nil ^ Function must return either nil if no item shall be removed from inventory, or an itemstack to replace the original itemstack. e.g. itemstack:take_item(); return itemstack ^ Otherwise, the function is free to do what it wants. ^ The default functions handle regular use cases. ]] }) minetest.register_tool("advtrains:tttool", { description = "traintester tool", groups = {cracky=1}, -- key=name, value=rating; rating=1..3. inventory_image = "drwho_screwdriver.png", wield_image = "drwho_screwdriver.png", stack_max = 1, range = 7.0, on_place = function(itemstack, placer, pointed_thing) end, --[[ ^ Shall place item and return the leftover itemstack ^ default: minetest.item_place ]] on_use = function(itemstack, user, pointed_thing) if pointed_thing.type=="object" then local luaent=pointed_thing.ref:get_luaentity() if luaent and luaent.is_wagon then minetest.chat_send_all("wagon yaw is "..pointed_thing.ref:getyaw()) minetest.chat_send_all("trains last yaw is set to "..luaent:train().last_front_yaw) minetest.chat_send_all("end report") end else minetest.chat_send_all(dump(minetest.get_node(pointed_thing.under))) local c1, c2=advtrains.get_track_connections(minetest.get_node(pointed_thing.under).name, minetest.get_node(pointed_thing.under).param2) minetest.chat_send_all(c1.." <-> "..c2) end end, --[[ ^ default: nil ^ Function must return either nil if no item shall be removed from inventory, or an itemstack to replace the original itemstack. e.g. itemstack:take_item(); return itemstack ^ Otherwise, the function is free to do what it wants. ^ The default functions handle regular use cases. ]] } )