Commit Graph

18741 Commits

Author SHA1 Message Date
Ali El Gariani
88a68d7562 In the unit list, movement left used red=no move left and green=full move
Now also use yellow for partially moved unit (like orbs do)
2007-08-23 23:36:43 +00:00
Dimitar Ilccov
b2cc429e57 [[HttT dvenario tweaks]] 2007-08-23 23:35:30 +00:00
Ali El Gariani
a6bfb71f41 use the standard XP and HP colors (same as sidebar) in the unit list
...and by reusing more code, we also have now AMLA colors.

add a new function "color to markup" and use it for this
2007-08-23 23:31:20 +00:00
Ali El Gariani
db38e507cb In units list, remove the new red/yellow/green for level...
and replace it by 0=gray, 1=normal, 2=bold, 2+ =  bright & bold
2007-08-23 23:22:16 +00:00
Patrick Parker
bb6ebb8f10 grammar 2007-08-23 23:18:35 +00:00
uso
304291bf94 also use village_gold from the scenario settings and lock the slider for it
if use-map-settings is activated
2007-08-23 23:10:40 +00:00
Ali El Gariani
1b126da2b0 In the unit list, replace the green used for writing the name of the leader...
by some sort of golden color (like the crown). Also don't color its unit type.
2007-08-23 23:07:17 +00:00
Patrick Parker
98b8dd96fa patch #797 Smooth music transitions based on ms_before and ms_after tags 2007-08-23 22:16:57 +00:00
uso
72d0428c59 change the default for turn limit to unlimited 2007-08-23 21:48:08 +00:00
Patrick Parker
7ac297e25e a smoother interface for updating pump_info ticks 2007-08-23 20:40:31 +00:00
Ali El Gariani
de8fb5fb3e Remove the flush of the image cache when reloading game
(cost a lot of files reloading when just reloading a savegame)

But we still need some smarter flush for this cache.
2007-08-23 19:18:17 +00:00
uso
579145f405 restore the old functionality,
...you can scroll to the leader from the status table again; add a
'Back' button to switch from the scenario settings back to the status
table; the button alignment is still not solved, but this has to wait
until after 1.3.7
2007-08-23 18:57:10 +00:00
Ali El Gariani
eb6e77f30a remove the off-map terrain of the unit defense list in the help
(useless, its info was wrong and link broken), thanks uso
2007-08-23 17:59:05 +00:00
Ali El Gariani
6abb672746 [[Tooltip and zoom fixes]]
* in help, the links to unencountered units now works but have a small "(?)"
  and point to an "Unknown Unit" page explaining why

* the sidebar HP tooltip now show resistances of the current unit

* the default zoom key now toggles between default and last used zoom. The
  switch is also faster (cached)
2007-08-23 17:31:33 +00:00
David Philippi
c81921de1c danish translation update 2007-08-23 17:25:40 +00:00
Nils Kneuper
234670bade updated Finnish translation 2007-08-23 16:50:42 +00:00
Nils Kneuper
515438e4d5 updated Finnish translation 2007-08-23 13:06:03 +00:00
Lari Nieminen
51a36b319e Fixed some invalid terrains in Out of the Frying Pan. 2007-08-23 09:00:50 +00:00
Patrick Parker
ee4b35507f update info.ticks for other pump_monitors instead of discarding it 2007-08-23 05:10:03 +00:00
Patrick Parker
789c997f94 added some comments to variable_info constructor,
and re-arranged one clause slightly
2007-08-23 04:34:59 +00:00
Patrick Parker
e505e421d4 correction to a static member initialization 2007-08-23 02:08:14 +00:00
Jérémy Rosen
509f21ffe1 use more const values instead of hard coded numbers
fix bug with units wo idle anims playing random anims instead

