aboutsummaryrefslogtreecommitdiff
path: root/src/content_cao.cpp
Commit message (Expand)AuthorAge
* Change i++ to ++iDavid Jones2015-08-25
* Fix issues with light of attached CAOsRealBadAngel2015-07-23
* Use UTF-8 instead of narrowest312015-07-08
* Fix some issues with animations, and allow non-looped animations to be definedMirceaKitsune2015-06-22
* Small CAO improvementsest312015-06-20
* Generic CAO cleanups and renames for clarificationest312015-06-20
* Make attached objects visible in 3rd person viewest312015-06-20
* Don't ignore nametag attribute change message for newer versionsest312015-05-21
* Enforce hiding nametagest312015-05-18
* Make nametags white againest312015-05-18
* Add -Wsign-compare for Clang builds and fix some signed/unsigned compiler war...kwolekr2015-05-16
* Generalize core.get/set_nametag_color into core.get/set_nametag_attributesTeTpaAka2015-05-15
* Add get and set functions for the nametag colorTeTpaAka2015-05-15
* Move globals from main.cpp to more sane locationsCraig Robbins2015-04-01
* Move texture_min_size even further down the pipe. Now, textures are JIT-upsca...Aaron Suen2015-03-31
* For usages of assert() that are meant to persist in Release builds (when NDEB...Craig Robbins2015-03-07
* Replace std::list to std::vector into tile.cpp (m_texture_trash) and move til...Loic Blot2015-03-05
* Use skin font for usernames (fixes #2363)BlockMen2015-02-21
* SAO work: ActiveObject types & SAO cleanup * Replace u8 types with ActiveObje...Loic Blot2015-02-17
* Fix entitiy WieldMeshSceneNode not freed due to additional grabgregorycu2015-01-17
* Use std::string::empty() instead of size() where applicableAnton2014-12-12
* Implement WieldMeshSceneNode which improves wield mesh renderingKahrl2014-11-08
* Split settings into seperate source and header filesShadowNinja2014-09-21
* Fix client crash on deletion of an object the clients localplayer is attached tosapier2014-07-06
* Fix memory leaks in GenericCAO, ShaderSource and Player classessapier2014-07-02
* Make sure none of the irrlicht member objects of GenericCAO are deleted prior...sapier2014-06-29
* Fix GenericCAO fails to grabing member animated mesh node to prevent it do be...sapier2014-06-27
* Speedup attachement handling by replacing vector search by direct array acces...sapier2014-06-23
* Add support for interlaced polarized 3d screenssapier2014-05-18
* Split declaration of GenericCAO from implementationsapier2014-05-17
* Fix player:set_animation() in third person viewBlockMen2014-05-03
* Fix all warnings reported by clangSfan52014-04-15
* Use integers instead of float valuesBlockMen2014-04-12
* Add player:set_eye_offset() by @MirceaKitsune and clean upBlockMen2014-04-12
* Add third person viewBlockMen2014-04-12
* Fix rendering glitches when far from the center of the mapNovatux2014-03-04
* Create new instance of mesh every time it's required (Solves #703)Perttu Ahola2014-01-06
* Fix a bug in GenericCAO GENERIC_CMD_UPDATE_POSITION parsing.Ilya Zhuravlev2013-12-13
* Add sneak and sneak_glitch to set_physics_override()PilzAdam2013-12-03
* Add offset to automatic_face_movement_dirPilzAdam2013-09-10
* Send player damage to all clients and apply [brightenPilzAdam2013-08-17
* Add support for entities to automatic face movement directionsapier2013-08-13
* Add support for setting stepheight for entitiessapier2013-07-30
* Add an option to disable object <-> object collision for Lua entitiesPilzAdam2013-07-20
* Fix multiple texture support for animated meshnodesstujones112013-07-10
* Remove texture atlas / AtlasPointer, rename getTextureRaw to getTextureKahrl2013-07-02
* fix objects colliding with its own collision boxessapier2013-04-09
* unkn own block -> unkn own nodekhonkhortisan2013-04-05
* Fix nick completionPilzAdam2013-04-05
* Allow modifying movement speed, jump height and gravity per-player via the Lu...MirceaKitsune2013-04-05
span class="hl opt">,pname in ipairs(env.subscribers) do if pname==name then table.remove(env.subscribers, index) return true, "Successfully unsubscribed!" end end return false, "Not subscribed to environment '"..param.."'." end, }) core.register_chatcommand("env_subscriptions", { params = "[environment name]", description = "List Advtrains LuaATC environments you are subscribed to (no parameters) or subscribers of an environment (giving an env name).", privs = {atlatc=true}, func = function(name, param) if not param or param=="" then local none=true for envname, env in pairs(atlatc.envs) do for _,pname in ipairs(env.subscribers) do if pname==name then none=false minetest.chat_send_player(name, envname) end end end if none then return false, "Not subscribed to any!" end return true end local env=atlatc.envs[param] if not env then return false,"Invalid environment name!" end local none=true for index,pname in ipairs(env.subscribers) do none=false minetest.chat_send_player(name, pname) end if none then return false, "No subscribers!" end return true end, }) minetest.register_on_player_receive_fields(function(player, formname, fields) local pname=player:get_player_name() if not minetest.check_player_privs(pname, {atlatc=true}) then return end local envname=string.match(formname, "^atlatc_delconfirm_(.+)$") if envname and fields.sure=="YES" then atlatc.envs[envname]=nil minetest.chat_send_player(pname, "Environment deleted!") return end envname=string.match(formname, "^atlatc_envsetup_(.+)$") if not envname then return end local env=atlatc.envs[envname] if not env then return end if fields.del then minetest.show_formspec(pname, "atlatc_delconfirm_"..envname, "field[sure;"..minetest.formspec_escape("SURE TO DELETE ENVIRONMENT "..envname.."? Type YES (all uppercase) to continue or just quit form to cancel.")..";]") return end env.init_err=nil if fields.code then env.init_code=fields.code end if fields.run then env:run_initcode() minetest.show_formspec(pname, formname, get_init_form(env, pname)) end end)