21 Commits

Author SHA1 Message Date
Rusty Russell
f2a9f6455c Separate "cures" from "heals" cleanly:
...remove global assumptions about cure/heal amounts, too.

I also added an explicit number to how much terrain heals (it's still
assumed to cure).

I also separated "cures" and "heals" from the user's perspective,
which unfortunately means the description of "heals" does not include
the number of HP any more.  It would be nice if the tooltip could use
variables...
2006-03-29 12:09:39 +00:00
Jérémy Rosen
b42308c570 advanced terrain alias.
you can now specify a best of or worst of policy, you can also
separately specify the alias for movement and the aliases for defense
2006-01-28 23:21:21 +00:00
Jérémy Rosen
509c515ad6 allow local light variation in the [terrain] tag 2006-01-28 12:13:47 +00:00
András Salamon
c69df0a475 fix terrain list in unit help 2005-07-16 18:51:56 +00:00
András Salamon
8d25fb99a6 codeclean in src, mostly Dave's new email address (checked with cvs diff -b)
BY THE WAY, many of the source files have no copyright headers!
2005-07-02 21:37:20 +00:00
András Salamon
8bd9bc98a5 ran codeclean against files 2005-06-04 19:16:06 +00:00
Philippe Plantier
ba195ecd8a [[Attack some problems with data serialization in saves]]
* Made serialized data be saved as untranslated. To achieve this, added the
  t_string class, which encapsulates a translatable string.

* Completely rewrote the (text) WML parser, making it use a tokenizer / parser
  architecture. The parser is now much more strict and validates a WML grammar.

  - Change to the WML syntax: pluses are now ignored, spaces are now forbidden
    in WML keys

* Rewrote the way the variables are interpolated. There is no more default
  interpolation, however, the vconfig class was added, which provides a
  variable-interpolating proxy to config objects.

* There is still an important known bug: this is impossible to load textmode
  save games now, because the statistics module saves some WML with spaces in
  keys, which the parser refuses. I am commiting anyway to respect the string
  freeze; the fix for this bug will come tomorrow

Hoping I do not break everything...
2005-03-27 23:06:17 +00:00
Yann Dirson
5f503724da get rid of terrain_type::get_rgb => more include cleanups 2005-03-23 22:08:52 +00:00
Yann Dirson
7c783d82d8 include cleanup: statistics, theme, terrain, titlescreen 2005-03-10 22:03:32 +00:00
Philippe Plantier
b65c3b9485 Cleaned the terrain.cfg, removing obsolete entries
Added the translated terrain name in terrain.cfg
Changed "image" elements in [terrain] tags into "symbol_image"
Removed dead code
2004-10-19 20:49:09 +00:00
Philippe Plantier
b98af7489a Optimizing the terrain builder code.
Made it much faster, but also much more complex.
2004-06-07 19:18:27 +00:00
Philippe Plantier
bd2866fb61 Replacing the terrain transition code by something entirely in WML.
Made forests and hills always overlay terrain on their northern (top)
side.  [building_rule] tag is now called [terrain_graphics] A few
changes in the terrain graphics WML element
2004-05-31 22:25:37 +00:00
Dave White
d578d135be added in castle patch from Ayin 2004-04-19 15:42:58 +00:00
Dave White
d08630afe7 gave ability for terrain to have multiple aliases 2004-04-12 20:04:52 +00:00
uid68803
dcdaa8c3bc added basic implementation of menus to theming system.
fixed problem where enemy energy bars would always display as full yellow (CVS internal)
2003-12-29 23:33:01 +00:00
uid66289
b1c76bcb5b importing devsrv CVS to Savannah CVS 2003-12-23 22:45:30 +00:00
Dave White
44fafd1ea9 made it so that snow villages work 2003-11-22 00:25:17 +00:00
Dave White
bef5d78691 refactored some code. Added preferences selection to main menu 2003-10-11 04:39:48 +00:00
Dave White
edb9436fa7 added in new villages 2003-10-10 13:27:44 +00:00
Dave White
c50f5510f5 Added varying terrains, as suggested by zas 2003-09-21 13:00:52 +00:00
zas
ffa8b0bf4e Step1 of source move. 2003-09-19 10:21:25 +00:00