[Commits] [wesnoth/wesnoth] 9ba68b: add description of "Best/worst defense/movement" t...

GitHub noreply at github.com
Fri Jul 18 17:04:49 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 9ba68b59fc2a665e02c577717af70529c766c90b
      https://github.com/wesnoth/wesnoth/commit/9ba68b59fc2a665e02c577717af70529c766c90b
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-07-18 (Fri, 18 Jul 2014)

  Changed paths:
    M src/help.cpp

  Log Message:
  -----------
  add description of "Best/worst defense/movement" to terrain help

When viewing a terrain description (ctrl-t), or looking at the
description of a mixed terrain in the help, wesnoth will parse
the defense and movement alias strings, and format it in the
translated language, color coding the words "Best of " in green
and "Worst of " in red. These descriptions become parenthesized
with subexpressions if there is a complicated terrain with many
types and multiple alternations.





More information about the Commits mailing list