6 Commits

Author SHA1 Message Date
Dmitry Kovalenko
175d0a84f5 LuaAI: rewired caching functions to ai.get_*() instead of ai.get_cached_*() 2012-04-11 17:05:09 +00:00
Dmitry Kovalenko
9ddd3d4408 [[lua AI fixes]]
(1) First draft of the caching system for LuaAI. (2) Added validation
variables and setters/getters in the ai contexts, to allow LuaAI cache
check the movemaps for validity
2012-04-08 00:00:14 +00:00
Nils Kneuper
0723abe7e3 add some (hackish!) attempt to make the po update routines scan .lua files...
...for strings, too

this is done by a) scanning for all .lua files additionally to all
.cfg files in FINDCFG and b) by adding the equivalent of a "commented
out" #textdomain DOMAIN declaration

next step: testing if it really does work as expected this should also
fix bug #15629 since the objectives are now *only* declared via some
lua magic
2010-03-15 20:22:28 +00:00
Guillaume Melquiond
0684992511 Removed never used argument. 2010-02-27 09:18:12 +00:00
Iurii Chernyi
3cbbeeb6e1 continue work related to patch #1432.
Fix issues identified on irc by silene. Fixed 1,2,4,5,6 (not entirely
sure about 1)
2010-02-21 23:11:56 +00:00
Iurii Chernyi
f9b0fdb1f5 Lua AI: redesign, simplified usage, added lua_ai test scenario 2010-02-21 12:24:31 +00:00