22233 Commits

Author SHA1 Message Date
Charles Dang
aea6cbbabc Tiny tweak to vertically centered text to make it more centered 2016-07-24 13:51:36 +11:00
Charles Dang
7a859a2ece Fixup a5130a4c3600 (forgot to include small resolution buttons) 2016-07-24 10:00:01 +11:00
Charles Dang
a5130a4c36 Made sure menu button are flush with window border 2016-07-24 09:56:12 +11:00
Charles Dang
d90f1eae7b tlua_interpreter: fixed placement of Clear button 2016-07-24 09:48:42 +11:00
Charles Dang
9f6d9b45cb Use darker borders on titlescreen panels 2016-07-24 09:45:25 +11:00
Charles Dang
a3e535300b Revert "Don't show any images for buttons in menu bar"
This reverts commit a4c4f18a7c45ef8c652fe9be72d166ab3e798309.
2016-07-23 15:27:15 +11:00
Celtic Minstrel
939e15f771 Merge pull request #670 from dorng/core_logo
[game_config]: new keys for logo
2016-07-19 23:14:47 -04:00
Charles Dang
02a43e2d61 tpreferences: small hotkey tooltip tweak 2016-07-20 13:57:04 +11:00
Bär Halberkamp
1d8d843a80 move set_variable.rand's logic to helper.rand 2016-07-19 13:48:31 -04:00
Lari Nieminen
849cacceb1 Merge pull request #699 from GregoryLundberg/GL_L_final
Liberty fixes
2016-07-19 16:31:53 +03:00
Lari Nieminen
b02e084064 Merge pull request #690 from GregoryLundberg/GL_AOI_recruit_mages
AOI Linaera should recruit Mages, not Elves
2016-07-19 16:30:53 +03:00
Lari Nieminen
a09f0ed6a9 Merge pull request #689 from GregoryLundberg/GL_AOI_fixes
An Orcish Incursion fixes
2016-07-19 11:25:13 +03:00
Charles Dang
fbcf4943b1 Use darker window border color 2016-07-19 13:07:14 +11:00
Celtic Minstrel
93c9d7e557 Revert SP uses of end_scenario directly tied to victory 2016-07-18 20:59:49 -04:00
Celtic Minstrel
7b83343b36 fixup 2016-07-18 09:11:38 -04:00
Celtic Minstrel
7286ea8e0f Merge pull request #661 from spixi/name_and_map_generator
Improvements in the name and map generators
2016-07-18 01:10:46 -04:00
Celtic Minstrel
649b50d93b Shorten one of the map name generator keys 2016-07-17 23:50:37 -04:00
Spixi
f96f86245e Improvements in the map and name generators
- Implement a way to escape special characters {|} in the CFG generator
- Eliminate null pointers to name generators
- Invalid generators now throw exceptions
- Name generating rules for different terrain elements can now be specified
  (The defaults in english.cfg are still used)
2016-07-17 23:42:19 -04:00
Celtic Minstrel
36eeed413c Comment fixup 2016-07-17 19:51:09 -04:00
Bär Halberkamp
0a83e2e6b6 Fix [message]s without an image not working 2016-07-17 19:49:29 -04:00
Gregory A Lundberg
dad9d8f6c8 L Fix the Advisor role
Use a consistent type= list and include all advancements when selecting and Advisor.

Harper and Baldras cannot be the Advisor.

No need to search for an Advisor to recall in S03, S02 set one (or not) and it cannot have changed.

Use the new [role] features.
2016-07-16 16:41:05 -05:00
Gregory A Lundberg
3818fe2326 L Illogical conversation
Choosing Baldras for the role cause him to see the riders and ask who they are. Baldras already has an alternate line for this case, use it.
2016-07-16 16:41:05 -05:00
Gregory A Lundberg
5bb6aa5536 L Fix bugs and tidy up a bit
Bugs:
S02: Use role= for roles, not speaker=
S05: Misplaced ai_algorithm
S08: No constant FOREVER, use 99999

Cleanup:
S01, S07: [if] requires [then]
S01, S05, S07, S08: remove macro artifacts
S07, S08: remove variable artifacts
S04, S08: remove dead  code
utils: Remove unused macros
2016-07-16 16:41:05 -05:00
Gregory A Lundberg
13737dc10f AOI Move extra_recruit to character macros 2016-07-16 16:38:10 -05:00
Gregory A Lundberg
a839124839 AOI Linaera should recruit Mages, not Elves 2016-07-16 16:38:10 -05:00
Gregory A Lundberg
7ec73660e2 AOI Fix missing speakers, use new [role] features
For each speaking part, make sure it is assigned to a unit. For parts where the conversation suffers if not delivered, recall a unit or recruit one if none are available. For parts where the missing the line does not appear to adversely effect the conversation, omit the lines if no unit can be found on the board at the time.
2016-07-16 16:37:18 -05:00
gfgtdf
1d168bce9a fixup on_event.lua 2016-07-16 20:34:33 +02:00
Celtic Minstrel
6abd7a6941 Add [message]image_pos=left|right
This is meant to replace ~RIGHT() and also the newer ~LEFT(),
with one exception: ~RIGHT() will still be the standard way to
make a unit's portrait go on the right by default.
2016-07-15 17:35:51 -04:00
Celtic Minstrel
232709ea57 A few Micro AI tweaks
- For MAIs using aspects, make the facet ID more unique
- Only shallow-preparse the [micro_ai], rather than fully preparsing it
  (This is so that filters in Micro AIs can use $this_unit if needed)
