28615 Commits

Author SHA1 Message Date
Eric S. Raymond
f72622c4ea Refactor to use WmlIterator more. 2008-11-07 14:08:52 +00:00
Eric S. Raymond
d94b7d9592 Greatly simplify quote scanning in WmlIterator.
The old code tended to break on multiline strings ending with '"\n',
and was too complicated for me to debug.  The new code behaves better
in general, though it will throw an error on one pathological case the
old case seemed to handle -- single-line string followed by a comment
with an unbalanced double quote in it.
2008-11-07 14:07:24 +00:00
Lari Nieminen
a82adb3bdf Applied patch #1109 with a few modifications. 2008-11-07 10:34:00 +00:00
Eric S. Raymond
c7f2d7a4a3 Fix another pathological quote. 2008-11-07 08:08:55 +00:00
Eric S. Raymond
299a18ce66 Remove a pathological unbalanced quote in a comment. 2008-11-07 07:56:27 +00:00
Steven Panek
476097471f Made the explanation text of FAKE_UNIT_MOVE a bit more accurate. 2008-11-07 04:54:28 +00:00
Steven Panek
19b909caf6 Mainlined macro FAKE_UNIT_MOVE which replaces [move_unit_fake] codeblocks. 2008-11-07 04:43:34 +00:00
Eric S. Raymond
1e6a01c9d4 Fix a bug in error reporting. 2008-11-07 03:09:25 +00:00
Eric S. Raymond
90e8b6e052 Passing an error reoter hook into WmlIterator was dumb.
This sort of thing is what subclassing is for.
2008-11-06 23:45:59 +00:00
Eric S. Raymond
7800a69318 Start using WmlIterator more systematically. 2008-11-06 23:28:24 +00:00
Alexander van Gessel
06f72fdf4d Update LoW credits. 2008-11-06 02:54:09 +01:00
Eric S. Raymond
df828afeec Teach wmllint to do the safe part of the music namespace changes,
...and document what has already been done.
2008-11-05 22:07:11 +00:00
Mark de Wever
01e74e4235 Fix the inspire ability description.
Inspire only inspires your own units and not friendly units.
2008-11-05 21:00:01 +00:00
Ignacio R. Morelle
5d3485d4a4 Changed fabi/fendrin entries' comment per santi's request. 2008-11-05 20:57:49 +00:00
Eric S. Raymond
262436fd94 More music namespace cleanup.
nr-sad -> sad.ogg, as this is used outside Northern Rebirth.  And
remove a reference in SoF that was probably a historical relic.
2008-11-05 20:00:42 +00:00
Eric S. Raymond
c015f0f931 Rename main_menu_new.ogg to main_menu.ogg. 2008-11-05 19:46:24 +00:00
Eric S. Raymond
4d85b257ad Rename the old main-menu music to make it clear that it's now available
as mood music.
2008-11-05 19:44:08 +00:00
Eric S. Raymond
34861ee5c5 Add some music to HttT,
...checkpointing before I clean up the music namespace 
a bit.
2008-11-05 19:29:03 +00:00
Eric S. Raymond
c9b4318c87 Detect an extreme WML malformation that actually came up in UtBS. 2008-11-05 19:26:29 +00:00
Eric S. Raymond
569966d78c Pacify the spellchecker. 2008-11-05 19:24:21 +00:00
Ignacio R. Morelle
506f0277e4 Reformat some sections of the credits,
...fix the end string being too long. Fix my own entry. Rename ESR's
section.
2008-11-05 18:41:27 +00:00
Eric S. Raymond
20064a8f6a Usage, grammar, style, and continuity fixes on UtBS story. 2008-11-05 18:38:35 +00:00
Lari Nieminen
20a4a6c456 Added the new 4p multiplayer map 'Underworld' by F8 Binds. 2008-11-05 15:06:03 +00:00
Ignacio R. Morelle
7f8a4d1005 Remove gettext call. 2008-11-05 14:36:17 +00:00
Ignacio R. Morelle
a2f566bc96 Change lg::wml_error consumer's formatting:
...leading text is "Invalid WML found" instead of "Deprecated WML
found" now.
2008-11-05 14:29:19 +00:00
Eric S. Raymond
10340ccbf5 Fix incomplete error-hook conversion. 2008-11-05 11:46:27 +00:00
Eric S. Raymond
65ab8fcf5d Espreon, pleaze stop breaking UtBS. 2008-11-05 11:33:35 +00:00
Alexander van Gessel
0720bce8ec Pass the error handler to both invocations of WmlIterator. 2008-11-05 12:26:31 +01:00
Eric S. Raymond
152bd92e72 Custom music lists for The Hammer of Thursagan,
...and some typo fixes for earlier music entries.
2008-11-05 11:11:56 +00:00
Alexander van Gessel
7566a3163b Make wmllint's spellcheck somewhat compatible with python-enchant 1.3.1. 2008-11-05 11:48:52 +01:00
Eric S. Raymond
139fa01217 Custom music lists for Northern Rebirth. 2008-11-05 10:15:33 +00:00
Eric S. Raymond
b05d14ce5d Typo fix. 2008-11-05 09:19:06 +00:00
Eric S. Raymond
ad6fa189dd More custom music for Liberty. 2008-11-05 08:40:08 +00:00
Eric S. Raymond
7a4f530069 Document some thinking. 2008-11-05 08:07:41 +00:00
Eric S. Raymond
a01fd55508 Further extend spellchecking.
Drop an equivalent of Sapient's error-reporting code back in
wmliterator.py, but do the actual reporting through a callback passed
at instance-nitialization time.
2008-11-05 08:04:54 +00:00
Steven Panek
13d694d553 Changed Familiar into a Dread Bat. 2008-11-05 04:52:59 +00:00
Steven Panek
d3f7d079e8 Finished moving the story codeblocks into storytxt.cfg.
Ran wmlindent.
2008-11-05 04:31:46 +00:00
Eric S. Raymond
a3591151c2 Further extend spellchecking. 2008-11-05 03:38:10 +00:00
Eric S. Raymond
1d1e5343cc Extend the range of WML attributes that get spellchecked,
...and fix a glitch that turned up.
2008-11-05 02:45:03 +00:00
Eric S. Raymond
e78ef120d7 Change wmliterator error reporting so it mimics the Emacs-friendly...
...style of the rest of wmllint.
2008-11-05 02:02:29 +00:00
Eric S. Raymond
f27eff3431 Another refactoring step. 2008-11-05 01:44:52 +00:00
Eric S. Raymond
892ec3f922 Another refactoring step. 2008-11-05 01:09:30 +00:00
Eric S. Raymond
a0db82383e Another refactoring step. 2008-11-05 00:46:20 +00:00
Ignacio R. Morelle
62dfb11ad4 Update changelog 2008-11-05 00:35:56 +00:00
Eric S. Raymond
fecd27d8f4 Refactoring step.
Eventually we'll use this to change the reporting format.
2008-11-05 00:00:10 +00:00
Eric S. Raymond
cdf6076a80 Spellchecking is no longer an experimental separate mode. 2008-11-04 23:32:42 +00:00
Steven Panek
13f332038c Cleansed scenario 9's cfg...
...and seperated its story codeblocks into a seperate file which will
contain all story codeblocks.
2008-11-04 23:27:25 +00:00
Sergey Popov
4c42f9a3d8 NSIS uninstaller wasn't reading install settings from HKCU...
...if per-user install was used. Fixed.
2008-11-04 17:46:26 +00:00
Mark de Wever
220f72d90a Change the label to a scroll_label.
This is required to get the wrapping and scrolling working for the
dialog. (Note the code to do wrapping and scrolling doesn't work
properly yet. This will be fixed but is a much larger change.)
2008-11-04 16:54:54 +00:00
Mark de Wever
80b2b5255a Initial implementation of the scaling image.
We now use a 400x400 image (max size 500x500) and scale that down to a
'nice' size for the current window size. The scale factor might need
some tuning.

Kitty also prefers to see a 400x400 image scaled down and evaluate the
quality, this might means we only need a 400x400 image but also that we
still need a 300x300 and maybe a 200x200 image.

It's still not possible to manipulate the new portraits from the WML
but that's postponed until we know how much images will be used.
2008-11-04 16:54:49 +00:00