# HG changeset patch # User Wuzzy # Date 1519471036 0 # Node ID c307fe8fb9757296d24844902e4797eb227613ee # Parent 50cb37fde767e7248e2be52f1ee6441b9e1d1374 GearMessages: Improve format and fix typos diff -r 50cb37fde767 -r c307fe8fb975 GearMessages.wiki --- a/GearMessages.wiki Sat Feb 24 11:13:36 2018 +0000 +++ b/GearMessages.wiki Sat Feb 24 11:17:16 2018 +0000 @@ -23,6 +23,6 @@ || `gmDelete` || Delete gear || _Not used._ || || `gmAllStoppable` || Bitwise OR of `gmLeft`, `gmRight`, `gmUp`, `gmDown` `gmAttack` and `gmPrecise` ||_Not used._ || -gmAddToList and gmRemoveFromList are intended for use by the engine when changing order of gears in the list. It is not recommended that lua change these, and at present they are used together when changing a gear's Z. For example, if lua set gmRemoveFromList, it would cause a leak of the gear, since lua would no longer be able to restore it. Setting both together would have no effect since lua cannot at present change Z. +`gmAddToList` and `gmRemoveFromList` are intended for use by the engine when changing order of gears in the list. It is not recommended that Lua changes these, and at present they are used together when changing a gear's Z (drawing order). For example, if Lua sets `gmRemoveFromList`, it would cause a leak of the gear, since Lua would no longer be able to restore it. Setting both together would have no effect since Lua cannot at present change Z. See https://hg.hedgewars.org/hedgewars/file/default/hedgewars/uConsts.pas (search for "gear messages") for a current list.