437 Commits

Author SHA1 Message Date
Guillaume Melquiond
b9a10d95bc Added conversion to string for translatable strings. 2009-05-31 17:20:20 +00:00
Guillaume Melquiond
f5c8810455 Added a unit::set_name accessor for lightweight modification of unit names. 2009-05-30 08:56:47 +00:00
Guillaume Melquiond
0166b09df0 Added Lua accessors for the facing direction and the role of a unit. 2009-05-08 08:41:59 +00:00
Guillaume Melquiond
b2a84544dc Added Lua accessor for the entire WML table of a unit. 2009-05-08 08:41:30 +00:00
Patrick Parker
4da9564531 log_domain must be declared in each .cpp file 2009-05-02 02:21:56 +00:00
Mark de Wever
5b03edf54a Initialize all members. 2009-05-01 15:10:44 +00:00
Iurii Chernyi
30a7ba8d2c Log domains names change: lua -> scripting/lua, formula_ai...
...( used by src/formula_function.cpp )-> scripting/formula
2009-04-25 19:06:10 +00:00
Guillaume Melquiond
789736ac91 Removed specialized domains from log.hpp,
...so that adding a new domain no longer forces to recompile the whole
game.
2009-04-24 23:18:31 +00:00
Patrick Parker
c1a3bccab9 update the function signature to reflect changes in .hpp file 2009-04-24 01:40:15 +00:00
Guillaume Melquiond
33eeeec071 Added some Lua accessors to unit data. 2009-04-21 20:56:24 +00:00
Guillaume Melquiond
26db1ca432 Added some Lua accessors for unit data. 2009-04-20 20:19:23 +00:00
Guillaume Melquiond
e8e3959776 Fixed copy-paste error. 2009-04-20 19:38:05 +00:00
Guillaume Melquiond
f6403ad465 Added a few more Lua accessors for team data. 2009-04-19 19:20:56 +00:00
Guillaume Melquiond
098b3da848 Stored gold and income as integers. Clarified naming of team interface. 2009-04-19 18:54:11 +00:00
Guillaume Melquiond
da3246c8ed Simplified team interface a bit. 2009-04-19 17:11:35 +00:00
Guillaume Melquiond
4454f78d47 Fixed overwriting of WML children. 2009-04-18 18:38:29 +00:00
Guillaume Melquiond
c308d6a142 Fixed incorrect assumption on concat operator. 2009-04-18 18:38:24 +00:00
Guillaume Melquiond
4a037d6292 Added a Lua accessor for team objectives. 2009-04-18 18:38:09 +00:00
Guillaume Melquiond
05813642d6 Added some more Lua accessors to team data. 2009-04-18 14:40:15 +00:00
Guillaume Melquiond
07287cddda Added Lua wesnoth.get_side function for accessing team data. 2009-04-18 14:40:08 +00:00
Guillaume Melquiond
eee1904e32 Removed registry hacks now that event resources are visible. 2009-04-18 14:40:04 +00:00
Guillaume Melquiond
f4bee1bbab Removed the need for an event_handler when firing event actions. 2009-04-18 10:51:25 +00:00
Guillaume Melquiond
6a8296a177 Added wesnoth.register_wml_action for Lua scripts to register new WML tags. 2009-04-13 11:49:10 +00:00
Nils Kneuper
113414f451 add some svn ignore on files that are created by autotools 2009-04-10 17:51:00 +00:00
Guillaume Melquiond
60808a88ba Got rid of pointers to config objects. Removed code duplication along the way. 2009-04-04 17:51:20 +00:00
Patrick Parker
548f63d96f typo: 'err' logstream 2009-03-24 22:12:30 +00:00
Patrick Parker
84060fe154 make use of lua logger instead of std:cerr 2009-03-24 22:09:13 +00:00
Guillaume Melquiond
c95b23cd1f Added a "lua" log domain. 2009-03-24 20:01:07 +00:00
Patrick Parker
996c16d2e8 add a DISABLE_LUA compile option 2009-03-23 03:26:17 +00:00
Guillaume Melquiond
e24d85c5d9 Passed event arguments by complete table and added the "args" tag to it. 2009-03-22 19:00:11 +00:00
Guillaume Melquiond
abd79952fe Made the Lua kernel reentrant by storing the error handler in the registry. 2009-03-22 18:59:55 +00:00
Guillaume Melquiond
036c3f787f Added copyright. 2009-03-22 18:59:49 +00:00
Guillaume Melquiond
7d1e50a067 Fixed reporting on syntax error. 2009-03-22 18:59:44 +00:00
Guillaume Melquiond
e6434493a3 Removed arbitrary access to Lua files. 2009-03-22 18:59:38 +00:00
Guillaume Melquiond
13c26a3fb9 Added a boolean parameter to wesnoth.get_variable for faster queries. 2009-03-22 18:59:33 +00:00
Guillaume Melquiond
6d77de5bd3 Ensured that config objects created by Lua are handled...
...by the vconfig cache system, so that they are not deleted prematurely.
2009-03-22 18:59:27 +00:00
Guillaume Melquiond
1b9c2f552e Added support for Lua scripts. 2009-03-22 18:59:12 +00:00