253 Commits

Author SHA1 Message Date
Steven Panek
44cbafee63 Reverted 2011-12-16T20:13:27Z!anonymissimus@arcor.de through 2011-12-16T20:14:24Z!anonymissimus@arcor.de; redid 2011-12-16T04:06:47Z!Majora700@gmail.com right. 2011-12-16 20:48:39 +00:00
Anonymissimus
7b9233abe6 fix bug #19188 the way I envisioned it 2011-12-16 20:14:08 +00:00
Anonymissimus
bbaa97e898 Revert 2011-12-16T04:06:47Z!Majora700@gmail.com, 2011-12-16T04:08:22Z!Majora700@gmail.com and 2011-12-16T04:14:58Z!Majora700@gmail.com.
1. The internal type is a std::string, the lua getters/setters should
reflect that like all the existing ones already do instead of making
implicit conversions.

2. It doesn't make sense to convert the already translated string
into a t_string again upon getting it.

3. The setter in team.cpp you added is redundant.

4. The attribute is apparently not really meant to be modified
by lua or wml so a tag is no good idea.
2011-12-16 20:13:27 +00:00
Steven Panek
380bf42665 And modify current_player as necessary in the tutorial's second scenario... 2011-12-16 04:14:58 +00:00
Steven Panek
c023cd71af If Li'sar is selected in the tutorial,
...change the current_player attribute to suit her. Fixes bug #19188.
2011-12-16 04:08:22 +00:00
Ignacio R. Morelle
e2ca683549 Remove useless "Note:" prefix in a translatable string...
...in tutorial scenario 1, fixes bug #18969
2011-12-13 22:44:48 +00:00
Alexander van Gessel
81eec4ea01 Fix the recruiting part of first tutorial scenario 2011-11-27 18:20:56 +01:00
Fabian Müller
26e3785ea9 Fixed the Tutorial not proceeding with instructions...
...in case the Elvish Fighter send out to the eastern village is quick.
2011-10-26 16:22:05 +00:00
Ignacio R. Morelle
01f1145f94 Tutorial: clear floating text on defeat 2011-10-25 21:46:41 +00:00
Alexander van Gessel
81e0a2007f Revert token t_token commits from 2011-09-08T19:15:40Z!thonsew@yahoo.com on. 2011-10-10 03:43:29 +01:00
Thonsew
a5cb1492c4 Fixed access to an uncreated variable,
by creating the variables in the start event.
2011-09-20 21:21:02 +00:00
Alexander van Gessel
9d8b890c59 Fix the tutorial's "8 XP away from leveling" speech's trigger. 2011-09-19 01:49:17 +01:00
Steven Panek
6d421cb1ba We don't need to use the narrator anymore to prevent scrolling...
...thanks to scroll=no; fixes bug #18459.
2011-08-07 15:18:24 +00:00
Anonymissimus
bad5d3db18 fixed tod image referred to as above minimap (bug #18022) 2011-08-04 18:14:05 +00:00
Nils Kneuper
b2f79b2472 apply wmlindent on basically all of mainline 2011-05-04 10:04:57 +00:00
Nils Kneuper
0d5aa46e74 ran utils/wesnoth-optipng
(not commiting any files that were reported as broken, there are many!)

  Original size: 130846 KiB on 10530 files
 Optimized size: 127520 KiB
   Total saving: 3325 KiB = 2% decrease
2011-03-11 14:17:45 +00:00
Steven Panek
0e9a0cf325 Applied patch #1883 with slight modifications. 2011-03-08 00:22:02 +00:00
Nils Kneuper
627f8b7c61 revert 2011-02-26T23:14:32Z!crazy-ivanovic@gmx.net and the image part of 2011-02-26T22:13:29Z!crazy-ivanovic@gmx.net
(the intended translation/changelog part is still left)
2011-02-27 10:05:39 +00:00
Nils Kneuper
f146642ca5 ran utils/wesnoth-optipng
NOTE: Extremely many files received (smaller) changes but due to the
extremely large amount of changes I am not 100% sure that this
conversion is correct. This is the output of
utils/png_format_check.sh:

RGBA: 10247 RGB: 10 Gray+A: 256 Gray: 0 Index+A: 0 Index: 0 Other: 0

Overall statistics (only for files with a smaller recompressed size):
  Original size: 128949 KiB on 9778 files
 Optimized size: 125813 KiB
   Total saving: 3135 KiB = 2% decrease
2011-02-26 23:14:32 +00:00
Iurii Chernyi
15afc059b1 Apply Patch #2238 by iwontbecreative, convert tutorial to new AI config.
bugs in the patch fixed.
2011-01-04 16:32:44 +00:00
Steven Panek
83f7f48b41 'add -' -> sub '. 2010-11-06 05:56:22 +00:00
Lari Nieminen
0847d24cfc Fixed bug #16982 (Li'sar has no experience bar). 2010-11-05 19:27:12 +00:00
Nils Kneuper
67c397c90d ran utils/wesnoth-optipng
Overall statistics (only for files with a smaller recompressed size):
  Original size: 71209 KiB on 4533 files
 Optimized size: 64830 KiB
   Total saving: 6379 KiB = 8% decrease
2010-10-16 21:11:53 +00:00
Eric S. Raymond
7568ef9fe9 Fix SpellingMistakes glitches. 2010-10-16 18:33:34 +00:00
Eric S. Raymond
d32c0205dc Clear up a bunch of minor string FIXMes from before 1.8. 2010-09-23 22:29:13 +00:00
Eric S. Raymond
e7d337a676 Reindent mainline. 2010-09-23 13:04:56 +00:00
Lari Nieminen
154d00e4ad Fixed a portrait bug. 2010-09-15 23:02:03 +00:00
Eric S. Raymond
02c1e610c4 Partial wmllint/wmlscope cleanup. 2010-09-12 11:11:05 +00:00
Lari Nieminen
28678cbee7 Applied tutorial typography patch #1906 by Simon Smith. 2010-09-11 16:22:12 +00:00
Nils Kneuper
bb9bcb7add apply a change that pofix.py does already to the tutorial .cfg files
apply pofix on the tutorial textdomain
2010-09-06 20:19:39 +00:00
Nils Kneuper
7d9ef83560 apply changes from patch #1877
warning: this is NOT final and tested yet, got to run pofix and the
stuff first to test!
2010-08-30 08:23:04 +00:00
Nils Kneuper
8975be1c59 apostrophe conversion, ellipses conversion,
...stuff like this (patch #1877 by Simon Smith)

TODO: apply a fixed up version of patch #1879, currently the pofix
rules in it will not work
2010-08-23 07:52:39 +00:00
Lari Nieminen
b210b10c6d Converted turns run out objectives in the tutorial to use TURNS_RUN_OUT. 2010-08-16 12:33:38 +00:00
J.W. Bjerk
09fabca401 terrain enhancements to various maps. 2010-08-15 02:03:51 +00:00
J.W. Bjerk
9c59a24d40 converted all campaign maps from Ggf to Gg^Efm
i.e. to the new overlay flower..
2010-08-14 23:09:48 +00:00
Guillaume Melquiond
697ec447c0 Moved character choice to the start event in the tutorial. 2010-08-10 17:16:32 +00:00
Guillaume Melquiond
650bebd534 Moved the character selection later, so that it isn't skipped.
Whether the 'start' event is synchronizable is yet to be decided.
2010-07-26 10:44:23 +00:00
Steven Panek
bf8e7997da Applied pofix to data/campaigns/. 2010-06-20 07:44:20 +00:00
Eric S. Raymond
0ffe997718 [colour_adjust] -> [color_adjust]
colour= -> color
2010-06-19 06:50:26 +00:00
Alexander van Gessel
ec27159908 Scale the help-portraits to 200x200,
...this is closer to the canonical 205x205 and gives the scaling
algorithm a nice round number to work with
2010-05-17 22:59:21 +01:00
Alexander van Gessel
372d3aa617 In the tutorial, make in-game portraits of konrad and lisar...
...full-size, while keeping their help portraits at 250x250
2010-05-17 22:59:17 +01:00
Steven Panek
309ec2b753 Converted uses of [set_variable]'s 'format' to 'value',
...as they are equivalent and 'format' is supposedly deprecated.
2010-05-12 00:14:07 +00:00
Gunter Labes
2d2f9299c4 cut some similar strings into the equal parts to reduce translation work 2010-03-28 15:02:27 +00:00
Alexander van Gessel
a1ed51a95b Simplify the tutorial a bit using the 'side X turn refresh' event 2010-03-27 03:20:44 +01:00
Eric S. Raymond
91eccd6bbd Revert a previous change to scale down Delf's ptortrait, since it's
not actually supposed to show in the unit help.
2010-02-23 14:53:36 +00:00
Eric S. Raymond
de215cf6dc Addressed bug #15445...
(Li'sar's and Konrad's portraits are huge in the in-game help) by
adding SCALE() operators in the right places.
2010-02-23 14:27:29 +00:00
Ignacio R. Morelle
7bbd94cbbf Fix missing dialog in tutorial scenario 1 (patch #1399 by fkhodkov) 2010-01-03 21:49:03 +00:00
Ignacio R. Morelle
dcc64e7191 Possible fix for bug #14926, in which the AI played the orcs' turn...
...after the scripted move. esr and fendrin, please test.
2010-01-03 21:08:34 +00:00
Ignacio R. Morelle
93e4c09f11 Tutorial scenario 2: add a check in the MOVE macro...
...in case the unit we're supposed to move has already been killed by
the player, so that we don't try to unstore a unit with no type
later. This should fix bug #15037.
2010-01-03 21:08:18 +00:00
Ignacio R. Morelle
3ffee2ab3d Fix wrong usage of [hide_unit];...
...it only accepts a x,y pair, and not a SUF.
2009-11-24 18:33:30 +00:00