22259 Commits

Author SHA1 Message Date
Ali El Gariani
b4434048ae fix a bad copy-paste
(used hp_scaling for xp_scaling, but was almost the same values)
2008-02-01 20:46:47 +00:00
Ali El Gariani
a5e4b566ad fix previous commit (forgot to clean my trunk before working again) 2008-02-01 19:20:22 +00:00
Ali El Gariani
55e9e2984c Tune a little the hp scaling (from 0.667 to 0.6),
...because the capping was around ~70hp and many level 3 units are near
80hp. Now cap at 80hp.  Bar of low hp unit are slightly shorter but
the tiny difference seems ok (9 px for each 15 hp instead of 10px)
2008-02-01 19:03:15 +00:00
Ali El Gariani
97c116a3d1 Move hp/xp bars scaling to game_config (keys : hp_bar_scaling, xp_bar_scaling)
but we continue to also divide the xp bar by the level (even if I
think it's an odd idea)
2008-02-01 18:52:15 +00:00
Ali El Gariani
b16b3ac26a Make hp/xp bar 1 pixel longer
There is enough space and it makes the capping slightly less frequent.
2008-02-01 18:48:19 +00:00
Mark de Wever
f013833955 Added another header for gcc-4.3, spotted by Rhonda. 2008-02-01 16:20:18 +00:00
Eric S. Raymond
b55fd6f648 Remove remaining version check 2008-02-01 15:49:44 +00:00
Ali El Gariani
a238951ca7 Fix bug #9120: XP bar on leader units too short
Move the bars 1 pixel down, so now you can see its upper edge under
the crown.
2008-02-01 15:44:16 +00:00
Eric S. Raymond
26033be54c Reove the --oldversions option, It was never very useful. 2008-02-01 15:12:19 +00:00
Nils Kneuper
ab786da272 updated German translation 2008-02-01 14:50:49 +00:00
Jan Rietema
6259d95e64 Made all Spirit-type units copy from their mainline base counterparts. 2008-02-01 14:14:21 +00:00
Jan Rietema
1e73dd3a4b Made Haunt and Ethereal Ghost be based on Ghost
(copying most attributes with base_unit).
2008-02-01 13:59:06 +00:00
Jan Rietema
9b4c01266a New image for the charisma ability amla. 2008-02-01 13:39:15 +00:00
Eric S. Raymond
86d652df98 Add a needed translation mark. 2008-02-01 13:37:43 +00:00
Ali El Gariani
164109d32c Finish to polish the fix of bug #8624 (fixing hide_help)
Now a race sub-sections with only hidden units is hidden too.

Also clean the linux-like system which hide topic starting with a "."
(now also works for section)
2008-02-01 12:44:55 +00:00
Jan Rietema
ba0cb39575 Added Elvish Fighter to the initial recruit list,
...then remove it again in prestart (probable fix for bug #8791).
2008-02-01 11:50:29 +00:00
Gunter Labes
4b6169f652 * remove Encoding, FilePattern and TryExec since they are obsolete or useless 2008-02-01 11:15:00 +00:00
Gunter Labes
62b188cfe8 script to revert the current build to the old one 2008-02-01 11:13:18 +00:00
Gunter Labes
155942854a refactor nick completion into a general word_completion() function
use this function in all places we have nick completion (completely
fixes bug #10944: Using tab to fill in name under certain conditions
causes problems)

enable nick completion for the commandline and search
2008-02-01 10:00:47 +00:00
Nils Kneuper
b0c03248d1 updated Turkish translation 2008-02-01 09:27:52 +00:00
Richard Kettering
7b637c3883 New, team-colored images for the Ghost. 2008-02-01 07:09:56 +00:00
Richard Kettering
14d3f75d33 New, team-colored images for the Ghost. 2008-02-01 07:05:46 +00:00
Gunter Labes
76ebd56708 exclude own nick from tab-completion
don't erase part of the best_match when there is actually nothing to
erase (fixed bug #10944: Using tab to fill in name under certain
conditions causes problems)
2008-02-01 06:42:13 +00:00
uso
71243e64ed remove an unused parameter 2008-02-01 06:04:47 +00:00
uso
5252b564d8 get rid of the 'is in game -- showing quit message' message in the console
(downgrade it to debug level)
2008-02-01 06:01:18 +00:00
Gunter Labes
947a527c84 [[MP bug fixes]]
* send the user list after the scenario data (should fix bug #10909:
  Player list not initially available to observers might also fix bug
  #10867: [gamelist] is used to update the user list in the global and
  game lobby -> can lead to glitches still would be good to rename the
  tag..)

* send the observer join messages before the replay data so clients
  show the current observers right away

* send a [change_controller] message for leaving players (fixes bug
  #9170: Control change: leader unit's name not changed for observers,
  only visible in status table)
2008-02-01 05:04:18 +00:00
uso
62c9d1d402 catch an end level exception if the host ends the game in linger mode,
this still throws you back to the lobby but at least not back to your
desktop ;)
2008-02-01 04:20:23 +00:00
Gunter Labes
fedc6a66eb consider connections_allowed=0 as no limit
(needs to be documented in the man page later..)
2008-02-01 03:37:21 +00:00
Eric S. Raymond
7f126adf92 Fix argument-order screwup in the new LOYAL_UNIT macro,
...and fix some instances in Liberty that did not conform.
2008-02-01 03:08:53 +00:00
Pauli Nieminen
2049a2f7d8 removed client side take_side network commands
restart turn only if it is needed
2008-02-01 00:43:29 +00:00
Pauli Nieminen
6726b67c74 Fixed server crash when using invalid iterator for end position 2008-01-31 23:32:07 +00:00
Jérémy Rosen
7b101e6b6f fix bug #10836 Standing animations stay accelerated after releasing SHIFT key 2008-01-31 22:51:35 +00:00
Nils Kneuper
673df7e664 regenerate manual files 2008-01-31 22:10:16 +00:00
Nils Kneuper
e08b366194 updated Slovak translation 2008-01-31 22:05:19 +00:00
Jérémy Rosen
2b702dbaa9 temptative fix for soliton's anim problem 2008-01-31 21:55:40 +00:00
Eric S. Raymond
987639e08b Fix some erroneously-placed villages. 2008-01-31 19:39:50 +00:00
Eric S. Raymond
332d9df9ae More cosmetic fixes. 2008-01-31 19:37:39 +00:00
Eric S. Raymond
746312be0a Cosmetic fixes. 2008-01-31 19:36:29 +00:00
Eric S. Raymond
1580a54b14 Avoid a false positive in the reference checking. 2008-01-31 19:33:07 +00:00
Jérémy Rosen
43263150ac reorganise animation code a little...
...and implement skiping of standing anims a little bit more cleanly
2008-01-31 19:24:05 +00:00
Pauli Nieminen
4d493eee3f Fixed possible crash in attack handling if wml removed one of units 2008-01-31 15:03:23 +00:00
Jan Rietema
cbf3f6f0a1 Added variable clearing... (sheesh). 2008-01-31 14:35:17 +00:00
Jan Rietema
1f55fedab6 Better filtering for the charisma ability
- prevents sluggish moves of loyal units.
2008-01-31 14:28:19 +00:00
Piotr Cychowski
b31859fdb4 Another fix to the lava damage.
Make the loop not change the benchmark damage value.

Scrap some redundant variables.

Slim down and better indent the code.
2008-01-31 13:43:42 +00:00
Eric S. Raymond
b615a67fd0 Remove some dialog that is bo longer used...
...because Rakshas now has two subcommanders rather than four.
2008-01-31 13:35:06 +00:00
Eric S. Raymond
13d01a4e51 wmllint now has the capability to automatically check...
...that every description= in [message] and [filter] blocks refers to
a unit that is present in the scenario. This commit fixes almost all
bugs found with this test, and adds magic comments to handle places
where the WML doesn't supply a recognizable unit creation or recall
(usually because of macros).
2008-01-31 13:12:19 +00:00
Nils Kneuper
c7810fbb66 updated Slovak translation 2008-01-31 12:18:01 +00:00
Eric S. Raymond
5930bde319 Fix tag errors in Merman units. 2008-01-31 11:41:35 +00:00
Nils Kneuper
aa63f665dc updated Greek translation 2008-01-31 09:45:58 +00:00
Eric S. Raymond
6179a2c5b1 Yet more recruitment_pattern consistency check. 2008-01-31 06:34:51 +00:00