4388 Commits

Author SHA1 Message Date
Chris Beck
0246026940 move WML [event] impl to lua, fixup core wml vs lua loading order
This commit moves [event] to be implemented in lua/wml-tags.lua.
It turns out that because of some questionable ordering in
data/core/_main.cfg, none of the tags defined in
data/lua/wml-tags.lua are actually defined at the time that core
is read, instead they are defined right after this. This is broken,
the entire wml library should be defined before core is read. Thus
we reorder some directives in data/core/_main.cfg to ensure this.

This commit adds lua callbacks `wesnoth.add_event_handler`,
`wesnoth.remove_event_handler` as well.
2014-12-24 04:21:58 -05:00
Ignacio R. Morelle
5a8dddd5dd Hide alternate Great Wolf variation from help as it's only a visual variation 2014-12-22 22:08:12 -03:00
Ignacio R. Morelle
bf75c9d062 Assign translatable names to WC/Soulless variations (bug #22902) 2014-12-22 21:40:54 -03:00
Charles Dang
f5cb10f276 Removed self-leading help topic link in Cave 2014-12-23 06:07:12 +11:00
Charles Dang
e077850ad2 Fixed some typos found by spellcheck 2014-12-23 05:28:45 +11:00
Charles Dang
cd1bf2ad28 Fixed broken help link to Cavalryman 2014-12-23 05:19:01 +11:00
Ignacio R. Morelle
d5fa4bc7b2 Revert "Compress images with zopflipng."
This reverts commit 5d36e382c7919d25e987abf07c40e42e9b2e909e.

It's been found to cause all kinds of terrain glitches on Windows and
Linux. Please do not try experimental image compression alternatives
without discussing and reviewing first.
2014-12-21 19:03:08 -03:00
Adam Leffew
acce89edae Fix incorrect stringstream syntax usage
The str() function is not being used to pull data out of stringstream mgs.  This causes the build to fail when trying to apply mgs to the << operand.
2014-12-21 01:47:06 -05:00
Alarantalara
5d36e382c7 Compress images with zopflipng.
https://code.google.com/p/zopfli/source/browse/README.zopflipng
5.9MB saved.
2014-12-20 12:14:08 -05:00
Charles Dang
56f831c56c Replaced deprecated [story] syntax in STORY_PART_SPEECH 2014-12-20 20:03:27 +11:00
ln-zookeeper
6943bc0d6a Removed uses of SOUND:SLOW and SOUND:POISON 2014-12-07 14:28:46 +02:00
ln-zookeeper
1ff69616bf Decoupled slow and poison sounds from animations 2014-12-07 14:27:05 +02:00
ln-zookeeper
f27027bfa6 Fix bug #23024 by repositioning {SOUND:SLOW} 2014-12-04 09:40:31 +02:00
ln-zookeeper
a4a339123f Fixed Morogor's location being described all wrong. 2014-11-28 13:50:54 +02:00
Ignacio R. Morelle
f80d8d1d17 Decrease campfire terrain frames duration from 200 to 140 ms
This matches the ANIMATED_CAMPFIRE and ANIMATED_BRAZIER macros from
data/core/macros/image-utils.cfg and looks subjectively better.
2014-11-13 20:25:14 -03:00
Ignacio R. Morelle
e56f8e6aa5 Add ANIMATION_08_140 terrain graphics macro 2014-11-13 20:25:12 -03:00
Chris Beck
2021a42d5b Add lua console
- Add an internal command logger to the lua kernel base, and expose
this.
- Redirect the internal lua `print` to the command logger.
- Add an external logger registration system to lua kernel, in
addition to the internal one.
- Add a lua console dialog which binds to a lua kernel base and
permits to review the contents of the logger and issue new commands,
and report errors.
- Add a hotkey binding to launch the lua console "`"
- Adds tab completion support to the lua console
2014-11-13 11:38:58 -05:00
Roland Hautz
1ae031482d Added myself to Misc. Contributors 2014-11-09 21:33:47 -05:00
Nils Kneuper
ee9e7a844a updated Galician translation
images in data/ need to be added to tracking file
2014-11-02 11:44:28 +01:00
Ignacio R. Morelle
df449c1aee New Ancient Lich baseframe and updated animations by shadowm
This version of the commit removes the orphaned melee attack animation
frame, which is superseded by a 2-frame set. The 1.12.x version of this
commit keeps the file as a copy of the new melee attack animation frame
for compatibility with existing add-ons.

Animation WML and art reference taken from the existing L3 Lich.
2014-10-24 01:50:55 -03:00
Bär Halberkamp
db028708c4 Added a lua implementation for FULL_HEAL and PUT_TO_RECALL_LIST 2014-10-21 19:41:36 +02:00
fendrin
f8887a5c82 Autogenerated "Time of Day Schedule" help browser section. 2014-10-19 09:47:14 +02:00
fendrin
ddfb600ffb Included two more icon images into the editor help section. 2014-10-19 09:47:13 +02:00
fendrin
58c78b4b4a Enable the early stage editor help section. 2014-10-16 03:11:00 +02:00
fendrin
302d53fca8 A rough framework for an editor help section.
Still contains a lot non-sense and stubs.
2014-10-16 03:11:00 +02:00
Nils Kneuper
43b572d948 updated Lithuanian translation 2014-10-12 00:04:53 +02:00
Ignacio R. Morelle
7b708514c7 Revert "Make Mushroom Grove/Lit Mushroom Grove behave like forests, move-wise"
Requested by Wintermute: <http://r.wesnoth.org/p573664>

This reverts commit 753ddabc4c2db8cdc2def0fc101c63f2c04e6142.
2014-10-11 03:15:21 -03:00
Ignacio R. Morelle
62ae2ff5e3 Some spelling/grammar fixes for the editor help text
Still not wmllint-clean, mostly because of help markup issues since
there is no wmllint-visible parent [help] tag to skip spellchecking.

(See also bug #22780.)
2014-10-11 01:59:18 -03:00
Ignacio R. Morelle
57ffe3f275 Silence wmllint warnings about an ability-independent special notes macro 2014-10-11 01:59:18 -03:00
Ignacio R. Morelle
0dadeb37ab Remove unused Skirmisher special note from the Orcish Nightblade's description
Found by wmllint. At least as far as I can tell, it's not really
supposed to be a skirmisher unit. Probably. Maybe.
2014-10-11 01:59:18 -03:00
Ignacio R. Morelle
2295b3b6d0 wmlindent pass 2014-10-11 00:55:26 -03:00
Evgeny Kapun
93c877e623 Fixed missing message in 'The Siege of Elensefar' 2014-10-10 18:06:31 +04:00
Chris Beck
4576dd0d73 add description for gryphon race
I made minor tweaks to what was hashed out here:
http://forums.wesnoth.org/viewtopic.php?f=32&t=40784&start=30#p573895

This might not be the final version but it seems close enough to be
worth committing.
2014-10-08 20:52:02 -04:00
mattsc
41bca14b21 Add cropped image_icon for Grand Knight
So that it fits the unit box in the sidebar.
2014-10-05 16:28:53 -07:00
Ignacio R. Morelle
5284bfb3c5 Fix incorrect image reference in the ToD help topic (bug #22537) 2014-10-04 01:38:01 -03:00
Chris Beck
9efa831010 reclassify myself as a programmer in data/core/about.cfg 2014-09-17 14:41:22 -04:00
Richard Kettering
971fb0726d New stand animations (NE and SE) for the revenant. 2014-09-16 01:01:59 -05:00
unknown
24b3bbb8b2 Fix bug #22465: Minimap not redrawn after turn dialog.
In playsingle_controller::show_turn_dialog added a call
to redraw the minimap in addition to the call to redraw
everything.
2014-09-04 22:54:08 -04:00
Chris Beck
41b079bf88 fix some grammatical mistakes in help description for orcs 2014-08-31 20:31:39 -04:00
Groggy Dice
486ac7235c geography.cfg: correct wmllint spelling for Castelfranc and Rumyr
These towns were misspelled in their encyclopedia entries, compared to
the Wesnoth map. All of the instances in my UMC collection follow the map
spellings, so I am not leaving the incorrect spelling as an alternative.

Also, there were spelling rules for both "Memog" and Melmog on separate
lines. No reason to keep the mistake around.
2014-07-29 05:49:48 -04:00
Chris Beck
f1a36cd30f make a hyphen to unicode in the help > traits page. 2014-07-22 19:43:01 -04:00
Chris Beck
35fef745f0 rewrite a phrase in the help -> terrains page
"help page of the unit" -> "the unit's help page",
using unicode apostrophe.
2014-07-22 19:43:01 -04:00
Chris Beck
ccb9b6bdf2 fixup typography of some dashes in the "terrains" help section 2014-07-22 19:43:00 -04:00
Ignacio R. Morelle
cfcef0e4b2 WML style cleanup 2014-07-22 19:43:00 -04:00
Ignacio R. Morelle
fa67c1d77f Get rid of a U+0027 APOSTROPHE used where U+2019 is expected 2014-07-22 19:43:00 -04:00
Chris Beck
2cf0e68054 reword a line from the help about mixed terrains 2014-07-22 12:28:20 -04:00
Chris Beck
b5e0684411 Auto generate sections for all eras and their factions
This fills Feature Request #22107.
2014-07-20 23:25:51 -04:00
gfgtdf
3204e4eb56 add healthy and fearless [effect]s
so we don't have to these these traits specialy.
2014-07-19 02:19:26 +02:00
Chris Beck
4dde74b51e help mentions that terrain desc. have "best/worst def/mvt" info
An autogenerated description of the mixture properties of terrains
can now be found by opening the terrain description -- the help
entry for "terrains" now mentions this and explains how to open it.
2014-07-18 13:10:50 -04:00
Chris Beck
292780506a add an explanation of mixed terrain types to the help for terrains
This commit fleshes out the help page for terrains. It explains
mixed terrains and the different kinds of behavior they exhibit,
using images to give examples. These images use the same links
used on the terrain type help images.

This help page could be further improved by adding links to
terrain type descriptions in text, and also by fixing the link to
the page about Loyalist Cavalryman which I didn't get to work.
2014-07-17 23:24:59 -04:00