50023 Commits

Author SHA1 Message Date
Étienne Simon
7a908233c3 wb::side_actions refactoring.
Move container's code to wb::side_actions_container, using
Boost.MultiIndex as underlying container.

Documentation and improvement of wb::side_actions.
2012-06-20 23:17:16 +00:00
Steven Panek
edbdf0ccf8 Made a name string translatable. 2012-06-19 10:14:04 +00:00
Simon Forsyth
fa279a7280 there is no opportunity for Kaleh to stun anyone in the epilogue 2012-06-19 01:35:47 +00:00
Simon Forsyth
506cbf596c add forgotten image 2012-06-19 00:52:23 +00:00
Simon Forsyth
42e4545e09 update changelog 2012-06-19 00:46:20 +00:00
Simon Forsyth
bc7112fd35 display dehydration status in the status table 2012-06-19 00:43:42 +00:00
Simon Forsyth
5f5067fe46 use macro that does not require appending gender in separate tag...
...to create Nisa
2012-06-17 21:13:21 +00:00
Simon Forsyth
6cf0181721 2012-06-17T20:41:25Z!alarantalara@gmail.com makes role=Dwarf High Guard useless - removed 2012-06-17 20:45:04 +00:00
Simon Forsyth
405691cd55 Jorgi must be alive for movement to trigger explosion of backup charges...
...no need to check
2012-06-17 20:41:25 +00:00
Simon Forsyth
1a0e6c2319 delete variables with values that are never read 2012-06-17 20:39:21 +00:00
Simon Forsyth
af20840f60 do not clear variables that are not set 2012-06-17 20:35:20 +00:00
Simon Forsyth
4207607f35 use map passable placement to simplify finding location for dark assassin 2012-06-17 20:08:24 +00:00
Simon Forsyth
b593d6644a Improve undead trolls:
add the plague description to their custom description

 use variation= at creation instead of applying an object after to
 make them trolls
2012-06-17 19:50:45 +00:00
Simon Forsyth
c4c22e5ca1 clean up ENEMY_ATTACK:
remove array length measurement from loop

 clear all variables used

 move clear of variables out of if to reduce repettion
