wesnoth/data/ai/lua
mattsc 972ecc2f56 AI helper: improve efficiency of get_unit functions
The old method is very slightly faster in some circumstances (e.g. for
simple filters and when all units have moves/attacks/etc. left), but we
are talking fractions of micro seconds. By contrast, depending on the
filter used, the new method can save large amounts of evaluation time
once some units have move or attacked.
2018-06-07 06:44:55 -07:00
..
ai_helper.lua AI helper: improve efficiency of get_unit functions 2018-06-07 06:44:55 -07:00
battle_calcs.lua Lua code: replace deprecated helper.child_range() calls 2018-05-13 20:52:08 -07:00
ca_high_xp_attack.lua Replace helper.distance_between -> wesnoth.map.distance_between (fixes #1686) 2017-05-11 04:14:03 -04:00
cache.lua Addressed a large chunk of the whitespace issues from #2613 2018-03-09 11:37:00 +11:00
debug.lua Addressed a large chunk of the whitespace issues from #2613 2018-03-09 11:37:00 +11:00
dummy_engine_lua.lua Improve backwards compatibility for Lua AI 2016-03-22 07:22:22 -07:00
extCAexample.lua Fix external Lua CA example for new syntax 2016-03-24 17:49:02 -04:00
generic_recruit_engine.lua Experimental AI recruiting: use math.huge instead of 9e99 2018-05-20 14:55:17 -07:00
generic_rush_engine.lua Do not load helper.lua where it is not used any more 2018-05-13 20:53:01 -07:00
move_to_any_target.lua Fix crash when unable to find closest enemy. 2017-10-02 14:43:16 -07:00
patrol.lua Fix deprecation spam 2018-03-04 21:21:33 -05:00
retreat.lua Lua code: replace deprecated helper.child_range() calls 2018-05-13 20:52:08 -07:00
stdlib.lua Addressed more whitespace issues from #2613 2018-03-12 03:48:59 +11:00