Commit Graph

22404 Commits

Author SHA1 Message Date
Eric S. Raymond
8a2db11ceb Implement the IMAGE argument type for macros.
This involved changing a bunch of formal args in the terrain graphics
macros from IMAGE to IMAGESTEM or IMAGELINE to avoid false positives.
2008-02-06 19:28:56 +00:00
Gunter Labes
28079dcd08 send a server message when the game ended 2008-02-06 17:15:53 +00:00
Gunter Labes
00e1b8d240 revised map: The Freelands
decreased the village defense of Bats from 60% to 40%
2008-02-06 14:34:15 +00:00
Gunter Labes
4821afe448 [[MP bug fixes]]
* check the side= of player messages and correct if necessary
  (partially fixes bug #9675: :droid'ing your side makes your chat
  status that of an observer)

* check team_name= to prevent sending to other teams than your own

* log a warning for bug #6523: team messages are sometimes relayed to
  everyone. If it still occurs this should make it easy to figure out
  why and fix it client side (the client should just send messages
  alone always, no need for the server to deal with repackaging..)
2008-02-06 14:05:59 +00:00
Nils Kneuper
6870a68d9c updated German translation 2008-02-06 12:07:40 +00:00
Eric S. Raymond
f5a323e8c3 Improved macro argument type checking,
and change some formals to convey type expectations.
2008-02-06 12:06:24 +00:00
Eric S. Raymond
3bf19bb1f1 wmlscope now does some argument type checking of macros.
The logic for deducing expected types from formals needs work.
2008-02-06 11:47:20 +00:00
Eric S. Raymond
a058c0ea21 Checkpoint before implementing argument type matching. 2008-02-06 10:39:46 +00:00
Pauli Nieminen
2cf1c920ef Fixed a typo 2008-02-06 10:34:22 +00:00
Pauli Nieminen
e3c4f6c1bc Fixed some ability filtering 2008-02-06 10:29:42 +00:00
Eric S. Raymond
2f30f121cc Implement zookeeper's FR #5 from bug #10990
check macro calls for mismatches in argument number.  Fix a few
glitches found in mainline using this test.
2008-02-06 08:17:57 +00:00
uso
779ea775e5 don't throw all players and observers out of an MP game (and abort it)...
...when the host leaves the game in linger mode
2008-02-06 03:48:04 +00:00
Eric S. Raymond
25c42f052f Less intrusive way to quiet down wmllint's #textdomain sanity check 2008-02-06 03:14:03 +00:00
Eric S. Raymond
cc6d19f0d8 Impplement noyga's FR in bug #10990:
detect unknown movetypes and rwaces in units.
2008-02-06 03:01:37 +00:00
Ali El Gariani
9f9471b4a1 revert 2008-02-06T01:44:30Z!alinkmaze@gmail.com (fixing sharing info with ally not using fog/shroud)
Having a consistent handling of this case have more implications than
I thought Need more carefull analysis to decide if this little stupid
case worth the WML check
2008-02-06 02:52:31 +00:00
Ali El Gariani
a0f6180354 for unclear reasons, "share_view=yes" automatically set share_maps to "no"
So we also need to check share_view to decide if we share shroud info
2008-02-06 02:46:03 +00:00
Ali El Gariani
bedfc70928 sharing map/view with a side not using shroud/fog was not working. Fix it
It may remove the fog/shroud of unclean SP (2 in mainline)
2008-02-06 01:44:30 +00:00
Eric S. Raymond
5f883d14bd Implement FR #4 in bug #10990, checking side sequence numbers.
Fix a couple of glitches this revealed in mainline
2008-02-06 01:41:18 +00:00
Eric S. Raymond
b2061f6180 Code cleanup. 2008-02-06 01:07:55 +00:00
Eric S. Raymond
9d233369f5 Clean up another misplaced #tesxdomain declaration. 2008-02-06 00:49:11 +00:00
Ali El Gariani
27eefd5182 Fix an error in code hinted by [Relic]
share_maps was broken (if share_view was not used)
2008-02-06 00:43:49 +00:00
Ali El Gariani
7d8c1fa703 fix a recent bug with share_view : full map shrouded in SP(with shroud on)
We always need to share our view with ourself :)
2008-02-06 00:22:19 +00:00
Ali El Gariani
dff8cffb68 tiny modifications of the shadow of ZoC and capture icons
(too help when drawing them on footprints, since it's a common case)
2008-02-05 22:56:14 +00:00
Ali El Gariani
773e66410f Add and wire footprints images for move cost > 2 (having more red)
Previous slow footprints images are still used for move cost = 2
2008-02-05 22:53:20 +00:00
Eric S. Raymond
aba249cf83 Move all #textdomain declarations to line 1 at Ivanovic's request. 2008-02-05 21:56:35 +00:00
Eric S. Raymond
c10cf2b68b Ibanovic wants all #textdomain declrations in line 1. 2008-02-05 21:31:31 +00:00
Mark de Wever
f935fe918a share_view now looks at whether your allies have shared their view,
...before whether or not you saw the view of your allies was
determined by your own view was shared (bug #10994). Fixed for both
fog and shroud.
2008-02-05 20:10:15 +00:00
Eric S. Raymond
3d0d0a6841 Iplemented FR in bug #10952, but under the --future switch.
We have a couple of these glitches but can't fix them until after 1.4.
2008-02-05 19:57:56 +00:00
Eric S. Raymond
30e46d21f9 Address FR #10951.
My check is actually slightly more relaxed, it verifies that there are
no translatable strings before the #textdomain directive.
2008-02-05 19:45:35 +00:00
Eric S. Raymond
875f023721 Detect badly placed #textdomain strings (partial implementation of FR #10951).
Correct two mainline glitches detected by this code.
2008-02-05 19:22:06 +00:00
Mark de Wever
a5a8f77b06 Fixed a small glitch with fog and shroud in the corners (bug #10831) 2008-02-05 18:41:03 +00:00
David Philippi
e17e94be94 spanish translation update 2008-02-05 18:27:10 +00:00
Eric S. Raymond
4f0c7c0c41 Don't just warn about wrong translation marks, actually fix them. 2008-02-05 18:20:15 +00:00
Eric S. Raymond
f01e16f033 Cosmetic fix. 2008-02-05 18:01:13 +00:00
Eric S. Raymond
8d25b00659 Avoid confusing wmllint. 2008-02-05 18:00:26 +00:00
Elias Pschernig
1e227a3d61 Applied patch #967 by Tommy <mesilliac>
which adds a function raise_user_interact to the Python AI, which can
fix Python AIs with a very long thinking period getting unresponsive,
and a function test_move, which adds the possibility to 'test' the
move of a unit without actually performing it.
2008-02-05 17:08:06 +00:00
Lari Nieminen
bdd6ab733a Fix the hitpoints of units going off in the human-undead transformations. 2008-02-05 16:31:32 +00:00
Pauli Nieminen
90e7897691 Optimized MP chat log building (helps bug #10430) 2008-02-05 14:34:38 +00:00
Nils Kneuper
abcd882956 added/updated Filipino translators 2008-02-05 08:42:13 +00:00
Pauli Nieminen
b7ed2ded4d Fixed hotkeys saving after modfying them 2008-02-05 08:36:31 +00:00
uso
e247fb8dcd add ctrl-x (resp. cmd-x for the Mac) as default hotkey for 'clear messages' 2008-02-05 03:29:47 +00:00
Pauli Nieminen
5ebdb36e6b Fixed network game creation...
... to return back to create dialog after failed savegame loading

Fixed AI handling of unit without attacking weapons (bug #10886)
2008-02-04 22:17:58 +00:00
Jérémy Rosen
22e57cfd6a fix FR 10982: add acceleration speed of 0.75 and 1.5 2008-02-04 20:13:17 +00:00
Jérémy Rosen
c18ce95c95 fix bug 10986: crash when charging animation of some units with death sounds 2008-02-04 19:58:20 +00:00
Mark de Wever
4af9f37759 Partial fix for bug #10831,
works properly if the code is clearing the shroud, still fails if a
unit moves near the border.
2008-02-04 19:16:17 +00:00
Pauli Nieminen
e224a594b4 Removed broken "Host network game" option from multiplayer menu (bug #10800) 2008-02-04 19:03:00 +00:00
Jordà Polo
9a4b99eca7 Updated Catalan translation (thanks to Jose Gordillo). 2008-02-04 19:02:41 +00:00
Nils Kneuper
82493c1d9e updated Filipino translation 2008-02-04 12:20:52 +00:00
Pauli Nieminen
9827482f20 Fixed a typo 2008-02-04 12:01:33 +00:00
Pauli Nieminen
01c14f221a partialy fix bug #10967
* Fixed networking not to timeout with slow connections but timeout
  faster with lost connection

* Fixed client side ping timeout check if downloading or uploading
2008-02-04 11:38:48 +00:00