adapted movement anims to the new animation choice method
2007-08-22 22:17:30 +00:00
Mark de Wever
6a8584e31f Allow unlimited turns also to be loaded properly. 2007-08-22 19:22:26 +00:00
uso
ba0726b229 replace the somewhat counterintuitive 'Ok'/'Cancel' buttons
by 'Scroll To' and 'Close' buttons if we can scroll or not scroll to
the selected unit on close of the window
2007-08-22 19:11:07 +00:00
Benoît Timbert
81439f11b5 French translation update 2007-08-22 18:57:39 +00:00
Nils Kneuper
936198436d updated German translation 2007-08-22 17:39:41 +00:00
Nils Kneuper
a09caadb14 updated German translation 2007-08-22 16:49:42 +00:00
Nils Kneuper
2d77397ba6 pot-update 2007-08-22 15:56:26 +00:00
Nils Kneuper
5680199be9 update German translation 2007-08-22 15:50:24 +00:00
Nils Kneuper
23689f9ef7 corrected -h output,
...uncommented echo to tell which domain entrys will be changed
2007-08-22 15:48:16 +00:00
Mark de Wever
a99378680b Removed a debug message, spotted by Zookeeper. 2007-08-22 15:29:02 +00:00
Lari Nieminen
4e1ce12744 Should fix the weird bugs with the CHG_TYPE macro,
or at least the undead transformation in scenario 4.
2007-08-22 15:19:35 +00:00
Nils Kneuper
b03756de0a some small spelling fixes 2007-08-22 15:14:29 +00:00
Nils Kneuper
904b667c7e added some missing textdomains 2007-08-22 15:02:10 +00:00
George Birthisel
d8747a1747 misc. text and balance changes to numerous scenarios. 2007-08-22 14:48:35 +00:00
uso
dfd5847832 if a player got a gold bonus from a previous scenario...
...and his starting gold differs from the default start gold show both
values in the scenario settings
2007-08-22 07:56:54 +00:00
uso
31c2cd7f0e replace a define by a const, thanks for the hint Mordante 2007-08-22 06:57:04 +00:00
uso
1abddc914e fix line breaks inside of words in the unit_description 2007-08-22 05:46:19 +00:00
uso
ff27ce3ae8 'Scenario Settings' is more appropriate than 'Game Settings' 2007-08-22 04:55:55 +00:00
uso
640dd5414d use the proper default for the start team gold 2007-08-22 04:53:57 +00:00
Hans Joachim Gurt
8f3ba4ed6c doxygen, comments 2007-08-22 02:06:11 +00:00
Hans Joachim Gurt
7dcb2280be doxygen, comments 2007-08-22 01:56:59 +00:00
Patrick Parker
cd4fd879aa The problem with the CHG_TYPE macro is actually a bug...
...from the problematic advance-on-unstore feature; I worked around it
(for now) by setting advance=false

Note: the comments in bug #9725 *should* have been filed in a separate
bug report, since that bug was different and furthermore it was
already fixed.
2007-08-22 01:16:03 +00:00
Patrick Parker
969b0791ad return "0" instead of empty string for the length of non-existant WML arrays 2007-08-22 00:36:49 +00:00
Hans Joachim Gurt
bd016f3e0a doxygen, comments 2007-08-21 23:34:34 +00:00
uso
d9c02756e9 don't assume a WML variable is always set, thanks Sapient 2007-08-21 23:32:16 +00:00
Patrick Parker
c84a1c08f3 use a constant instead of hard-coding -2 everywhere unit_animation matches fail 2007-08-21 23:02:08 +00:00
Patrick Parker
d0b10efcc1 'event_itor' : unreferenced local variable
'd' : redefinition; multiple initialization

Please read the Coding Standards section 4.1, "Respect for loop
scoping of different platforms"

http://www.wesnoth.org/wiki/CodingStandards#Respect_for_loop_scoping_of_different_platforms
2007-08-21 22:50:55 +00:00
Hans Joachim Gurt
f4944f8d57 doxygen, comments 2007-08-21 22:42:23 +00:00
Hans Joachim Gurt
0679c0cbab doxygen, comments 2007-08-21 22:41:42 +00:00