2016-07-15 16:15:44 -04:00
Celtic Minstrel
01d3156d47 Micro AIs: Fix not properly deleting aspects
(This affects the Protect and Wolves MAIs)
2016-07-15 16:07:22 -04:00
Celtic Minstrel
21e79b5f6a Protect Micro AI: Fix missing aspect ID 2016-07-15 15:50:24 -04:00
Celtic Minstrel
35d17dcaa1 Add clear button to Lua console 2016-07-15 01:37:30 -04:00
gfgtdf
ceea75cf0a replace some victory with scenario_end events.
victory is an unsynced event to its potentially unsafe to change the
gamestate in it, this mostly effects LoW (which can be played as a mp
campaign) where i replaced most victory events.

But it also effects sp becasue it can casue bugs to create units in
unsynced events which are used later (here: in later scenarios), so i
replaced also all sp victory events that do that.

Note that the 'scenario_end event'+'proceed_to_next_scenario filter' has
a slightly different meaning than 'victory event': the second gets fired
when there is a local human side who won the scneario while the first
gets fired if there is any human side who on the scenario. In sp this
is the same since there are no remote human sides, but in mp this is the
reason why the first is synced and the second is not.

We could add a seperate event for this case ("before next scenario" or
similar) for easier use, but i didn't find a good name for
that yet.
2016-07-14 22:15:33 +02:00
Charles Dang
5649379426 Swapped order of two frames in the fireball animation
It makes more sense to go from largest to smallest, instead of large, small, medium.
2016-07-13 17:39:58 +11:00
Pubudu
129ce2982b Added new checkbox to multiplayer game configure dialog to allow only
registered users to join the game
2016-07-12 11:50:50 +05:30
Celtic Minstrel
d4b8fec953 New features in [role] WML tag
- search_recall_list=yes|no (default yes)
- [else] tag which is run if no unit matches
- auto_recall=yes|no (default no) which recalls the unit if it's on the recall list
2016-07-11 20:13:57 -04:00
ln-zookeeper
937df219c9 Don't issue a warning when no unit found for [role] 2016-07-11 23:41:33 +03:00
gfgtdf
d73d32e8e2 fixup on_event.lua 2016-07-11 15:12:12 +02:00
gfgtdf
9a5eabb207 fixup on_event.lua 2016-07-11 15:09:25 +02:00
gfgtdf
2ad3f2ca8e fix LoW death dialogue showing of for enemies 2016-07-11 14:54:20 +02:00
gfgtdf
ac717f70b8 improve on_event.lua
Added some features:
1) on_event now supports a comma separated list of event names in its first parameter

2) on_event now supports a number as second parameter that specifies in which order the event handlers are called.

3) on_event now passes wesnoth.current.event_context to the handler function, since the handler function will most likeley need it.
2016-07-11 14:01:04 +02:00
PoignardAzur
6347c646e2 LoW: Remove Elvish_Horse_Archer alt advancement 2016-07-10 18:01:23 -04:00
gfgtdf
16014a9795 fix [set_variable] rand= 2016-07-09 21:42:10 +02:00
gfgtdf
40ff1ec986 make utils.split return empty set on nil values
previously it returned a "nil" string
2016-07-09 21:01:35 +02:00
Gregory A Lundberg
010f943a40 [option]message= deprecated, use label=
According to the Wiki, since 1.13.2 message= is an alias for label=.

Using message= provokes a warning about it being deprecated.

This replaces message= with label= in the entire mainline (where it had not already been changed).
2016-07-03 13:41:44 -05:00
Charles Dang
240b940618 Fixed [teleport] not working 2016-07-03 04:34:54 +11:00
Charles Dang
41145a783c wmllint rules for 20b90a29fa38 2016-06-30 18:29:50 +11:00
Charles Dang
20b90a29fa Rename Heavy Infantrymane idle frames for consistency 2016-06-30 18:22:43 +11:00
Nils Kneuper
944a1d962a updated Polish translation 2016-06-26 12:31:57 +02:00
Elvish_Hunter
f07f893d34 Used argparse instead of optparse in TeamColorizer 2016-06-22 17:15:18 +02:00