2012-06-17 19:29:20 +00:00
Simon Forsyth
faa59c9ee6 only place troll villages if they will be used 2012-06-17 19:08:06 +00:00
Mark de Wever
5d65832480 Move the gui widget definition code to a library.
Trying to offload some code into separate libraries to improve
(re)build time.
2012-06-17 18:32:57 +00:00
Mark de Wever
d998d809c7 Move the gui placer code to a library.
Trying to offload some code into separate libraries to improve
(re)build time.
2012-06-17 17:15:28 +00:00
Simon Forsyth
8e98b82931 remove some testing code 2012-06-17 14:59:00 +00:00
Mark de Wever
c1253e1865 Move the gui iterator code to a library.
Trying to offload some code into separate libraries to improve
(re)build time.
2012-06-17 14:57:45 +00:00
Mark de Wever
8c4e41f8a3 Move the gui event code to a library.
Trying to offload some code into separate libraries to improve
(re)build time.
2012-06-17 13:16:38 +00:00
Mark de Wever
7206f588d3 Move the gui1 widgets code to a library.
Trying to offload some code into separate libraries to improve
(re)build time.
2012-06-17 12:47:16 +00:00
Richard Kettering
1284c611ba Alternate great/hero troll portrait, and a portrait for the young ogre. 2012-06-17 11:59:00 +00:00
Simon Forsyth
7e548fbdee eliminate delay_victory variable 2012-06-16 21:07:35 +00:00
Simon Forsyth
8efa5039c5 remove need for call_assassin variable 2012-06-16 20:30:56 +00:00
Simon Forsyth
3934072c70 count enemy leaders rather than increment counter to check for victory 2012-06-16 20:20:37 +00:00
Simon Forsyth
dc5fff7d8c Units that can recruit already have no upkeep.
Remove loyal from them - also makes them have proper crowns instead of
loyal symbols
2012-06-16 20:08:42 +00:00
Simon Forsyth
45d8eec9df add new files to Xcode project 2012-06-16 17:45:16 +00:00
Anonymissimus
25983b4fd2 CB project update 2012-06-16 15:53:28 +00:00
Anonymissimus
29f6369bc0 VC9 project update 2012-06-16 15:53:19 +00:00
Anonymissimus
1a09b8eeff mute MSVC warnings 2012-06-16 15:53:09 +00:00
Simon Forsyth
afe7320815 use id list instead of many [or]s 2012-06-16 02:33:52 +00:00
Simon Forsyth
52ac35485f properly layers sand->dirt transitions 2012-06-16 01:40:20 +00:00
Steven Panek
b9be1742cb Use [show_if][variable] instead of [show_if][have_unit]...
...so we don't have ever have Garak's and Zhul's death objectives
disappear.
2012-06-16 01:25:27 +00:00
Simon Forsyth
c0f2fd74e5 remove texture from some cave walls 2012-06-16 01:04:30 +00:00
Steven Panek
6bf3fca1d7 A little bit of tidying with the help of ON_DIFFICULTY. 2012-06-16 00:56:31 +00:00
Simon Forsyth
63215c1bb7 parameterize INCREASE_RECRUIT_COSTS 2012-06-15 22:37:03 +00:00
Mark de Wever
29d487773e Move the point code to a new file and library.
Trying to offload some code into seperate libraries to improve
(re)build time.
2012-06-15 18:30:47 +00:00
Mark de Wever
2f27cecc0d Spaces to tabs.
Conforming to the style of the rest of the file.
2012-06-15 18:28:52 +00:00
Simon Forsyth
db3f49a3b0 remove duplicate dialog and extraneous variables from leader death event 2012-06-15 11:55:50 +00:00
Anonymissimus
5c5a4bae49 changelog update 2012-06-14 14:26:31 +00:00
Anonymissimus
5ac6b5a876 improve CALL_FUNCTION macro
(bug #19805, http://forums.wesnoth.org/viewtopic.php?f=21&t=36989&p=531212)
2012-06-14 14:26:21 +00:00
Anonymissimus
6f48761f93 Fix a variable referenced out of its scope (bug #19803) 2012-06-13 21:58:01 +00:00
Dmitry Kovalenko
b207a1b1ca LuaAI: the need to define an engine is now deprecated.
All CAs can be store in external .lua files. If the scenario config
lacks an [engine] tag for the Lua AI engine, but still tries to use CA
with engine=lua, a dummy engine will be automatically generated,
providing the needed functionality
2012-06-12 12:36:06 +00:00
Elvish_Hunter
a46252cbdb TSG, Choice in the Fog: if the player is allied with the Elves,
...both Urza Afalas and Mal M'Brin must be defeated to win. Second
part of the fix for bug #19758
2012-06-12 09:19:02 +00:00
Elvish_Hunter
ee8b41ae04 TSG: replaced a store unit/create unit/clear variable cycle with [modify_unit] 2012-06-12 09:07:18 +00:00
Ignacio R. Morelle
50e7a70883 Implement [lock_view] and [unlock_view] WML actions
They are trivial wrappers for the wesnoth.lock_view() function in Lua.
Neither takes any parameters.

There is no wrapper for wesnoth.view_locked() yet until I decide on its
name and usefulness factor.
2012-06-11 23:10:03 +00:00
Ignacio R. Morelle
3536a15b27 lua: Implement wesnoth.view_locked() and wesnoth.lock_view()
Both are simple wrappers for display::view_locked() and
display::set_view_locked(), respectively. view_locked() returns a
boolean specifying whether the view is locked, and lock_view() takes a
boolean specifying whether to lock the view (true) or unlock it (false).
2012-06-11 23:09:43 +00:00
Anonymissimus
bd8cca5ff8 some wmllint fixes 2012-06-11 19:07:25 +00:00
Lari Nieminen
0a44e00484 Added a missing image which should have been in 2012-06-02T21:51:08Z!lari.nieminen@iki.fi. 2012-06-11 18:34:22 +00:00
Ignacio R. Morelle
b12bb3524a display: Allow disabling viewport scrolling
This will later allow WML/Lua to lock the viewport so the user cannot
scroll away from the current viewport location. WML and Lua actions such
as [scroll], [scroll_to] and [scroll_to_unit] will always be able to
scroll the screen regardless of this setting.
2012-06-11 09:37:33 +00:00